Regenerate powerpc-nofpu libm-test-ulps.
[glibc.git] / ChangeLog
blob0cd6ca3ea88c6466577b97b7f291d3b9bd286b78
1 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
3         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5         * sysdeps/arm/libm-test-ulps: Regenerated.
7         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10 2015-06-30  Torvald Riegel  <triegel@redhat.com>
12         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
13         lll_lock_wait_private and lll_futex_wake probes.
15         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
16         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
17         Likewise.
18         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
19         atomic_spin_nop.
20         * sysdeps/x86_64/bits/atomic.h: Likewise.
21         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
22         to atomic_spin_nop and move ...
23         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
24         ... here and ...
25         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
26         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
27         atomic_spin_nop instead of BUSY_WAIT_NOP.
28         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
29         Likewise.
30         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
31         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
32         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
33         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
34         instead of atomic_delay.
36 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
38         [BZ #18613]
39         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
40         X_ADJ not X when adjusting exponent.
41         (__ieee754_gamma_r): Do intermediate computations in
42         round-to-nearest then adjust overflowing and underflowing results
43         as needed.
44         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
45         of X_ADJ not X when adjusting exponent.
46         (__ieee754_gammaf_r): Do intermediate computations in
47         round-to-nearest then adjust overflowing and underflowing results
48         as needed.
49         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
50         log of X_ADJ not X when adjusting exponent.
51         (__ieee754_gammal_r): Do intermediate computations in
52         round-to-nearest then adjust overflowing and underflowing results
53         as needed.  Use 1.0L not 1.0f as numerator of division.
54         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
55         log of X_ADJ not X when adjusting exponent.
56         (__ieee754_gammal_r): Do intermediate computations in
57         round-to-nearest then adjust overflowing and underflowing results
58         as needed.  Use 1.0L not 1.0f as numerator of division.
59         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
60         of X_ADJ not X when adjusting exponent.
61         (__ieee754_gammal_r): Do intermediate computations in
62         round-to-nearest then adjust overflowing and underflowing results
63         as needed.  Use 1.0L not 1.0f as numerator of division.
64         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
65         to auto-libm-test-in.
66         (tgamma_test): Use ALL_RM_TEST.
67         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
68         tests of tgamma with spurious-overflow.
69         * math/auto-libm-test-out: Regenerated.
70         * math/gen-libm-have-vector-test.sh: Do not check for START.
71         * sysdeps/i386/fpu/libm-test-ulps: Update.
72         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74         [BZ #18612]
75         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
76         arguments, just return 0.5 times the argument, with underflow
77         forced as needed.
78         * math/auto-libm-test-in: Add more tests of j1.
79         * math/auto-libm-test-out: Regenerated.
81         [BZ #16559]
82         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
83         (__ieee754_j1): Force underflow exception for small results.
84         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
85         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
86         (__ieee754_j1f): Force underflow exception for small results.
87         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
88         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
89         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
90         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
91         (__ieee754_j1l): Force underflow exception for small results.
92         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
93         * math/auto-libm-test-in: Add more tests of j1 and jn.
94         * math/auto-libm-test-out: Regenerated.
96         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
97         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
98         (PF_MPLS): Likewise.
99         (AF_IB): Likewise.
100         (AF_MPLS): Likewise.
101         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
102         value and macro.
103         (MS_RMT_MASK): Include MS_LAZYTIME.
105 2015-06-26  Mel Gorman  <mgorman@suse.de>
107         [BZ #18502]
108         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
109         already minimal.
111 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
113         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
114         (DT_MIPS_NUM): Update.
115         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
116         DT_MIPS_RLD_MAP_REL.
118 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
120         [BZ #16559]
121         [BZ #18602]
122         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
123         round-to-nearest internally then recompute results that
124         underflowed to zero in the original rounding mode.
125         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
126         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
127         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
128         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
129         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
130         * sysdeps/i386/fpu/libm-test-ulps: Update.
131         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
133 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
135         * NEWS: Fixed description of link with vector math library.
137 2015-06-25  Andreas Schwab  <schwab@suse.de>
139         [BZ #18549]
140         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
141         * libio/test-fmemopen.c (do_test): Add test for it.
143 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
145         [BZ #17841]
146         * Makeconfig (no-pie-ldflag): New.
147         (+link): Set to $(+link-pie) if default to PIE.
148         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
149         * config.make.in (build-pie-default): New.
150         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
151         is default.  AC_SUBST.
152         * configure: Regenerated.
153         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
155 2015-06-24  Roland McGrath  <roland@hack.frob.com>
157         * nptl/descr.h (struct pthread): Change type of field setxid_futex
158         to 'unsigned int'.
160         * resolv/gai_misc.h (struct waitlist): Change type of field
161         counterp to 'volatile unsigned int *'.
162         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
163         FUTEXADDR and OLDVAL.
164         * resolv/getaddrinfo_a.c (getaddrinfo_a):
165         Give local variable TOTAL type 'volatile unsigned int'.
166         (struct async_waitlist): Change type of field counter to 'unsigned int'.
167         * resolv/gai_suspend.c (gai_suspend):
168         Give local variable CNTR type 'unsigned int'.
170         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
171         counterp to 'volatile unsigned int *'.
172         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
173         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
174         (aio_suspend): Give local variable CNTR type 'unsigned int'.
175         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
176         Give local variable TOTAL type 'volatile unsigned int'.
177         (struct async_waitlist): Change type of field counter to 'unsigned int'.
179 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
181         [BZ #18383]
182         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
183         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
184         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
185         comment for i386/x86-64.
186         (test-xfail-tst-tlsalign-extern-static): Removed.
188 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
190         * math/test-double.h: New file.
191         * math/test-float.h: Likewise.
192         * math/test-ldouble.h: Likewise.
193         * math/test-math-inline.h: Likewise.
194         * math/test-math-no-inline.h: Likewise.
195         * math/test-math-scalar.h: Likewise.
196         * math/test-math-vector.h: Likewise.
197         * math/test-vec-loop.h: Remove file.  Contents moved into
198         test-math-vector.h.
199         * math/libm-test.inc (MATHCONST): Do not document macro.
200         * math/test-double.c: Include test-double.h, test-math-no-inline.h
201         and test-math-scalar.h.
202         (FUNC): Remove macro.
203         (FUNC_TEST): Likewise.
204         (FLOAT): Likewise.
205         (MATHCONST): Likewise.
206         (PRINTF_EXPR): Likewise.
207         (PRINTF_XEXPR): Likewise.
208         (PRINTF_NEXPR): Likewise.
209         (TEST_DOUBLE): Likewise.
210         (TEST_MATHVEC): Likewise.
211         (__NO_MATH_INLINES): Likewise.
212         * math/test-float.c: Include test-float.h, test-math-no-inline.h
213         and test-math-scalar.h.
214         (FUNC): Remove macro.
215         (FUNC_TEST): Likewise.
216         (FLOAT): Likewise.
217         (MATHCONST): Likewise.
218         (PRINTF_EXPR): Likewise.
219         (PRINTF_XEXPR): Likewise.
220         (PRINTF_NEXPR): Likewise.
221         (TEST_FLOAT): Likewise.
222         (TEST_MATHVEC): Likewise.
223         (__NO_MATH_INLINES): Likewise.
224         * math/test-idouble.c: Include test-double.h, test-math-inline.h
225         and test-math-scalar.h.
226         (FUNC): Remove macro.
227         (FUNC_TEST): Likewise.
228         (FLOAT): Likewise.
229         (MATHCONST): Likewise.
230         (PRINTF_EXPR): Likewise.
231         (PRINTF_XEXPR): Likewise.
232         (PRINTF_NEXPR): Likewise.
233         (TEST_DOUBLE): Likewise.
234         (TEST_MATHVEC): Likewise.
235         (TEST_INLINE): Likewise.
236         (__NO_MATH_INLINES): Likewise.
237         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
238         test-math-scalar.h.
239         (FUNC): Remove macro.
240         (FUNC_TEST): Likewise.
241         (FLOAT): Likewise.
242         (MATHCONST): Likewise.
243         (PRINTF_EXPR): Likewise.
244         (PRINTF_XEXPR): Likewise.
245         (PRINTF_NEXPR): Likewise.
246         (TEST_FLOAT): Likewise.
247         (TEST_MATHVEC): Likewise.
248         (TEST_INLINE): Likewise.
249         (__NO_MATH_INLINES): Likewise.
250         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
251         and test-math-scalar.h.
252         (FUNC): Remove macro.
253         (FUNC_TEST): Likewise.
254         (FLOAT): Likewise.
255         (MATHCONST): Likewise.
256         (PRINTF_EXPR): Likewise.
257         (PRINTF_XEXPR): Likewise.
258         (PRINTF_NEXPR): Likewise.
259         (TEST_LDOUBLE): Likewise.
260         (TEST_MATHVEC): Likewise.
261         (TEST_INLINE): Likewise.
262         (__NO_MATH_INLINES): Likewise.
263         * math/test-ldouble.c: Include test-ldouble.h,
264         test-math-no-inline.h and test-math-scalar.h.
265         (FUNC): Remove macro.
266         (FUNC_TEST): Likewise.
267         (FLOAT): Likewise.
268         (MATHCONST): Likewise.
269         (PRINTF_EXPR): Likewise.
270         (PRINTF_XEXPR): Likewise.
271         (PRINTF_NEXPR): Likewise.
272         (TEST_LDOUBLE): Likewise.
273         (TEST_MATHVEC): Likewise.
274         (__NO_MATH_INLINES): Likewise.
275         * math/test-double-vlen2.h: Include test-double.h,
276         test-math-no-inline.h and test-math-vector.h.
277         (FLOAT): Remove macro.
278         (FUNC): Likewise.
279         (MATHCONST): Likewise.
280         (PRINTF_EXPR): Likewise.
281         (PRINTF_XEXPR): Likewise.
282         (PRINTF_NEXPR): Likewise.
283         (TEST_DOUBLE): Likewise.
284         (TEST_MATHVEC): Likewise.
285         (__NO_MATH_INLINES): Likewise.
286         (CNCT): Likewise.
287         (CONCAT): Likewise.
288         (WRAPPER_NAME): Likewise.
289         (WRAPPER_DECL): Likewise.
290         (WRAPPER_DECL_ff): Likewise.
291         (WRAPPER_DECL_fFF): Likewise.
292         (VECTOR_WRAPPER): Likewise.
293         (VECTOR_WRAPPER_ff): Likewise.
294         (VECTOR_WRAPPER_fFF): Likewise.
295         (VEC_LEN): New macro.
296         * math/test-double-vlen4.h: Include test-double.h,
297         test-math-no-inline.h and test-math-vector.h.
298         (FLOAT): Remove macro.
299         (FUNC): Likewise.
300         (MATHCONST): Likewise.
301         (PRINTF_EXPR): Likewise.
302         (PRINTF_XEXPR): Likewise.
303         (PRINTF_NEXPR): Likewise.
304         (TEST_DOUBLE): Likewise.
305         (TEST_MATHVEC): Likewise.
306         (__NO_MATH_INLINES): Likewise.
307         (CNCT): Likewise.
308         (CONCAT): Likewise.
309         (WRAPPER_NAME): Likewise.
310         (WRAPPER_DECL): Likewise.
311         (WRAPPER_DECL_ff): Likewise.
312         (WRAPPER_DECL_fFF): Likewise.
313         (VECTOR_WRAPPER): Likewise.
314         (VECTOR_WRAPPER_ff): Likewise.
315         (VECTOR_WRAPPER_fFF): Likewise.
316         (VEC_LEN): New macro.
317         * math/test-double-vlen8.h: Include test-double.h,
318         test-math-no-inline.h and test-math-vector.h.
319         (FLOAT): Remove macro.
320         (FUNC): Likewise.
321         (MATHCONST): Likewise.
322         (PRINTF_EXPR): Likewise.
323         (PRINTF_XEXPR): Likewise.
324         (PRINTF_NEXPR): Likewise.
325         (TEST_DOUBLE): Likewise.
326         (TEST_MATHVEC): Likewise.
327         (__NO_MATH_INLINES): Likewise.
328         (CNCT): Likewise.
329         (CONCAT): Likewise.
330         (WRAPPER_NAME): Likewise.
331         (WRAPPER_DECL): Likewise.
332         (WRAPPER_DECL_ff): Likewise.
333         (WRAPPER_DECL_fFF): Likewise.
334         (VECTOR_WRAPPER): Likewise.
335         (VECTOR_WRAPPER_ff): Likewise.
336         (VECTOR_WRAPPER_fFF): Likewise.
337         (VEC_LEN): New macro.
338         * math/test-float-vlen4.h: Include test-float.h,
339         test-math-no-inline.h and test-math-vector.h.
340         (FLOAT): Remove macro.
341         (FUNC): Likewise.
342         (MATHCONST): Likewise.
343         (PRINTF_EXPR): Likewise.
344         (PRINTF_XEXPR): Likewise.
345         (PRINTF_NEXPR): Likewise.
346         (TEST_FLOAT): Likewise.
347         (TEST_MATHVEC): Likewise.
348         (__NO_MATH_INLINES): Likewise.
349         (CNCT): Likewise.
350         (CONCAT): Likewise.
351         (WRAPPER_NAME): Likewise.
352         (WRAPPER_DECL): Likewise.
353         (WRAPPER_DECL_ff): Likewise.
354         (WRAPPER_DECL_fFF): Likewise.
355         (VECTOR_WRAPPER): Likewise.
356         (VECTOR_WRAPPER_ff): Likewise.
357         (VECTOR_WRAPPER_fFF): Likewise.
358         (VEC_LEN): New macro.
359         * math/test-float-vlen8.h: Include test-float.h,
360         test-math-no-inline.h and test-math-vector.h.
361         (FLOAT): Remove macro.
362         (FUNC): Likewise.
363         (MATHCONST): Likewise.
364         (PRINTF_EXPR): Likewise.
365         (PRINTF_XEXPR): Likewise.
366         (PRINTF_NEXPR): Likewise.
367         (TEST_FLOAT): Likewise.
368         (TEST_MATHVEC): Likewise.
369         (__NO_MATH_INLINES): Likewise.
370         (CNCT): Likewise.
371         (CONCAT): Likewise.
372         (WRAPPER_NAME): Likewise.
373         (WRAPPER_DECL): Likewise.
374         (WRAPPER_DECL_ff): Likewise.
375         (WRAPPER_DECL_fFF): Likewise.
376         (VECTOR_WRAPPER): Likewise.
377         (VECTOR_WRAPPER_ff): Likewise.
378         (VECTOR_WRAPPER_fFF): Likewise.
379         (VEC_LEN): New macro.
380         * math/test-float-vlen16.h: Include test-float.h,
381         test-math-no-inline.h and test-math-vector.h.
382         (FLOAT): Remove macro.
383         (FUNC): Likewise.
384         (MATHCONST): Likewise.
385         (PRINTF_EXPR): Likewise.
386         (PRINTF_XEXPR): Likewise.
387         (PRINTF_NEXPR): Likewise.
388         (TEST_FLOAT): Likewise.
389         (TEST_MATHVEC): Likewise.
390         (__NO_MATH_INLINES): Likewise.
391         (CNCT): Likewise.
392         (CONCAT): Likewise.
393         (WRAPPER_NAME): Likewise.
394         (WRAPPER_DECL): Likewise.
395         (WRAPPER_DECL_ff): Likewise.
396         (WRAPPER_DECL_fFF): Likewise.
397         (VECTOR_WRAPPER): Likewise.
398         (VECTOR_WRAPPER_ff): Likewise.
399         (VECTOR_WRAPPER_fFF): Likewise.
400         (VEC_LEN): New macro.
401         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
402         test-vec-loop.h.
403         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
404         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
405         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
406         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
407         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
408         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
409         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
411 2015-06-24  Roland McGrath  <roland@hack.frob.com>
413         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
414         (__getlogin_r): ... this.
416 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
418         [BZ #18594]
419         * math/s_ccosh.c (__ccosh): Compare with least normal value
420         instead of comparing class with FP_SUBNORMAL.
421         * math/s_ccoshf.c (__ccoshf): Likewise.
422         * math/s_ccoshl.c (__ccoshl): Likewise.
423         * math/s_cexp.c (__cexp): Likewise.
424         * math/s_cexpf.c (__cexpf): Likewise.
425         * math/s_cexpl.c (__cexpl): Likewise.
426         * math/s_csin.c (__csin): Likewise.
427         * math/s_csinf.c (__csinf): Likewise.
428         * math/s_csinh.c (__csinh): Likewise.
429         * math/s_csinhf.c (__csinhf): Likewise.
430         * math/s_csinhl.c (__csinhl): Likewise.
431         * math/s_csinl.c (__csinl): Likewise.
432         * math/s_ctan.c (__ctan): Likewise.
433         * math/s_ctanf.c (__ctanf): Likewise.
434         * math/s_ctanh.c (__ctanh): Likewise.
435         * math/s_ctanhf.c (__ctanhf): Likewise.
436         * math/s_ctanhl.c (__ctanhl): Likewise.
437         * math/s_ctanl.c (__ctanl): Likewise.
438         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
439         csin, csinh, ctan and ctanh.
440         * math/auto-libm-test-out: Regenerated.
441         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
442         * sysdeps/i386/fpu/libm-test-ulps: Update.
443         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
445 2015-06-24  Roland McGrath  <roland@hack.frob.com>
447         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
448         return value is wrong, print the expected value too.
450 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
452         [BZ #18585]
453         * elf/readlib.c (is_gdb_python_file): New.
454         (process_file): Don't issue errors on filenames with -gdb.py
455         suffix.
457 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
459         * math/auto-libm-test-in: Add more tests of csin and csinh.
460         * math/auto-libm-test-out: Regenerated.
461         * math/libm-test.inc (csin_test_data): Remove tests moved to
462         auto-libm-test-in.
463         (csinh_test_data): Likewise.
465         [BZ #18593]
466         * math/s_csin.c (__csin): Negate before rather than after possibly
467         overflowing multiplication.
468         * math/s_csinf.c (__csinf): Likewise.
469         * math/s_csinh.c (__csinh): Likewise.
470         * math/s_csinhf.c (__csinhf): Likewise.
471         * math/s_csinhl.c (__csinhl): Likewise.
472         * math/s_csinl.c (__csinl): Likewise.
473         * math/auto-libm-test-in: Add some tests of csin and csinh.
474         * math/auto-libm-test-out: Regenerated.
475         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
476         (csinh_test_data): Likewise.
477         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
479         [BZ #18586]
480         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
481         underflow exception for small results.
483 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
485         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
486         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
487         variable and included header.
488         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
489         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
490         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
491         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
492         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
493         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
494         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
495         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
496         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
497         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
498         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
499         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
500         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
501         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
502         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
503         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
505 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
507         [BZ #16526]
508         [BZ #16538]
509         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
510         (__sin): Force underflow exception for arguments with small
511         absolute value.
512         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
513         (__kernel_sinf): Force underflow exception for arguments with
514         small absolute value.
515         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
516         (__kernel_sincosl): Force underflow exception for arguments with
517         small absolute value.
518         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
519         (__kernel_sinl): Force underflow exception for arguments with
520         small absolute value.
521         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
522         (__kernel_sincosl): Force underflow exception for arguments with
523         small absolute value.
524         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
525         (__kernel_sinl): Force underflow exception for arguments with
526         small absolute value.
527         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
528         (__kernel_sinl): Force underflow exception for arguments with
529         small absolute value.
530         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
531         (__kernel_sinf): Force underflow exception for arguments with
532         small absolute value.
533         * math/auto-libm-test-in: Add more tests of sin and sincos.
534         * math/auto-libm-test-out: Regenerated.
536         [BZ #18245]
537         [BZ #18583]
538         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
539         (__kernel_standard_l): Use feholdexcept and fesetenv around
540         conversion to double instead of special-casing overflow and
541         underflow.
542         * math/libm-test.inc (fmod_test_data): Add more tests.
543         (remainder_test_data): Likewise.
544         (sqrt_test_data): Likewise.
546 2015-06-23  Torvald Riegel  <triegel@redhat.com>
548         [BZ #17403]
549         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
550         atomic_read_barrier, atomic_write_barrier): Define.
551         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
552         atomic_read_barrier, atomic_write_barrier): Define.
554 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
556         * math/Makefile [$(PERL) != no]
557         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
558         dependency on libm-test.stmp below the inclusion of Rules.
560 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
562         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
563         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
564         and included header.
565         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
566         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
567         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
568         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
569         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
570         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
571         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
572         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
573         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
574         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
575         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
576         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
577         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
578         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
579         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
580         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
581         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
582         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
583         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
585 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
587         [BZ #18371]
588         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
589         intermediate but not final result might underflow.
590         * math/s_csqrtf.c (__csqrtf): Likewise.
591         * math/s_csqrtl.c (__csqrtl): Likewise.
592         * math/auto-libm-test-in: Add more tests of csqrt.
593         * math/auto-libm-test-out: Regenerated.
594         * sysdeps/i386/fpu/libm-test-ulps: Update.
596         [BZ #18219]
597         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
598         threshold on absolute value of exponent for which scaling is used.
599         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
600         * math/auto-libm-test-in: Add more tests of exp2.
601         * math/auto-libm-test-out: Regenerated.
603 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
605         [BZ #17977]
606         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
607         when initializing interface list, based on the bug analysis
608         and the patch proposed by Eric Newton.
609         * resolv/tst-res_hconf_reorder.c: New test.
610         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
611         tst-res_hconf_reorder.
612         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
613         and $(shared-thread-library).
614         (tst-res_hconf_reorder-ENV): New variable.
616         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
617         in comment.
619 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
621         [BZ #16353]
622         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
623         (__expm1): Force underflow exception for arguments with small
624         absolute value.
625         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
626         (__expm1f): Force underflow exception for arguments with small
627         absolute value.
628         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
629         (__expm1): Force underflow exception for arguments with small
630         absolute value.
631         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
632         (__expm1f): Force underflow exception for arguments with small
633         absolute value.
634         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
635         Check for small arguments before calling __expm1.
636         * math/auto-libm-test-in: Do not mark underflow exceptions as
637         possibly missing for bug 16353.
638         * math/auto-libm-test-out: Regenerated.
640 2015-06-22  Andreas Schwab  <schwab@suse.de>
642         [BZ #18513]
643         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
644         PTR queries.
646 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
648         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
650         * string/strcoll_l.c: Remove unused struct element idxnow.
652 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
654         [BZ #18569]
655         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
656         underflow and return argument in case of subnormal argument.
657         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
658         Likewise.
659         * math/auto-libm-test-in: Add more tests of expm1.
660         * math/auto-libm-test-out: Regenerated.
662         [BZ #16361]
663         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
664         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
665         tiny results.
666         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
667         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
668         tiny results.
669         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
670         mark underflow exceptions as possibly missing for bug 16361.
671         * math/auto-libm-test-out: Regenerated.
673 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
675         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
676         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
677         Remove variable.
678         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
679         (test-xfail-XOPEN2K8/utmpx.h/conform).
681         * conform/conformtest.pl ($xerrors): New variable.
682         (note_error): New function.
683         (compiletest): New argument $xfail.  Use not_error.
684         (runtest): Likewise.
685         (top level): Handle xfail- lines.  Update calls to compiletest and
686         runtest.  Handle xfail- and optional- in headers listed with
687         allow-header.
688         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
689         (O_EXEC): Likewise.
690         (O_SEARCH): Likewise.
691         * conform/data/stropts.h-data (ioctl): Likewise.
692         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
693         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
694         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
695         (msghdr.msg_controllen): Likewise.
696         (cmsghdr.cmsg_len): Likewise.
697         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
698         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
699         variable.
700         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
701         (test-xfail-XPG4/stropts.h/conform): Likewise.
702         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
703         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
704         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
705         (test-xfail-UNIX98/stropts.h/conform): Likewise.
706         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
707         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
708         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
709         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
710         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
711         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
712         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
713         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
714         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
715         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
716         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
717         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
718         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
719         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
720         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
722 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
724         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
725         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
726         definitions for proper unfolding of __MATHDECL_VEC.
728 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
730         * benchtests/bench-strcoll.c:
731         Include string.h.
732         (main): Remove unused variable res.
734 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
736         * timezone/Makefile (%/UTC %/Universal):
737         Generate test-result files for UTC and Universal.
739 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
741         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
743 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
745         [BZ #16350]
746         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
747         for arguments with small absolute value.
748         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
749         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
750         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
751         (__asinh): Force underflow exception for arguments with small
752         absolute value.
753         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
754         (__asinhf): Force underflow exception for arguments with small
755         absolute value.
756         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
757         (__asinhl): Force underflow exception for arguments with small
758         absolute value.
759         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
760         (__asinhl): Force underflow exception for arguments with small
761         absolute value.
762         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
763         (__asinhl): Force underflow exception for arguments with small
764         absolute value.
765         * math/auto-libm-test-in: Do not mark underflow exceptions as
766         possibly missing for bug 16350.
767         * math/auto-libm-test-out: Regenerated.
769         * include/bits/ipc.h: Remove file.
770         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
771         variable.
772         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
773         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
774         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
775         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
776         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
777         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
778         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
779         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
780         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
782         * math/auto-libm-test-in: Remove spurious underflow allowance for
783         tests of cexp.
784         * math/auto-libm-test-out: Regenerated.
786         [BZ #18558]
787         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
788         unconditional definition.
789         (MCAST_BLOCK_SOURCE): Likewise.
790         (MCAST_UNBLOCK_SOURCE): Likewise.
791         (MCAST_LEAVE_GROUP): Likewise.
792         (MCAST_JOIN_SOURCE_GROUP): Likewise.
793         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
794         (MCAST_MSFILTER): Likewise.
795         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
796         Remove variable.
797         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
798         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
799         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
800         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
801         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
803 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
805         * NEWS: Mention addition of x86_64 vector sincosf.
806         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
807         * math/test-float-vlen4.h: Likewise.
808         * math/test-float-vlen8.h: Likewise.
809         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
810         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
811         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
812         * sysdeps/x86_64/fpu/Versions: New versions added.
813         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
814         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
815         Added build of SSE, AVX2 and AVX512 IFUNC versions.
816         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
817         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
818         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
819         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
820         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
821         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
822         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
823         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
824         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
825         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
826         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
827         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
828         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
829         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
830         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
831         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
832         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
833         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
834         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
835         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
836         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
838         * NEWS: Mention addition of x86_64 vector sincos.
839         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
840         * math/math.h (__MATHDECL_VEC): New macro.
841         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
842         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
843         declaration under condition.
844         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
845         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
846         TEST_VEC_LOOP change.
847         * math/test-double-vlen4.h: Likewise.
848         * math/test-double-vlen8.h: Likewise.
849         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
850         * math/test-float-vlen4.h: Likewise.
851         * math/test-float-vlen8.h: Likewise.
852         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
853         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
854         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
855         * sysdeps/x86_64/fpu/Versions: New versions added.
856         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
857         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
858         Added build of SSE, AVX2 and AVX512 IFUNC versions.
859         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
860         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
861         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
862         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
863         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
864         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
865         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
866         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
867         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
868         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
869         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
870         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
871         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
872         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
873         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
874         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
875         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
876         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
877         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
878         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
879         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
881         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
882         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
883         redirections for powf.
884         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
885         * sysdeps/x86_64/fpu/Versions: New versions added.
886         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
887         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
888         Added build of SSE, AVX2 and AVX512 IFUNC versions.
889         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
890         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
891         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
892         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
893         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
894         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
895         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
896         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
897         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
898         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
899         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
900         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
901         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
902         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
903         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
904         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
905         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
906         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
907         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
908         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
909         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
910         * math/test-float-vlen16.h: Fixed 2 argument macro.
911         * math/test-float-vlen4.h: Likewise.
912         * math/test-float-vlen8.h: Likewise.
913         * NEWS: Mention addition of x86_64 vector powf.
915 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
917         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
918         and redefine.
919         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
920         and redefine.
921         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
922         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
923         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
925         [BZ #18553]
926         * resource/getpriority.c (getpriority): Rename to __getpriority
927         and define as weak alias of __getpriority.
928         * resource/setpriority.c (setpriority): Rename to __setpriority
929         and define as weak alias of __setpriority.
930         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
931         __getpriority and define as weak alias of __getpriority.
932         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
933         __setpriority and define as weak alias of __setpriority.
934         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
935         strong name.
936         (setpriority): Use __setpriority as strong name.
937         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
938         __getpriority and define as weak alias of __getpriority.
939         * include/sys/resource.h (__getpriority): Declare.  Use
940         libc_hidden_proto.
941         (__setpriority): Likewise.
942         (getpriority): Don't use libc_hidden_proto.
943         (setpriority): Likewise.
944         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
945         getpriority.  Call __setpriority instead of setpriority.
946         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
947         Remove variable.
949         [BZ #18547]
950         * misc/getttyent.c (getttynam): Rename to __getttynam and define
951         as weak alias of __getttynam.  Use prototype function definition.
952         Call __setttyent, __getttyent and __endttyent instead of
953         setttyent, getttyent and endttyent.
954         (getttyent): Rename to __getttyent and define as weak alias of
955         __getttyent.  Call __setttyent instead of setttyent.  Call
956         __fgets_unlocked instead of fgets_unlocked.
957         (setttyent): Rename to __setttyent and define as weak alias of
958         __setttyent.
959         (endttyent): Rename to __endttyent and define as weak alias of
960         __endttyent.
961         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
962         (__setttyent): Likewise.
963         (__endttyent): Likewise.
964         (getttyent): Don't use libc_hidden_proto.
965         (setttyent): Likewise.
966         (endttyent): Likewise.
967         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
968         __endttyent instead of setttyent, getttyent and endttyent.
969         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
970         Remove variable.
972         [BZ #18546]
973         * socket/recv.c (__recv): Use libc_hidden_def.
974         * socket/socket.c (__socket): Likewise.
975         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
976         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
977         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
978         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
979         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
980         libc_hidden_def.
981         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
982         libc_hidden_weak.
983         * include/sys/socket.h (__socket): Do not use attribute_hidden.
984         Use libc_hidden_proto.
985         (__recv): Likewise.
986         * socket/Versions (libc): Export __recv and __socket at version
987         GLIBC_PRIVATE.
988         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
989         instead of recv.
990         (init_mq_netlink): Call __socket instead of socket.
991         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
992         Remove variable.
994         [BZ #18545]
995         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
996         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
997         hidden_weak.
998         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
999         define as alias of __mq_timedsend.  Use hidden_weak.
1000         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
1001         __mq_timedsend as strong name.
1002         (mq_timedreceive): Use __mq_timedreceive as strong name.
1003         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
1004         (__mq_timedreceive): Likewise.
1005         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
1006         __mq_timedreceive instead of mq_timedreceive.
1007         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
1008         instead of mq_timedsend.
1009         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
1010         Remove variable.
1012         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
1013         hidden_def and hidden_weak instead of libc_hidden_def and
1014         libc_hidden_weak.
1015         (top level): Refer to hidden_def in comment.
1016         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
1017         macro.  Use it instead of libc_hidden_def.
1018         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
1019         specify __GI_* name explicitly.
1020         (mq_timedreceive): Likewise.
1021         (mq_setattr): Likewise.
1023         [BZ #18544]
1024         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
1025         __pthread_barrier_init and define as weak alias of
1026         __pthread_barrier_init.
1027         * sysdeps/sparc/nptl/pthread_barrier_init.c
1028         (pthread_barrier_init): Likewise.
1029         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
1030         __pthread_barrier_wait and define as weak alias of
1031         __pthread_barrier_wait.
1032         * sysdeps/sparc/nptl/pthread_barrier_wait.c
1033         (pthread_barrier_wait): Likewise.
1034         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
1035         (pthread_barrier_wait): Likewise.
1036         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
1037         (pthread_barrier_wait): Likewise.
1038         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
1039         (pthread_barrier_wait): Likewise.
1040         * nptl/Versions (libpthread): Export __pthread_barrier_init and
1041         __pthread_barrier_wait at version GLIBC_PRIVATE.
1042         * include/pthread.h (__pthread_barrier_init): Declare.
1043         (__pthread_barrier_wait): Likewise.
1044         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
1045         Call __pthread_barrier_wait instead of pthread_barrier_wait.
1046         (helper_thread): Likewise.
1047         (init_mq_netlink): Call __pthread_barrier_init instead of
1048         pthread_barrier_init.
1050         [BZ #18542]
1051         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
1052         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
1053         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
1054         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
1055         vswscanf.
1056         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
1057         Remove variable.
1059         [BZ #18540]
1060         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
1061         strong alias of _IO_fflush.  Use libc_hidden_def.
1062         * libio/iofflush_u.c (fflush_unlocked): Rename to
1063         __fflush_unlocked and define as weak alias of __fflush_unlocked.
1064         Use libc_hidden_weak.
1065         * include/stdio.h (__fflush_unlocked): Declare.  Use
1066         libc_hidden_proto.
1067         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
1068         fflush_unlocked.
1069         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
1070         Remove variable.
1072         [BZ #18539]
1073         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
1074         define as weak alias of __addseverity.
1075         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
1076         Remove variable.
1077         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
1078         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
1079         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
1081         [BZ #18536]
1082         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
1083         (__tfind): Likewise.
1084         (__tdelete): Likewise.
1085         (__twalk): Likewise.
1086         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
1087         __twalk to GLIBC_PRIVATE.
1088         * include/search.h (__tsearch): Use libc_hidden_proto.
1089         (__tfind): Likewise.
1090         (__tdelete): Likewise.
1091         (__twalk): Likewise.
1092         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
1093         Call __tdelete instead of tdelete.
1094         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
1095         tfind.  Call __tsearch instead of tsearch.
1096         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
1097         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
1098         Remove variable.
1099         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
1101         [BZ #18534]
1102         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
1103         (dprintf): Define as a weak alias of __dprintf, not a strong
1104         alias.
1105         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
1106         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
1107         dprintf.
1108         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
1109         Remove variable.
1110         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
1111         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
1113         [BZ #18533]
1114         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
1115         not a strong alias.
1116         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
1117         Remove variable.
1119         [BZ #18532]
1120         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
1121         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
1122         (in6addr_loopback): Rename to __in6addr_loopback and define as
1123         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
1124         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
1125         libc_hidden_proto.
1126         (__in6addr_any): Likewise.
1127         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
1128         in6addr_any.
1129         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
1130         variable.
1131         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
1133 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
1135         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
1136         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
1137         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1138         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1139         redirections for pow.
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/svml_d_wrapper_impl.h: Added 2 argument wrappers.
1146         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
1147         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
1148         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
1149         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
1150         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
1151         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
1152         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
1153         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
1154         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
1155         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
1156         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
1157         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
1158         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
1159         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1160         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1161         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1162         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1163         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1164         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1165         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1166         * NEWS: Mention addition of x86_64 vector pow.
1168         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1169         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1170         redirections for expf.
1171         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1172         * sysdeps/x86_64/fpu/Versions: New versions added.
1173         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1174         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1175         build of SSE, AVX2 and AVX512 IFUNC versions.
1176         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
1177         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
1178         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
1179         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
1180         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
1181         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
1182         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
1183         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
1184         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
1185         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
1186         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
1187         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
1188         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
1189         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1190         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1191         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1192         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1193         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1194         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1195         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1196         * NEWS: Mention addition of x86_64 vector expf.
1198         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
1199         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
1200         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1201         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1202         redirections for exp.
1203         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1204         * sysdeps/x86_64/fpu/Versions: New versions added.
1205         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1206         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1207         build of SSE, AVX2 and AVX512 IFUNC versions.
1208         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
1209         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
1210         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
1211         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
1212         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
1213         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
1214         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
1215         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
1216         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
1217         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
1218         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
1219         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
1220         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
1221         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1222         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1223         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1224         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1225         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1226         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1227         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1228         * NEWS: Mention addition of x86_64 vector exp.
1230         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1231         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1232         redirections for logf.
1233         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1234         * sysdeps/x86_64/fpu/Versions: New versions added.
1235         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1236         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1237         build of SSE, AVX2 and AVX512 IFUNC versions.
1238         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
1239         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
1240         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
1241         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
1242         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
1243         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
1244         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
1245         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
1246         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
1247         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
1248         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
1249         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
1250         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
1251         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1252         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1253         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1254         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1255         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1256         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1257         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1258         * NEWS: Mention addition of x86_64 vector logf.
1260         * bits/libm-simd-decl-stubs.h: Added stubs for log.
1261         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
1262         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1263         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1264         redirections for log.
1265         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1266         * sysdeps/x86_64/fpu/Versions: New versions added.
1267         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1268         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1269         build of SSE, AVX2 and AVX512 IFUNC versions.
1270         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
1271         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
1272         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
1273         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
1274         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
1275         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
1276         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
1277         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
1278         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
1279         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
1280         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
1281         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
1282         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
1283         test.
1284         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1285         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1286         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1287         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1288         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1289         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1290         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1291         * NEWS: Mention addition of x86_64 vector log.
1293 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1295         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
1296         cfi_adjust_cfa_offset argument.
1297         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
1298         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
1300         [BZ #18034]
1301         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
1302         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
1303         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
1304         ordering using ldar.
1305         (_dl_tlsdesc_dynamic): Likewise.
1306         (_dl_tlsdesc_return_lazy): Likewise.
1307         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
1308         relaxed atomics instead of volatile and synchronize with release store.
1309         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
1310         volatile.
1311         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1313 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
1315         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1316         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
1317         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1318         * sysdeps/x86_64/fpu/Versions: New versions added.
1319         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1320         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1321         build of SSE, AVX2 and AVX512 IFUNC versions.
1322         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
1323         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
1324         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
1325         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
1326         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
1327         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
1328         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
1329         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
1330         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
1331         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
1332         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
1333         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
1334         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
1335         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1336         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1337         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1338         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1339         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1340         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1341         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1342         * NEWS: Mention addition of x86_64 vector sinf.
1344 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
1346         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
1347         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
1348         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
1349         Remove variable.
1350         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
1351         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
1353 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
1355         [BZ #18530]
1356         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
1357         strong alias of _IO_fputs.  Use libc_hidden_def.
1358         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
1359         and define as weak alias of __fputs_unlocked.  Use
1360         libc_hidden_weak.
1361         * include/stdio.h (__fputs_unlocked): Declare.  Use
1362         libc_hidden_proto.
1363         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
1364         fputs_unlocked.
1366         [BZ #18529]
1367         * resolv/netdb.h [__USE_POSIX]: Change condition to
1368         [__USE_XOPEN2K].
1369         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
1370         not expect.
1371         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
1372         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
1373         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
1374         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
1375         [XPG4 || UNIX98] (AI_ALL): Likewise.
1376         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
1377         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
1378         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
1379         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
1380         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
1381         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
1382         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
1383         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
1384         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
1385         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
1386         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
1387         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
1388         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
1389         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
1390         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
1391         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
1392         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
1393         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
1394         [XPG4 || UNIX98] (gai_strerror): Likewise.
1395         [XPG4 || UNIX98] (getaddrinfo): Likewise.
1396         [XPG4 || UNIX98] (getnameinfo): Likewise.
1398         [BZ #18528]
1399         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
1400         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
1401         __USE_XOPEN2K8].
1402         (getgrent): Likewise.
1403         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
1404         expect.
1405         [XPG3 || POSIX2008] (endgrent): Likewise.
1406         [XPG3] (setgrent): Likewise.
1407         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
1408         variable.
1409         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
1411         [BZ #18527]
1412         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
1413         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
1414         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
1415         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
1416         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
1417         * include/unistd.h (__getlogin_r): Declare.  Use
1418         libc_hidden_proto.
1419         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
1420         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
1421         variable.
1422         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
1423         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
1424         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
1426 2015-06-12  Martin Sebor  <msebor@redhat.com>
1428         [BZ #18512]
1429         * Makerules (check-install-supported): New target.
1430         (install): Add check-install-supported as a dependency.
1431         * manual/install.texi (Installing the C Library): Document
1432         that overriding prefix and exec_prefix is not supported.
1433         Mention DESTDIR.
1434         * INSTALL: Regenerate from the above.
1436 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
1438         [BZ #18519]
1439         * posix/Versions (libc): Export __libc_pread at version
1440         GLIBC_PRIVATE.
1441         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
1442         instead of pread.
1443         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
1444         variable.
1446         [BZ #18522]
1447         * misc/efgcvt_r.c
1448         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
1449         (cvt_symbol): Use weak_alias instead of strong_alias.
1450         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
1451         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
1452         Remove variable.
1453         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
1454         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
1456         [BZ #18520]
1457         * inet/herrno.c (h_errno): Rename to __h_errno.
1458         (__libc_h_errno): Define as alias of __h_errno not h_errno.
1459         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
1460         to __h_errno instead of h_errno.
1461         * nptl/herrno.c (h_errno): Rename to __h_errno.
1462         (__h_errno_location): Refer to __h_errno not h_errno.
1463         * resolv/Versions (h_errno): Rename to __h_errno.
1464         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
1465         Remove variable.
1466         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
1468 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
1470         * configure.ac: More strict check for AVX512 assembler support.
1471         * configure: Regenerated.
1473         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
1474         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
1475         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1476         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
1477         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1478         * sysdeps/x86_64/fpu/Versions: New versions added.
1479         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1480         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1481         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1482         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
1483         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
1484         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
1485         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
1486         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
1487         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
1488         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
1489         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
1490         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
1491         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
1492         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
1493         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
1494         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
1495         test.
1496         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1497         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1498         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1499         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1500         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1501         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1502         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1503         * NEWS: Mention addition of x86_64 vector sin.
1505 2015-06-11  Florian Weimer  <fweimer@redhat.com>
1507         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
1508         comment.
1510 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
1512         [BZ #18479]
1513         * nptl/pt-interp.c: New file.
1514         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
1515         Add pt-interp.
1516         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
1517         $(common-objpfx)runtime-linker.h.
1519 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
1521         * Makeconfig (+interp): Remove unused variable.
1522         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
1523         only.  Depend on $(common-objpfx)runtime-linker.h instead of
1524         $(elf-objpfx)runtime-linker.h.
1525         ($(elf-objpfx)runtime-linker.h): Rename to
1526         $(common-objpfx)runtime-linker.h and move ...
1527         * Makerules [$(build-shared) = yes]: ... here.
1528         * elf/interp.c: Include <runtime-linker.h> instead of
1529         <elf/runtime-linker.h>.
1531 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1533         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
1534         (__gettimeofday_syscall): Remove vsyscall fallback.
1535         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
1536         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
1537         Add syscall fallback function.
1538         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
1539         if vDSO is not present.
1540         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
1541         fallback function.
1542         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
1543         present.
1544         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
1545         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
1547 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
1549         [BZ #18497]
1550         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
1551         of wcscmp.
1552         (wcscmp): Define as weak alias of WCSCMP.
1553         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
1554         wcscoll.
1555         (USE_HIDDEN_DEF): Define.
1556         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
1557         __wcscoll.  Don't use libc_hidden_weak.
1558         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
1559         wcscmp.
1560         * sysdeps/i386/i686/multiarch/wcscmp-c.c
1561         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
1562         __GI_wcscmp.
1563         (weak_alias): Undefine and redefine.
1564         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
1565         __wcscmp and define as weak alias of __wcscmp.
1566         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
1567         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
1568         (__wcscoll): Likewise.
1569         (wcscmp): Don't use libc_hidden_proto.
1570         (wcscoll): Likewise.
1571         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
1572         wcscoll.
1573         * posix/regexec.c (check_node_accept_bytes): Likewise.
1574         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
1575         variable.
1576         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
1577         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
1579         [BZ #18507]
1580         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
1581         __fstatvfs and define as weak alias of __fstatvfs.  Use
1582         libc_hidden_weak.
1583         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
1584         and define as weak alias of __statvfs.  Use libc_hidden_weak.
1585         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
1586         Define as alias of __fstatvfs, not fstatvfs.
1587         (fstatvfs64): Likewise.
1588         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
1589         Define as alias of __statvfs, not statvfs.
1590         (statvfs64): Likewise.
1591         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
1592         Remove variable.
1594 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1597         (HAVE_GETCPU_VSYSCALL): Define.
1598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1599         (HAVE_GETCPU_VSYSCALL): Likewise.
1600         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
1601         * sysdeps/unix/sysv/linux/sched_getcpu.c
1602         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
1603         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
1604         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
1605         prototype.
1606         * sysdeps/unix/sysv/linux/x86_64/init-first.c
1607         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
1608         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
1609         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
1610         Define.
1611         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
1612         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1613         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
1614         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1616 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
1618         * sysdeps/x86_64/fpu/Makefile: New file.
1619         * sysdeps/x86_64/fpu/Versions: New file.
1620         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
1621         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
1622         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
1623         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
1624         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
1625         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
1626         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
1627         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
1628         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
1629         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
1630         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
1631         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
1632         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
1633         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1634         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1635         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
1636         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
1637         * sysdeps/x86_64/configure.ac: Options for libmvec build.
1638         * sysdeps/x86_64/configure: Regenerated.
1639         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
1640         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
1641         * manual/install.texi (Configuring and compiling): Document
1642         --disable-mathvec.
1643         * INSTALL: Regenerated.
1644         * NEWS: Mention addition of libmvec and x86_64 vector cos.
1646         * math/Makefile: Added rules for vector tests.
1647         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
1648         declaration under condition.
1649         * math/test-double-vlen2.h: New file.
1650         * math/test-double-vlen4.h: New file.
1651         * math/test-double-vlen8.h: New file.
1652         * math/test-vec-loop.h: Added initialization macro.
1653         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
1654         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
1655         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
1656         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
1657         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
1658         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
1659         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
1660         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
1661         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
1662         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
1663         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
1665         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1666         * sysdeps/x86_64/fpu/Versions: New versions added.
1667         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
1668         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
1669         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
1670         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
1671         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
1672         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
1673         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
1674         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
1675         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
1676         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
1677         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
1678         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
1679         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
1680         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1681         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1682         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1683         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
1684         * NEWS: Mention addition of x86_64 vector cosf.
1686         * math/Makefile: Added CFLAGS for new tests.
1687         * math/test-float-vlen16.h: New file.
1688         * math/test-float-vlen4.h: New file.
1689         * math/test-float-vlen8.h: New file.
1690         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
1691         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
1692         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1693         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
1694         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
1695         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
1696         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
1697         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
1698         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
1699         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
1700         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
1702 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
1704         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
1705         * locale/programs/ld-ctype.c: Likewise.
1707 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
1709         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
1710         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
1711         bit_ZMM16_31_state): New macro.
1712         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1713         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
1715 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
1717         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
1719 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
1721         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
1723 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
1725         [BZ #18498]
1726         * libio/memstream.c (open_memstream): Rename to __open_memstream
1727         and define as weak alias of __open_memstream.
1728         * include/stdio.h (__open_memstream): Declare.  Use
1729         libc_hidden_proto.
1730         (open_memstream): Don't use libc_hidden_proto.
1731         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
1732         open_memstream.
1733         * posix/getopt.c (_getopt_internal_r): Likewise.
1734         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
1735         variable.
1736         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
1737         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
1738         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
1740         [BZ #18496]
1741         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
1742         instead of wcrtomb.
1744         [BZ #18483]
1745         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
1746         [__USE_XOPEN2K8].  Remove redundant #endif.
1747         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
1748         Remove redundant #if.
1749         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
1750         Remove variable.
1751         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
1752         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
1754         [BZ #18495]
1755         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
1756         (__iswlower): Likewise.
1757         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
1758         (__iswlower): Likewise.
1759         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
1760         instead of towlower.
1761         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
1762         instead of iswlower.  Call __towupper instead of towupper.
1763         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
1764         instead of iswalnum.
1766 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1768         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
1769         errors to stderr.
1771 2015-06-05  Florian Weimer  <fweimer@redhat.com>
1773         [BZ #15661]
1774         [BZ #17322]
1775         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
1776         Check for overflow properly.  Check for O_APPEND.  Ignore large
1777         file system block sizes.  Add comments about problems.
1778         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
1779         * manual/filesys.texi (Storage Allocation): New node.
1781 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1783         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
1784         cancellable syscalls.
1785         (SYS_ify): Add guard to no redefine it.
1786         (INLINE_SYSCALL): Likewise.
1787         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
1788         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
1789         SYSCALL_CANCEL instead.
1790         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
1791         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1792         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1793         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1794         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1795         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
1796         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
1797         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
1798         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
1799         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
1800         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
1801         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
1802         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
1803         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
1804         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
1805         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1806         Likewise.
1807         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1808         (__libc_pread64): Likewise.
1809         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
1810         (__libc_preadv): Likewise.
1811         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
1812         (__libc_readv64): Likewise.
1813         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1814         (__libc_pwrite): Likewise.
1815         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1816         (__libc_pwrite64): Likewise.
1817         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
1818         (__libc_pwritev): Likewise.
1819         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
1820         (__libc_pwritev64): Likewise.
1821         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
1822         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
1823         (sync_file_range): Likewise.
1824         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
1825         Likewise.
1826         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
1827         Likewise.
1828         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1829         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1830         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1831         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1832         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1833         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1834         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
1835         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
1836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1837         Likewise.
1838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1839         (__libc_read64): Likewise.
1840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
1841         Likewise.
1842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
1843         Likewise.
1844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
1845         Likewise.
1846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
1847         Likewise.
1848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
1849         (__libc_pread64): Likewise.
1850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
1851         Likewise.
1852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
1853         (__libc_pwrite64): Likewise.
1854         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
1855         (sync_file_range): Likewise.
1856         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
1857         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1858         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1859         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
1860         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
1861         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1862         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1863         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
1864         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
1865         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
1866         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
1867         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1868         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1869         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1870         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
1871         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1872         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1873         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1874         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1875         Likewise.
1876         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
1877         Likewise.
1878         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
1879         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
1880         Likewise.
1881         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
1882         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
1883         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
1884         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
1885         Likewise.
1886         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
1887         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
1888         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
1889         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
1890         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
1892 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
1894         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
1895         Include dl-vdso.
1896         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
1897         Use VDSO routines for gettimeofday, clock_gettime if
1898         available.
1899         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
1900         Declare VDSO symbols.
1901         * sysdeps/unix/sysv/linux/arm/sysdep.h:
1902         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
1903         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1904         * sysdeps/unix/sysv/linux/arm/Versions: Add
1905         __vdso_clock_gettime.
1907 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1909         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
1910         be an inline implementation regardless of library is built within.
1911         (open_not_cancel_2): Likewise.
1912         (__read_nocancel): Likewise.
1913         (__write_nocancel): Likewise.
1914         (openat_not_cancel): Likewise.
1915         (openat_not_cancel_3): Likewise.
1916         (openat64_not_cancel): Likewise.
1917         (openat64_not_cancel_3): Likewise.
1918         (__close_nocancel): Likewise.
1919         (pause_not_cancel): Likewise.
1920         (nanosleep_not_cancel): Likewise.
1921         (sigsuspend_not_cancel): Likewise.
1923 2015-06-04  Torvald Riegel  <triegel@redhat.com>
1925         [BZ #14958]
1926         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
1927         wake-up.
1928         (__pthread_rwlock_rdlock_slow): Likewise.
1929         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1930         Likewise.
1931         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1932         Likewise.
1933         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
1934         * nptl/tst-rwlock16.c: New file.
1935         * nptl/Makefile (tests): Add new test.
1937 2015-06-04  Torvald Riegel  <triegel@redhat.com>
1939         [BZ #18324]
1940         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
1941         missing wake-up of readers.
1942         * nptl/tst-rwlock15.c: New file.
1943         * nptl/Makefile (tests): Add new test.
1945 2015-06-03  Roland McGrath  <roland@hack.frob.com>
1947         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
1948         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
1949         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
1950         and __nacl_supply_interface_rtld.
1951         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
1952         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
1953         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
1954         Add __nacl_supply_interface_rtld.
1955         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
1957 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
1959         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
1960         isfinite.
1961         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1962         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
1964 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
1966         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
1967         __signbit* with standard C99 macros.
1968         * math/e_exp10l.c: Likewise.
1969         * math/e_exp2l.c: Likewise.
1970         * math/e_scalb.c: Likewise.
1971         * math/e_scalbf.c: Likewise.
1972         * math/e_scalbl.c: Likewise.
1973         * math/s_ldexp.c: Likewise.
1974         * math/s_ldexpf.c: Likewise.
1975         * math/s_ldexpl.c: Likewise.
1976         * math/w_atan2.c: Likewise.
1977         * math/w_atan2f.c: Likewise.
1978         * math/w_atan2l.c: Likewise.
1979         * math/w_cosh.c: Likewise.
1980         * math/w_coshf.c: Likewise.
1981         * math/w_coshl.c: Likewise.
1982         * math/w_exp10.c: Likewise.
1983         * math/w_exp10f.c: Likewise.
1984         * math/w_exp10l.c: Likewise.
1985         * math/w_exp2.c: Likewise.
1986         * math/w_exp2f.c: Likewise.
1987         * math/w_exp2l.c: Likewise.
1988         * math/w_fmod.c: Likewise.
1989         * math/w_fmodf.c: Likewise.
1990         * math/w_fmodl.c: Likewise.
1991         * math/w_hypot.c: Likewise.
1992         * math/w_hypotf.c: Likewise.
1993         * math/w_hypotl.c: Likewise.
1994         * math/w_jnl.c: Likewise.
1995         * math/w_lgamma.c: Likewise.
1996         * math/w_lgamma_r.c: Likewise.
1997         * math/w_lgammaf.c: Likewise.
1998         * math/w_lgammaf_r.c: Likewise.
1999         * math/w_lgammal.c: Likewise.
2000         * math/w_lgammal_r.c: Likewise.
2001         * math/w_pow.c: Likewise.
2002         * math/w_powf.c: Likewise.
2003         * math/w_powl.c: Likewise.
2004         * math/w_remainder.c: Likewise.
2005         * math/w_remainderf.c: Likewise.
2006         * math/w_remainderl.c: Likewise.
2007         * math/w_scalb.c: Likewise.
2008         * math/w_scalbf.c: Likewise.
2009         * math/w_scalbl.c: Likewise.
2010         * math/w_scalbln.c: Likewise.
2011         * math/w_scalblnf.c: Likewise.
2012         * math/w_scalblnl.c: Likewise.
2013         * math/w_sinh.c: Likewise.
2014         * math/w_sinhf.c: Likewise.
2015         * math/w_sinhl.c: Likewise.
2016         * math/w_tgamma.c: Likewise.
2017         * math/w_tgammaf.c: Likewise.
2018         * math/w_tgammal.c: Likewise.
2019         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2020         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
2021         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2022         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2023         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2024         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2025         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2026         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
2027         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2028         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2029         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2030         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2031         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2032         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2033         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2034         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2035         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2036         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2037         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2038         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2039         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2040         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2041         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2042         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2043         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2044         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2045         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
2046         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2047         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2048         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2049         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
2050         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
2051         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
2052         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
2053         * stdio-common/printf_fp.c: Likewise.
2054         * stdio-common/printf_fphex.c: Likewise.
2055         * stdio-common/printf_size.c: Likewise.
2057 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
2059         [BZ #18470]
2060         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
2061         strnlen.
2062         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
2063         Remove variable.
2064         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
2065         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
2066         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
2067         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
2068         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
2069         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
2070         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
2071         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
2072         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
2073         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
2075         [BZ #18468]
2076         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
2077         weak alias of __wmemchr.  Use libc_hidden_weak.
2078         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
2079         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
2080         instead of wmemchr.
2082 2015-06-02  Roland McGrath  <roland@hack.frob.com>
2084         [BZ #18383]
2085         * elf/tst-tlsalign-extern.c: New file.
2086         * elf/tst-tlsalign-extern-static.c: New file.
2087         * elf/tst-tlsalign-vars.c: New file.
2088         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
2089         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
2090         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
2091         ($(objpfx)tst-tlsalign-extern-static): Likewise.
2092         (test-xfail-tst-tlsalign-extern-static): New variable.
2094 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
2096         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
2097         Use variable name _sc_err instead of err.
2098         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
2099         instead of ret.
2100         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
2101         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
2102         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
2103         (INLINE_SYSCALL): Likewise.
2105         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
2106         * include/string.h (__strnlen): Use libc_hidden_proto.
2107         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
2108         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
2109         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
2110         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
2111         (libc_hidden_def): Undefine and redefine.
2112         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
2113         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
2114         __GI_strnlen.
2115         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
2116         libc_hidden_def.
2117         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
2119         [BZ #18469]
2120         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
2121         weak alias of __towlower.  Use libc_hidden_weak.
2122         (towupper): Rename to __towupper and define as weak alias of
2123         __towupper.  Use libc_hidden_weak.
2124         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
2125         (__towupper): Likewise.
2126         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
2127         __towlower instead of towlower.
2129 2015-06-02  Roland McGrath  <roland@hack.frob.com>
2131         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
2132         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
2134 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2136         * sysdeps/aarch64/libm-test-ulps: Update.
2138 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2140         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
2141         Define.
2142         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2143         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
2144         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
2145         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2146         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
2147         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
2148         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
2150 2015-06-01  Martin Sebor  <msebor@redhat.com>
2152         [BZ #18116]
2153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2154         (__setcontext): Use extended four-operand version of mtsf whenever
2155         possible.
2156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2157         (__novec_swapcontext): Likewise.
2159 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
2161         * benchtests/scripts/compare_bench.py: New file.
2162         * benchtests/scripts/import_bench.py (mean): New function.
2163         (split_list): Likewise.
2164         (do_for_all_timings): Likewise.
2165         (compress_timings): Likewise.
2167         * benchtests/scripts/import_bench.py: New file.
2168         * benchtests/scripts/validate_benchout.py: Import import_bench
2169         instead of jsonschema.
2170         (validate_bench): Remove function.
2171         (main): Use import_bench.
2173 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
2175         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
2176         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
2178 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2180         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2182 2015-05-28  Roland McGrath  <roland@hack.frob.com>
2184         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
2185         set THREAD_SELF->tid to a magic value and futex-wake it.
2186         Pass its address to the thread_exit system call.
2187         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
2188         bit is clear.
2189         * sysdeps/nacl/lowlevellock.h: New file.
2190         * sysdeps/nacl/lll_timedwait_tid.c: New file.
2192         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
2193         Add TIMEOUT to current time, don't subtract it.
2195 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
2197         [BZ #18422]
2198         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
2199         ($(objpfx)tst-audit2.out): Also depend on
2200         $(objpfx)tst-auditmod9b.so.
2201         * elf/tst-audit2.c: Include <dlfcn.h>.
2202         (calloc_called): New.
2203         (calloc): Allow to be called more than once.
2204         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
2206 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
2208         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
2209         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
2211 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
2213         * stdlib/monetary.h: Fix comment.
2215 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
2217         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
2218         Avoid using variables in #defines that might cause shadowing.
2219         (INTERNAL_VSYSCALL_CALL): Likewise.
2221 2015-05-26  Roland McGrath  <roland@hack.frob.com>
2223         * sysdeps/nacl/lll_timedlock_wait.c: New file.
2225         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
2226         * nptl/lll_timedlock_wait.c: ... to this new file.
2227         * nptl/Makefile (libpthread-routines): Add it.
2228         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
2229         * nptl/lll_timedwait_tid.c: ... to this new file.
2230         * nptl/Makefile (libpthread-routines): Add it.
2231         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
2232         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
2233         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
2234         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
2235         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
2236         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
2237         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
2238         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
2239         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
2240         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
2242 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2244         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
2245         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2246         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
2247         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
2248         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
2249         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2250         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2251         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2252         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2253         * sysdeps/unix/sysv/linux/tile/sysdep.h
2254         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2255         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
2256         using vDSO syscall macro.
2258 2015-05-26  Andriy Rysin  <arysin@gmail.com>
2260         [BZ #17293]
2261         * uk_UA: Fix sorting order for Ukrainian locale
2263 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
2265         * stdlib/monetary.h: Fix comment.
2267 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2269         [BZ #18234]
2270         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
2271         st_mtim and st_ctim members.
2272         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
2273         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
2274         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
2275         (struct stat64): Likewise.
2276         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
2277         (struct stat64): Likewise.
2278         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
2279         (struct stat64): Likewise.
2281 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2283         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
2284         Define and include sysdep-vdso.h.
2285         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
2286         Likewise.
2287         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
2288         Likewise.
2289         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
2290         Define with VDSO_SYMBOL and use PTR_MANGLE.
2291         (__vdso_clock_gettime): Likewise.
2292         (__vdso_clock_getres): Likewise.
2293         (_libc_vdso_platform_setup): Likewise.
2294         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
2295         Likewise.
2296         (_libc_vdso_platform_setup): Likewise.
2297         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
2298         Likewise.
2299         (__vdso_clock_gettime): Likewise.
2300         (__vdso_clock_getres): Likewise.
2301         (__vdso_get_tbfreq): Likewise.
2302         (__vdso_getcpu): Likewise.
2303         (__vdso_time): Likewise.
2304         (__vdso_sigtramp_rt64): Likewise.
2305         (__vdso_signtramp32): Likewise.
2306         (__vdso_sigtramp_rt32): Likewise.
2307         (_libc_vdso_platform_setup): Likewise.
2308         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
2309         Likewise.
2310         (__vdso_clock_gettime): Likewise.
2311         (__vdso_clock_getres): Likewise.
2312         (_libc_vdso_platform_setup): Likewise.
2313         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
2314         Likewise.
2315         (__vdso_clock_gettime): Likewise.
2316         (_libc_vdso_platform_setup): Likewise.
2317         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2318         Likewise.
2319         (__vdso_getcpu): Likewise.
2320         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
2321         Use VDSO_SYMBOL macro to define.
2322         (__vdso_clock_gettime): Likewise.
2323         (__vdso_clock_getres): Likewise.
2324         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
2325         Likewise.
2326         (__vdso_clock_gettime): Likewise.
2327         (__vdso_clock_getres): Likewise.
2328         (__vdso_get_tbfreq): Likewise.
2329         (__vdso_getcpu): Likewise.
2330         (__vdso_time): Likewise.
2331         (__vdso_sigtramp_rt64): Likewise.
2332         (__vdso_signtramp32): Likewise.
2333         (__vdso_sigtramp_rt32): Likewise.
2334         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
2335         Likewise.
2336         (__vdso_clock_gettime): Likewise.
2337         (__vdso_clock_getres): Likewise.
2338         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
2339         Likewise.
2340         (__vdso_clock_gettime): Likewise.
2341         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
2342         Likewise.
2343         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
2344         macro.
2345         (INTERNAL_VSYSCALL): Likewise.
2346         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
2347         Remove macro.
2348         (INTERNAL_VSYSCALL): Likewise.
2349         (INTERNAL_VSYSCALL_NCS): Likewise.
2350         (INTERNAL_VSYSCALL_CALL): New macro.
2351         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
2352         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
2353         Likewise.
2354         (INTERNAL_VSYSCALL): Likewise.
2355         (INTERNAL_VSYSCALL_NCS): Likewise.
2356         (INTERNAL_VSYSCALL_CALL): New macro.
2357         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
2358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2359         (INLINE_VSYSCALL): Remove macro.
2360         (INTERNAL_VSYSCALL): Remove macro.
2361         (INTERNAL_VSYSCALL_NCS): Remove macro.
2362         (INTERNAL_VSYSCALL_CALL): New macro.
2363         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
2364         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
2365         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
2366         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
2367         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
2368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2369         (INLINE_VSYSCALL): Remove macro.
2370         (INTERNAL_VSYSCALL): Likewise.
2371         (INTERNAL_VSYSCALL_NCS): Likewise.
2372         (INTERNAL_VSYSCALL_CALL): New macro.
2373         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
2374         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
2375         PTR_DEMANGLE on vDSO pointer.
2376         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
2377         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
2378         macro.
2379         (INTERNAL_SYSCALL): Likewise.
2380         (INTERNAL_VSYSCALL_NCS): Remove macro.
2381         (INTERNAL_VSYSCALL_CALL): New macro.
2382         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
2383         Remove macro.
2384         (INTERNAL_VSYSCALL): Likewise.
2385         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
2386         sysdep-vdso.h instead of libc-vdso.h.
2387         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
2388         definition.
2389         (INLINE_VSYSCALL): Likewise.
2390         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
2391         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
2392         definition.
2393         (INLINE_VSYSCALL): Likewise.
2394         (INTERNAL_VSYSCALL): Likewise.
2395         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2396         * sysdeps/unix/sysv/linux/timespec_get.c
2397         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2398         (timespec_get): Use ANSI prototype.
2399         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
2400         and definition for Linux.
2402 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
2404         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
2405         * include/libc-symbols.h: libmvec_hidden_* macro series added.
2407 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
2409         [BZ #18410]
2410         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
2411         for missing DT_PLTRELSZ.
2413 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
2415         Remove obsolete aliases that broke 'locale -a'
2416         [BZ #18412]
2417         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
2418         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
2419         breaking some applications that use 'locale -a' output.
2420         Change the encoding of this file from Latin-1 to ASCII to avoid
2421         other potential problems with people grepping this file.
2423 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2425         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
2426         -fasynchronous-unwind-tables.
2427         (CFLAGS-sendto.c): Likewise.
2428         (CFLAGS-sendmsg.c): Likewise.
2429         (CFLAGS-connect.c): Likewise.
2430         (CFLAGS-recvmsg.c): Likewise.
2431         (CFLAGS-recvfrom.c): Likewise.
2432         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
2433         (SOCKETCALL): New macro: non-cancellable socketcall.
2434         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
2435         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
2436         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
2437         * sysdeps/unix/sysv/linux/accept.c: New file.
2438         * sysdeps/unix/sysv/linux/bind.c: Likewise.
2439         * sysdeps/unix/sysv/linux/connect.c: Likewise.
2440         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
2441         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
2442         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
2443         * sysdeps/unix/sysv/linux/listen.c: Likewise.
2444         * sysdeps/unix/sysv/linux/recv.c: Likewise.
2445         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
2446         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
2447         * sysdeps/unix/sysv/linux/send.c: Likewise.
2448         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
2449         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
2450         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
2451         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
2452         * sysdeps/unix/sysv/linux/socket.c: Likewise.
2453         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
2454         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
2455         prototype.
2456         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
2457         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2458         instead of __internal_xxx function.
2459         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
2460         prototype.
2461         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
2462         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2463         instead of __internal_xxx function.
2464         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
2465         prototype.
2466         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
2467         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2468         instead of __internal_xxx function.
2469         * sysdeps/unix/sysv/linux/accept.S: Remove file.
2470         * sysdeps/unix/sysv/linux/bind.S: Likewise.
2471         * sysdeps/unix/sysv/linux/connect.S: Likewise.
2472         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
2473         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
2474         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
2475         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
2476         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
2477         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
2478         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
2479         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
2480         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2481         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
2482         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
2483         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
2484         * sysdeps/unix/sysv/linux/listen.S: Likewise.
2485         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
2486         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
2487         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
2488         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
2489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
2490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
2491         * sysdeps/unix/sysv/linux/recv.S: Likewise.
2492         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
2493         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
2494         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
2495         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2496         * sysdeps/unix/sysv/linux/send.S: Likewise.
2497         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
2498         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
2499         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
2500         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
2501         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
2502         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
2503         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
2504         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
2505         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
2506         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
2507         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
2508         socketcall is implemented in GLIBC.
2510 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
2512         * soft-fp/fmadf4.c: Include <libc-internal.h>.
2513         (__fma): Ignore uninitialized warnings around packing.
2514         * soft-fp/fmasf4.c: Include <libc-internal.h>.
2515         (__fmaf): Ignore uninitialized warnings around packing.
2516         * soft-fp/fmatf4.c: Include <libc-internal.h>.
2517         (__fmal): Ignore uninitialized warnings around packing.
2519         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
2520         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2521         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
2522         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2524         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
2525         switch statement into default case.
2526         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
2528         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
2529         a conditional in forcing "inexact".
2530         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
2531         Likewise.
2533 2015-05-22  Roland McGrath  <roland@hack.frob.com>
2535         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
2536         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
2537         for each INTERNAL_SYSCALL use.
2539 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
2541         [BZ #438]
2542         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
2543         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
2544         variable.
2546         [BZ #18444]
2547         * string/basename.c (basename): Rename to __basename and define as
2548         weak alias of __basename.  Use libc_hidden_weak.
2549         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
2550         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
2551         __basename instead of basename.
2552         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
2553         Remove variable.
2554         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
2556 2015-05-18  Florian Weimer  <fweimer@redhat.com>
2558         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
2559         (_IO_JUMPS_FILE_plus): New.
2560         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
2561         _IO_CAST_FIELD_ACCESS.
2562         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
2563         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
2564         * libio/freopen.c (freopen): Likewise.
2565         * libio/freopen64.c (freopen64): Likewise.
2566         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
2567         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
2568         * libio/iofwide.c (_IO_fwide): Likewise.
2569         * libio/memstream.c (open_memstream): Likewise.
2570         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
2571         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
2572         * libio/oldiopopen.c (_IO_old_popen): Likewise.
2574 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
2576         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
2577         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
2578         NADJ.
2579         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
2580         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
2581         NADJ.
2582         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
2583         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
2584         NADJ.
2586         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
2587         (p == 4) case.
2589         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
2590         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
2591         Remove variable.
2592         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
2593         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
2594         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
2596 2015-05-21  Florian Weimer  <fweimer@redhat.com>
2598         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
2599         Adjust jump table label generation macros.
2601 2015-05-21  Florian Weimer  <fweimer@redhat.com>
2603         * stdio-common/vfprintf.c (vfprintf): Move local variables
2604         args_malloced, specs, specs_malloced, and the code after
2605         do_positional to the printf_positional function.
2606         (printf_positional): New function.
2608 2015-05-21  Florian Weimer  <fweimer@redhat.com>
2610         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
2611         function.
2612         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
2613         STEP4_TABLE, process_arg): Move macro definitions
2614         out of the vfprintf function.  (Cosmetic change only.)
2616 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
2618         * benchtests/Makefile (stdio-common-bench): Define.
2619         (benchset): Add stdio-common-bench.
2620         * sprintf-inputs: New file.
2621         * sprintf-source.c: New file.
2623 2015-05-21  Andreas Schwab  <schwab@suse.de>
2625         [BZ #13028]
2626         [BZ #17053]
2627         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
2628         of struct __res_state.
2629         * resolv/res_send.c (__libc_res_nsend): Likewise.
2630         (get_nsaddr): New function.
2631         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
2632         statp directly.
2634 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
2636         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
2637         -D_POSIX_C_SOURCE=199506L.
2639         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
2641         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
2642         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
2643         Do not mention otherwise.
2644         [POSIX] (_XOPEN_VERSION): Do not expect.
2645         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
2646         [POSIX] (_POSIX2_C_BIND): Likewise.
2647         [POSIX] (_POSIX2_VERSION): Likewise.
2648         [POSIX] (_XOPEN_XPG2): Likewise.
2649         [POSIX] (_XOPEN_XPG3): Likewise.
2650         [POSIX] (_XOPEN_XPG4): Likewise.
2651         [POSIX] (_XOPEN_UNIX): Likewise.
2652         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
2653         [POSIX] (_POSIX_BARRIERS): Likewise.
2654         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
2655         [POSIX] (_POSIX_CPUTIME): Likewise.
2656         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
2657         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
2658         [POSIX] (_POSIX_SHELL): Likewise.
2659         [POSIX] (_POSIX_SPAWN): Likewise.
2660         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
2661         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
2662         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
2663         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
2664         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
2665         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
2666         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
2667         [POSIX] (_XBS5_LP64_OFF64): Likewise.
2668         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
2669         [POSIX] (_POSIX_TIMEOUTS): Likewise.
2670         [POSIX] (_POSIX2_PBS): Likewise.
2671         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
2672         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
2673         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
2674         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
2675         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
2676         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
2677         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
2678         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
2679         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
2680         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
2681         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
2682         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
2683         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
2684         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
2685         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
2686         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
2687         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
2688         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
2689         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
2690         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
2691         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
2692         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
2693         [POSIX] (_SC_2_C_BIND): Likewise.
2694         [POSIX] (_SC_2_C_VERSION): Likewise.
2695         [POSIX] (_SC_2_PBS): Likewise.
2696         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
2697         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
2698         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
2699         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
2700         [POSIX] (_SC_2_PBS_TRACK): Likewise.
2701         [POSIX] (_SC_ATEXIT_MAX): Likewise.
2702         [POSIX] (_SC_BARRIERS): Likewise.
2703         [POSIX] (_SC_BASE): Likewise.
2704         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
2705         [POSIX] (_SC_DEVICE_IO): Likewise.
2706         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
2707         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
2708         [POSIX] (_SC_FD_MGMT): Likewise.
2709         [POSIX] (_SC_FIFO): Likewise.
2710         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
2711         [POSIX] (_SC_FILE_LOCKING): Likewise.
2712         [POSIX] (_SC_FILE_SYSTEM): Likewise.
2713         [POSIX] (_SC_IOV_MAX): Likewise.
2714         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
2715         [POSIX] (_SC_NETWORKING): Likewise.
2716         [POSIX] (_SC_PAGE_SIZE): Likewise.
2717         [POSIX] (_SC_PASS_MAX): Likewise.
2718         [POSIX] (_SC_PIPE): Likewise.
2719         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
2720         [POSIX] (_SC_REGEXP): Likewise.
2721         [POSIX] (_SC_SHELL): Likewise.
2722         [POSIX] (_SC_SIGNALS): Likewise.
2723         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
2724         [POSIX] (_SC_SPIN_LOCKS): Likewise.
2725         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
2726         [POSIX] (_SC_USER_GROUPS): Likewise.
2727         [POSIX] (_SC_USER_GROUPS_R): Likewise.
2728         [POSIX] (_SC_STREAMS): Likewise.
2729         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
2730         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
2731         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
2732         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
2733         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
2734         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
2735         [POSIX] (_PC_FILESIZEBITS): Likewise.
2736         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
2737         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
2738         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
2739         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
2740         [POSIX] (uid_t): Likewise.
2741         [POSIX] (gid_t): Likewise.
2742         [POSIX] (off_t): Likewise.
2743         [POSIX] (pid_t): Likewise.
2744         [POSIX] (cuserid): Allow.
2745         (_SC_2_CHAR_TERM): Require constant.
2746         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
2747         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
2748         variable.
2750 2015-05-20  Roland McGrath  <roland@hack.frob.com>
2752         * sysdeps/nacl/pthread-pids.h: New file.
2753         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
2754         (create_thread): Use __nacl_get_tid to initialize PD->tid.
2756         * nptl/pthread-pids.h: New file.
2757         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
2758         * nptl/nptl-init.c: Include <pthread-pids.h>.
2759         (__pthread_initialize_minimal_internal):
2760         Call __pthread_initialize_pids instead of set_tid_address syscall.
2762         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
2763         * sysdeps/posix/usleep.c: ... here.
2765 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2767         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
2768         call_pselect6 object.
2769         [$(subdir) = io]: Remove call_sync_file_range object.
2770         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
2771         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
2772         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
2773         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
2775 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
2777         * math/s_cproj.c: Add include "math_private.h".
2778         * math/s_cprojf.c: Likewise.
2779         * math/s_cprojl.c: Likewise.
2781 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
2783         [BZ #18244]
2784         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
2785         high mantissa bit when testing whether P is a NaN.
2786         * math/libm-test.inc (remainder_test_data): Add more tests.
2787         (remquo_test_data): Likewise.
2789         [BZ #18049]
2790         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
2791         below -32, return the argument, with underflow if subnormal.
2792         * math/auto-libm-test-in: Add more tests of atanh.
2793         * math/auto-libm-test-out: Regenerated.
2795 2015-05-19  Roland McGrath  <roland@hack.frob.com>
2797         [BZ #18434]
2798         * nptl/tst-sem15.c: New file.
2799         * nptl/Makefile (tests): Add it.
2800         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
2801         s/<</>>/ to fix typo in EOVERFLOW check.
2802         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
2804 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2806         * manual/strings.texi (envz_remove): Fix typo in safety
2807         annotations.
2809 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
2810             Steve Ellcey  <sellcey@imgtec.com>
2812         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
2813         in order to avoid strict alias warnings.
2814         (iruserok_af): Ditto for ra.
2816 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
2818         [BZ #17581]
2819         * malloc/hooks.c
2820         (magicbyte): Convert to a function and avoid returning 0x01.
2821         (mem2mem_check): Avoid using a length byte equal to the magic byte.
2822         (mem2chunk_check): Fix unsigned comparisons to zero.
2823         Hoist defs of sz and magic.
2825 2015-05-19  Richard Henderson  <rth@redhat.com>
2827         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
2829         * sysdeps/alpha/fpu/libm-test-ulps: Update.
2831 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2833         [BZ #16159]
2834         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
2835         * malloc/arena.c (arena_lock): Check if arena is corrupt.
2836         (reused_arena): Find a non-corrupt arena.
2837         (heap_trim): Pass arena to unlink.
2838         * malloc/hooks.c (malloc_check_get_size): Pass arena to
2839         malloc_printerr.
2840         (top_check): Likewise.
2841         (free_check): Likewise.
2842         (realloc_check): Likewise.
2843         * malloc/malloc.c (malloc_printerr): Add arena argument.
2844         (unlink): Likewise.
2845         (munmap_chunk): Adjust.
2846         (ARENA_CORRUPTION_BIT): New macro.
2847         (arena_is_corrupt): Likewise.
2848         (set_arena_corrupt): Likewise.
2849         (sysmalloc): Use mmap if there are no usable arenas.
2850         (_int_malloc): Likewise.
2851         (__libc_malloc): Don't fail if arena_get returns NULL.
2852         (_mid_memalign): Likewise.
2853         (__libc_calloc): Likewise.
2854         (__libc_realloc): Adjust for additional argument to
2855         malloc_printerr.
2856         (_int_free): Likewise.
2857         (malloc_consolidate): Likewise.
2858         (_int_realloc): Likewise.
2859         (_int_memalign): Don't touch corrupt arenas.
2860         * malloc/tst-malloc-backtrace.c: New test case.
2862         * Makefile (summarize-tests): Fix return value on success.
2864         * manual/string.texi (Envz Functions): Add envz_remove.
2866 2015-05-18  Roland McGrath  <roland@hack.frob.com>
2868         * sysdeps/posix/opendir.c: Include <stdbool.h>.
2869         (invalid_name): New function, broken out of ...
2870         (__opendirat): ... here.  Call it.
2871         (need_isdir_precheck): New function, broken out of ...
2872         (__opendirat): ... here.  Call it.
2873         Use __fxstatat64, not __xstatat64.
2874         (opendir_oflags): New function, broken out of ...
2875         (__opendirat): ... here.  Call it.
2876         (opendir_tail): New function, broken out of ...
2877         (__opendirat): ... here.  Call it.
2878         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
2879         opendir_tail, rather than punting to __opendirat.
2880         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
2882 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2884         * .gitignore: Ignore generated *.pyc.
2886 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
2888         * include/stdio.h: Define __need_wint_t.
2889         * test-skeleton.c: Avoid `for' loop initial declaration.
2890         * nptl/tst-initializers1.c: Use test-skeleton.c.
2892 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2894         [BZ #18418]
2895         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
2897 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
2899         [BZ #16352]
2900         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
2901         (__ieee754_atanh): Force underflow exception for results with
2902         small absolute value.
2903         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
2904         (__ieee754_atanhf): Force underflow exception for results with
2905         small absolute value.
2906         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
2907         (__ieee754_atanh): Force underflow exception for results with
2908         small absolute value.
2909         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
2910         (__ieee754_atanhf): Force underflow exception for results with
2911         small absolute value.
2912         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
2913         (__ieee754_atanhl): Force underflow exception for results with
2914         small absolute value.
2915         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
2916         (__ieee754_atanhl): Force underflow exception for results with
2917         small absolute value.
2918         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
2919         (__ieee754_atanhl): Force underflow exception for results with
2920         small absolute value.
2921         * math/auto-libm-test-in: Do not allow missing underflow
2922         exceptions from atanh.
2923         * math/auto-libm-test-out: Regenerated.
2925         [BZ #18221]
2926         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
2927         2**-28 as threshold for returning x or +/- 1/x.
2928         * math/auto-libm-test-in: Add more tests of tan.
2929         * math/auto-libm-test-out: Regenerated.
2931         [BZ #18220]
2932         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2933         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
2934         * math/auto-libm-test-in: Add another test of lgamma.
2935         * math/auto-libm-test-out: Regenerated.
2937 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
2939         * stdio-common/printf_fp.c (___printf_fp): Use abs.
2940         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
2941         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
2942         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
2943         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
2944         (ADD2A): Use fabs.  (SUB2A): Use fabs.
2945         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
2946         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
2947         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
2948         (log1): Use fabs.  (my_log2): Use fabs.
2949         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
2950         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
2951         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
2952         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
2953         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
2954         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
2955         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
2956         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
2957         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
2958         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
2959         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
2961 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
2963         [BZ #18217]
2964         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
2965         as threshold for returning 1 - x.
2966         * math/auto-libm-test-in: Add more tests of erfc.
2967         * math/auto-libm-test-out: Regenerated.
2969 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
2971         [BZ #18196]
2972         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
2973         threshold for large arguments.
2974         * math/auto-libm-test-in: Add another test of atan.
2975         * math/auto-libm-test-out: Regenerated.
2977         [BZ #16339]
2978         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
2979         (__log1p): Force underflow exception for results with small
2980         absolute value.
2981         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
2982         (__log1pf): Force underflow exception for results with small
2983         absolute value.
2984         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
2985         (__log1p): Force underflow exception for results with small
2986         absolute value.
2987         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
2988         (__log1pf): Force underflow exception for results with small
2989         absolute value.
2990         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
2991         (__log1pl): Force underflow exception for results with small
2992         absolute value.
2993         * math/auto-libm-test-in: Do not allow missing underflow
2994         exceptions from log1p.
2995         * math/auto-libm-test-out: Regenerated.
2997 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
2998             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3000         [BZ #16704]
3001         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
3003 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
3005         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
3006         (libmvec): New variable.
3007         * configure.ac: Added option for mathvec build.
3008         * configure: Regenerated.
3009         * mathvec/Depend: New file.
3010         * mathvec/Makefile: New file.
3011         * shlib-versions: Added libmvec.
3012         * math/Makefile: Added rule for libm.so installation.
3014         * bits/math-vector.h: New file.
3015         * bits/libm-simd-decl-stubs.h: New header.
3016         * math/Makefile (headers): Added new header
3017         libm-simd-decl-stubs.h.
3018         * math/math.h (__MATHCALL_VEC): New macro.
3020         * math/gen-libm-have-vector-test.sh: Script generates series of macros
3021         for conditions in testing functions.
3022         * math/Makefile: Added call of libm-have-vector-test.sh.
3023         * math/libm-test.inc (HAVE_VECTOR): New macros.
3025         * math/libm-test.inc: START refactored.
3026         * math/test-double.c (TEST_MATHVEC): Add define.
3027         * math/test-float.c: Likewise.
3028         * math/test-idouble.c: Likewise.
3029         * math/test-ifloat.c: Likewise.
3030         * math/test-ildoubl.c: Likewise.
3031         * math/test-ldouble.c: Likewise.
3032         * sysdeps/generic/math-tests-arch.h
3033         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
3034         architecture check.
3036         * math/test-double.c (FUNC_TEST): New macro.
3037         * math/test-float.c: Likewise.
3038         * math/test-idouble.c: Likewise.
3039         * math/test-ifloat.c: Likewise.
3040         * math/test-ildoubl.c: Likewise.
3041         * math/test-ldouble.c: Likewise.
3042         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
3044 2015-05-13  Roland McGrath  <roland@hack.frob.com>
3046         * sysdeps/nacl/fdopendir.c: New file.
3048         * dirent/scandir-tail.c: New file.
3049         * dirent/scandir64-tail.c: New file.
3050         * dirent/Makefile (routines): Add them.
3051         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
3052         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
3053         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
3054         [!SCANDIR] (SCANDIR_TAIL): New macro.
3055         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
3056         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
3057         (SCANDIRAT): Macro removed.
3058         (SCANDIR_TAIL): New macro.
3059         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
3060         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
3061         (SCANDIRAT): Just call __opendirat and __scandir_tail.
3062         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
3063         (READDIR): Macro removed.
3064         (SCANDIR_TAIL): New macro.
3065         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
3066         (SCANDIR_TAIL): New macro.
3068         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
3069         * dirent/scandir-cancel.c: ... to this new file.
3070         * dirent/Makefile (routines): Add it.
3071         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
3072         * sysdeps/unix/sysv/linux/i386/scandir64.c
3073         (SKIP_SCANDIR_CANCEL): Macro removed.
3074         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
3076         * dirent/tst-scandir.c: New file.
3077         * dirent/tst-scandir64.c: New file.
3078         * dirent/Makefile (tests): Add them.
3080 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
3082         [BZ #18409]
3083         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
3085 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3087         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
3088         list.
3090 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
3092         * benchtests/bench-strcoll.c: New benchmark.
3093         * benchtests/Makefile: Generate locales and run benchmark.
3094         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
3095         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
3096         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
3097         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
3098         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
3099         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
3100         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
3101         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
3102         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
3103         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
3104         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
3105         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
3106         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
3107         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
3108         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
3109         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
3110         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
3111         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
3112         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
3113         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
3114         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
3115         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
3116         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
3117         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
3119 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
3121         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
3122         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3124 2015-05-12  Roland McGrath  <roland@hack.frob.com>
3126         * posix/uname-values.h: New file.
3127         * posix/uname.c: Include that instead of <config-name.h>.
3128         * sysdeps/nacl/uname-values.h: New file.
3129         * sysdeps/arm/nacl/uname-values.h: New file.
3131 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
3133         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
3134         splitting into fields.
3136 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
3138         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
3139         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
3140         * locale/localeinfo.h: Add enum collation_encoding_type.
3141         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
3142         * programs/ld-collate.c (collate_output): Add encoding type info.
3143         * string/strcoll_l.c (STRDIFF): New function.
3144         * (STRCOLL): Use STRDIFF to skip over equal prefix.
3145         * wcsmbs/wcscoll_l.c: Define STRDIFF.
3147 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
3149         [BZ #18397]
3150         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
3151         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
3152         <fpu_control.h> instead of <math/fpu_control.c>.
3153         * sysdeps/mips/mips32/fpu/Makefile: New file.
3155 2015-05-11  Andreas Schwab  <schwab@suse.de>
3157         [BZ #18007]
3158         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
3159         nss_endgrent.
3160         (_nss_compat_endgrent): Call nss_endgrent.
3161         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
3162         nss_endpwent.
3163         (_nss_compat_endpwent): Call nss_endpwent.
3164         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
3165         needent, call nss_setspent only if non-zero.
3166         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
3167         (internal_endspent): Don't call nss_endspent.
3168         (_nss_compat_endspent): Call nss_endspent.
3169         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
3170         Remove.  All uses removed.
3171         (internal_setent): Remove parameter stayopen, add parameter
3172         stream.  Use it instead of global variable.
3173         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
3174         (internal_endent, internal_getent): Add parameter stream.  Use it
3175         instead of global variable.
3176         (CONCAT(_nss_files_end,ENTNAME))
3177         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
3178         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
3179         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
3180         uses removed.
3181         (internal_setent, internal_endent): Add parameter stream.  Use it
3182         instead of global variable.
3183         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
3184         stream.
3185         (get_next_alias): Add parameter stream.
3186         (_nss_files_getaliasent_r): Pass global stream.
3187         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
3188         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
3189         (_nss_files_gethostbyname4_r): Pass local stream to
3190         internal_setent, internal_getent and internal_endent.  Remove
3191         locking.
3193 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3195         * tst-strfmon1.c (tests): Update expected currency symbol.
3197 2015-05-08  Roland McGrath  <roland@hack.frob.com>
3199         * sysdeps/nacl/gethostname.c: New file.
3201 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
3203         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
3204         and sinh.
3205         * math/auto-libm-test-out: Regenerated.
3206         * sysdeps/i386/fpu/libm-test-ulps: Update.
3207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3209 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
3211         [BZ #18125]
3212         * stdlib/tst-setcontext3.c: New file.
3213         * stdlib/tst-setcontext3.sh: New file.
3214         * stdlib/Makefile (tests): Add tst-setcontext3.
3215         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
3216         to verify test program created output file.
3217         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
3218         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
3219         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
3220         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
3222 2015-05-06  Roland McGrath  <roland@hack.frob.com>
3224         [BZ #18383]
3225         * elf/tst-tlsalign.c: New file.
3226         * elf/tst-tlsalign-static.c: New file.
3227         * elf/tst-tlsalign-lib.c: New file.
3228         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
3229         (tests-static): Add tst-tlsalign-static.
3230         (modules-names): Add tst-tlsalign-lib.
3231         (test-xfail-tst-tlsalign): New variable.
3232         (test-xfail-tst-tlsalign-static): New variable.
3234         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
3235         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
3237 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
3239         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
3240         csqrt, erfc, sin and sincos.
3241         * math/auto-libm-test-out: Regenerated.
3242         * sysdeps/i386/fpu/libm-test-ulps: Update.
3243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3245 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3247         * sysdeps/aarch64/libm-test-ulps: Update.
3249 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
3251         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
3252         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
3253         * math/auto-libm-test-out: Regenerated.
3254         * sysdeps/i386/fpu/libm-test-ulps: Update.
3255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3257 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
3259         [BZ #18265]
3260         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
3261         (wcsncpy): Likewise.
3263 2015-05-05  Florian Weimer  <fweimer@redhat.com>
3265         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3266         Assume __ASSUME_FALLOCATE is always true.
3267         * sysdeps/unix/sysv/linux/posix_fallocate64.c
3268         (__posix_fallocate64_l64): Likweise.
3269         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
3270         (posix_fallocate): Likewise.
3271         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
3272         (__posix_fallocate64_l64): Likewise.
3273         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3274         [!__ASSUME_FALLOCATE]: Add comment.
3276 2015-05-05  Florian Weimer  <fweimer@redhat.com>
3278         * sysdeps/unix/sysv/linux/i386/Makefile
3279         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
3280         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
3281         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
3282         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
3283         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
3284         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
3285         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
3287 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
3289         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
3290         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
3291         tgamma.
3292         * math/auto-libm-test-out: Regenerated.
3293         * sysdeps/i386/fpu/libm-test-ulps: Update.
3294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3296 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
3298         * math/auto-libm-test-in: Add more tests of tgamma.
3299         * math/auto-libm-test-out: Regenerated.
3300         * sysdeps/i386/fpu/libm-test-ulps: Update.
3301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3303         * math/auto-libm-test-in: Add more tests of tanh.
3304         * math/auto-libm-test-out: Regenerated.
3305         * sysdeps/i386/fpu/libm-test-ulps: Update.
3306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3308         * math/auto-libm-test-in: Add more tests of tan.
3309         * math/auto-libm-test-out: Regenerated.
3310         * sysdeps/i386/fpu/libm-test-ulps: Update.
3311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3313         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
3314         * math/auto-libm-test-out: Regenerated.
3315         * sysdeps/i386/fpu/libm-test-ulps: Update.
3316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3318         * math/auto-libm-test-in: Add another test of pow.
3319         * math/auto-libm-test-out: Regenerated.
3320         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3322         * math/auto-libm-test-in: Add more tests of lgamma.
3323         * math/auto-libm-test-out: Regenerated.
3324         * sysdeps/i386/fpu/libm-test-ulps: Update.
3325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3327         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
3328         log1p.
3329         * math/auto-libm-test-out: Regenerated.
3330         * sysdeps/i386/fpu/libm-test-ulps: Update.
3331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3333 2015-05-01  Mark Wielaard  <mjw@redhat.com>
3335         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
3336         Elf64_Chdr structs and ELFCOMPRESS constants.
3338 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
3340         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
3341         expm1.
3342         * math/auto-libm-test-out: Regenerated.
3343         * sysdeps/i386/fpu/libm-test-ulps: Update.
3344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3346         * math/auto-libm-test-in: Add more tests of erf and erfc.
3347         * math/auto-libm-test-out: Regenerated.
3348         * sysdeps/i386/fpu/libm-test-ulps: Update.
3349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3351 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3353         * config.h.in (HAVE_AARCH64_BE): Add.
3355 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
3357         * math/auto-libm-test-in: Add more tests of csqrt.
3358         * math/auto-libm-test-out: Regenerated.
3359         * sysdeps/i386/fpu/libm-test-ulps: Update.
3360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3362         * math/auto-libm-test-in: Add more tests of cosh and sinh.
3363         * math/auto-libm-test-out: Regenerated.
3364         * sysdeps/i386/fpu/libm-test-ulps: Update.
3365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3367         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
3369 2015-04-29  Roland McGrath  <roland@hack.frob.com>
3371         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
3372         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
3374         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
3375         (euidaccess, eaccess): Define as weak aliases.
3377         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
3378         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
3379         but __suseconds_t is often 'long int' so some sources assume that
3380         type is being used (e.g. they use %ld to print tv_usec).
3382 2015-04-29  Florian Weimer  <fweimer@redhat.com>
3384         [BZ #18007]
3385         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
3386         (CVE-2014-8121)
3387         * nss/tst-nss-getpwent.c: New file.
3388         * nss/Makefile (tests): Add new test.
3390 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
3392         [BZ #18346]
3393         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
3394         exponents less than 48 as cases where high part of mantissa needs
3395         examining to determine whether argument is integral.
3396         * math/libm-test.inc (round_test_data): Add more tests.
3398 2015-04-28  Mark Wielaard  <mjw@redhat.com>
3400         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
3402 2015-04-27  David S. Miller  <davem@davemloft.net>
3404         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
3405         __tls_get_addr.
3406         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3408 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
3410         [BZ#18333]
3411         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
3413 2015-04-27  Florian Weimer  <fweimer@redhat.com>
3415         [BZ#18333]
3416         * time/tzset.c (parse_tzname): Return error on memory allocation
3417         failure.
3418         * test-skeleton.c (struct temp_name_list): Change type of name
3419         member to non-const.
3420         (add_temp_file): Create a copy of the file name.
3421         (delete_temp_files): Deallocate memory.
3422         (create_temp_file): Add comment.
3424 2015-04-24  Florian Weimer  <fweimer@redhat.com>
3426         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
3427         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
3429 2015-04-24  Roland McGrath  <roland@hack.frob.com>
3431         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
3432         * sysdeps/arm/configure: Regenerated.
3434 2015-04-24  Florian Weimer  <fweimer@redhat.com>
3436         [BZ #17715]
3437         * time/tzfile.c (__tzfile_read): Check for large values of
3438         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
3439         * time/tzset.c (__tzstring_len): New function, based on the old
3440         __tzstring function.
3441         (__tzstring): Call __tzstring_len.
3442         (parse_tzname): New helper function extracted from
3443         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
3444         the input string.
3445         (parse_offset): New helper function extracted from
3446         __tzset_parse_tz.  Replace switch with fallthrough with
3447         initialization before sscanf.
3448         (parse_rule): Likewise.
3449         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
3450         new-style function definition.
3451         * timezone/Makefile (tests): Add tst-tzset.
3452         (tst-tzset.out): Dependencies on time zone files.
3453         (tst-tzset-ENV): Set TZDIR.
3454         (testdata/XT%): Copy crafted time zone files.
3455         * timezone/README: Mention crafted time zone files.
3456         * timezone/testdata/XT1, timezone/testdata/XT2,
3457         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
3458         files.
3459         * timezone/tst-tzset.c: New test.
3461 2015-04-24  Florian Weimer  <fweimer@redhat.com>
3463         * Makeconfig (+gccwarn): Remove -Winline.
3465 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3467         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
3469 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3471         * NEWS: Mention sysconf() cache information support for s390.
3472         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
3474 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
3476         * math/k_casinh.c (__kernel_casinh): Use __copysign.
3477         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
3478         (__nearbyint): Likewise.
3479         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
3480         (copysignl): Likewise.
3482 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
3484         [BZ #18287]
3485         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
3486         based on padding.  (CVE-2015-1781)
3488 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3490         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
3491         libc-vdso.h.
3492         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
3493         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
3494         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
3495         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
3496         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
3497         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
3498         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
3499         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3500         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3501         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
3502         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3503         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3504         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
3505         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
3506         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
3507         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
3508         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
3509         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
3510         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
3511         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
3512         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
3513         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
3514         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
3516 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
3518         * stdlib/setenv.c (__add_to_environ):
3519         Dump core quickly if setenv (..., NULL, ...) is called.
3520         This time, do it the right way, and pacify GCC with a pragma.
3522 2015-04-17  Roland McGrath  <roland@hack.frob.com>
3524         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
3525         IMAP->l_prev cannot be null, and #if out the code for the contrary
3526         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
3527         believe that NS (&_dl_ns[NSID]) could point outside the array.
3529         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
3530         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
3531         before using NSID as an index.
3533 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
3535         [BZ #17825]
3536         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
3537         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
3538         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3540 2015-04-17  Roland McGrath  <roland@hack.frob.com>
3542         Add preliminary port to Google Native Client on ARM.
3543         * abi-tags (.*-.*-nacl.*): New entry.
3544         * sysdeps/arm/nacl: New directory.
3545         * sysdeps/nacl: New directory.
3547 2015-04-16  David S. Miller  <davem@davemloft.net>
3549         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
3550         lowlevellock-futex.h
3552 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
3554         * sysdeps/tile/configure.ac: New file.
3555         * sysdeps/tile/configure: Regenerated.
3557 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3559         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
3560         conditionals for weak_alias and libc_hidden_weak.
3561         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
3562         libc_hidden_weak and weak_alias.
3563         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
3564         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
3565         and weak_alias for static one.
3567 2015-04-15  David S. Miller  <davem@davemloft.net>
3569         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3571 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3573         [BZ #18206]
3574         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
3575           Use signed comparision instead of substraction to avoid
3576           overflow bug.
3577         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
3578           Take the sign of ret.
3579         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
3580           Do not expect precise return values. Only the sign matters.
3581         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
3582         * wcsmbs/test-wcsncmp.c: New File.
3583         * string/test-strncmp.c: Add wcsncmp support.
3585 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3587         [BZ #6792]
3588         * math/w_log1p.c: New file.
3589         * math/w_log1pf.c: Likewise.
3590         * math/w_log1pl.c: Likewise.
3591         * math/Makefile (libm-calls): Add w_log1p.
3592         * math/s_log1pl.c (log1pl): Remove weak_alias.
3593         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
3594         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
3595         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
3596         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
3597         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
3598         [NO_LONG_DOUBLE] (log1pl): Likewise.
3599         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
3600         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
3601         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
3602         (log1p): Remove long_double_symbol.
3603         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
3604         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
3605         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
3606         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
3607         remove weak_alias for corresponding log1p function.
3608         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
3609         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
3610         * sysdeps/ia64/fpu/w_log1p.c: New file.
3611         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
3612         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
3613         * math/libm-test.inc (log1p_test_data): Add errno expectations.
3615 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
3617         [BZ #18247]
3618         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
3619         decimal exponent by 1.
3620         * stdlib/tst-strtod-round-data: Add more tests.
3621         * stdlib/tst-strtod-round.c (tests): Regenerated.
3623 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
3625         * math/auto-libm-test-in: Add more tests of clog and clog10.
3626         * math/auto-libm-test-out: Regenerated.
3627         * sysdeps/i386/fpu/libm-test-ulps: Update.
3628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3630 2015-04-09  Roland McGrath  <roland@hack.frob.com>
3632         * Makeconfig (module-cppflags): Exclude all .v.i files.
3633         (skip-module-cppflags): Variable removed.
3635         * configure.ac (libc_config_ok): Initialize before reading
3636         preconfigure scripts, not after.
3637         * configure: Regenerated.
3639         * test-skeleton.c (TIMEOUT): Move #define to top level.
3640         (main): Grok environment variable TEST_DIRECT.  If set, print
3641         test expectation details into that file and then behave as if
3642         given --direct.
3644 2015-04-09  Florian Weimer  <fweimer@redhat.com>
3646         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
3647         warning on 32-bit.
3649 2015-04-08  David S. Miller  <davem@davemloft.net>
3651         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3653 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
3655         * math/auto-libm-test-in: Add more tests of atanh.
3656         * math/auto-libm-test-out: Regenerated.
3657         * sysdeps/i386/fpu/libm-test-ulps: Update.
3658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3660         * math/auto-libm-test-in: Add more tests of atan.
3661         * math/auto-libm-test-out: Regenerated.
3662         * sysdeps/i386/fpu/libm-test-ulps: Update.
3663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3665 2015-04-08  Florian Weimer  <fweimer@redhat.com>
3667         * elf/pldd.c (main): Rewrite to use struct
3668         scratch_buffer instead of extend_alloca.
3669         * elf/pldd-xx.c (find_maps): Likewise.
3670         * grp/initgroups.c: Include <scratch_buffer.h> instead of
3671         <alloca.h>.
3672         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
3673         scratch_buffer instead of extend_alloca.
3674         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
3675         grp/compat-initgroups.c.
3676         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
3677         Rewrite to use struct scratch_buffer instead of extend_alloca.
3678         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
3679         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3681 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
3683         * math/auto-libm-test-in: Add more tests of cbrt.
3684         * math/auto-libm-test-out: Regenerated.
3685         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3687         * math/auto-libm-test-in: Add more tests of cabs.
3688         * math/auto-libm-test-out: Regenerated.
3689         * sysdeps/i386/fpu/libm-test-ulps: Update.
3690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3692         [BZ #18210]
3693         [BZ #18211]
3694         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
3695         (__ieee754_atan2): Set FE_TONEAREST mode for internal
3696         computations.
3697         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
3698         clog10.
3699         * math/auto-libm-test-out: Regenerated.
3700         * sysdeps/i386/fpu/libm-test-ulps: Update.
3701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3703         [BZ #18197]
3704         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
3705         (atan): Set FE_TONEAREST mode for internal computations.
3706         * math/auto-libm-test-in: Add more tests of atan.
3707         * math/auto-libm-test-out: Regenerated.
3709 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
3711         [BZ #17930]
3712         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
3714 2015-04-07  Florian Weimer  <fweimer@redhat.com>
3716         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
3718 2015-04-07  Florian Weimer  <fweimer@redhat.com>
3720         * include/scratch_buffer.h: New file.
3721         * malloc/scratch_buffer_grow.c: Likewise.
3722         * malloc/scratch_buffer_grow_preserve.c: Likewise.
3723         * malloc/scratch_buffer_set_array_size.c: Likewise.
3724         * malloc/tst-scratch_buffer.c: Likewise.
3725         * malloc/Makefile (routines): Add scratch_buffer_grow.
3726         (tests): Add test case.
3727         * malloc/Versions (GLIBC_PRIVATE): Export
3728         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
3729         __libc_scratch_buffer_set_array_size.
3731 2015-04-06  Richard Henderson  <rth@redhat.com>
3733         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
3734         * sysdeps/alpha/fpu/libm-test-ulps: Update.
3736         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
3737         unsigned int before printing.
3739 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3741         [BZ #17596]
3742         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
3743         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3745 2015-04-02  Florian Weimer  <fweimer@redhat.com>
3747         * include/libc-internal.h (libc_max_align_t): Define.
3749 2015-04-02  Andreas Schwab  <schwab@suse.de>
3751         [BZ #16850]
3752         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
3754 2015-04-02  Mel Gorman  <mgorman@suse.de>
3756         [BZ #17195]
3757         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
3758         as well as the main arena.
3760 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
3762         [BZ #18185]
3763         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
3764         sharing L2 cache to 2 for Silvermont/Knights Landing.
3766 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
3768         [BZ #17711]
3769         * config.make.in (have-protected-data): New.
3770         * configure.ac: Check linker support for protected data symbol.
3771         * configure: Regenerated.
3772         * elf/Makefile (modules-names): Add tst-protected1moda and
3773         tst-protected1modb if $(have-protected-data) is yes.
3774         (tests): Add tst-protected1a and tst-protected1b if
3775         $(have-protected-data) is yes.
3776         ($(objpfx)tst-protected1a): New.
3777         ($(objpfx)tst-protected1b): Likewise.
3778         (tst-protected1modb.so-no-z-defs): Likewise.
3779         * elf/tst-protected1a.c: New file.
3780         * elf/tst-protected1b.c: Likewise.
3781         * elf/tst-protected1mod.h: Likewise.
3782         * elf/tst-protected1moda.c: Likewise.
3783         * elf/tst-protected1modb.c: Likewise.
3785 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
3787         [BZ #17711]
3788         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
3789         indicates it is called from do_lookup_x on relocation against
3790         protected data, skip the data definion in the executable from
3791         copy reloc.
3792         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
3793         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
3794         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
3795         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
3796         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
3797         otherwise to 0.
3798         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
3799         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
3800         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
3801         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
3802         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
3803         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
3805 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
3807         * sysdeps/nptl/pthread.h: Remove duplicate definition of
3808         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
3810 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
3812         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
3813         THREAD_SETMEM_NC.
3814         * sysdeps/x86_64/nptl/tls.h: Ditto.
3816 2015-03-27  Roland McGrath  <roland@hack.frob.com>
3818         * dlfcn/tststatic.c (main): Converted to ...
3819         (do_test): ... this.
3820         (TEST_FUNCTION): New macro.
3821         Include test-skeleton.c.
3823 2015-03-26  Alan Modra  <amodra@gmail.com>
3825         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
3826         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
3827         zero for undefined weak.
3828         (elf_machine_plt_conflict): Similarly.
3830 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
3832         * math/auto-libm-test-in: Add more tests of acosh, asinh and
3833         atanh.
3834         * math/auto-libm-test-out: Regenerated.
3835         * sysdeps/i386/fpu/libm-test-ulps: Update.
3836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3838         * math/auto-libm-test-in: Add another test of asin.
3839         * math/auto-libm-test-out: Regenerated.
3840         * sysdeps/i386/fpu/libm-test-ulps: Update.
3841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3843         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
3844         Remove macro.
3845         (LLL_EBX_REG): Likewise.
3846         (LLL_ENTER_KERNEL): Likewise.
3848         * math/auto-libm-test-in: Add more tests of asin.
3849         * math/auto-libm-test-out: Regenerated.
3850         * sysdeps/i386/fpu/libm-test-ulps: Update.
3851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3853         [BZ #18138]
3854         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
3855         libc_do_syscall_args): New structure.
3856         (INTERNAL_SYSCALL_MAIN_0): New macro.
3857         (INTERNAL_SYSCALL_MAIN_1): Likewise.
3858         (INTERNAL_SYSCALL_MAIN_2): Likewise.
3859         (INTERNAL_SYSCALL_MAIN_3): Likewise.
3860         (INTERNAL_SYSCALL_MAIN_4): Likewise.
3861         (INTERNAL_SYSCALL_MAIN_5): Likewise.
3862         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
3863         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
3864         Replace conditional definitions by conditional definitions of ....
3865         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
3866         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
3867         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
3868         (libpthread-sysdep_routines): Add libc-do-syscall.
3869         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
3870         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
3871         to __NR_futex not 240.
3873 2015-03-25  Alan Modra  <amodra@gmail.com>
3875         * NEWS: Advertise TLS optimization.
3876         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
3877         (DT_PPC_NUM): Increment.
3878         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
3879         (CHECK_STATIC_TLS): Use here.
3880         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
3881         TLS descriptors.
3882         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3883         * sysdeps/powerpc/dl-tls.c: New file.
3884         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
3885         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
3886         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
3887         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
3888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
3889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
3890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
3892 2015-03-25  Alan Modra  <amodra@gmail.com>
3894         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
3895         for overlapping .opd entries" to "support...".
3896         * sysdeps/powerpc/powerpc64/configure: Regenerate
3898 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
3900         * math/auto-libm-test-in: Add more tests of acos.
3901         * math/auto-libm-test-out: Regenerated.
3902         * sysdeps/i386/fpu/libm-test-ulps: Update.
3903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3905         * math/auto-libm-test-in: Add more tests of expm1.
3906         * math/auto-libm-test-out: Regenerated.
3907         * sysdeps/i386/fpu/libm-test-ulps: Update.
3908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3910 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
3912         * math/auto-libm-test-in: Add more tests of cosh and sinh.
3913         * math/auto-libm-test-out: Regenerated.
3914         * sysdeps/i386/fpu/libm-test-ulps: Update.
3915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3917         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3920         * math/auto-libm-test-in: Add more tests of log2.
3921         * math/auto-libm-test-out: Regenerated.
3922         * sysdeps/i386/fpu/libm-test-ulps: Update.
3923         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3925 2015-03-23  Roland McGrath  <roland@hack.frob.com>
3927         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
3928         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
3929         _IO_IS_APPENDING bit in READ_WRITE instead.
3931 2015-03-23  Florian Weimer  <fweimer@redhat.com>
3933         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
3934         (__determine_cpumask_size): Replace extend_alloca with a
3935         variable-length array.  Do not treat res == 0 as an error.
3937 2015-03-23  Florian Weimer  <fweimer@redhat.com>
3939         [BZ #18100]
3940         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
3941         and integer overflow.
3942         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
3943         (main): Add integer overflow tests.
3944         * manual/pattern.texi (Calling Wordexp): Document additional use
3945         for WRDE_SYNTAX.
3947 2015-03-23  Alan Modra  <amodra@gmail.com>
3949         * config.h.in: Remove HAVE_ASM_PPC_REL16.
3950         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
3951         and false branch of conditional.
3952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3953         Likewise.
3955 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
3957         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
3958         libc-modules.h
3959         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
3960         unused declaration of _hurd_intr_rpc_msg_in_trap.
3961         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
3962         defined instead of whether it is non-zero.
3963         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
3964         input constraint instead of both input and output constraint.  Use ecx
3965         clobber instead of %ecx.
3966         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
3967         mutex_unlock): Use a statement expression instead of an expression list.
3968         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
3969         type to vm_size_t instead of vm_address_t.
3970         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
3971         defined instead of whether it is non-zero.
3972         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
3973         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
3974         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
3975         comparisons with mapaddr.
3976         * nscd/nscd-client.h: Include <time.h>.
3977         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
3978         9th parameter to __vm_region instead of int.
3979         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
3980         * scripts/check-local-headers.sh (exclude): Add device/,
3981         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
3982         cthreads.h.
3984 2015-03-19  Roland McGrath  <roland@hack.frob.com>
3986         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
3987         to account for alignment padding.
3988         * sysdeps/arm/memmove.S: Likewise.
3990 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
3992         * sysdeps/unix/sysv/linux/generic/README: New file.
3994 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
3996         [BZ #18138]
3997         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
3998         (futex_abstimed_wait)
3999         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
4000         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
4001         of lll_futex_timed_wait.
4003 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
4005         [BZ #17542]
4006         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
4008 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
4010         [BZ #17090]
4011         [BZ #17620]
4012         [BZ #17621]
4013         [BZ #17628]
4014         * NEWS: Update.
4015         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
4016         entries with Static TLS too.  Skip entries past the end of the
4017         allocated DTV, from Alan Modra.
4018         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
4019         Static TLS DTV entry set up from...
4020         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
4021         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
4022         * nptl/allocatestack.c (init_one_static_tls): ... and here...
4023         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
4024         for Static TLS.
4025         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
4026         that the slot we find is associated with the given map before
4027         using its generation count.
4028         * nptl_db/db_info.c: Include ldsodefs.h.
4029         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
4030         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
4031         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
4032         (link_map::l_tls_offset): New struct field.
4033         (dtv_t::counter): Likewise.
4034         (rtld_global): New struct.
4035         (_rtld_global): New rtld variable.
4036         (dl_tls_dtv_slotinfo_list): New rtld global field.
4037         (dtv_slotinfo_list): New struct.
4038         (dtv_slotinfo): Likewise.
4039         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
4040         (td_lookup): Rename to...
4041         (td_mod_lookup): ... this.  Use new mod parameter instead of
4042         LIBPTHREAD_SO.
4043         * nptl_db/td_thr_tlsbase.c: Include link.h.
4044         (dtv_slotinfo_list, dtv_slotinfo): New functions.
4045         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
4046         addresses even if the DTV is out of date or missing them.
4047         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
4048         index zero-length arrays.
4049         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
4050         (td_lookup): Make it a macro implemented in terms of...
4051         (td_mod_lookup): ... this declaration.
4052         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
4053         (DB_MAIN_VARIABLE): Likewise.
4055 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
4057         [BZ #18134]
4058         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
4060 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
4062         * stdlib/setenv.c (__add_to_environ): Revert previous change.
4064 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
4066         [BZ #18128]
4067         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
4068         (atomic_add, atomic_increment_and_test)
4069         (atomic_decrement_and_test): Fix 64-bit arithmetic.
4071 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
4073         * stdlib/setenv.c (__add_to_environ):
4074         Dump core quickly if setenv (..., NULL, ...) is called.
4076 2015-03-13  Roland McGrath  <roland@hack.frob.com>
4078         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
4079         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
4080         all the necessary asm magic in one place.
4081         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
4082         using those.
4084 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
4086         [BZ #14906]
4087         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
4088         traced file mtime. Use consistent log message.
4089         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
4090         (register_traced_file): Call install_watches. Always set mtime.
4091         (invalidate_cache): Iterate over all trace files. Call install_watches.
4092         (inotify_check_files): Don't inline. Handle watching parent
4093         directories and configuration file movement in and out.
4094         (handle_inotify_events): New function.
4095         (main_loop_poll): Call handle_inotify_events.
4096         (main_loop_epoll): Likewise.
4097         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
4098         (struct traced_file): Use array of inotify fds. Add parent directory,
4099         and basename.
4100         (struct database_dyn): Remove unused file_mtime.
4101         (init_traced_file): New inline function.
4102         (define_traced_file): New macro.
4103         * nss/nss_db/db-init.c: Use define_traced_file.
4104         (_nss_db_init): Use init_traced_file.
4105         * nss/nss_files/files-init.c: Use define_traced_file.
4106         (_nss_files_init): Use init_traced_file.
4108 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
4110         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
4111         [_LIBC]: Do not include <stdlib.h>.
4112         [!_LIBC] (abort): Remove declaration.
4113         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
4114         _FP_STATIC_ASSERT instead of conditionally calling abort.
4115         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
4116         (_FP_EXTEND_CNAN): Likewise.
4117         (FP_TRUNC): Likewise.
4118         (__FP_CLZ): Likewise.
4119         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
4121 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
4123         * manual/string.texi (XPG basename): Fix prototype.
4125 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4127         [BZ #18080]
4128         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
4129         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
4130         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
4131         (__setcontext): Likewise.
4132         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
4133         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
4134         Call rt_sigprocmask syscall one time to set new signal mask
4135         and retrieve the current signal mask instead of two calls.
4136         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
4137         (__swapcontext): Likewise.
4138         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
4139         * stdlib/tst-setcontext2.c: New file.
4141 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4143         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4145 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
4147         [BZ #18093]
4148         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
4149         the wrong size.
4151 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
4153         [BZ #18043]
4154         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
4156 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
4158         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
4159         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
4160         Remove define.
4161         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
4162         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
4163         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
4164         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
4165         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
4166         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
4167         define.
4168         * nptl_db/td_symbol_list.c (td_lookup): Remove
4169         HAVE_ASM_GLOBAL_DOT_NAME code.
4170         * sysdeps/powerpc/powerpc64/configure.ac: Remove
4171         HAVE_ASM_GLOBAL_DOT_NAME check.
4172         * sysdeps/powerpc/powerpc64/configure: Regenerate.
4173         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
4174         (DOT_LABEL): Remove define.
4175         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
4176         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
4177         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
4178         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
4179         (__TLS_GET_ADDR): Likewise.
4180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
4181         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
4183 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
4185         [BZ #18111]
4186         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
4187         (_FPU_SETCW): Initialize cw from fpsr before storing.
4188         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
4189         (fesetexceptflag): Rewrite using fpu_control.h.
4190         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
4192 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
4194         [BZ #18110]
4195         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
4196         asms.
4197         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
4199 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
4201         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
4202         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
4203         abort.
4204         (_FP_FMA): Likewise.
4205         (_FP_DIV): Likewise.
4207 2015-03-10  Roland McGrath  <roland@hack.frob.com>
4209         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
4210         with 0 in that case.
4211         * Makefile (summarize-tests): New canned sequence, factored out of
4212         commands for targets tests and xtests.  Display summary lines that
4213         don't start with PASS: or XFAIL: rather than ones that do start with
4214         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
4215         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
4216         do start with ERROR: or FAIL:.
4217         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
4218         (except for [$(build-shared) = yes]).
4219         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
4220         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
4221         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
4222         * nptl/Makefile: Revert 2015-03-04 changes.
4223         [$(CXX) empty] (tests-unsupported): New variable.
4224         * debug/Makefile: Likewise.
4226         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
4227         gnulib file.  Replace __attribute with __attribute__ throughout.
4229 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
4231         * sysdeps/hppa/fpu/libm-test-ulps: Update.
4233 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
4235         [BZ #18104]
4236         * math/auto-libm-test-in: Add another test of pow.
4237         * math/auto-libm-test-out: Regenerated.
4239 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4241         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
4242         $(config-cflags-nofma).
4244 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
4246         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
4247         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
4248         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
4249         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
4250         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
4251         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
4252         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
4253         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
4254         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
4255         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
4256         Add comment on closing #endif.
4258 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4260         * posix/wordexp.c (CHAR_IN_SET): New macro.
4261         (parse_param): Use it.
4263 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4265         * sysdeps/powerpc/fpu/libm-test-ulps: update.
4267 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4269         [BZ #18043]
4270         * posix/wordexp.c (parse_param): Fix buffer overflow.
4271         * posix/wordexp-test.c (test_case): Add test case.
4273 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4275         [BZ #18042]
4276         * posix/wordexp.c (parse_backtick): Fix off-by-one.
4277         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
4279 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4281         [BZ #18043]
4282         * posix/wordexp-test.c (test_case): Add test for BZ #18043
4283         (do_bz18043): Delete.
4284         (at_page_end): New.
4285         (testit): Refactor to have words at the edge of unreadable page.
4287 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
4289         [BZ #16734]
4290         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
4291         Cleanup read-only streams as well.
4292         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
4294 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4296         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
4297         <bits/libc-lockP.h>
4299 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
4301         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
4302         on [__KERNEL__].
4303         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
4304         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
4305         * soft-fp/op-common.h (_FP_DECL): Likewise.
4307 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
4309         * elf/ifuncdep2.c (global): Replace
4310         __attribute__((visibility("protected"))) with
4311         asm (".protected global").
4312         * elf/ifuncmod1.c (global): Likewise.
4313         * elf/ifuncmod5.c (global): Likewise.
4315 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
4317         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
4318         <asm/sfp-machine.h> instead of <sfp-machine.h>.
4320 2015-03-06  Roland McGrath  <roland@hack.frob.com>
4322         * manual/install.texi (Configuring and compiling):
4323         Document test-wrapper-env-only.
4324         * INSTALL: Regenerated.
4326 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
4328         [BZ #18043]
4329         * posix/wordexp.c (parse_param): Fix buffer overflow.
4330         * posix/wordexp-test.c (do_bz18043): Add test case.
4332 2015-03-06  Vincent Bernat  <vincent@bernat.im>
4334         * time/tst-strptime2.c (do_test): Ensure failing tests are
4335         reported correctly.
4336         * time/tst-strptime3.c (do_test): Likewise.
4338 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
4340         Fix aio_error thread-safety.
4341         * sysdeps/pthread/aio_error.c: New file
4342         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
4343         synchronization.
4345 2015-03-06  Florian Weimer  <fweimer@redhat.com>
4347         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
4348         (group_number, vfprintf): Use it.
4349         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
4350         (JUMP, REF): Use it.
4351         (WORK_BUFFER_SIZE): New enum constant.
4352         (process_arg, vfprintf): Use it.
4354 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
4356         * manual/errno.texi (Error Messages): Complete example function
4357         by adding missing #define.
4358         (program_invocation_name): Add statement indicating GNU
4359         extension and reference which header file declares the variable.
4360         (program_invocation_short_name): Likewise.
4362 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
4364         * manual/errno.texi (Error Messages): Delete strerror ISO C89
4365         compatibility note.
4367 2015-03-05  Roland McGrath  <roland@hack.frob.com>
4369         * Makeconfig (test-wrapper-env-only): New variable.
4370         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
4371         then use that with $(test-wrapper-env-only) rather than using
4372         $(test-wrapper-env) $(run-program-env) $($*-ENV).
4374 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
4376         [BZ #18082]
4377         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
4378         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
4379         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
4380         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
4381         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
4382         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
4383         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
4384         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
4385         Likewise.
4386         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
4387         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
4388         Likewise.
4389         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
4390         Likewise.
4391         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
4392         Likewise.
4393         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
4394         Likewise.
4395         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
4396         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
4397         Likewise.
4398         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
4399         Likewise.
4400         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
4401         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
4403 2015-03-04  Roland McGrath  <roland@hack.frob.com>
4405         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
4406         (ETH_ALEN): New macro.
4407         (struct ether_addr): Use it for length of ether_addr_octet.
4409         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
4410         (setdb): Don't call __nss_configure_lookup for "rpc".
4411         (do_test): Don't call test_rpc.
4412         (output_rpcent, test_rpc): Functions moved ...
4413         * sunrpc/test-rpcent.c: ... to this new file.
4414         * sunrpc/Makefile (tests): Add it.
4416         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
4417         __xpg_sigpause.
4418         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
4419         * nptl/tst-signal6.c: Likewise.
4420         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
4421         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
4423         * configure.ac (libc_cv_cxx_link_ok): New check.
4424         Reset CXX to empty if it fails to link.
4425         * configure: Regenerated.
4426         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
4427         bug-atexit3-lib only if $(CXX) is nonempty.
4428         * nptl/Makefile (tests): Likewise for tst-cancel24.
4429         (tests, tests-static): Likewise for tst-cancel24-static.
4430         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
4431         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
4432         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
4433         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
4435 2015-03-04  Andreas Schwab  <schwab@suse.de>
4437         [BZ #17631]
4438         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
4439         for non-GCC compilers.
4440         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4441         Likewise.
4443 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
4445         [BZ #17776]
4446         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
4447         integer before bitwise and assembly operations.
4448         (feclearexcept): Likewise.
4449         * math/test-fenvinline.c: New file.
4450         * math/Makefile: Add test-fenvinline test.
4452 2015-03-03  Alan Modra  <amodra@gmail.com>
4454         [BZ #16512]
4455         * scripts/localplt.awk: Strip off symbol version.
4456         * NEWS: Mention bug fix.
4458 2015-03-02  Roland McGrath  <roland@hack.frob.com>
4460         * sysdeps/pthread/timer_routines.c
4461         (timer_free_list, thread_free_list, thread_active_list): Make static.
4463 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
4465         [BZ #17779]
4466         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4467         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4468         Undefine.
4469         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4470         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4471         Likewise.
4472         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4473         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4474         Likewise.
4476 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
4478         [BZ #18036]
4479         * posix/fnmatch_loop.c (END): Detect invalid pattern.
4480         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
4482 2015-03-02  Andreas Schwab  <schwab@suse.de>
4484         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
4485         variable name.
4487 2015-03-02  Florian Weimer  <fweimer@redhat.com>
4489         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
4490         Return error status.
4492 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
4494         [BZ #15969]
4495         * locale/findlocale.c (_nl_find_locale): Introduce const
4496         version of loc_name and drop unsafe type casts.
4498 2015-02-27  Roland McGrath  <roland@hack.frob.com>
4500         * dlfcn/tststatic2.c (main): Converted to ...
4501         (do_test): ... this.
4502         (TEST_FUNCTION): New macro.
4503         Include test-skeleton.c.
4505 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
4507         [BZ #17711]
4508         * elf/Makefile (tests): Add vismain only if PIE is enabled.
4509         (tests-pie): Add vismain.
4510         (CFLAGS-vismain.c): New.
4511         * elf/vismain.c: Add comments for PIE requirement.
4513 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
4515         [BZ #18046]
4516         [BZ #18047]
4517         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
4518         0x1p-56L as threshold for just returning the argument.
4519         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
4520         0x1p-32L as threshold for just returning the argument.
4521         * math/auto-libm-test-in: Add more tests of atanh.
4522         * math/auto-libm-test-out: Regenerated.
4523         * sysdeps/i386/fpu/libm-test-ulps: Update.
4524         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
4526 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
4528         * string/bcopy.c (bcopy): Call memmove for performance.
4530 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
4532         * string/bzero.c (__bzero): Call memset for performance.
4534 2015-02-27  John David Anglin  <dave.anglin@bell.net>
4536         [BZ #18068]
4537         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
4538         to 00100000.
4540 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
4542         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
4544 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
4546         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
4547         (__kernel_standard): Use CSTR macro when setting exc.name.
4548         * sysdeps/ieee754/Makefile [$(subdir) = math]
4549         (CFLAGS-k_standard.c): Remove variable.
4551         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
4552         setting p and q from "else if" to "else".
4553         (qzero): Likewise.
4554         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
4555         (qone): Likewise.
4556         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
4557         (qzerof): Likewise.
4558         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
4559         (qonef): Likewise.
4560         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
4561         (qzero): Likewise.
4562         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
4563         (qone): Likewise.
4565         [BZ #18038]
4566         [BZ #18039]
4567         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
4568         return pi/2 for arguments below 0x1p-113L.
4569         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
4570         return pi/2 for arguments below 0x1p-106L.
4571         * math/auto-libm-test-in: Add more tests of acos.
4572         * math/auto-libm-test-out: Regenerated.
4574         [BZ #16351]
4575         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
4576         (MO): New macro.
4577         (__ieee754_asin): Force underflow exception for results with small
4578         absolute value.
4579         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
4580         (MO): New macro.
4581         (__ieee754_asinf): Force underflow exception for results with
4582         small absolute value.
4583         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
4584         (__ieee754_asin): Force underflow exception for results with small
4585         absolute value.
4586         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
4587         (__ieee754_asinf): Force underflow exception for results with
4588         small absolute value.
4589         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
4590         (__ieee754_asinl): Force underflow exception for results with
4591         small absolute value.
4592         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
4593         (__ieee754_asinl): Force underflow exception for results with
4594         small absolute value.
4595         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
4596         (__ieee754_asinl): Force underflow exception for results with
4597         small absolute value.
4598         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
4599         Include <math.h>.
4600         * math/auto-libm-test-in: Do not mark underflow exceptions as
4601         possibly missing for bug 16351.
4602         * math/auto-libm-test-out: Regenerated.
4604         [BZ #18030]
4605         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
4606         of power of 2 down when low part has opposite sign.
4607         * math/libm-test.inc (logb_test_data): Add more tests.
4609 2015-02-26  Andreas Schwab  <schwab@suse.de>
4611         [BZ #18032]
4612         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
4613         over collating symbol inside a bracket expression.  Minor cleanup.
4614         * posix/tst-fnmatch3.c (do_test): Add test case.
4616 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
4618         [BZ #18029]
4619         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
4620         Adjust exponent of power of 2 down when low part has opposite
4621         sign.
4622         * math/libm-test.inc (ilogb_test_data): Add more tests.
4624 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
4626         [BZ #15969]
4627         * locale/findlocale.c (_nl_find_locale): Fix constness error in
4628         the previous change.
4630         [BZ #15969]
4631         * locale/findlocale.c (_nl_find_locale): Retry archive search
4632         after alias expansion.
4634 2015-02-25  Roland McGrath  <roland@hack.frob.com>
4636         * iconv/tst-iconv3.c (main): Converted to ...
4637         (do_test): ... this.
4638         (TEST_FUNCTION): New macro.
4639         Include test-skeleton.c.
4641         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
4642         (convert): Make function static.
4643         (test_unalign): Likewise.  Add const to argument pointee types.
4644         (main): Replace with static function do_test.
4645         Print "Succeeded." only if RET is zero.
4646         (TEST_FUNCTION): New macro.
4647         Include test-skeleton.c.
4649         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
4650         returns a null pointer.
4652 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4654         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
4655         to __memcpy_ppc only for static builds.
4657 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
4659         [BZ #18020]
4660         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
4661         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
4662         * math/auto-libm-test-in: Add more tests of asinh.
4663         * math/auto-libm-test-out: Regenerated.
4664         * sysdeps/i386/fpu/libm-test-ulps: Update.
4665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4667 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
4669         [BZ #15850]
4670         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
4671         and ip6_mtuinfo definitions here.
4672         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
4673         in this define too.  Update comment.
4675 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
4677         * elf/sprof.c (load_shobj): Tweak error message to match others.
4679 2015-02-24  Kevin Easton  <kevin@guarana.org>
4681         [BZ #16145] (partial fix)
4682         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
4683         to reduce lock contention.
4685 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
4687         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
4688         (struct timex): Update time comment.
4689         (ADJ_SETOFFSET): Define.
4691 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
4693         [BZ #18019]
4694         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
4695         2**56 not 2**28 as threshold for log (2x) formula.
4696         * math/auto-libm-test-in: Add more tests of acosh.
4697         * math/auto-libm-test-out: Regenerated.
4698         * sysdeps/i386/fpu/libm-test-ulps: Update.
4699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4701 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
4703         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
4704         parenthesis around the buf assignment.
4705         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
4707 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
4709         [BZ #16783]
4710         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
4711         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
4712         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
4713         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4714         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4715         * math/libm-test.inc (scalb_test_data): Add more tests.
4717 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
4719         [BZ #17916]
4720         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
4721         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
4723 2015-02-24  Eric Rannaud  <e@nanocritical.com>
4725         [BZ #17523]
4726         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
4727         * io/bits/fcntl2.h (open): Use it.
4728         (openat): Likewise.
4729         * io/open.c (__libc_open): Likewise.
4730         * io/open64.c (__libc_open64): Likewise.
4731         * io/open64_2.c (__open64_2): Likewise.
4732         * io/open_2.c (__open_2): Likewise.
4733         * io/openat.c (__openat): Likewise.
4734         * io/openat64.c (__openat64): Likewise.
4735         * io/openat64_2.c (__openat64_2): Likewise.
4736         * io/openat_2.c (__openat_2): Likewise.
4737         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
4738         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
4739         * sysdeps/posix/open64.c (__libc_open64): Likewise.
4740         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
4741         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
4742         (__open_nocancel): Likewise.
4743         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
4744         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
4745         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
4747 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4749         [BZ #14841]
4750         * resolv/gethnamaddr.c (getanswer): Skip logging if
4751         RES_USE_DNSSEC is set.
4752         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4754 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
4756         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
4758 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
4760         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
4761         201304L, for Unicode 7.
4763 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
4765         [BZ #17836]
4766         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
4767         shared library.  Add gmon-start.os otherwise.
4768         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
4769         $(objpfx)gmon-start.os if builing shared library.
4770         ($(objpfx)g$(static-start-installed-name)): Likewise.
4772 2015-02-23  Andreas Schwab  <schwab@suse.de>
4774         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
4776 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
4778         [BZ #17269]
4779         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
4780         (enlarge_userbuf): Likewise.
4782 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
4784         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
4785         * math/atest-exp.c (TIMEOUT): Adjust to 200.
4786         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
4787         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
4789 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
4791         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
4792         expression inside statement expression.
4794 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4796         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
4797         <sysdeps/nptl/lowlevellock.h> and remove macros and
4798         functions that are now defined there.
4799         (SYS_futex): Remove.
4800         (lll_compare_and_swap): Remove.
4801         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
4803 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
4805         [BZ #17999]
4806         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
4807         instead of scandirat.
4808         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
4809         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
4810         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
4811         __scandirat.
4812         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
4813         (__scandirat): Declare.  Use libc_hidden_proto.
4814         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
4815         Remove variable.
4816         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4818 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
4820         [BZ #15319]
4821         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
4822         (MO): New macro.
4823         (__ieee754_atan2): For results with small absolute value, force
4824         underflow exception and remove excess range and precision from
4825         return value.
4826         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
4827         (MO): New macro.
4828         (__ieee754_atan2f): For results with small absolute value, force
4829         underflow exception and remove excess range and precision from
4830         return value.
4831         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
4832         (MO): New macro.
4833         (__atan): For results with small absolute value, force underflow
4834         exception and remove excess range and precision from return value.
4835         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
4836         (MO): New macro.
4837         (__atanf): For results with small absolute value, force underflow
4838         exception and remove excess range and precision from return value.
4839         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
4840         <math.h>.
4841         (__ieee754_atan2): Force underflow exception for results with
4842         small absolute value.
4843         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
4844         <math_private.h>.
4845         (atan): Force underflow exception for results with small absolute
4846         value.
4847         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
4848         (__atanf): Force underflow exception for results with small
4849         absolute value.
4850         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
4851         <math.h>.
4852         (__atanl): Force underflow exception for results with small
4853         absolute value.
4854         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
4855         (__atanl): Force underflow exception for results with small
4856         absolute value.
4857         * sysdeps/x86/fpu/bits/mathinline.h
4858         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
4859         (__ieee754_atan2): Only define inline for long double.
4860         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
4861         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
4862         * math/auto-libm-test-in: Do not mark underflow exceptions as
4863         possibly missing for bug 15319.  Add more tests of atan2.
4864         * math/auto-libm-test-out: Regenerated.
4865         * math/libm-test.inc (casin_test_data): Do not mark underflow
4866         exceptions as possibly missing for bug 15319.
4867         (casinh_test_data): Likewise.
4868         * sysdeps/i386/fpu/libm-test-ulps: Update.
4870 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
4872         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
4873         * sysdeps/mips/bits/endian.h: Fix comments.
4875 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
4877         [BZ #17996]
4878         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
4879         (hdestroy_r): Likewise.
4880         (hsearch_r): Likewise.
4881         (__hcreate_r): Declare and use libc_hidden_proto.
4882         (__hdestroy_r): Likewise.
4883         (__hsearch_r): Likewise.
4884         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
4885         (hcreate): Call __hcreate_r instead of hcreate_r.
4886         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
4887         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
4888         as weak alias of __hcreate_r.
4889         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
4890         __hdestroy_r.
4891         (hsearch_r): Rename to __hsearch_r and define as weak alias of
4892         __hsearch_r.
4893         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
4894         Remove variable.
4895         (test-xfail-XPG4/search.h/linknamespace): Likewise.
4896         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4897         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4898         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4900 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4902         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
4903         arena_lock into a single arena_get.
4905 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
4907         * dl-reloc.c: Inlucde libc-internal.h.
4908         (_dl_try_allocate_static_tls): Call ALIGN_UP.
4909         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
4910         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
4911         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
4912         (grow_heap): Likewise.
4913         * malloc/malloc.c: Include libc-internal.h.
4914         (do_check_malloc): Call powerof2.
4915         (sysmalloc): Use pagesize. Call ALIGN_UP.
4916         (systrim): Use pagesize.
4917         (mremap_chunk): Use pagesize. Call ALIGN_UP.
4918         (__libc_valloc): Use pagesize.
4919         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
4921 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
4923         [BZ #17991]
4924         * include/sys/resource.h (__getrlimit64): Declare.  Use
4925         libc_hidden_proto.
4926         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
4927         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
4928         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
4929         getrlimit64.
4930         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
4931         __getrlimit64.
4932         [!getrlimit64] (getrlimit64): Define as weak alias of
4933         __getrlimit64.  Use libc_hidden_weak.
4934         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
4935         using __getrlimit64 not __new_getrlimit64.
4936         (__GI_getrlimit64): Likewise.
4937         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
4938         Likewise.
4939         (__GI_getrlimit64): Likewise.
4940         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
4941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
4942         (getrlimit): Add __getrlimit64 alias.
4943         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
4944         Likewise.
4945         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
4946         Remove variable.
4947         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4948         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4950 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
4952         * libio/fileops.c: Add missing sys/mman.h
4953         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
4955 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
4957         * manual/math.texi (Errors in Math Functions): Clarify goals
4958         regarding inexact and underflow exceptions.
4960 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
4962         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
4963         * sysdeps/mips/memset.S: Ditto.
4965 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
4967         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
4969 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
4971         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
4972         (__v1longjmp): Remove versioned symbol.
4973         (__v1siglongjmp): Remove alias and versioned symbol.
4974         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
4975         (__v2siglongjmp): Likewise.
4977 2015-02-16  Torvald Riegel  <triegel@redhat.com>
4979         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
4981 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
4983         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
4985 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
4987         [BZ #17987]
4988         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
4989         zero result does not depend on the sign resulting from
4990         subtraction.
4991         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4992         Likewise.
4993         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
4994         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
4995         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4996         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
4997         * math/libm-test.inc (remquo_test_data): Add more tests.
4999 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
5001         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
5002         Problem reported by J William Piggott.
5004 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
5006         [BZ #17978]
5007         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
5008         products 4 * y and 2 * y where those would overflow.
5009         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5010         Likewise.
5011         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5012         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5013         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5014         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5015         * math/libm-test.inc (remquo_test_data): Add more tests.
5017         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
5019         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
5020         [defined _COMPILING_NEWLIB].
5021         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
5022         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
5024         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
5025         [!defined __mips_isa_rev || __mips_isa_rev < 6].
5027 2015-02-16  Torvald Riegel  <triegel@redhat.com>
5029         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
5030         acquired.
5032 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
5034         [BZ #17792]
5035         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
5036         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
5037         HOST_STACK_END_ADDR): Likewise.
5039 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
5041         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
5042         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
5043         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
5045 2015-02-13  Roland McGrath  <roland@hack.frob.com>
5047         * sysdeps/generic/c++-types.data: New file.
5048         * sysdeps/generic/ld.abilist: New file.
5049         * sysdeps/generic/libBrokenLocale.abilist: New file.
5050         * sysdeps/generic/libanl.abilist: New file.
5051         * sysdeps/generic/libc.abilist: New file.
5052         * sysdeps/generic/libcrypt.abilist: New file.
5053         * sysdeps/generic/libdl.abilist: New file.
5054         * sysdeps/generic/libm.abilist: New file.
5055         * sysdeps/generic/libpthread.abilist: New file.
5056         * sysdeps/generic/libresolv.abilist: New file.
5057         * sysdeps/generic/librt.abilist: New file.
5059 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
5061         [BZ #17569]
5062         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5063         Compute absolute value of x as modified by fmod, not original
5064         value of x.
5065         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
5066         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
5067         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
5068         RUN_TEST_ffI_f1_mod8.
5069         (remquo_test_data): Add more tests.
5071 2015-02-13  Roland McGrath  <roland@hack.frob.com>
5073         * sysdeps/init_array/pt-crti.S: New file.
5075 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
5077         [BZ #17967]
5078         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
5079         __builtin_fmaf instead of relying on contraction of a * b + c.
5081 2015-02-12  J William Piggott  <elseifthen@gmx.com>
5083         [BZ #17969]
5084         * manual/time.texi: correct the zoneinfo path in the TZ Variable
5085         node.
5087 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
5089         [BZ #17964]
5090         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
5091         __builtin_fma instead of relying on contraction of a * b + c.
5093 2015-02-12  Roland McGrath  <roland@hack.frob.com>
5095         * Makeconfig (ASFLAGS): Add -Werror=undef.
5096         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
5097         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
5098         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
5100         * Makeconfig (after-link): New variable.
5101         (+link-pie, +link-pie-tests): Use it.
5102         (+link-static, +link-static-tests): Likewise.
5103         (+link, +link-tests): Likewise.
5104         * Makerules (build-module, build-module-asneeded): Likewise.
5105         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
5106         Likewise.
5107         * elf/Makefile ($(objpfx)ld.so): Likewise.
5109 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
5111         [BZ #17965]
5112         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
5113         both struct timeval and struct timespec.
5115 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
5117         [BZ #16560]
5118         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5119         and redefine.
5120         (__ieee754_exp2l): Do not multiply small fractional parts by
5121         M_LN2l.
5122         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
5123         small argument.
5124         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5125         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
5126         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
5127         * math/auto-libm-test-in: Add more tests of exp2.
5128         * math/auto-libm-test-out: Regenerated.
5130 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5132         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
5133         unaligned path.
5135 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5137         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
5138         little endian.
5140 2015-02-12  Andreas Schwab  <schwab@suse.de>
5142         [BZ #15790]
5143         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
5144         Filter out elision flags from value returned in kind.
5145         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
5146         * nptl/tst-pthread-mutexattr.c: New file.
5148 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5150         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
5151         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
5152         into gnu-gnu, and update comment to refer to abi-tags.
5154 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
5156         [BZ #15467]
5157         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
5158         (__sincos): Set errno to EDOM for infinite argument.
5159         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
5160         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
5161         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
5162         (__sincosl): Set errno to EDOM for infinite argument.
5163         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
5164         (__sincosl): Set errno to EDOM for infinite argument.
5165         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
5166         (__sincosl): Set errno to EDOM for infinite argument.
5167         * math/libm-test.inc (sincos_test_data): Test errno setting.
5169 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
5171         * string/strxfrm_l.c: Remove #define STRCMP.
5172         * string/strcoll_l.c: Remove #define STRLEN.
5173         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
5174         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
5176 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
5178         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
5179         * sysdeps/mips/mips32/sfp-machine.h: ... here.
5180         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
5181         * sysdeps/mips/mips64/Makefile: ... here.
5182         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
5183         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
5184         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
5185         * sysdeps/mips/mips64/sfp-machine.h: ... here.
5186         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
5187         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
5188         * sysdeps/mips/mips64/n64/Implies: Likewise.
5190 2015-02-10  Roland McGrath  <roland@hack.frob.com>
5192         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
5193         <sys/time.h>, <string.h>, and <errno.h>.
5194         (dest_offset, dest_address, value, zero): Remove unused variables.
5195         (ldouble): Remove typedef.
5196         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
5197         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
5198         1).  Fix code style.
5199         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
5200         (check): Function removed.
5201         (CHECK): New macro.
5202         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
5203         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
5204         Don't call set_sigaction_FP and remove_sigaction_FP here.
5205         (ldouble_test): Just use 'long double' as macro argument, no need for
5206         the 'ldouble' typedef.
5207         (do_test): Set up SIGFPE handler at start, using plain signal rather
5208         than sigaction.  Fix code style.
5210 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
5212         [BZ #17949]
5213         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
5214         jump label.
5216 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5218         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
5219         * sysdeps/powerpc/powerpc32/configure: Regenerated.
5221         * sysdeps/powerpc/configure.ac: Remove file.
5222         * sysdeps/powerpc/configure: Likewise.
5224         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5225         [sysdep_routines]: Remove wordcopy-power6 object.
5226         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5227         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
5228         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
5229         (__memmove_ppc32): Likewise.
5230         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
5231         file.
5232         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
5233         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
5234         Remove preprocessor.
5236         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5237         [sysdep_routines]: Remove wide chars objects.
5238         [wcsmbs]: New rule for wide char objects.
5240         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5241         Remove wordcopy-power6 obejct.
5242         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
5243         Use local call for wordcopy and memcpy symbols.
5244         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
5245         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
5246         implementation for loader.
5247         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
5249         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5250         Remove wordcopy-power7 object.
5251         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
5252         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
5253         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
5254         (_wordcopy_fwd_dest_aligned): Likewise.
5255         (_wordcopy_bwd_aligned): Likewise.
5256         (_wordcopy_bwd_dest_aligned): Likewise.
5258         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
5259         Rewrite to call __memmove_ppc instead of include default
5260         implementation.
5262         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5263         Remove wide chars objects.
5264         [wcsmbs]: New rule for wide char objects.
5266 2015-02-09  Andreas Schwab  <schwab@suse.de>
5268         [BZ #17912]
5269         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5270         in terms of __O_DIRECTORY.
5272 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5274         * time/getdate.c: Include <stdbool.h>.
5275         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
5276         call PTR_MANGLE.
5277         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
5278         PTR_DEMANGLE.
5280 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
5282         Add ersatz _Static_assert on older C hosts
5283         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
5284         pre-C11 C platform that is not known to support _Static_assert.
5286 2015-02-07  Richard Braun  <rbraun@sceen.net>
5288         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
5289         sigstate.
5290         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
5292 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5294         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
5295         priority against unexistent AIO_PRIO_DELTA_MAX.
5296         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
5297         instead of int.
5298         * misc/fchflags.c (fchflags): Likewise.
5299         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
5300         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
5301         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
5302         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
5303         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
5304         Declare macros.
5305         [__USE_MISC] (chflags, fchflags): Declare functions.
5306         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
5307         EINVAL when nfds is greater than FD_SETSIZE.
5308         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
5309         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
5310         45.
5311         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
5312         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
5313         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
5314         MACH_RCV_TIMED_OUT.
5315         * hurd/hurd/signal.h (_hurd_self_sigstate,
5316         _hurd_critical_section_lock, _hurd_critical_section_unlock):
5317         Explicit casts from void *.
5318         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
5319         * abi-tags: Rename gnu-gnu os into gnu.
5321         [BZ #4719]
5322         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
5323         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
5324         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
5325         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
5326         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
5327         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
5329         [BZ #17944]
5330         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
5331         duplicates ADDR->sun_path with sockaddr LEN limitation.
5332         * sysdeps/mach/hurd/connect.c: Include <string.h>
5333         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
5334         * sysdeps/mach/hurd/sendmsg.c: Likewise.
5335         * sysdeps/mach/hurd/sendto.c: Likewise.
5336         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
5337         implementing it by hand.
5339 2015-02-06  Roland McGrath  <roland@hack.frob.com>
5341         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
5342         Use sfi_breg on ldr.
5343         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
5344         Likewise.
5346         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
5347         it's defined.
5348         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
5349         Test SIGSETXID only if it's defined.
5351         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
5353         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
5354         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
5356         * nptl/tst-align2.c: Moved ...
5357         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
5358         * nptl/Makefile (tests): Remove tst-align2.
5359         * sysdeps/unix/sysv/linux/Makefile
5360         [$(subdir) = nptl] (tests): Add tst-align-clone.
5361         * nptl/tst-getpid1.c: Moved ...
5362         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
5363         * nptl/tst-getpid2.c: Moved ...
5364         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
5365         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
5366         * sysdeps/unix/sysv/linux/Makefile
5367         [$(subdir) = nptl] (tests): ... here.
5368         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
5369         * sysdeps/unix/sysv/linux/Makefile
5370         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
5372         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
5373         Drop trailing \n from perror argument.  Use return rather than exit.
5375         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
5376         on [SA_SIGINFO].
5377         * nptl/tst-cancel21.c (do_test): Likewise.
5378         * debug/tst-backtrace6.c: Include <signal.h> first thing.
5379         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
5380         [!SA_SIGINFO]: Make it a stub test.
5382         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
5383         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
5385         * posix/tst-getlogin.c: Move to ...
5386         * login/tst-getlogin.c: ... here.
5387         * posix/Makefile (tests): Move tst-getlogin to ...
5388         * login/Makefile (tests): ... here.
5390         * libio/tst-atime.c (do_test): Move local variables SV and E
5391         inside [ST_NOATIME] conditional.
5393         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
5395         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
5397         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
5398         (wait_code): New function replaces macro.
5399         Call nanosleep rather than syscall.
5401         * nptl/pt-system.c: Rewritten.  Put everything under
5402         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5403         Use IFUNC to redirect when possible.
5405         * nptl/pt-longjmp.c: Rewritten.  Put everything under
5406         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5407         Use IFUNC to redirect when possible.
5409         * nptl/pt-fork.c: Rewritten.  Put everything under
5410         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5411         Use IFUNC to redirect when possible.
5412         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
5414         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
5415         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
5416         unconditionally nowadays.  This included the only reference to
5417         __vdso_clock_gettime that appears outside libc proper.
5418         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
5419         Remove version set (containing only __vdso_clock_gettime).
5420         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
5421         Add attribute_hidden.
5422         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
5423         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
5424         libc_hidden_data_def.
5425         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
5426         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5428         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
5429         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
5430         setrpcent, and getrpcport to ...
5431         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
5432         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
5433         getrpcbynumber_r, and getrpcent_r to ...
5434         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
5435         * inet/getrpcbyname.c: Moved ...
5436         * sunrpc/getrpcbyname.c: ... here.
5437         * inet/getrpcbyname_r.c: Moved ...
5438         * sunrpc/getrpcbyname_r.c: ... here.
5439         * inet/getrpcbynumber.c: Moved ...
5440         * sunrpc/getrpcbynumber.c: ... here.
5441         * inet/getrpcbynumber_r.c: Moved ...
5442         * sunrpc/getrpcbynumber_r.c: ... here.
5443         * inet/getrpcent.c: Moved ...
5444         * sunrpc/getrpcent.c: ... here.
5445         * inet/getrpcent_r.c: Moved ...
5446         * sunrpc/getrpcent_r.c: ... here.
5447         * inet/Makefile (routines): Move those to ...
5448         * sunrpc/Makefile (routines): ... here.
5449         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
5450         the $(subdirs) list.
5451         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
5452         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
5453         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
5454         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
5456         * elf/Makefile (routines): Include $(all-dl-routines), not just
5457         $(dl-routines).
5458         (rtld-routines): Likewise.  Use = rather than :=.
5459         * sysdeps/aarch64/Makefile [$(subdir) = elf]
5460         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
5461         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
5462         * sysdeps/arm/Makefile: Likewise.
5463         * sysdeps/i386/Makefile: Likewise.
5464         * sysdeps/x86_64/Makefile: Likewise.
5465         * sysdeps/hppa/Makefile [$(subdir) = elf]
5466         (sysdep_routines, sysdep-rtld-routines): Don't add
5467         $(sysdep-dl-routines) to these.
5468         * sysdeps/ia64/Makefile: Likewise.
5469         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
5470         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
5471         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
5472         Don't add dl-static to these; sysdep-dl-routines alone is enough.
5473         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
5474         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
5475         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
5476         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
5477         * sysdeps/powerpc/Makefile [$(subdir) = elf]
5478         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
5479         these; sysdep-dl-routines alone is enough.
5481 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
5483         [BZ #17932]
5484         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
5485         where multiplication results in zero and third argument is finite
5486         and nonzero.
5487         * math/auto-libm-test-in: Add more tests of fma.
5488         * math/auto-libm-test-out: Regenerated.
5490         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
5491         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
5492         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
5493         (_FP_CMP_EQ): Likewise.
5494         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
5496         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
5497         extra argument CHECK_NAN.  Redefine as wrapper around
5498         _FP_EXTEND_CNAN.
5500 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
5502         * version.h (RELEASE): Set to "stable".
5503         (VERSION): Set to "2.21"
5504         * include/features.h (__GLIBC_MINOR__): Set to 21.
5506         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
5508 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
5509             Paul Eggert  <eggert@cs.ucla.edu>
5511         [BZ #16618]
5512         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
5513         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
5514         size in bytes. Store needed elements in wpmax. Use needed size
5515         in bytes for extend_alloca.
5517 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
5519         * manual/install.texi: Latest tested versions are GCC 4.9.2,
5520         binutls 2.25, and texinfo 5.2.
5521         * INSTALL: Regenerate.
5522         * sysdeps/nios2/configure: Regenerate.
5523         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
5524         * manual/contrib.texi: Update.
5525         * po/be.po: Update.
5526         * po/bg.po: Update.
5527         * po/ca.po: Update.
5528         * po/cs.po: Update.
5529         * po/da.po: Update.
5530         * po/de.po: Update.
5531         * po/el.po: Update.
5532         * po/eo.po: Update.
5533         * po/es.po: Update.
5534         * po/fi.po: Update.
5535         * po/fr.po: Update.
5536         * po/gl.po: Update.
5537         * po/hr.po: Update.
5538         * po/hu.po: Update.
5539         * po/ia.po: Update.
5540         * po/id.po: Update.
5541         * po/it.po: Update.
5542         * po/ja.po: Update.
5543         * po/ko.po: Update.
5544         * po/lt.po: Update.
5545         * po/nb.po: Update.
5546         * po/nl.po: Update.
5547         * po/pl.po: Update.
5548         * po/pt_BR.po: Update.
5549         * po/ru.po: Update.
5550         * po/rw.po: Update.
5551         * po/sk.po: Update.
5552         * po/sl.po: Update.
5553         * po/sv.po: Update.
5554         * po/tr.po: Update.
5555         * po/uk.po: Update.
5556         * po/vi.po: Update.
5557         * po/zh_CN.po: Update.
5558         * po/zh_TW.po: Update.
5560         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
5561         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
5562         * sysdeps/hppa/dl-irel.h: Remove #warning.
5563         * sysdeps/hppa/entry.h: Provide prototype for
5564         __canonicalize_funcptr_for_compare and cast argument.
5565         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
5566         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
5567         * sysdeps/hppa/sotruss-lib.c: New file.
5568         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
5569         (atomic_compare_and_exchange_val_acq): Use __typeof__.
5570         (atomic_compare_and_exchange_bool_acq): Likewise.
5571         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
5572         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
5574         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
5575         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
5576         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
5578 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
5580         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
5581         called function in non-PIC case.
5583 2015-01-31  David S. Miller  <davem@davemloft.net>
5585         * sysdeps/sparc/sparc32/bits/atomic.h
5586         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
5587         unlock not after it.
5588         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
5589         volatile register usage warnings from the compiler.
5591         * sysdeps/sparc/nptl/sem_init.c: Delete.
5592         * sysdeps/sparc/nptl/sem_post.c: Delete.
5593         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
5594         * sysdeps/sparc/nptl/sem_wait.c: Delete.
5595         * sysdeps/sparc/sparc32/sem_init.c: New file.
5596         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
5597         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
5598         padding explicitly initialized.
5599         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
5600         padding for in-semaphore spinlock.
5601         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
5602         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
5603         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
5604         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
5605         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
5606         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
5607         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
5608         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
5609         version.
5610         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
5611         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
5613 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
5615         [BZ #17801]
5616         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5617         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
5618         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
5619         New.
5620         (index_AVX_Fast_Unaligned_Load): Likewise.
5621         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
5622         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
5623         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
5624         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
5625         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
5626         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
5627         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
5628         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
5629         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
5631 2015-01-29  Andreas Schwab  <schwab@suse.de>
5633         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
5635 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
5637         [BZ #17892]
5638         * nscd/nscd_stat.c (send_stats): Initialize DATA.
5640 2015-01-28  Martin Sebor  <msebor@redhat.com>
5642         * math/README.libm-test: Clarify. Add "How to read the test output."
5644 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
5646         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
5647         Define to 0.
5649 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
5651         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
5652         (__HAVE_64B_ATOMICS): Define to 0.
5654 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5656         [BZ #17885]
5657         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
5658         value to set as new flag.
5660         [BZ #16576]
5661         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
5662         and use _ARCH_PPCSQ instead.
5663         (__ieee754_sqrt): Likewise.
5664         (__ieee754_sqrtf): Likewise.
5665         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
5666         _ARCH_PPCSQ is defined.
5667         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
5668         fsqrt instruction.
5669         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
5670         _ARCH_PPCSQ is defined.
5671         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
5672         fsqrts instruction.
5673         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
5675 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5677         * iconv/loop.c: Suppress array out of bound warning caused by GCC
5678         bug (GCC BZ #64739).
5680 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
5682         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
5683         Mark _retval as used.
5684         (lll_futex_wake_unlock): Likewise.
5685         (lll_futex_timed_wait_requeue_pi): Likewise.
5687         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5688         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
5689         register variables.
5691         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
5692         libm_hidden_def.
5694         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
5695         (__bswap_64): Mark as __always_inline.
5697 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
5699         [BZ #15378]
5700         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
5701         when none of the search directories exist.
5703 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5705         [BZ #17869]
5706         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
5707         power8 in .machine directive.
5709         [BZ #17868]
5710         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
5711         set dependency from opd value.
5713 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
5715         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5716         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
5717         architecture.
5719 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
5721         [BZ #17870]
5722         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
5723         with uint64_t.
5724         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
5725         (uint64_t) 1.
5726         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
5727         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
5728         Replace 1UL with (uint64_t) 1.
5729         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
5730         int with uint64_t.
5732 2015-01-23  Roland McGrath  <roland@hack.frob.com>
5734         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
5735         (if_freenameindex): Likewise.
5737         * resource/getrlimit64.c: Add missing libc_hidden_def.
5739 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
5741         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
5742         __label__.
5743         (_FP_FMA): Likewise.
5744         (_FP_TO_INT_ROUND): Likewise.
5745         (_FP_FROM_INT): Likewise.
5747 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5749         [BZ #16418]
5750         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
5751         Make code racy and cancel safe.
5753 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
5755         * sysdeps/arm/unwind-resume.h: Fix copyright year.
5756         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
5757         attribution.
5759         * pwd/tst-getpw.c: Rewrite.
5761         [BZ #17702]
5762         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
5763         (modules-names): Add moddummy1 and moddummy2.
5764         ($(objpfx)tst-rec-dlopen): Define.
5765         * dlfcn/moddummy1.c: New file.
5766         * dlfcn/moddummy2.c: New file.
5767         * dlfcn/tst-rec-dlopen.c: New file.
5768         * elf/dl-cache.c (_dl_load_cache_lookup):
5769         Return char*. Copy result with alloca/strcpy/strdup.
5770         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
5771         returns char*. Free cached. If not saving realname
5772         free cached.
5773         * elf/dl-open.c (dl_open_worker): Do not assert that
5774         _r_debug->r_state is RT_CONSISTENT.
5775         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
5776         returns char*.
5778 2015-01-21  Torvald Riegel  <triegel@redhat.com>
5779             Carlos O'Donell  <carlos@redhat.com>
5781         [BZ #12674]
5782         * nptl/sem_waitcommon.c: New file.
5783         * nptl/sem_wait.c: Include sem_waitcommon.c.
5784         (__sem_wait_cleanup, do_futex_wait): Remove.
5785         (__new_sem_wait): Adapt.
5786         (__new_sem_trywait): New function.
5787         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
5788         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
5789         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
5790         (sem_timedwait): Adapt.
5791         * nptl/sem_post.c (__new_sem_post): Adapt.
5792         (futex_wake): New function.
5793         (__old_sem_post): Add release MO fence.
5794         * nptl/sem_open.c (sem_open): Adapt.
5795         * nptl/sem_init.c (__new_sem_init): Adapt.
5796         (futex_private_if_supported): New function.
5797         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
5798         (__old_sem_getvalue): Add using previous code.
5799         * sysdeps/nptl/internaltypes.h: Adapt.
5800         * nptl/tst-sem13.c (do_test): Adapt.
5801         * nptl/tst-sem11.c (main): Adapt.
5802         * nptl/sem_trywait.c: Remove.
5803         * nptl/DESIGN-sem.txt: Remove.
5804         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
5805         (gen-as-const-headers): Remove structsem.sym.
5806         * nptl/structsem.sym: Remove.
5807         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
5808         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
5809         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
5810         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
5811         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
5812         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
5813         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
5814         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
5815         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
5816         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
5817         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
5818         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
5819         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
5820         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
5821         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
5822         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
5823         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
5824         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
5825         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
5826         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
5827         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
5828         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
5830 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
5832         * INSTALL: Regenerated.
5834         * po/libc.pot: Regenerated.
5836 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
5837             Sandra Loosemore  <sandra@codesourcery.com>
5838             Andrew Jenner  <andrew@codesourcery.com>
5839             Joseph Myers  <joseph@codesourcery.com>
5840             Nathan Sidwell  <nathan@codesourcery.com>
5842         * NEWS: Mention new Nios II port.
5843         * sysdeps/nios2/Implies: New file.
5844         * sysdeps/nios2/Makefile: New file.
5845         * sysdeps/nios2/Subdirs: New file.
5846         * sysdeps/nios2/Versions: New file.
5847         * sysdeps/nios2/__longjmp.S: New file.
5848         * sysdeps/nios2/abort-instr.h: New file.
5849         * sysdeps/nios2/backtrace.c: New file.
5850         * sysdeps/nios2/bits/endian.h: New file.
5851         * sysdeps/nios2/bits/fenv.h: New file.
5852         * sysdeps/nios2/bits/link.h: New file.
5853         * sysdeps/nios2/bits/setjmp.h: New file.
5854         * sysdeps/nios2/bsd-_setjmp.S: New file.
5855         * sysdeps/nios2/bsd-setjmp.S: New file.
5856         * sysdeps/nios2/configure: New generated file.
5857         * sysdeps/nios2/configure.ac: New file.
5858         * sysdeps/nios2/crti.S: New file.
5859         * sysdeps/nios2/crtn.S: New file.
5860         * sysdeps/nios2/dl-init.c: New file.
5861         * sysdeps/nios2/dl-machine.h: New file.
5862         * sysdeps/nios2/dl-sysdep.h: New file.
5863         * sysdeps/nios2/dl-tls.h: New file.
5864         * sysdeps/nios2/dl-trampoline.S: New file.
5865         * sysdeps/nios2/gccframe.h: New file.
5866         * sysdeps/nios2/gmp-mparam.h: New file.
5867         * sysdeps/nios2/jmpbuf-offsets.h: New file.
5868         * sysdeps/nios2/jmpbuf-unwind.h: New file.
5869         * sysdeps/nios2/ldsodefs.h: New file.
5870         * sysdeps/nios2/libc-tls.c: New file.
5871         * sysdeps/nios2/libm-test-ulps: New file.
5872         * sysdeps/nios2/machine-gmon.h: New file.
5873         * sysdeps/nios2/math-tests.h: New file.
5874         * sysdeps/nios2/math_private.h: New file.
5875         * sysdeps/nios2/memusage.h: New file.
5876         * sysdeps/nios2/nptl/Makefile: New file.
5877         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
5878         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
5879         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
5880         * sysdeps/nios2/nptl/pthreaddef.h: New file.
5881         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
5882         * sysdeps/nios2/nptl/tls.h: New file.
5883         * sysdeps/nios2/preconfigure: New file.
5884         * sysdeps/nios2/s_fma.c: New file.
5885         * sysdeps/nios2/s_fmaf.c: New file.
5886         * sysdeps/nios2/setjmp.S: New file.
5887         * sysdeps/nios2/sfp-machine.h: New file.
5888         * sysdeps/nios2/sotruss-lib.c: New file.
5889         * sysdeps/nios2/stackguard-macros.h: New file.
5890         * sysdeps/nios2/stackinfo.h: New file.
5891         * sysdeps/nios2/start.S: New file.
5892         * sysdeps/nios2/sysdep.h: New file.
5893         * sysdeps/nios2/tls-macros.h: New file.
5894         * sysdeps/nios2/tst-audit.h: New file.
5895         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
5896         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
5897         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
5898         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
5899         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
5900         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
5901         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
5902         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
5903         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
5904         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
5905         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
5906         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
5907         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
5908         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
5909         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
5910         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
5911         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
5912         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
5913         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
5914         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
5915         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
5916         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
5917         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
5918         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
5919         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
5920         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
5921         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
5922         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
5923         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
5924         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
5925         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
5926         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
5927         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
5928         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
5929         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
5930         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
5931         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
5932         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
5933         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
5934         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
5935         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
5936         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
5937         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
5938         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
5940 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
5942         [BZ #17844]
5943         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
5944         (getutent): Use weak_alias in non SHARED case
5945         and default_symbol_version in SHARED case.
5946         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
5947         (getutent_r, pututline): Likewise.
5948         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
5949         (getutid): Likewise.
5950         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
5951         (getutid_r): Likewise.
5952         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
5953         (getutline): Likewise.
5954         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
5955         (getutline_r): Likewise.
5956         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
5957         (updwtmp): Likewise.
5959 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
5961         [BZ #17848]
5962         * sysdeps/s390/s390-32/memcmp.S
5963         (memcmp_g5): Rename to __memcmp_g5.
5964         * sysdeps/s390/s390-32/memcpy.S
5965         (memcpy_g5): Rename to __memcpy_g5.
5966         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5967         (memcpy_mvcle) Rename to __memcpy_mvcle.
5968         * sysdeps/s390/s390-32/memset.S
5969         (memset_g5): Rename to __memset_g5.
5970         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
5971         (IFUNC_RESOLVE): Prefix ifunc-resolve function
5972         and use prefixed functions.
5973         * sysdeps/s390/s390-32/multiarch/memcmp.S
5974         (memcmp_z196): Rename to __memcmp_z196.
5975         (memcmp_z10): Rename to __memcmp_z10.
5976         (memcmp): Set alias to __memcmp_g5.
5977         (bcmp): Set alias to __memcmp_g5.
5978         * sysdeps/s390/s390-32/multiarch/memcpy.S
5979         (memcpy_z196): Rename to __memcpy_z196.
5980         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5981         (memcpy_z10): Rename to __memcpy_z10.
5982         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5983         (memcpy): Set alias to __memcpy_g5.
5984         * sysdeps/s390/s390-32/multiarch/memset.S
5985         (memset_z196): Rename to __memset_z196.
5986         Jump to __memset_mvcle instead of memset_mvcle.
5987         (memset_z10): Rename to __memset_z10.
5988         Jump to __memset_mvcle instead of memset_mvcle.
5989         (memset_mvcle) Rename to __memset_mvcle.
5990         (memset): Set alias to __memset_g5.
5991         * sysdeps/s390/s390-64/memcmp.S
5992         (memcmp_z900): Rename to __memcmp_z900.
5993         * sysdeps/s390/s390-64/memcpy.S
5994         (memcpy_z900): Rename to __memcpy_z900.
5995         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5996         (memcpy_mvcle) Rename to __memcpy_mvcle.
5997         * sysdeps/s390/s390-64/memset.S
5998         (memset_z900): Rename to __memset_z900.
5999         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
6000         (IFUNC_RESOLVE): Prefix ifunc-resolve function
6001         and use prefixed functions.
6002         * sysdeps/s390/s390-64/multiarch/memcmp.S
6003         (memcmp_z196): Rename to __memcmp_z196.
6004         (memcmp_z10): Rename to __memcmp_z10.
6005         (memcmp): Set alias to __memcmp_z900.
6006         (bcmp): Set alias to __memcmp_z900.
6007         * sysdeps/s390/s390-64/multiarch/memcpy.S
6008         (memcpy_z196): Rename to __memcpy_z196.
6009         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6010         (memcpy_z10): Rename to __memcpy_z10.
6011         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6012         (memcpy): Set alias to __memcpy_z900.
6013         * sysdeps/s390/s390-64/multiarch/memset.S
6014         (memset_z196): Rename to __memset_z196.
6015         Jump to __memset_mvcle instead of memset_mvcle.
6016         (memset_z10): Rename to __memset_z10.
6017         Jump to __memset_mvcle instead of memset_mvcle.
6018         (memset_mvcle) Rename to __memset_mvcle.
6019         (memset): Set alias to __memset_z900.
6021 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
6023         [BZ #17748]
6024         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
6025         __fesetenv instead of fesetenv.
6027 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6029         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
6030         macro.
6032 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6034         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
6035         regression on LE.
6037         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
6038         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
6039         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6040         strncmp-power8 object.
6041         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6042         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
6043         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
6044         * NEWS: Update.
6046 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6047             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6049         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
6050         trailing byte check.
6052 2015-01-13  David S. Miller  <davem@davemloft.net>
6054         * include/signal.h (__sigreturn): Guard with __USE_MISC.
6056 2015-01-13  Roland McGrath  <roland@hack.frob.com>
6058         * login/logout.c (logout): Use memset rather than bzero.
6059         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
6060         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
6061         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
6062         (_gethtbyaddr): Likewise.
6063         * locale/programs/simple-hash.c (bcopy): Macro removed.
6065 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6067         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6068         Add strcmp-power8 object.
6069         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6070         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
6071         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
6072         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
6073         __strcmp_power8 implementation.
6074         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
6075         * NEWS: Update.
6077         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6078         Add strncpy-power8 and stpncpy-power8 objects.
6079         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6080         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
6081         implementations.
6082         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
6083         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
6084         __stpncpy_power8 implementation.
6085         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
6086         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
6087         __strncpy_power8 implementation.
6088         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
6089         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
6090         * NEWS: Update.
6092         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
6093         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
6094         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
6096         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6097         strncat-power8 object.
6098         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
6099         __strcat_power8 implementation.
6100         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6101         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
6102         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
6103         optimized strcat for power8.
6105         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6106         strcpy-power8 and stpcpy-power8 objects.
6107         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6108         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
6109         implementations.
6110         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
6111         multiarch stpcpy implementation for POWER8.
6112         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
6113         multiarch strcpy implementation for POWER8.
6114         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
6115         __strcpy_power8 function.
6116         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
6117         stpcpy for POWER8.
6118         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
6119         strcpy for POWER8.
6120         * NEWS: Update.
6122 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
6124         [BZ #16009]
6125         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
6126         weights and rules. Use do_xfrm_cached if data fits in cache,
6127         do_xfrm otherwise.  Moved former main loop to...
6128         * (do_xfrm_cached): New function.
6129         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
6130         find_idx, find_position and stack_push.
6131         * (find_idx): New function.
6132         * (find_position): Likewise.
6133         * localedata/sort-test.sh: Added test run for do_xfrm.
6134         * localedata/xfrm-test.c (main): Added command line option
6135         -nocache to run the test with strings that are too large for
6136         the STRXFRM cache.
6138 2015-01-13  Torvald Riegel  <triegel@redhat.com>
6140         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
6141         variable to lll_futex_wake call, not the value itself.
6143 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
6145         [BZ #17803]
6146         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
6147         twom64.  Adjust value to 0x1p-64L.
6148         (__scalblnl): Only return standard underflowing result for K <=
6149         -64 not K <= -63; adjust exponent for underflowing result by 64
6150         not 63.
6151         * math/libm-test.inc (scalbn_test_data): Add more tests.
6152         (scalbln_test_data): Likewise.
6154         [BZ #17834]
6155         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
6156         0x1p63L.
6157         (__scalblnl): Get new exponent of adjusted subnormal value from ES
6158         not HX.
6159         * math/libm-test.inc (scalbn_test_data): Add more tests.
6160         (scalbln_test_data): Likewise.
6162 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6163             Stefani Seibold  <stefani@seibold.net>
6165         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
6166         (sysdep_routines): Add dl-vdso here, ...
6167         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
6168         (sysdep_routines): ... not here.
6169         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
6170         fallback when vDSO is not presented.
6171         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
6172         Define with libc_hidden_proto/libc_hidden_data_def definitions.
6173         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
6174         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
6175         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
6176         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
6177         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
6178         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
6179         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
6180         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
6181         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
6182         fallback configurable symbol when vDSO is not available.
6183         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
6184         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
6185         be able to redefine fallback symbol when vDSO is not available.
6186         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
6187         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
6189 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6191         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
6192         (TLS_INIT_TP): Add tm_capable initialization.
6193         (TLS_DEFINE_INIT_TP): Likewise.
6194         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
6195         TCB.
6196         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
6197         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
6198         calculation.
6199         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
6200         transactoion is lock elision is built and TCB tm_capable is set.
6201         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
6202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6203         (INTERNAL_SYSCALL_NCS): Likewise.
6204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6205         (INTERNAL_SYSCALL_NCS): Likewise.
6206         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
6208         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
6209         for powerpc.
6210         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6211         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
6212         and remove it for 32 bits case.
6213         [pthread_rwlock_t] (__rwelision): New field for lock elision.
6214         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
6215         initialization.
6216         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
6217         Disable lock elision with rdlocks if elision is not available.
6219         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
6220         (sysdep_routines): Add lock elision objects.
6221         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6222         [pthread_mutex_t] (__spins): Rework to add lock elision field.
6223         [pthread_mutex_t] (__elision): Add field.
6224         [__PTHREAD_SPINS]: Adjust to init lock elision field.
6225         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
6226         elision definitions for powerpc.
6227         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
6228         implementation of lock elision for powerpc.
6229         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
6230         implementation of timed lock elision for powerpc.
6231         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
6232         implementation of trylock with lock elision for powerpc.
6233         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
6234         implementaion of unlock for lock elision for powerpc.
6235         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
6236         automatic enable lock elision for mutexes.
6237         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
6238         transaction execution definitions for powerpc.
6239         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
6240         definitions.
6241         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
6242         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
6243         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
6244         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
6245         * NEWS: Update.
6247 2015-01-09  Roland McGrath  <roland@hack.frob.com>
6249         * sysdeps/posix/shm-directory.c: Use <> rather than ""
6250         for #include of <shm-directory.h>.
6252 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
6254         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
6255         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
6257 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
6259         [BZ #17791]
6260         * NEWS: Mention bug fix.
6261         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
6262         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
6263         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
6265 2015-01-09  Torvald Riegel <triegel@redhat.com>
6267         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
6269 2015-01-09  Torvald Riegel <triegel@redhat.com>
6271         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
6273 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
6275         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
6276         pointer and cast to uintptr_t.
6278 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
6280         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
6281         removed.
6282         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
6284 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
6286         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
6287         of 0.
6289 2015-01-08  Roland McGrath  <roland@hack.frob.com>
6291         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
6292         <nptl/pthreadP.h> instead.
6293         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
6295         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
6296         already defined.
6297         [__SIGRTMIN] (init): Function removed.
6298         [__SIGRTMIN] (initialized): Variable removed.
6299         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
6300         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
6301         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
6302         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
6303         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
6304         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
6305         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
6306         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
6307         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
6308         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
6309         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
6310         * sysdeps/nptl/allocrtsig.c: New file.
6311         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
6312         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
6313         * sysdeps/generic/testrtsig.h: File removed.
6315         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
6316         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
6318         * nptl/nptl-init.c (pthread_functions): Conditionalize
6319         .ptr__nptl_setxid initialization on [SIGSETXID].
6321         * sysdeps/nptl/sys/procfs.h: New file.
6322         * nptl_db/Makefile (headers): Add it.
6323         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
6325         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
6326         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
6327         * nptl/pthread_attr_setaffinity.c: Include it.
6328         * nptl/pthread_setattr_default_np.c: Likewise.
6329         * nptl/check-cpuset.h: New file.
6331 2015-01-08  Richard Henderson  <rth@redhat.com>
6333         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
6334         (CFLAGS-tst-execstack-prog.c): Likewise.
6335         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
6337 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
6338             Sandra Loosemore  <sandra@codesourcery.com>
6339             Andrew Jenner  <andrew@codesourcery.com>
6340             Joseph Myers  <joseph@codesourcery.com>
6341             Nathan Sidwell  <nathan@codesourcery.com>
6343         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
6344         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
6345         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
6346         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
6347         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
6348         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
6349         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
6350         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
6351         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
6352         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
6353         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
6354         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
6355         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
6356         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
6357         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
6358         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
6359         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
6361 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6363         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
6364         timespec struct member in syscall macro.
6365         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
6366         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
6367         first timeval struct member in syscall macro.
6368         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
6370 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
6372         [BZ #17748]
6373         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
6374         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
6375         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
6376         __feupdateenv and define as weak alias of __feupdateenv.  Use
6377         libm_hidden_weak.
6378         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
6379         libm_hidden_def.
6380         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
6381         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
6382         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
6383         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
6384         libm_hidden_def.
6385         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
6386         __feupdateenv and define as weak alias of __feupdateenv.  Use
6387         libm_hidden_weak.
6388         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
6389         libm_hidden_def.
6390         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
6391         __feupdateenv and define as weak alias of __feupdateenv.  Use
6392         libm_hidden_weak.
6393         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
6394         libm_hidden_def.
6395         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6396         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
6397         (__feupdateenv): Likewise.
6398         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
6399         __feupdateenv and define as weak alias of __feupdateenv.  Use
6400         libm_hidden_weak.
6401         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6402         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
6403         libm_hidden_def.
6404         * sysdeps/tile/math_private.h (__feupdateenv): New inline
6405         function.
6406         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
6407         libm_hidden_def.
6408         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
6409         __feupdateenv instead of feupdateenv.
6410         (default_libc_feupdateenv_test): Likewise.
6411         (libc_feresetround_ctx): Likewise.
6413 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6415         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
6416         prototype.
6418 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
6420         * posix/regcomp.c (parse_bracket_exp): Initialize type to
6421         COLL_SYM in a couple of places to avoid uninitialized variable
6422         wanings on tilegx gcc 4.8.2.
6424 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
6426         * sysdeps/aarch64/strcpy.S: New file.
6427         * sysdeps/aarch64/stpcpy.S: New file.
6428         * NEWS: Updated.
6430 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
6432         * sysdeps/aarch64/strrchr.S: New file.
6433         * NEWS: Updated.
6435 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
6437         [BZ #17658]
6438         * stdlib/setenv.c: Fix memory leak when setting large,
6439         duplicate string.
6441 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
6443         [BZ #17273]
6444         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
6445         and tabs from buffer before parsing fstab entry.
6446         * misc/tst-mntent.c (main): Add test for mount entry with
6447         trailing spaces and tabs.
6449 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
6451         [BZ #17748]
6452         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
6453         * math/fesetround.c (fesetround): Rename to __fesetround and
6454         define as weak alias of __fesetround.  Use libm_hidden_weak.
6455         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
6456         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
6457         * sysdeps/arm/fesetround.c (fesetround): Likewise.
6458         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
6459         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
6460         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
6461         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
6462         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
6463         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
6464         __fesetround_inline.
6465         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
6466         __fesetround_inline instead of __fesetround.
6467         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
6468         __fesetround and define as weak alias of __fesetround.  Use
6469         libm_hidden_weak.  Call __fesetround_inline instead of
6470         __fesetround.
6471         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
6472         __fesetround and define as weak alias of __fesetround.  Use
6473         libm_hidden_weak.
6474         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
6475         Likewise.
6476         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
6477         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6478         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
6479         * sysdeps/tile/math_private.h (__fesetround): New inline function.
6480         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
6481         __fesetround and define as weak alias of __fesetround.  Use
6482         libm_hidden_weak.
6483         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
6484         __fesetround instead of fesetround.
6485         (default_libc_feholdexcept_setround): Likewise.
6486         (libc_feholdsetround_ctx): Likewise.
6487         (libc_feholdsetround_noex_ctx): Likewise.
6489         [BZ #17748]
6490         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
6491         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
6492         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
6493         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
6494         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6495         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
6496         define as weak alias of __fesetenv.  Use libm_hidden_weak.
6497         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
6498         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6499         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6500         define as weak alias of __fesetenv.  Use libm_hidden_weak.
6501         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6502         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6503         define as weak alias of __fesetenv.  Use libm_hidden_weak.
6504         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
6505         libm_hidden_def.
6506         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
6507         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
6508         Likewise.
6509         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6510         define as weak alias of __fesetenv.  Use libm_hidden_weak.
6511         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
6512         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6513         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
6514         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
6515         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
6516         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
6517         __fesetenv instead of fesetenv.
6518         (libc_feresetround_noex_ctx): Likewise.
6519         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
6520         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
6521         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
6522         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
6523         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
6524         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
6525         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6526         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
6527         (__feupdateenv): Likewise.
6528         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
6529         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6530         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6531         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
6533 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
6535         [BZ #17806]
6536         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
6537         addresses have been freed.
6539 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
6541         * resolv/res_init.c (__res_vinit): Improve comments about nserv
6542         and nservall.
6544 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
6546         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
6547         Clean up check_pf allocation pattern. addresses
6549 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6551         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
6552         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
6553         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
6554         * nptl/pthread_exit.c (__pthread_exit): Likewise.
6555         * nptl/pthread_join.c (pthread_join): Likewise.
6556         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
6557         * sysdeps/posix/waitid.c (__waitid): Likewise.
6558         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
6559         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
6560         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
6561         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
6562         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
6563         Likewise.
6564         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
6565         (__libc_pread64): Likewise.
6566         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
6567         (__libc_pwrite): Likewise.
6568         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
6569         (__libc_pwrite64): Likewsie.
6570         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
6571         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
6572         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
6573         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
6574         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
6575         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
6576         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
6578         Likewise.
6579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6580         (__libc_pread64): Likewise.
6581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
6582         Likewise.
6583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
6584         (__libc_pwrite64): Likewise.
6585         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
6586         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
6587         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
6588         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
6589         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
6590         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
6591         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
6592         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
6593         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
6594         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
6595         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
6596         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
6597         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
6598         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
6599         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
6600         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
6601         Likewise.
6603 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
6605         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
6606         (CFLAGS-test-double.c): Likewise.
6607         (CFLAGS-test-ldouble.c): Likewise.
6608         (CPPFLAGS-test-ifloat.c): Likewise.
6609         (CPPFLAGS-test-idouble.c): Likewise.
6610         (CPPFLAGS-test-ildoubl.c): Likewise.
6611         (CFLAGS-test-test-fenv.c): Remove variable.
6612         (CFLAGS-test-misc.c): Likewise.
6614 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
6616         [BZ #17797]
6617         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
6618         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
6619         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
6620         CLOCKS_PER_SEC == 1000000.
6621         * time/clocktest.c (main): Replace %ld with %jd and cast to
6622         intmax_t.
6624 2015-01-05  Roland McGrath  <roland@hack.frob.com>
6626         * sysdeps/generic/unwind-resume.h: New file.
6627         * sysdeps/gnu/unwind-resume.c: Include it.
6628         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
6629         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
6630         argument list.
6631         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
6632         global rather than static.
6633         (_Unwind_Resume): Update user.
6634         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
6635         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
6636         rather than static.  Add __attribute__ ((cold)).
6637         (_Unwind_Resume, __gcc_personality_v0): Update callers.
6638         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
6639         * sysdeps/arm/arm-unwind-resume.S: New file.
6640         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
6641         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
6642         * sysdeps/arm/Makefile [$(subdir) = csu]
6643         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
6644         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6645         Add rt-arm-unwind-resume.
6646         [$(subdir) = nptl]
6647         (libpthread-sysdep_routines, libpthread-shared-only-routines):
6648         Add pt-arm-unwind-resume.
6649         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
6650         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
6652 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
6654         [BZ #17748]
6655         * include/fenv.h (__feholdexcept): Declare.  Use
6656         libm_hidden_proto.
6657         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
6658         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
6659         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6660         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
6661         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
6662         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
6663         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
6664         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6665         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
6666         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
6667         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6668         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
6669         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
6670         (feholdexcept): Likewise.
6671         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6672         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
6673         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6674         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6675         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
6676         __feholdexcept instead of feholdexcept.
6677         (default_libc_feholdexcept_setround): Likewise.
6679 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
6681         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
6682         to avoid using stl/str to align destination.
6684 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
6686         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
6688 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
6690         [BZ #17796]
6691         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
6692         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
6693         Define as weak alias not strong alias.
6695 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
6697         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
6698         bltzal with addiupc.
6699         (RTLD_START): Ditto.
6701 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
6703         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
6704         for __vdso_* functions in declarations.
6705         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
6706         definitions.
6707         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
6708         INTERNAL_VSYSCALL): Use struct return types to check for error.
6710         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
6711         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
6712         function with cast from llround().
6713         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
6714         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
6715         Define.
6717 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
6719         [BZ #17793]
6720         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
6721         Define as weak alias not strong alias.
6723         [BZ #17635]
6724         * ctype/ctype-c99.c: New file.  isblank implementation moved from
6725         ...
6726         * ctype/ctype-extn.c: ... here.
6727         (__isblank_l): Move to ...
6728         * ctype/ctype-c99_l.c: ... here.  New file.
6729         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
6730         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
6731         Remove variable.
6732         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
6733         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
6734         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
6735         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
6736         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
6738         [BZ #17777]
6739         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
6740         (posix_fadvise64): Define as weak alias not strong alias.
6741         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6742         (posix_fallocate64): Likewise.
6743         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
6744         Remove variable.
6745         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
6746         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
6747         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
6748         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
6749         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
6751 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
6753         [BZ #16191]
6754         * NEWS: Mention bug fix.
6755         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
6756         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
6757         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
6758         (HOST_STACK_END_ADDR): Likewise.
6760 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
6762         [BZ #17748]
6763         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
6764         * math/fegetround.c (fegetround): Rename to __fegetround and
6765         define as weak alias of __fegetround.  Use libm_hidden_weak.
6766         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
6767         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
6768         * sysdeps/arm/fegetround.c (fegetround): Likewise.
6769         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
6770         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
6771         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
6772         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
6773         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
6774         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
6775         Undefine after rather than before function definition; use
6776         parentheses around function name in definition.
6777         (__fegetround): Also undefine macro after function definition.
6778         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
6779         __fegetround and define as weak alias of __fegetround.  Use
6780         libm_hidden_weak.  Do not undefine as macro.
6781         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
6782         Likewise.
6783         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
6784         __fegetround and define as weak alias of __fegetround.  Use
6785         libm_hidden_weak.
6786         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6787         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
6788         * sysdeps/tile/math_private.h (__fegetround): New inline function.
6789         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
6790         __fegetround and define as weak alias of __fegetround.  Use
6791         libm_hidden_weak.
6792         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
6793         __fegetround instead of fegetround.
6795         [BZ #17782]
6796         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
6797         Condition macro definition on [__USE_MISC].
6799         [BZ #17781]
6800         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
6801         (struct sigaction): Change type of sa_flags field to int.
6803         [BZ #17780]
6804         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
6805         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
6806         __glibc_reserved0.
6808         * nptl/version.c (banner): Use single year in copyright notice.
6810         * NEWS: Update copyright dates.
6811         * catgets/gencat.c (print_version): Likewise.
6812         * csu/version.c (banner): Likewise.
6813         * debug/catchsegv.sh: Likewise.
6814         * debug/pcprofiledump.c (print_version): Likewise.
6815         * debug/xtrace.sh (do_version): Likewise.
6816         * elf/ldconfig.c (print_version): Likewise.
6817         * elf/ldd.bash.in: Likewise.
6818         * elf/pldd.c (print_version): Likewise.
6819         * elf/sotruss.sh: Likewise.
6820         * elf/sprof.c (print_version): Likewise.
6821         * iconv/iconv_prog.c (print_version): Likewise.
6822         * iconv/iconvconfig.c (print_version): Likewise.
6823         * locale/programs/locale.c (print_version): Likewise.
6824         * locale/programs/localedef.c (print_version): Likewise.
6825         * login/programs/pt_chown.c (print_version): Likewise.
6826         * malloc/memusage.sh (do_version): Likewise.
6827         * malloc/memusagestat.c (print_version): Likewise.
6828         * malloc/mtrace.pl: Likewise.
6829         * manual/libc.texinfo: Likewise.
6830         * nptl/version.c (banner): Likewise.
6831         * nscd/nscd.c (print_version): Likewise.
6832         * nss/getent.c (print_version): Likewise.
6833         * nss/makedb.c (print_version): Likewise.
6834         * posix/getconf.c (main): Likewise.
6835         * scripts/test-installation.pl: Likewise.
6836         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
6838 2015-01-02  Will Newton  <will.newton@linaro.org>
6840         * sysdeps/arm/armv7/configure: Removed.
6841         * sysdeps/arm/armv7/configure.ac: Likewise.
6843 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
6845         * All files with FSF copyright notices: Update copyright dates
6846         using scripts/update-copyrights.
6847         * intl/plural.c: Regenerated.
6848         * locale/programs/charmap-kw.h: Likewise.
6849         * locale/programs/locfile-kw.h: Likewise.
6851 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6853         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
6855 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
6857         [BZ #17748]
6858         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
6859         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
6860         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
6861         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
6862         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6863         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
6864         define as weak alias of __fegetenv.  Use libm_hidden_weak.
6865         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
6866         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6867         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6868         define as weak alias of __fegetenv.  Use libm_hidden_weak.
6869         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6870         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6871         define as weak alias of __fegetenv.  Use libm_hidden_weak.
6872         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
6873         libm_hidden_def.
6874         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
6875         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
6876         Likewise.
6877         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6878         define as weak alias of __fegetenv.  Use libm_hidden_weak.
6879         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
6880         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6881         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
6882         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
6883         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
6884         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
6885         __fegetenv instead of fegetenv.
6886         (libc_feholdsetround_noex_ctx): Likewise.
6888 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
6890         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
6891         (Elf_MIPS_ABIFlags_v0): New structure.
6892         (EF_MIPS_FP64): Define.
6893         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
6894         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
6895         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
6896         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
6897         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
6898         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
6899         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
6900         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
6901         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
6902         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
6903         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
6904         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
6905         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
6906         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
6907         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
6908         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
6909         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
6910         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
6911         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
6912         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
6913         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
6914         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
6915         field.
6916         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
6917         EF_MIPS_FP64.
6918         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
6919         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
6920         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
6921         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
6922         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
6923         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
6924         * sysdeps/mips/tst-abi-interlink.c: Likewise.
6925         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
6926         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
6927         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
6928         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
6929         record the current FP ABI extension.
6930         (mips-mode-switch): Define to show if kernel headers support mode
6931         switching.
6932         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6933         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
6934         supported SYSV ABI version to 3.
6935         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
6936         feature.
6938 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6939             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6941         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
6942         path.
6943         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
6945 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
6947         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
6948         __fegetround and redefine to call __fegetround.  Remove condition
6949         on [!__NO_MATH_INLINES].
6950         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
6951         function.
6952         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
6953         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
6954         Remove macro.
6955         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
6956         instead of <fenv_libc.h>.
6957         (__llrintl): Call fegetround instead of __fegetround.
6958         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
6959         instead of <fenv_libc.h>.
6960         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6961         (__lrintl): Call fegetround instead of __fegetround.
6962         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
6963         instead of <fenv_libc.h>.
6964         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6965         (__rintl): Call fegetround instead of __fegetround.
6967 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
6969         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
6970         arrays.
6972 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
6974         [BZ #17775]
6975         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
6976         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
6977         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
6979 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
6981         * sysdeps/i386/tls-macros.h: Include <features.h>.
6982         (TLS_LE): Use non-PIC version for GCC >= 5.0.
6983         (TLS_IE): Likewise.
6984         (TLS_LD): Likewise.
6985         (TLS_GD): Likewise.
6986         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
6987         define for GCC >= 5.0.
6989 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
6991         * math/test-fenv.c (test_single_exception, set_single_exc,
6992         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
6993         feexcp_mask_test, feenable_test, fe_single_test): Add
6994         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
6995         case where they are not used.
6996         * math/libm-test.inc: Likewise.
6997         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
6998         unused in the absence of FP rounding/exception support.
6999         * stdio-common/tst-printf-round.c: Likewise.
7000         * stdlib/tst-strtod-round.c: Likewise.
7001         * stdlib/tst-strtod-underflow.c: Likewise.
7003 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
7005         [BZ #17723]
7006         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
7007         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
7008         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7009         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7010         libm_hidden_weak.
7011         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
7012         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7013         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
7014         libm_hidden_def.
7015         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7016         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7017         libm_hidden_weak.
7018         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
7019         Likewise.
7020         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
7021         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7022         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7023         libm_hidden_weak.
7024         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7025         libm_hidden_def.
7026         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7027         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
7028         (__feraiseexcept): Likewise.
7029         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7030         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7031         libm_hidden_weak.
7032         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7033         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7034         libm_hidden_def.
7035         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
7036         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
7037         Use libm_hidden_def.
7038         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
7039         libm_hidden_def.
7040         (feraiseexcept): Define as weak not strong alias.  Use
7041         libm_hidden_weak.
7042         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
7043         New inline function.  Factored out of ...
7044         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
7045         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
7046         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
7047         feraiseexcept.
7048         * math/w_acos.c (__acos): Likewise.
7049         * math/w_asin.c (__asin): Likewise.
7050         * math/w_ilogb.c (__ilogb): Likewise.
7051         * math/w_j0.c (y0): Likewise.
7052         * math/w_j1.c (y1): Likewise.
7053         * math/w_jn.c (yn): Likewise.
7054         * math/w_log.c (__log): Likewise.
7055         * math/w_log10.c (__log10): Likewise.
7056         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
7057         * sysdeps/aarch64/fpu/math_private.h
7058         (libc_feupdateenv_test_aarch64): Likewise.
7059         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
7060         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
7061         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
7062         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
7063         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
7064         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
7065         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
7066         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7067         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7068         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7070 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
7072         [BZ #17732]
7073         * io/test-utime.c (main): Replace %ld with %jd and cast to
7074         intmax_t.
7075         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
7076         * nptl/tst-mutex5.c: Include <stdint.h>.
7077         (do_test): Replace %ld with %jd and cast to intmax_t.
7078         * posix/tst-regex.c (run_test): Likewise.
7079         (run_test_backwards): Likewise.
7080         * rt/tst-clock.c: Include <stdint.h>.
7081         (clock_test): Replace %ld with %jd and cast to intmax_t.
7082         * rt/tst-cpuclock1.c: Include <stdint.h>.
7083         (do_test): Replace %lu with %ju and cast to uintmax_t.
7084         * rt/tst-cpuclock2.c: Include <stdint.h>.
7085         (do_test): Replace %lu with %ju and cast to uintmax_t.
7086         * rt/tst-mqueue1.c: Include <stdint.h>.
7087         (check_attrs): Replace %ld with %jd and cast to intmax_t.
7088         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
7089         intmax_t.
7090         * rt/tst-mqueue4.c (do_test): Likewise.
7091         * rt/tst-timer4.c: Include <stdint.h>.
7092         (check_ts): Replace %ld with %jd and cast to intmax_t.
7093         (do_test): Likewise.
7094         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
7095         and cast to intmax_t.
7096         * sysdeps/pthread/tst-timer.c (main): Likewise.
7097         * time/clocktest.c (main): Likewise.
7098         * time/tst-posixtz.c (do_test): Likewise.
7099         * timezone/tst-timezone.c (main): Likewise.
7101 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
7102             H.J. Lu  <hongjiu.lu@intel.com>
7104         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
7105         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
7106         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
7107         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
7108         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
7109         version if bit_Fast_Unaligned_Load is set.
7110         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7111         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7112         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7113         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7114         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7115         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7116         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7117         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
7118         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
7119         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
7120         to 4.
7121         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
7122         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
7123         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
7124         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
7126 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
7128         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
7129         instead of #if to avoid a Wundef warning.
7130         * stdlib/tst-limits.c (do_test): Likewise.
7132         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
7133         parallel other exception macros.
7134         (fegetenv): Convert from macro to extern inline so that it applies
7135         retroactively to inline functions already seen by the compiler.
7136         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
7138         * posix/Makefile (before-compile): Use $(objpfx) for
7139         posix-conf-vars-def.h.
7141 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7143         * posix/getconf.c (main): Use size_t for type of I.
7144         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
7145         NSPEC.
7147         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
7148         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
7149         * posix/posix-envs.def: Likewise.
7150         * sysdeps/posix/sysconf.c: Likewise.
7151         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
7152         (specs): Remove array.
7153         * scripts/gen-posix-conf-vars.awk: Support generation of specs
7154         array.
7156         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
7157         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
7158         (__sysconf): Use CONF_IS_* macros.
7160         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
7161         ($(objpfx)posix-conf-vars-def.h): New target.
7162         * posix/posix-conf-vars.list: New file.
7163         * posix/posix-conf-vars.h: New file.
7164         * posix/confstr.c: Include posix-conf-vars.h.
7165         (confstr): Use CONF_IS_* macros.
7166         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
7167         CONF_IS_* macros.
7168         * scripts/gen-posix-conf-vars.awk: New file.
7170 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
7172         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
7173         fegetround): Add no-op macros to avoid linknamespace issues.
7175         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
7176         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
7178         * sysdeps/unix/sysv/linux/tile/sysdep.h
7179         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
7180         assembly-specific section to avoid a redefinition warning.
7182         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
7183         long before casting to pointer to avoid a cast warning.
7185 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
7187         * sysdeps/tile/tilegx/Implies: New file.
7189 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
7191         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
7193 2014-12-23  Florian Weimer  <fweimer@redhat.com>
7195         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
7197 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
7199         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
7200         not define.
7201         * sysdeps/unix/sysv/linux/utimes.c: Do not include
7202         <kernel-features.h>.
7203         (__utimes) [__NR_utimes]: Make code unconditional.
7204         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
7205         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7206         (__ASSUME_UTIMES): Do not undefine.
7207         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7208         (__ASSUME_UTIMES): Likewise.
7209         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7210         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
7211         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
7212         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
7214 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
7216         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
7218 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
7220         [BZ #17747]
7221         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
7222         alias to weak alias for j0l, y0l.
7223         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
7224         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
7226         [BZ #17746]
7227         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
7228         conversion.
7230 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
7232         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
7233         to zero if not already defined.
7235 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
7237         [BZ #17724]
7238         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
7239         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
7240         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
7241         (char *) casts added.
7242         * sysdeps/ieee754/k_standardf.c: New file.
7243         * sysdeps/ieee754/k_standardl.c: Likewise.
7244         * math/Makefile (libm-support): Remove k_standard.
7245         (libm-calls): Add k_standard.
7247 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7249         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
7250         Optimize to avoid an unnecessary FPCR read.
7252 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7254         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
7255         Optimize to reduce FPCR/FPSR accesses.
7257 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7259         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
7260         Call libc_fetestexcept_aarch64.
7262 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7264         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
7265         Call libc_fesetround_aarch64.
7267 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
7269         [BZ #17733]
7270         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
7271         (__bind): Do not define as weak alias.
7272         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
7273         define.
7274         (__getsockname): Do not define as weak alias.
7276 2014-12-22  Will Newton  <will.newton@linaro.org>
7278         * manual/install.texi: Document that we require bison 2.7
7279         or above.
7280         * INSTALL: Regenerate.
7281         * configure.ac: Use AC_CHECK_PROG_VER instead of
7282         AC_PATH_PROG when checking for bison and check for
7283         version 2.7 or above.
7284         * configure: Regenerate.
7286 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
7288         [BZ #17745]
7289         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
7290         * sysdeps/tile/ffsll.c (ffsll): To here.
7292         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
7294 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
7296         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
7297         if not defined.
7298         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
7299         definition.
7300         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
7301         hidden ___tls_get_addr.
7302         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
7303         hidden __tls_get_addr.
7304         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
7305         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
7306         Likewise.
7308 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
7310         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
7311         _dl_init call.
7313 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
7315         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
7316         from "call _dl_init@PLT".
7317         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7319 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
7321         * manual/search.texi: (Array Sort Function): Clarify stable sorting
7322         guarantees.
7324 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
7326         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
7328 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
7330         [BZ #17744]
7331         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
7332         strnlen.
7334 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
7336         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
7337         of multu on MIPSr6.
7338         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
7339         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
7340         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
7341         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
7342         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
7344 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
7346         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
7347         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
7348         (PTR_SUBU): Use subu for mips32r6/mips64r6.
7349         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
7350         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
7351         mips32r6/mips64r6.
7352         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
7354 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
7356         * string/strncat.c (STRNCAT): Simplify implementation.
7358 2014-12-19  David S. Miller  <davem@davemloft.net>
7360         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
7361         access the quad as both a long double and as a series of 4 words.
7363         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
7364         link_map->l_info array access.
7366 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
7368         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
7370         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
7371         * math/atest-exp2.c (TIMEOUT): Likewise.
7372         * math/atest-sincos.c (TIMEOUT): Likewise.
7374 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
7376         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
7377         -Wno-error with -fno-builtin-lround.
7379 2014-12-19  Torvald Riegel  <triegel@redhat.com>
7381         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
7382         Contains futex constants and functions moved over from ...
7383         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
7384         <lowlevellock-futex.h>.
7385         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
7386         (lll_timedwait_tid): Add comments and parentheses around macro
7387         arguments.
7389 2014-12-19  Torvald Riegel  <triegel@redhat.com>
7391         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
7392         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
7393         (__lll_private_flag): Remove.
7394         (lll_futex_wait): Likewise.
7395         (lll_futex_timed_wait): Likewise.
7396         (lll_futex_wake): Likewise.
7397         (lll_futex_requeue): Likewise.
7398         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
7399         (__lll_timedwait_tid): Spell out argument names.
7400         (lll_timedwait_tid): Add comments and parentheses around macro
7401         arguments.
7402         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
7403         LLL_SHARED and LLL_PRIVATE usable from assembly code.
7405 2014-12-19  Torvald Riegel  <triegel@redhat.com>
7407         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
7408         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
7409         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7410         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
7411         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
7412         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
7413         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
7414         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
7415         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
7416         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
7417         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
7418         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
7419         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
7420         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
7421         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
7422         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
7423         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
7424         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
7425         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
7427 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
7429         * sysdeps/x86_64/x32/Makefile: New file.
7431 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
7433         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
7434         1L with (mp_limb_t) 1.
7436 2014-12-17  Roland McGrath  <roland@hack.frob.com>
7438         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
7439         * nptl/libc_pthread_init.c: ... here.
7440         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
7441         * nptl/register-atfork.c: ... here.
7443         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
7444         Use pthread_sigmask rather than INTERNAL_SYSCALL.
7445         Use assert_perror to check its return value.
7446         (__gai_create_helper_thread): Likewise.
7448         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
7450         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
7452 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
7454         [BZ #17725]
7455         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
7456         __profil_counter.
7457         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
7458         Likewise.
7459         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
7460         Likewise.
7461         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
7462         Likewise.
7463         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
7464         (profil_counter): Likewise.
7465         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
7466         (profil_counter): Likewise.
7467         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
7468         Likewise.
7469         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
7470         Likewise.
7471         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
7472         (profil_counter): Likewise.
7473         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
7474         Likewise.
7475         [!__profil_counter] (profil_counter): Define as weak alias of
7476         __profil_counter.
7477         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
7478         (profil_counter): Rename to __profil_counter.
7479         [!__profil_counter] (profil_counter): Define as weak alias of
7480         __profil_counter.
7481         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
7482         (profil_counter): Rename to __profil_counter.
7483         [!__profil_counter] (profil_counter): Define as weak alias of
7484         __profil_counter.
7485         * sysdeps/posix/profil.c: Update comment referring to
7486         profil_counter.
7487         (__profil): Use __profil_counter instead of profil_counter.
7488         * sysdeps/posix/sprofil.c (profil_counter): Rename to
7489         __profil_counter.  Use __profil_counter_ushort and
7490         __profil_counter_uint in definitions.
7491         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
7492         instead of profil_counter_uint and profil_counter_ushort.
7494         [BZ #17722]
7495         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
7496         define as weak alias of __inet_makeaddr.
7497         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
7498         as weak alias of __inet_addr.
7499         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
7500         as weak alias of __inet_pton.  Use libc_hidden_weak.
7501         * include/arpa/inet.h (__inet_pton): Declare.  Use
7502         libc_hidden_proto.
7503         (inet_makeaddr): Don't use libc_hidden_proto.
7504         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
7505         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
7506         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
7507         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
7508         Remove variable.
7509         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
7510         (test-xfail-POSIX/time.h/linknamespace): Likewise.
7512 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
7514         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
7516 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7518         * stdio-common/bug-vfprintf-nargs.c (do_test):
7519         Cast value to intptr_t to avoid format warning
7520         for usage with PRIdPTR printing macro.
7522 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7524         * libio/tst-widetext.c (do_test):
7525         Use format type %td instead of %Zd for ptrdiff_t
7526         in order to avoid format warning.
7528 2014-12-17  Andreas Schwab  <schwab@suse.de>
7530         * nscd/mem.c (gc): Add size_t cast to match printf format.
7532 2014-12-16  Roland McGrath  <roland@hack.frob.com>
7534         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
7535         (init): Apply PTR_MANGLE to pointers before storing them.
7536         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
7537         before using them.
7539 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
7541         [BZ #17719]
7542         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
7543         define as weak alias of __memrchr.
7544         (__memrchr): Do not define as strong alias of memrchr.
7545         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
7546         Remove variable.
7547         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
7548         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
7549         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
7551         [BZ #17717]
7552         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
7553         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
7554         (if_indextoname): Rename to __if_indextoname and define as weak
7555         alias of __if_indextoname.  Use libc_hidden_weak.
7556         (if_freenameindex): Rename to __if_freenameindex and define as
7557         weak alias of __if_freenameindex.
7558         (if_nameindex): Rename to __if_nameindex and define as weak alias
7559         of __if_nameindex.
7560         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
7561         __if_nametoindex and define as weak alias of __if_nametoindex.
7562         Use libc_hidden_weak.
7563         (if_freenameindex): Rename to __if_freenameindex and define as
7564         weak alias of __if_freenameindex.
7565         (if_nameindex): Rename to __if_nameindex and define as weak alias
7566         of __if_nameindex.
7567         (if_indextoname): Rename to __if_indextoname and define as weak
7568         alias of __if_indextoname.  Use libc_hidden_weak.
7569         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
7570         __if_nametoindex and define as weak alias of __if_nametoindex.
7571         Use libc_hidden_weak.
7572         (if_freenameindex): Rename to __if_freenameindex and define as
7573         weak alias of __if_freenameindex.  Use libc_hidden_weak.
7574         (if_nameindex_netlink): Use __if_freenameindex instead of
7575         if_freenameindex.
7576         (if_nameindex): Rename to __if_nameindex and define as weak alias
7577         of __if_nameindex.  Use libc_hidden_weak.
7578         (if_indextoname): Rename to __if_indextoname and define as weak
7579         alias of __if_indextoname.  Use libc_hidden_weak.
7580         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
7581         libc_hidden_proto.
7582         [!_ISOMAC] (__if_freenameindex): Likewise.
7583         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
7584         if_nametoindex.
7585         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
7586         variable.
7587         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
7588         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
7589         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
7590         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
7591         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
7592         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
7593         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
7595         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
7596         Remove variable.
7597         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
7598         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
7600 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7602         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
7603         subscript above bounds'
7605         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
7606         bounds.
7608 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
7610         * libio/tst-fopenloc.c: Use test-skeleton.c.
7612         * stdlib/tst-bsearch.c: Use test-skeleton.c.
7613         (entry): Rename to ITEM.
7614         (do_test, comp): Adjust.
7616         * stdio-common/tst-fseek.c: Use test-skeleton.c.
7618 2014-12-16  Torvald Riegel  <triegel@redhat.com>
7620         * string/tester.c: Include <libc-internal.h>.
7621         (test_memset): Ignore -Wmemset-transposed-args.
7623 2014-12-16  Torvald Riegel  <triegel@redhat.com>
7625         * misc/tst-mntent2.c (do_test): Fix warning.
7627 2014-12-16  Torvald Riegel  <triegel@redhat.com>
7629         * elf/tst-unique4lib.cc(a): Mark as used.
7631 2014-12-16  Florian Weimer  <fweimer@redhat.com>
7633         [BZ #17630]
7634         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
7635         names.
7637 2014-12-16  Allan McRae  <allan@archlinux.org>
7639         * stdio-common/Makefile (tests): Re-add bug26.
7641 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
7643         [BZ #17657]
7644         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
7645         static array.
7647 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
7649         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
7650         (__lll_lock_wait): Likewise.
7651         (__lll_timedlock_wait): Likewise.
7652         (__lll_timedwait_tid): Likewise.
7653         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
7654         (__lll_robust_timedlock_wait): Likewise.
7655         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
7656         (lll_cond_trylock): Likewise.
7657         (__lll_lock): Likewise.
7658         (__lll_robust_lock): Likewise.
7659         (__lll_cond_lock): Likewise.
7660         (lll_robust_cond_lock): Likewise.
7661         (__lll_timedlock): Likewise.
7662         (__lll_robust_timedlock): Likewise.
7663         (__lll_unlock): Likewise.
7664         (__lll_robust_unlock): Likewise.
7665         (lll_wait_tid): Likewise.
7666         (lll_timedwait_tid): Likewise.
7668 2014-12-15  Torvald Riegel  <triegel@redhat.com>
7670         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
7672 2014-12-15  Torvald Riegel  <triegel@redhat.com>
7674         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
7676 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
7678         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
7679         * stdio-common/tst-sprintf.c: Likewise.
7681 2014-12-15  Torvald Riegel  <triegel@redhat.com>
7683         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
7685 2014-12-15  Jeff Law  <law@redhat.com>
7687         [BZ #16617]
7688         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
7689         on the heap.  (CVE-2012-3406)
7690         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
7691         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
7692         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
7694 2014-12-15  Will Newton  <will.newton@linaro.org>
7696         * manual/install.texi: Bump required version of texinfo
7697         to 4.7 from 4.5.
7698         * INSTALL: Regenerated.
7699         * configure.ac: Check for makeinfo version 4.7 and above.
7700         * configure: Regenerated.
7702 2014-12-12  Roland McGrath  <roland@hack.frob.com>
7704         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
7705         PREFIX, string constant to insert between directory and name.
7706         * sysdeps/posix/shm_open.c: Update caller.
7707         * sysdeps/posix/shm_unlink.c: Likewise.
7708         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
7709         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
7710         (SEM_SHM_PREFIX): New macro.
7711         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
7712         [$(have-thread-library) = no].
7713         * nptl/Makefile (libpthread-routines): Add shm-directory.
7714         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
7715         * sysdeps/nptl/shm-directory.h: New file.
7716         * sysdeps/posix/shm-directory.c
7717         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
7718         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
7719         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
7720         INTERNAL_SYSCALL.
7721         (__where_is_shmfs): Function removed.
7722         (mountpoint, defaultmount, defaultdir, __namedsem_once):
7723         Variables removed.
7724         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
7725         Use SHM_GET_NAME.
7726         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
7728         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
7729         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
7730         unconditional for use inside libpthread.
7731         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
7733 2014-12-12  Roland McGrath  <roland@hack.frob.com>
7735         * nptl/pthread_getaffinity.c: New file.
7736         * nptl/pthread_setaffinity.c: New file.
7737         * nptl/pthread_getname.c: New file.
7738         * nptl/pthread_setname.c: New file.
7740         * nptl/pthread_create.c (START_THREAD_DEFN)
7741         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
7743 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
7744             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7746         * resolv/res_send.c (send_vc): Disable warning resplen may
7747         be used uninitialized.
7749 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
7751         * nptl/tst-mutex6.c
7752         (ATTR_NULL): New define checks ATTR against NULL.
7753         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
7754         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
7756 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
7758         [BZ #17581]
7759         * malloc/hooks.c
7760         (mem2mem_check): Revert my previous change.
7761         (malloc_check_get_size): Revert my previous change.
7762         (mem2chunk_check): Revert my previous change.
7764 2014-12-11  Roland McGrath  <roland@hack.frob.com>
7766         * sysdeps/posix/shm-directory.c: New file.
7767         * sysdeps/posix/shm-directory.h: New file.
7768         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
7769         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
7770         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
7771         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
7772         Transmute EPERM to EACCES.
7773         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
7774         from ...
7775         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
7776         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
7778 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7780         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
7781         pointer and cast to uintptr_t.
7782         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
7783         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
7784         Add cast to avoid warning.
7785         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
7787 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
7789         * nptl/semaphore.h: Move to ...
7790         * sysdeps/pthread/semaphore.h: ... here.
7791         * Makefile (installed-headers): Change nptl/semaphore.h to
7792         sysdeps/pthread/semaphore.h.
7794 2014-12-11  Roland McGrath  <roland@hack.frob.com>
7796         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
7797         generated error format strings.
7799         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
7800         -Wformat-extra-args warnings for scanf formats.
7801         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
7802         test of zero-length format (duh).
7803         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
7804         corner-case scanf format test.
7805         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
7806         generated fprintf format string.
7807         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
7808         corner-case sprintf format tests.
7809         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
7810         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
7811         -Wformat-extra-args warnings throughout.
7812         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
7813         (CFLAGS-scanf4.c): Likewise.
7814         (CFLAGS-scanf7.c): Likewise.
7815         (CFLAGS-tst-sprintf.c): Likewise.
7816         (CFLAGS-tst-printf.c): Likewise.
7817         (CFLAGS-tst-printfsz.c): Likewise.
7819 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
7821         * include/cpio.h: New file.
7822         * include/fmtmsg.h: Likewise.
7824         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
7825         corresponding format argument to size_t.
7826         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
7827         arguments.
7828         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
7829         corresponding format argument to size_t.
7830         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
7831         arguments.
7832         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
7833         corresponding format argument to size_t.
7834         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
7835         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
7836         (CFLAGS-tst-mbswcs2.c): Likewise.
7837         (CFLAGS-tst-mbswcs3.c): Likewise.
7838         (CFLAGS-tst-mbswcs4.c): Likewise.
7839         (CFLAGS-tst-mbswcs5.c): Likewise.
7840         (CFLAGS-tst-trans.c): Likewise
7842 2014-12-11  Roland McGrath  <roland@hack.frob.com>
7844         * posix/regexbug1.c (main): Use "%s" format with regerror results,
7845         rather than assuming they won't contain any '%'s.
7847 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
7849         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
7850         inhibit_loop_to_libcall to avoid recursive calls.
7851         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
7852         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
7854 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
7856         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
7857         prototype.
7859 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
7861         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
7862         integer value instead of boolean.
7864 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
7866         * malloc/malloc.c: Fix powerof2 check.
7868 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7870         * locale/programs/locfile.h (maybe_swap_uint32):
7871         Remove inline and add unused attribute.
7873 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7875         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
7876         Truncating assembler expression to a .long expression.
7878 2014-12-11  Andreas Schwab  <schwab@suse.de>
7880         * elf/rtld.c (struct map_args): Constify str member.
7881         (do_preload): Constify fname argument.
7883 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7885         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
7886         constants definition.
7888 2014-12-11  Andreas Schwab  <schwab@suse.de>
7890         [BZ #16657]
7891         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
7892         FORCE_ELISION instead of DO_ELISION.
7893         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
7894         Remove.
7895         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
7896         Likewise.
7898         * iconvdata/gconv-modules: Remove duplicate entry.
7900 2014-12-11  Will Newton  <will.newton@linaro.org>
7902         Merge gettext 0.19.3 into intl/.
7904         This involves a number of cosmetic changes to comments
7905         and ANSI function definitions and prototypes throughout
7906         all the files. The gettext copyright header is used but
7907         with the date ranges taken from the glibc copy.
7909         * NEWS: Add gettext merge to 2.21.
7910         * intl/bindtextdom.c: Switch to gettext copyright.
7911         Use ANSI definitions and prototypes.
7912         Use gl_* locking primitives rather than __libc_* ones.
7913         Use __builtin_expect rather than __glibc_likely/unlikely.
7914         * intl/dcgettext.c: Switch to gettext copyright.
7915         Use ANSI definitions and prototypes.
7916         * intl/dcigettext.c: Switch to gettext copyright.
7917         Use ANSI definitions and prototypes.
7918         (INTDIV0_RAISES_SIGFPE): New define.
7919         Use gl_* locking primitives rather than __libc_* ones.
7920         Include eval-plural.h instead of plural-eval.c.
7921         Use __builtin_expect rather than __glibc_likely/unlikely.
7922         * intl/dcngettext.c: Switch to gettext copyright.
7923         Use ANSI definitions and prototypes.
7924         * intl/dgettext.c: Likewise.
7925         * intl/dngettext.c: Likewise.
7926         * intl/plural-eval.c: Renamed to...
7927         * intl/eval-plural.h: ...this.
7928         * intl/explodename.c: Switch to gettext copyright.
7929         Use ANSI definitions and prototypes.
7930         (_nl_explode_name): Use strchr instead of __rawmemchr.
7931         * intl/finddomain.c: Switch to gettext copyright.
7932         Use ANSI definitions and prototypes.
7933         Use gl_* locking primitives rather than __libc_* ones.
7934         (_nl_find_domain): Use malloc rather than alloca for
7935         allocation of temporary locale name.
7936         * intl/gettext.c: Switch to gettext copyright.
7937         Use ANSI definitions and prototypes.
7938         * intl/gettextP.h: Switch to gettext copyright.
7939         Use ANSI definitions and prototypes.
7940         Use gl_* locking primitives rather than __libc_* ones.
7941         * intl/gmo.h: Switch to gettext copyright.
7942         (struct sysdep_string): Move struct segment_pair outside of
7943         struct definition.
7944         * intl/hash-string.c: Use ANSI definitions and prototypes.
7945         * intl/hash-string.h: Switch to gettext copyright.
7946         Use ANSI definitions and prototypes.
7947         * intl/l10nflist.c: Switch to gettext copyright.
7948         Use ANSI definitions and prototypes.
7949         (_nl_normalize_codeset): Avoid integer overflow.
7950         * intl/loadinfo.h: Switch to gettext copyright.
7951         Use ANSI definitions and prototypes.
7952         (LIBINTL_DLL_EXPORTED): New define.
7953         (PATH_SEPARATOR): New define.
7954         * intl/loadmsgcat.c: Switch to gettext copyright.
7955         * intl/localealias.c: Switch to gettext copyright.
7956         Use ANSI definitions and prototypes.
7957         (_nl_expand_alias): Use PATH_SEPARATOR.
7958         * intl/ngettext.c: Switch to gettext copyright.
7959         Use ANSI definitions and prototypes.
7960         * intl/plural-exp.c: Likewise.
7961         * intl/plural-exp.h: Switch to gettext copyright.
7962         Use ANSI definitions and prototypes.
7963         (struct expression): Move definition of enum operator outside
7964         of struct definition.
7965         * intl/plural.c: Regenerate.
7966         * intl/plural.y: Switch to gettext copyright.
7967         Use ANSI definitions and prototypes.
7968         Port to bison 3.0.
7969         * intl/textdomain.c: Switch to gettext copyright.
7970         Use ANSI definitions and prototypes.
7971         Use gl_* locking primitives rather than __libc_* ones.
7973 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
7975         * debug/warning-nop.c: Add used atrribute.
7977 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
7979         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
7981         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
7982         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
7983         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
7985 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
7986             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7988         [BZ #17634]
7989         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
7990         Undefine after defining function.  Define as weak alias of
7991         __wcschr.  Use libc_hidden_weak.
7992         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
7993         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
7994         (libc_hidden_def): Also define __GI___wcschr alias.
7995         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
7996         __wcschr and define as weak alias of __wcschr.
7997         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
7998         __wcschr.
7999         [!WCSCHR] (DEFAULT_WCSCHR): Define.
8000         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
8001         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
8002         libc_hidden_weak.  Do not use libc_hidden_def.
8003         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
8004         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
8005         __GI___wcschr alias.
8006         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
8007         [IS_IN (libc)] (wcschr): Define as macro expanding to
8008         __redirect_wcschr.
8009         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
8010         [IS_IN (libc)] (__wcschr_power6): Likewise.
8011         [IS_IN (libc)] (__wcschr_power7): Likewise.
8012         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
8013         instead of wcschr.
8014         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
8015         __libc_wcschr.
8016         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
8017         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
8018         __wcschr and define as weak alias of __wcschr.  Use
8019         libc_hidden_builtin_def.
8020         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
8021         as weak alias of __wcschr.  Use libc_hidden_weak.
8022         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
8023         wcschr.
8024         * time/era.c (_nl_init_era_entries): Likewise.
8025         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
8026         variable.
8027         (test-xfail-XPG3/time.h/linknamespace): Likewise.
8028         (test-xfail-XPG4/time.h/linknamespace): Likewise.
8030 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8032         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
8033         format for long int variable.
8035 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
8037         [BZ #10672]
8038         * manual/search.texi: (Array Sort Function): Remove claim how to make
8039         qsort stable.
8041 2014-12-10  Andreas Schwab  <schwab@suse.de>
8043         [BZ #12847]
8044         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
8045         user-controlled locks.
8047 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
8049         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
8050         register.
8052 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8054         * configure.ac (--disable-werror): New configure option.
8055         (enable_werror): New AC_SUBST.
8056         * configure: Regenerated.
8057         * config.make.in (enable-werror): New variable.
8058         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
8059         -Wno-error=undef.
8060         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
8061         * manual/install.texi (Configuring and compiling): Document
8062         --disable-werror.
8063         * INSTALL: Regenerated.
8064         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
8065         (CFLAGS-tst-chk2.c): Likewise.
8066         (CFLAGS-tst-chk3.c): Likewise.
8067         (CFLAGS-tst-chk4.cc): Likewise.
8068         (CFLAGS-tst-chk5.cc): Likewise.
8069         (CFLAGS-tst-chk6.cc): Likewise.
8070         (CFLAGS-tst-lfschk1.c): Likewise.
8071         (CFLAGS-tst-lfschk2.c): Likewise.
8072         (CFLAGS-tst-lfschk3.c): Likewise.
8073         (CFLAGS-tst-lfschk4.cc): Likewise.
8074         (CFLAGS-tst-lfschk5.cc): Likewise.
8075         (CFLAGS-tst-lfschk6.cc): Likewise.
8077         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
8078         (main): Disable -Wdeprecated-declarations around calls to
8079         register_printf_function.
8081         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
8082         (do_test): Disable -Wdiv-by-zero around some calls to
8083         fwrite_unlocked and fread_unlocked.
8085         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
8086         (DIAG_POP_NEEDS_COMMENT): Likewise.
8087         (_DIAG_STR1): Likewise.
8088         (_DIAG_STR): Likewise.
8089         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
8090         * stdio-common/bug21.c: Include <libc-internal.h>.
8091         (do_test): Disable -Wformat around call to sscanf.
8092         * stdio-common/scanf14.c: Include <libc-internal.h>.
8093         (main): Disable -Wformat around some calls to scanf functions.
8095 2014-12-09  Torvald Riegel  <triegel@redhat.com>
8097         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
8099 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8101         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
8102         stack variable alignment.
8104 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
8106         [BZ #17682]
8107         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
8108         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
8109         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
8110         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
8111         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
8112         __getrlimit instead of getrlimit.
8113         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
8114         __gettimeofday instead of gettimeofday.
8115         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
8116         Likewise.
8117         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
8118         Likewise.
8119         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8120         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
8121         Remove variable.
8122         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
8123         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
8125 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8127         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
8128         for wide-character tests.
8130 2014-12-04  Roland McGrath  <roland@hack.frob.com>
8132         * io/openat64.c: #include <libc-internal.h>
8133         (__openat64): Prototypify.  Use ignore_value on MODE.
8134         * io/openat.c: Likewise.
8135         * misc/reboot.c: #include <libc-internal.h>
8136         (reboot): Prototypify.  Use ignore_value on HOWTO.
8137         * misc/ptrace.c: #include <libc-internal.h>
8138         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
8140 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
8142         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
8143         XPG4, UNIX98 and XOPEN2K.
8144         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
8145         Remove variable.
8146         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
8148 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8150         * libio/fileops.c: Use ISO C style for function definitions.
8151         * libio/iofopen.c: Likewise.
8152         * libio/wfileops.c: Likewise.
8154         [BZ #17653]
8155         * libio/fileops.c (_IO_new_file_underflow): Unset cached
8156         offset on EOF.
8157         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
8158         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
8159         (fgets_func): Function pointer to fgets and fgetws.
8160         (do_ftell_test): Add test to verify ftell value after read
8161         EOF.
8162         (do_test): Set fgets_func.
8164         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
8165         O_TRUNC flag for w and w+ modes.
8166         (do_rewind_test): Likewise.
8167         (do_ftell_test): Likewise.
8168         (do_write_test): Likewise.
8170         [BZ #17647]
8171         * libio/fileops.c (do_ftell): Seek only when there are
8172         unflushed writes.
8173         * libio/wfileops.c (do_ftell_wide): Likewise.
8174         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
8175         test case.
8176         (do_one_test): Call it.
8178 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
8180         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
8181         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
8182         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
8183         Remove variable.
8184         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
8185         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
8186         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
8188 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
8190         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
8191         Remove variable.
8192         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
8194         [BZ #17668]
8195         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
8196         as weak alias of __getifaddrs.  Use libc_hidden_weak.
8197         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8198         __freeifaddrs.  Use libc_hidden_weak.
8199         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
8200         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
8201         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8202         __freeifaddrs.  Use libc_hidden_weak.
8203         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
8204         __getifaddrs and define as weak alias of __getifaddrs.  Use
8205         libc_hidden_weak.
8206         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8207         __freeifaddrs.  Use libc_hidden_weak.
8208         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
8209         Remove variable.
8210         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
8211         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
8213 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
8215         [BZ #17601]
8216         * sysdeps/mips/start.S (__start): Use indirect jump to call
8217         __libc_start_main.
8219 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
8221         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
8223         * nptl/tst-mutex1.c: Include <stdbool.h>.
8224         [!ATTR] (ATTR_NULL): New macro.
8225         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
8226         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
8227         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
8229         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
8230         to char *.
8232         [BZ #17665]
8233         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
8234         Change conditional to [__USE_MISC].
8236         [BZ #17664]
8237         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
8238         fgets_unlocked.
8239         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
8240         __fgets_unlocked.
8241         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
8242         fgets_unlocked.
8243         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
8244         Remove variable.
8245         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
8246         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
8247         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
8248         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
8249         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
8250         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
8251         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
8252         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
8253         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
8255         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
8257 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8259         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8260         Remove strpbrk objects.
8261         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8262         (__libc_ifunc_impl_list): Remove strpbrk implementation.
8263         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
8264         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
8265         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
8266         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
8268         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8269         Remove strcspn objects.
8270         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8271         (__libc_ifunc_impl_list): Remove strcspn implementation.
8272         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
8273         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
8274         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
8275         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
8277         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8278         Remove strspn objetcs.
8279         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8280         (__libc_ifunc_impl_list): Remove strspn implementation.
8281         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
8282         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
8283         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
8284         * sysdeps/powerpc/powerpc64/strspn.S: New file.
8286 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
8288         [BZ #17581]
8289         * malloc/hooks.c
8290         (mem2mem_check): Add a terminator to the chain of checking blocks.
8291         (malloc_check_get_size): Use it here.
8292         (mem2chunk_check): Ditto.
8294 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8296         * sysdeps/powerpc/powerpc64/strtok.S: New file.
8297         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
8299 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
8301         * bits/ioctl-types.h: Indent preprocessor directives correctly.
8303         * nptl/nptl-init.c: Include libc-internal.h.
8304         (__pthread_initialize_minimal_internal): Use ROUND_UP.
8306         * elf/ldconfig.c (search_dir): Expand comment.
8308 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
8310         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
8311         variable.
8312         (linknamespace-symlist-stdlibs-tests): Likewise.
8313         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
8314         instead of $(objpfx)symlist-stdlibs.
8315         (linknamespace-libs-isoc): New variable.
8316         (linknamespace-libs): Use $(linknamespace-libs-isoc).
8317         (linknamespace-libs-ISO): New variable.
8318         (linknamespace-libs-ISO99): Likewise.
8319         (linknamespace-libs-ISO11): Likewise.
8320         (linknamespace-libs-XPG3): Likewise.
8321         (linknamespace-libs-XPG4): Likewise.
8322         (linknamespace-libs-POSIX): Likewise.
8323         (linknamespace-libs-UNIX98): Likewise.
8324         (linknamespace-libs-XOPEN2K): Likewise.
8325         (linknamespace-libs-POSIX2008): Likewise.
8326         (linknamespace-libs-XOPEN2K8): Likewise.
8327         ($(objpfx)symlist-stdlibs): Replace by
8328         $(linknamespace-symlist-stdlibs-tests).  Use
8329         $(linknamespace-libs-$*) as set of libraries.
8330         ($(linknamespace-header-tests)): Update dependencies.  Use
8331         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
8332         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
8333         * conform/linknamespace.pl: Remove comment about considering
8334         definitions of symbols from irrelevant libraries.
8336 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
8338         [BZ #13862]
8339         * elf/dl-tls.c: Include <atomic.h>.
8340         (oom): Remove #ifdef SHARED/#endif.
8341         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
8342         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
8343         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
8344         big enough.
8345         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
8346         * nptl/Makefile (tests): Add tst-stack4.
8347         (modules-names): Add tst-stack4mod.
8348         ($(objpfx)tst-stack4): New.
8349         (tst-stack4mod.sos): Likewise.
8350         ($(objpfx)tst-stack4.out): Likewise.
8351         ($(tst-stack4mod.sos)): Likewise.
8352         (clean): Likewise.
8353         * nptl/tst-stack4.c: New file.
8354         * nptl/tst-stack4mod.c: Likewise.
8356 2014-11-27  J. Brown  <jb999@gmx.de>
8358         * sysdeps/x86/bits/string.h: Add recent CPUs.
8360 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
8362         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
8363         sigblock.
8365         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
8366         feof.
8368         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
8369         variable.
8371 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
8373         * nscd/connections.c: Include libc-internal.h because of macro
8374         usage ignore_value.
8376 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8378         * string/bits/string3.h (__warn_memset_zero_len): Don't
8379         declare for gcc newer than 5.0.
8380         (memset): Don't test for zero-length __LEN for gcc newer than
8381         5.0.
8383 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
8385         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
8386         size_t for %zu format.
8388         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
8389         difference, not %ju.
8391 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
8393         * include/libc-internal.h (ignore_value): New macro.
8394         * nscd/connections.c (restart): Wrap calls to setuid and setgid
8395         with ignore_value.
8397         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
8398         definition.
8400         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
8401         pthread_cleanup_push to void *.
8403         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
8404         Undefine.
8406         [BZ #16619]
8407         [BZ #16740]
8408         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
8409         instead of 1L << 52.
8411         * libio/bug-rewind.c (do_test): Check fwscanf return values.
8412         * libio/bug-rewind2.c (do_test): Likewise.
8414         * debug/test-stpcpy_chk-ifunc.c: Remove file.
8415         * debug/test-strcpy_chk-ifunc.c: Likewise.
8416         * wcsmbs/test-wcschr-ifunc.c: Likewise.
8417         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
8418         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
8419         * wcsmbs/test-wcslen-ifunc.c: Likewise.
8420         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
8421         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
8422         * Rules [$(multi-arch) = no] (tests): Do not filter out
8423         $(tests-ifunc).
8424         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
8425         * debug/Makefile (tests-ifunc): Remove variable.
8426         (tests): Do not add $(tests-ifunc).
8427         * wcsmbs/Makefile (tests-ifunc): Remove variable.
8428         (tests): Do not add $(tests-ifunc).
8429         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
8430         [TEST_IFUNC]: Remove conditionals.
8431         * string/test-string.h (TEST_IFUNC): Remove macro.
8432         [TEST_IFUNC]: Remove conditionals.
8434         * string/test-strchr.c [!WIDE] (L): New macro.
8435         [WIDE] (L): Likewise.
8436         (check1): Use CHAR instead of char.  Use L on string and character
8437         constants.
8439 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
8441         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
8442         tests.
8443         * sysdeps/powerpc/bits/atomic.h
8444         (__arch_atomic_exchange_and_add_32_acq): Add definition.
8445         (__arch_atomic_exchange_and_add_32_rel): Likewise.
8446         (atomic_exchange_and_add_acq): Likewise.
8447         (atomic_exchange_and_add_rel): Likewise.
8448         * sysdeps/powerpc/powerpc32/bits/atomic.h
8449         (__arch_atomic_exchange_and_add_64_acq): Add definition.
8450         (__arch_atomic_exchange_and_add_64_rel): Likewise.
8451         * sysdeps/powerpc/powerpc64/bits/atomic.h
8452         (__arch_atomic_exchange_and_add_64_acq): Add definition.
8453         (__arch_atomic_exchange_and_add_64_rel): Likewise.
8455 2014-11-26  Torvald Riegel  <triegel@redhat.com>
8457         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
8458         Change synchronization of __sched_fifo_min_prio and
8459         __sched_fifo_max_prio.
8460         * nptl/pthread_mutexattr_getprioceiling.c
8461         (pthread_mutexattr_getprioceiling): Likewise.
8462         * nptl/pthread_mutexattr_setprioceiling.c
8463         (pthread_mutexattr_setprioceiling): Likewise.
8464         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
8465         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
8466         Likewise.
8468 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
8470         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
8471         void.
8473 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
8475         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
8476         third argument const.
8478 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
8480         fnmatch: work around GCC compiler warning bug with uninit var
8481         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
8482         This works around a bug with x86-64 GCC 4.9.2 and earlier
8483         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
8484         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
8485         used uninitialized in this function [-Wmaybe-uninitialized]".
8487 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
8489         * posix/bug-regex31.c (main): Return RES not 0.
8491 2014-11-25  Anton Blanchard <anton@samba.org>
8493         * sysdeps/powerpc/bits/atomic.h
8494         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
8496 2014-11-24  Sterling Augustine  <saugustine@google.com>
8498         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
8500 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
8502         [BZ #17608]
8503         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
8505 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
8507         [BZ #17633]
8508         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
8509         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
8510         variable.
8511         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
8512         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
8514 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
8516         * string/strncpy.c (strncpy): Improve performance by using memset.
8518 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
8520         * string/strcpy.c (strcpy):
8521         Improve performance by using strlen and memcpy.
8523 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
8525         * string/strcoll_l.c (get_next_seq): __always_inline.
8526         * string/strcoll_l.c (do_compare): __always_inline.
8528 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8530         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
8531         defined.
8532         * include/mqueue.h: Likewise.
8533         * include/stdlib.h: Likewise.
8535         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
8536         (get_null_defines): Adjust.
8537         * sunrpc/Makefile: Adjust comment.
8538         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
8539         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
8540         (CFLAGS-interp.c): Likewise.
8541         (CFLAGS-ldconfig.c): Likewise.
8542         (CPPFLAGS-.os): Likewise.
8543         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8544         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
8545         * extra-modules.mk (extra-modules.mk): Likewise.
8546         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
8547         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
8548         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
8549         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
8550         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
8551         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
8552         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
8553         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
8554         * iconvdata/Makefile (CPPFLAGS): Likewise.
8555         (cpp-srcs-left): Add libof for all iconvdata routines.
8556         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
8557         * include/assert.h: Likewise.
8558         * include/ctype.h: Likewise.
8559         * include/errno.h: Likewise.
8560         * include/libc-symbols.h: Likewise.
8561         * include/math.h: Likewise.
8562         * include/netdb.h: Likewise.
8563         * include/resolv.h: Likewise.
8564         * include/stdio.h: Likewise.
8565         * include/stdlib.h: Likewise.
8566         * include/string.h: Likewise.
8567         * include/sys/stat.h: Likewise.
8568         * include/wctype.h: Likewise.
8569         * intl/l10nflist.c: Likewise.
8570         * libidn/idn-stub.c: Likewise.
8571         * libio/libioP.h: Likewise.
8572         * nptl/libc_multiple_threads.c: Likewise.
8573         * nptl/pthreadP.h: Likewise.
8574         * posix/regex_internal.h: Likewise.
8575         * resolv/res_hconf.c: Likewise.
8576         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
8577         * sysdeps/arm/memmove.S: Likewise.
8578         * sysdeps/arm/sysdep.h: Likewise.
8579         * sysdeps/generic/_itoa.h: Likewise.
8580         * sysdeps/generic/symbol-hacks.h: Likewise.
8581         * sysdeps/gnu/errlist.awk: Likewise.
8582         * sysdeps/gnu/errlist.c: Likewise.
8583         * sysdeps/i386/i586/memcpy.S: Likewise.
8584         * sysdeps/i386/i586/memset.S: Likewise.
8585         * sysdeps/i386/i686/memcpy.S: Likewise.
8586         * sysdeps/i386/i686/memmove.S: Likewise.
8587         * sysdeps/i386/i686/mempcpy.S: Likewise.
8588         * sysdeps/i386/i686/memset.S: Likewise.
8589         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8590         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8591         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
8592         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
8593         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8594         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8595         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
8596         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8597         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8598         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8599         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8600         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8601         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8602         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8603         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8604         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8605         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
8606         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
8607         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
8608         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8609         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8610         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8611         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8612         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8613         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8614         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8615         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
8616         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8617         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
8618         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
8619         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8620         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8621         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8622         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8623         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8624         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8625         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8626         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8627         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8628         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8629         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8630         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8631         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8632         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
8633         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8634         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8635         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
8636         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
8637         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8638         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8639         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8640         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
8641         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
8642         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8643         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8644         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
8645         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8646         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
8647         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
8648         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8649         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8650         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8651         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
8652         * sysdeps/nptl/bits/libc-lock.h: Likewise.
8653         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
8654         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
8655         * sysdeps/posix/closedir.c: Likewise.
8656         * sysdeps/posix/opendir.c: Likewise.
8657         * sysdeps/posix/readdir.c: Likewise.
8658         * sysdeps/posix/rewinddir.c: Likewise.
8659         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
8660         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
8661         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
8662         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8663         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8664         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
8665         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
8666         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
8667         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
8668         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
8669         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
8670         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
8671         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
8672         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
8673         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
8674         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
8675         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
8676         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
8677         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
8678         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
8679         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
8680         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
8681         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
8682         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
8683         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
8684         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
8685         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
8686         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
8687         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
8688         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
8689         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
8690         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
8691         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
8692         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
8693         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
8694         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
8695         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8696         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8697         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
8698         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
8699         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
8700         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
8701         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
8702         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
8703         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
8704         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
8705         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
8706         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
8707         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
8708         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
8709         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
8710         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
8711         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
8712         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
8713         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
8714         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
8715         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
8716         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
8717         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
8718         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
8719         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
8720         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
8721         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
8722         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
8723         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
8724         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
8725         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
8726         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
8727         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
8728         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
8729         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
8730         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
8731         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
8732         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
8733         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
8734         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
8735         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
8736         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
8737         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
8738         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
8739         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
8740         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8741         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
8742         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
8743         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
8744         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
8745         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
8746         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8747         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8748         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8749         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
8750         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
8751         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
8752         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8753         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8754         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
8755         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8756         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8757         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
8758         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
8759         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8760         * sysdeps/unix/alpha/sysdep.S: Likewise.
8761         * sysdeps/unix/alpha/sysdep.h: Likewise.
8762         * sysdeps/unix/make-syscalls.sh: Likewise.
8763         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8764         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8765         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8766         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
8767         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8768         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
8769         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
8770         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8771         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8772         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
8773         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8774         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8775         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8776         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
8777         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8778         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
8779         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8780         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
8781         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
8782         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8783         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
8784         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8785         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8786         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8787         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8788         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8789         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
8791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
8792         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
8793         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8794         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8795         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8796         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8797         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8798         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8799         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8800         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8801         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8802         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
8803         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8804         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8805         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8806         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8807         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8808         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8809         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8810         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8811         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8812         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8813         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8814         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8815         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8816         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8817         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
8818         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8819         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8820         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8821         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
8822         * sysdeps/x86_64/memcpy.S: Likewise.
8823         * sysdeps/x86_64/memmove.c: Likewise.
8824         * sysdeps/x86_64/memset.S: Likewise.
8825         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
8826         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8827         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8828         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
8829         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
8830         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8831         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8832         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8833         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8834         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8835         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8836         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8837         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
8838         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8839         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8840         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
8841         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8842         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8843         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8844         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8845         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
8846         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8847         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8848         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8849         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8850         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8851         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8852         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
8853         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
8854         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8855         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
8856         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8857         * sysdeps/x86_64/strcmp.S: Likewise.
8859         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
8861         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
8862         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
8863         * elf/rtld-Rules: Likewise.
8864         * elf/setup-vdso.h: Likewise.
8865         * include/assert.h: Likewise.
8866         * include/bits/stdlib-float.h: Likewise.
8867         * include/errno.h: Likewise.
8868         * include/sys/stat.h: Likewise.
8869         * include/unistd.h: Likewise.
8870         * sysdeps/aarch64/setjmp.S: Likewise.
8871         * sysdeps/alpha/setjmp.S: Likewise.
8872         * sysdeps/arm/__longjmp.S: Likewise.
8873         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
8874         * sysdeps/arm/setjmp.S: Likewise.
8875         * sysdeps/arm/sysdep.h: Likewise.
8876         * sysdeps/generic/_itoa.h: Likewise.
8877         * sysdeps/generic/dl-sysdep.h: Likewise.
8878         * sysdeps/generic/ldsodefs.h: Likewise.
8879         * sysdeps/i386/dl-tls.h: Likewise.
8880         * sysdeps/i386/setjmp.S: Likewise.
8881         * sysdeps/m68k/setjmp.c: Likewise.
8882         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
8883         * sysdeps/mach/hurd/opendir.c: Likewise.
8884         * sysdeps/posix/getcwd.c: Likewise.
8885         * sysdeps/posix/opendir.c: Likewise.
8886         * sysdeps/posix/profil.c: Likewise.
8887         * sysdeps/powerpc/dl-procinfo.h: Likewise.
8888         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8889         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8890         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8891         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8892         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
8893         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
8894         * sysdeps/s390/dl-tls.h: Likewise.
8895         * sysdeps/s390/s390-32/setjmp.S: Likewise.
8896         * sysdeps/s390/s390-64/setjmp.S: Likewise.
8897         * sysdeps/sh/sh3/setjmp.S: Likewise.
8898         * sysdeps/sh/sh4/setjmp.S: Likewise.
8899         * sysdeps/unix/alpha/sysdep.h: Likewise.
8900         * sysdeps/unix/arm/sysdep.S: Likewise.
8901         * sysdeps/unix/i386/sysdep.S: Likewise.
8902         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8903         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
8904         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8905         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8906         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8907         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
8908         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8909         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8910         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
8911         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
8912         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
8913         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8914         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8917         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8918         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8919         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8920         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8921         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8922         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8923         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8924         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8925         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8926         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8927         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8928         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8929         * sysdeps/unix/x86_64/sysdep.S: Likewise.
8930         * sysdeps/x86_64/setjmp.S: Likewise.
8932         * include/math.h: Use IS_IN instead of IS_IN_libm.
8933         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
8934         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8935         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8936         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
8937         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8938         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8939         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8940         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8941         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8942         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8943         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
8944         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
8945         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
8946         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
8947         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
8948         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
8949         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
8950         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
8951         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
8952         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
8953         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
8954         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
8955         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
8956         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
8957         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
8958         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
8959         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
8960         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
8961         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
8962         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
8963         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
8964         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
8965         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
8966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
8967         Likewise.
8968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
8969         Likewise.
8970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
8971         Likewise.
8972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
8973         Likewise.
8974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
8975         Likewise.
8976         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
8977         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
8978         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
8979         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8980         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8981         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
8983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
8984         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
8985         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
8986         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
8987         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
8988         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
8989         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
8990         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
8991         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8992         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8993         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8994         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8995         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
8996         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
8997         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
8998         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
8999         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
9000         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
9001         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
9002         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
9004         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
9005         * nptl/pthreadP.h: Likewise.
9006         * nptl_db/structs.def: Likewise.
9007         * sysdeps/arm/sysdep.h: Likewise.
9008         * sysdeps/nptl/bits/libc-lock.h: Likewise.
9009         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
9010         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
9011         * sysdeps/unix/alpha/sysdep.h: Likewise.
9012         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9013         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9014         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9015         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9016         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9017         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9018         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9019         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9020         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9021         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9022         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9023         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9024         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9025         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
9027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
9028         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9029         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9030         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9031         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9032         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9033         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9034         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9035         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9036         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
9037         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9039         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
9040         * nptl/pthreadP.h: Likewise.
9041         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9042         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9043         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9044         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9045         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9046         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9047         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9048         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9049         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9050         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9051         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9052         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9054         Likewise.
9055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9056         Likewise.
9057         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9058         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9059         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9060         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9061         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9062         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9063         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9064         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9066         * dlfcn/dladdr.c: Use IS_IN.
9067         * dlfcn/dladdr1.c: Likewise.
9068         * dlfcn/dlclose.c: Likewise.
9069         * dlfcn/dlerror.c: Likewise.
9070         * dlfcn/dlinfo.c: Likewise.
9071         * dlfcn/dlmopen.c: Likewise.
9072         * dlfcn/dlopen.c: Likewise.
9073         * dlfcn/dlsym.c: Likewise.
9074         * dlfcn/dlvsym.c: Likewise.
9076         * include/ifaddrs.h: Use IS_IN.
9077         * inet/check_pf.c: Likewise.
9078         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9079         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
9081         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
9082         IS_IN_ldconfig.
9083         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
9084         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
9086         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
9087         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
9088         IS_IN (libc).
9090         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
9092         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
9093         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9094         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
9095         * include/libc-symbols.h (IS_IN_LIB): New macro.
9096         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
9097         * include/netdb.h: Likewise.
9098         * include/stap-probe.h: Remove all uses of IN_LIB.
9100         * Makeconfig (module-cppflags-real): Define MODULE_NAME
9101         instead of IN_MODULE.
9102         * include/libc-symbols.h (IN_MODULE): Define using
9103         MODULE_NAME.
9104         (PASTE_NAME, PASTE_NAME1): New macros.
9105         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
9106         of IN_LIB.
9107         (STAP_PROBE_ASM): Likewise.
9109 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9111         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
9112         __mach_init in dlopened libc.
9114 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
9116         * sysdeps/arm/preconfigure.ac: Delete EABI check.
9117         * sysdeps/arm/preconfigure: Regenerate.
9119 2014-11-21  Roland McGrath  <roland@hack.frob.com>
9121         * nptl/pthread_create.c (__pthread_create_2_1): Set
9122         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
9123         when copying values from IATTR into PD.
9125 2014-11-21  Will Newton  <will.newton@linaro.org>
9126             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
9128         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
9129         Refactor inline-asm.  Also add comment.
9131         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
9132         ElfW macro instead of hardcoded Elf64 types.
9133         (la_aarch64_gnu_pltenter): Likewise.
9134         * sysdeps/aarch64/dl-machine.h
9135         (elf_machine_runtime_setup): Use ElfW(Addr).
9137         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
9138         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
9139         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
9140         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
9141         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
9142         (R_AARCH64_TLS_DTPMOD64): Rename to ..
9143         (R_AARCH64_TLS_DTPMOD): This.
9144         (R_AARCH64_TLS_DTPREL64): Rename to ...
9145         (R_AARCH64_TLS_DTPREL): This.
9146         (R_AARCH64_TLS_TPREL64): Rename to ...
9147         (R_AARCH64_TLS_TPREL): This.
9148         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
9149         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
9150         R_AARCH64_TLS_TPREL64.
9151         (elf_machine_rela): Likewise.
9153 2014-11-21  Torvald Riegel  <triegel@redhat.com>
9155         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
9156         by setting it to 0.  64b atomics are not supported currently.
9158 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9160         [BZ #16469]
9161         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
9162         search domain names.
9164 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9166         [BZ #16469]
9167         * NEWS: Update.
9168         * resolv/res_query.c (__libc_res_nquerydomain): Retain
9169         trailing dot.
9170         * posix/tst-getaddrinfo5.c: New.
9171         * posix/Makefile (tests): Add it.
9173 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9175         [BZ #14498]
9176         * NEWS: Fixed.
9177         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
9178         after parsing line but before break_if_match.
9179         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
9180         if there is a protocol mismatch.
9182 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
9184         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
9185         because the potential race is on the user-supplied stream.
9187 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9189         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
9190         string literal if not passed a buffer.
9191         * manual/job.texi (ctermid): Update reasoning, note deviation
9192         from posix, suggest mtasurace when not passed a buffer, for
9193         future non-preliminary safety notes.
9195 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9197         * manual/users.texi (cuserid): Fix MT-Safety note for the case
9198         of not passing it a buffer.
9199         Reported by Peng Haitao.
9201 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9203         * manual/Makefile ($(objpfx)stamp-summary): Require
9204         check-safety.sh to pass.
9205         * manual/check-safety.sh: Wish for verification that every
9206         @deftypefn and @deftypefun is followed by a @safety remark.
9208 2014-11-20  Roland McGrath  <roland@hack.frob.com>
9210         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
9212         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
9213         PTHREAD_CANCEL_ASYNCHRONOUS.
9214         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
9215         send SIGCANCEL.
9217         * nptl/default-sched.h: New file.
9218         * sysdeps/unix/sysv/linux/default-sched.h: New file.
9219         * nptl/pthread_create.c: Include it.
9220         (__pthread_create_2_1): Use collect_default_sched instead of making
9221         Linux syscalls here directly.
9223 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9225         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
9226         __pthread_once): Use C11 atomics.
9228 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9230         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
9232 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9234         * include/atomic.h (__atomic_link_error, __atomic_check_size,
9235         atomic_thread_fence_acquire, atomic_thread_fence_release,
9236         atomic_thread_fence_seq_cst, atomic_load_relaxed,
9237         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
9238         atomic_compare_exchange_weak_relaxed,
9239         atomic_compare_exchange_weak_acquire,
9240         atomic_compare_exchange_weak_release,
9241         atomic_exchange_acquire, atomic_exchange_release,
9242         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
9243         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
9244         atomic_fetch_and_acquire,
9245         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
9247 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9249         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
9250         USE_ATOMIC_COMPILER_BUILTINS): Define.
9251         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
9252         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9253         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
9254         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9255         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
9256         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9257         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
9258         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9259         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
9260         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9261         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
9262         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9263         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
9264         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9265         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
9266         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9267         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
9268         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9269         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
9270         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9271         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
9272         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9273         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
9274         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9275         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
9276         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9277         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
9278         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9279         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
9280         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9281         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
9282         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9283         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
9284         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9285         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
9286         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9287         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
9288         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9289         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
9290         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9292 2014-11-19  Roland McGrath  <roland@hack.frob.com>
9294         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
9295         the sched_priority value here.  It was already checked when the user
9296         called pthread_attr_setschedparam.
9298         * nptl/tst-bad-schedattr.c: New file.
9299         * nptl/Makefile (tests): Add it.
9301 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
9302             Florian Weimer  <fweimer@redhat.com>
9303             Joseph Myers  <joseph@codesourcery.com>
9304             Adam Conrad  <adconrad@0c3.net>
9305             Andreas Schwab  <schwab@suse.de>
9306             Brooks  <bmoses@google.com>
9308         [BZ #17625]
9309         * wordexp-test.c (__dso_handle): Add prototype.
9310         (__register_atfork): Likewise.
9311         (__app_register_atfork): New function.
9312         (registered_forks): New global.
9313         (register_fork): New function.
9314         (test_case): Add 3 new tests for WRDE_CMDSUB.
9315         (main): Call __app_register_atfork.
9316         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
9317         fork count is non-zero fail the test.
9318         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
9319         is set.
9320         (parse_dollars): Remove check for WRDE_NOCMD.
9321         (parse_dquote): Likewise.
9323 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9325         * Makeconfig (built-modules): List non-library modules to be
9326         built.
9327         (module-cppflags): Include libc-modules.h for
9328         everything except shlib-versions.v.i.
9329         (CPPFLAGS): Use it.
9330         (before-compile): Add libc-modules.h.
9331         ($(common-objpfx)libc-modules.h,
9332         $(common-objpfx)libc-modules.stmp): New targets.
9333         (common-generated): Add libc-modules.h and libc-modules.stmp.
9334         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
9335         * include/libc-symbols.h: Don't include libc-modules.h.
9336         * include/libc-modules.h: Remove file.
9337         * scripts/gen-libc-modules.awk: New script to generate
9338         libc-modules.h.
9339         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
9340         Depend on libc-modules.stmp.
9342         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
9344         * Makeconfig (in-module): Get value of libof set for the
9345         translation unit.
9346         (CPPFLAGS): Use $(in-module).
9347         * Makerules: Don't suffix routine names for nonlib.
9348         * include/libc-modules.h: New file.
9349         * include/libc-symbols.h: Include libc-modules.h
9350         (IS_IN): New macro to replace IS_IN_* macros.
9351         * elf/Makefile: Set libof-* for each routine.
9352         * elf/rtld-Rules: Likewise.
9353         * extra-modules.mk: Likewise.
9354         * iconv/Makefile: Likewise.
9355         * iconvdata/Makefile: Likewise.
9356         * locale/Makefile: Likewise.
9357         * malloc/Makefile: Likewise.
9358         * nss/Makefile: Likewise.
9359         * sysdeps/gnu/Makefile: Likewise.
9360         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
9361         * sysdeps/unix/sysv/linux/Makefile: Likewise.
9362         * sysdeps/s390/s390-64/Makefile: Likewise.
9363         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
9364         CPPFLAGS for nscd instead of nonlib.
9366 2014-11-18  Roland McGrath  <roland@hack.frob.com>
9368         * nptl/createthread.c: New file.
9370         * nptl/createthread.c: Moved ...
9371         * sysdeps/unix/sysv/linux/createthread.c: ... here.
9373         * nptl/createthread.c: Add proper top-line comment.
9374         (do_clone): Folded into ...
9375         (create_thread): ... here.  Take new arguments STOPPED_START and
9376         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
9377         increment __nptl_threads, do event-reporting logic, do
9378         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
9379         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
9380         resource cleanup if sched_setaffinity or sched_setscheduler fails,
9381         just send SIGCANCEL.
9382         * nptl/pthread_create.c: Forward-declare create_thread before
9383         including createthread.c.
9384         (start_thread): Use new macro START_THREAD_DEFN to replace defining
9385         declaration, and new macro START_THREAD_SELF to replace argument.
9386         Remove return statement.
9387         (report_thread_creation): New function.
9388         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
9389         synchronization logic, and __nptl_nthreads increment here, around
9390         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
9391         PD->parent_cancelhandling here, before create_thread.  When
9392         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
9393         __deallocate_stack, and ENOMEM translation here.
9395 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
9397         [BZ #17616]
9398         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
9399         (mptwo): Rename to __mptwo.
9400         (__inv): Use __mptwo instead of mptwo.
9401         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
9402         (mptwo): Rename to __mptwo.
9403         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
9404         of mpone and __mptwo instead of mptwo.
9405         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
9406         instead of mpone.
9407         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9408         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
9409         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
9410         of mpone and __mptwo instead of mptwo.
9411         (__mpranred): Use __mpone instead of mpone.
9412         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
9413         variable.
9414         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
9415         (test-xfail-ISO99/math.h/linknamespace): Likewise.
9416         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
9417         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
9418         (test-xfail-ISO11/math.h/linknamespace): Likewise.
9419         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
9420         (test-xfail-XPG3/math.h/linknamespace): Likewise.
9421         (test-xfail-XPG4/math.h/linknamespace): Likewise.
9422         (test-xfail-POSIX/math.h/linknamespace): Likewise.
9423         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
9424         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
9425         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
9426         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
9427         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
9428         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
9429         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
9430         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
9431         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
9432         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
9434 2014-11-18  Tom de Vries  <tom@codesoucery.com>
9436         * manual/signal.texi (Primitives Interrupted by Signals): In section,
9437         replace BSD Handler xref with BSD Signal Handling.
9439 2014-11-17  Richard Henderson  <rth@redhat.com>
9441         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
9442         (_FP_PACK_RAW_2): Remove.
9443         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
9444         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
9445         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
9446         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
9447         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
9448         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
9449         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
9450         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
9451         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
9452         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
9453         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
9454         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
9455         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
9456         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
9457         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
9458         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
9460 2014-11-14  Roland McGrath  <roland@hack.frob.com>
9462         * signal/signal.h [__USE_MISC]
9463         (struct sigvec): Remove type.
9464         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
9465         (sigvec): Remove declaration.
9466         * sysdeps/posix/sigvec.c: Moved ...
9467         * signal/sigvec.c: ... here, replacing old file.
9468         (struct sigvec): New type, copied from old signal.h definition.
9469         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
9470         (__sigvec): Convert definition to prototype.
9471         (sigvec): Replace weak_alias with compat_symbol.
9472         * signal/Versions (libc: GLIBC_2.21): New version set.
9473         * include/signal.h: Remove __sigvec declaration.
9474         * sysdeps/unix/bsd/sigvec.c: Remove file.
9475         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
9476         * manual/signal.texi (BSD Handler): Remove subsection.
9477         Move siginterrupt up to ...
9478         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
9479         (Blocking in BSD): Fold subsection into its parent.
9480         * NEWS: Mention sigvec removal.
9482 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
9484         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
9485         (DLA_FMS): Make definition conditional only on [__FMA4__].
9486         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
9487         definition.
9489         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
9490         Make definition conditional only on [PROF].
9491         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
9492         definition.
9493         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
9494         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
9496         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
9497         !__GNUC__].
9498         * include/signal.h (__sigpause): Move declaration above call to
9499         libc_hidden_proto.
9500         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
9501         variable.
9502         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
9503         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
9505 2014-11-14  David S. Miller  <davem@davemloft.net>
9507         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
9508         Define before including <string/memcpy.c> and <string/mempcpy.c>.
9510 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
9512         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
9513         * configure: Regenerated.
9514         * manual/install.texi (Tools for Compilation): Document a
9515         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
9516         compiler verified to work.
9517         * INSTALL: Regenerated.
9519         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
9520         redeclare with asm name.
9521         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
9522         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
9523         including <string.h>.
9524         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9525         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
9526         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9527         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
9528         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9529         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
9530         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9532 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
9534         * stdlib/strtol.c (__strtol): Use prototype definition.
9536         [BZ #17594]
9537         * stdlib/strtol.c (SYM__): New macro.
9538         (SYM__1): Likewise.
9539         (__strtol): Likewise.
9540         (strtol): Rename to __strtol and define as weak alias of
9541         __strtol.  Use libc_hidden_weak.
9543 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9545         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
9546         Use numbered labels in inline assembly.
9548 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9550         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
9551         Add setjmp LIBC_PROBE.
9552         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
9553         Likewise.
9554         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
9555         Add longjmp, longjmp_target LIBC_PROBE.
9556         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
9557         Likewise.
9559 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9561         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
9562         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
9563         to get rid of unused variable warning.
9565 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9567         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
9568         Check for unwind_backtrace ==  NULL only in SHARED case.
9569         (__backchain_backtrace): Compile only in SHARED case.
9570         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
9571         Likewise.
9572         (__backchain_backtrace): Declare as static.
9574 2014-11-12  Roland McGrath  <roland@hack.frob.com>
9576         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
9577         (__libc_multiple_threads_ptr): Variable moved ...
9578         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
9580 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
9582         * conform/GlibcConform.pm: New file.
9583         * conform/conformtest.pl: Use GlibcConform module.
9584         * conform/linknamespace.pl: New file.
9585         * conform/list-header-symbols.pl: Likewise.
9586         * conform/Makefile (linknamespace-symlists-base): New variable.
9587         (linknamespace-symlists-tests): Likewise.
9588         (linknamespace-header-base): Likewise.
9589         (linknamespace-header-tests): Likewise.
9590         (tests-special): Add new tests.
9591         ($(linknamespace-symlists-tests)): New rule.
9592         (linknamespace-libs): New variable.
9593         ($(objpfx)symlist-stdlibs): New rule.
9594         ($(linknamespace-header-tests)): Likewise.
9595         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
9596         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
9597         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
9598         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
9599         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
9600         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
9601         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
9602         (test-xfail-ISO/math.h/linknamespace): Likewise.
9603         (test-xfail-ISO/signal.h/linknamespace): Likewise.
9604         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
9605         (test-xfail-ISO/time.h/linknamespace): Likewise.
9606         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
9607         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
9608         (test-xfail-ISO99/math.h/linknamespace): Likewise.
9609         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
9610         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
9611         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
9612         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
9613         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
9614         (test-xfail-ISO11/math.h/linknamespace): Likewise.
9615         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
9616         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
9617         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
9618         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
9619         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
9620         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
9621         (test-xfail-XPG3/math.h/linknamespace): Likewise.
9622         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
9623         (test-xfail-XPG3/search.h/linknamespace): Likewise.
9624         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
9625         (test-xfail-XPG3/time.h/linknamespace): Likewise.
9626         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
9627         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
9628         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
9629         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
9630         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
9631         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
9632         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
9633         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
9634         (test-xfail-XPG4/math.h/linknamespace): Likewise.
9635         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
9636         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
9637         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
9638         (test-xfail-XPG4/search.h/linknamespace): Likewise.
9639         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
9640         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
9641         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
9642         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
9643         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
9644         (test-xfail-XPG4/time.h/linknamespace): Likewise.
9645         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
9646         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
9647         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
9648         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
9649         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
9650         (test-xfail-POSIX/math.h/linknamespace): Likewise.
9651         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
9652         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
9653         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
9654         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
9655         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
9656         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
9657         (test-xfail-POSIX/time.h/linknamespace): Likewise.
9658         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
9659         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
9660         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
9661         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
9662         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
9663         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
9664         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
9665         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
9666         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
9667         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
9668         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
9669         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
9670         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
9671         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
9672         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
9673         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
9674         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
9675         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
9676         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
9677         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
9678         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
9679         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
9680         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
9681         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
9682         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
9683         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
9684         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
9685         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
9686         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
9687         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
9688         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
9689         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
9690         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
9691         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
9692         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
9693         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
9694         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
9695         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
9696         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
9697         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
9698         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
9699         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
9700         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
9701         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
9702         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
9703         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
9704         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
9705         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
9706         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
9707         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
9708         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
9709         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
9710         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
9711         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
9712         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
9713         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
9714         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
9715         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
9716         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
9717         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
9718         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
9719         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
9720         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
9721         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
9722         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
9723         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
9724         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
9725         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
9726         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
9727         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
9728         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
9729         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
9730         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
9731         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
9732         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
9733         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
9734         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
9735         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
9736         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
9737         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
9738         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
9739         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
9740         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
9741         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
9742         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
9743         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
9744         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
9745         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
9746         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
9747         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
9748         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
9749         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
9750         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
9751         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
9752         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
9753         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
9754         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
9755         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
9757         [BZ #17589]
9758         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
9759         of fgets_unlocked.
9761         [BZ #17585]
9762         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
9763         (memmem): Rename to __memmem and define as weak alias of
9764         __memmem.  Use libc_hidden_weak.
9765         (__memmem): Use libc_hidden_def.
9766         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
9767         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
9768         memmem.
9770         [BZ #17582]
9771         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
9772         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
9773         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
9774         and define as weak alias of __fgets_unlocked.  Use
9775         libc_hidden_weak.
9776         (__fgets_unlocked): Use libc_hidden_def.
9777         * include/stdio.h (__fgets_unlocked): Declare.  Use
9778         libc_hidden_proto.
9779         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
9780         __fgets_unlocked instead of fgets_unlocked.
9781         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
9782         (GET_NPROCS_CONF_PARSER): Likewise.
9783         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
9784         (GET_NPROCS_CONF_PARSER): Likewise.
9786         [BZ #17574]
9787         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
9788         weak alias of __wmemset.  Use libc_hidden_weak.
9789         (__wmemset): Use libc_hidden_def.
9790         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
9791         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
9792         of wmemset.
9794         [BZ #17573]
9795         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
9796         with asm name __mempcpy.
9797         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
9799         [BZ #17572]
9800         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
9801         and define as weak alias of __rawmemchr.
9802         (__rawmemchr): Do not define as strong alias of rawmemchr.
9804         [BZ #17571]
9805         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
9806         alias of __qsort_r.
9807         (qsort): Call __qsort_r instead of qsort_r.
9808         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
9809         (__qsort_r): Declare.  Call libc_hidden_proto.
9810         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
9811         instead of qsort_r.
9812         * nscd/gai.c (__qsort_r): Define to qsort_r.
9813         * posix/tst-rfc3484.c (__qsort_r): Likewise.
9814         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
9815         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
9817         [BZ #17570]
9818         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
9819         define as weak alias of __malloc_info.
9821         [BZ #17584]
9822         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
9823         as weak alias of __rewinddir.  Don't use libc_hidden_def.
9824         (__rewinddir): Use libc_hidden_def.
9825         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
9826         as weak alias of __rewinddir.  Don't use libc_hidden_def.
9827         (__rewinddir): Use libc_hidden_def.
9828         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
9829         weak alias of __rewinddir.  Don't use libc_hidden_def.
9830         (__rewinddir): Use libc_hidden_def.
9831         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
9832         (__rewinddir): Use libc_hidden_proto.
9833         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
9834         rewinddir.
9835         (__getcwd): Use __rewinddir instead of rewinddir.
9837         [BZ #17583]
9838         * libio/fileno.c (fileno): Rename to __fileno and define as weak
9839         alias of __fileno.  Use libc_hidden_weak.
9840         (__fileno): Use libc_hidden_def.
9841         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
9842         * libio/ftello.c (ftello): Rename to __ftello and define as weak
9843         alias of __ftello.
9844         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
9845         __ftello.
9846         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
9847         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
9848         libc_hidden_def.
9849         (fread_unlocked): Don't use libc_hidden_ver.
9850         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
9851         and define as weak alias of __fread_unlocked.  Don't use
9852         libc_hidden_def.
9853         (__fread_unlocked): Use libc_hidden_def.
9854         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
9855         (ftello): Don't use libc_hidden_proto.
9856         (__ftello): Declare.  Use libc_hidden_proto.
9857         (fread_unlocked): Don't use libc_hidden_proto.
9858         (__fread_unlocked): Declare.  Use libc_hidden_proto.
9859         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
9860         and __ftello instead of fileno, fread_unlocked and ftello.
9862 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9864         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
9865         GOT12.
9866         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
9867         Likewise.
9868         (_dl_start_user): Likewise.
9869         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
9871 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
9872             Siddhesh Poyarekar  <siddhesh@redhat.com>
9874         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
9875         Move argv and envp down instead of moving argc up.
9876         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
9878 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
9880         [BZ #17506]
9881         * test-skeleton.c (main): Return successful if one of
9882         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
9883         * string/tst-strcoll-overflow.c: Define expected status.
9885 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
9887         [BZ #17475]
9888         * locale/iso-639.def: Define Bhili and Tulu language codes.
9890 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
9892         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
9894 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
9896         [BZ #17555]
9897         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
9899 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
9901         * configure.ac: Updated check of minimal required version to
9902         2.22.
9903         * manual/install.texi (Tools for Compilation): Updated version
9904         number.
9905         * configure: Regenerated.
9906         * INSTALL: Likewise.
9908 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
9910         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
9911         __tls_get_addr.
9913 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
9915         * include/sys/wait.h (__libc_waitpid): Remove declaration.
9916         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
9917         (__waitpid): Don't define as alias.  Use libc_hidden_def not
9918         libc_hidden_weak.
9919         (waitpid): Define as alias of __waitpid.
9920         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
9921         __waitpid.
9922         (__waitpid): Don't define as alias.  Use libc_hidden_def not
9923         libc_hidden_weak.
9924         (waitpid): Define as alias of __waitpid.
9925         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
9926         __libc_waitpid alias.
9927         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
9928         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
9929         Likewise.
9930         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
9931         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
9932         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
9933         alias.
9934         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
9935         __waitpid.
9936         (__waitpid): Don't define as alias.  Use libc_hidden_def not
9937         libc_hidden_weak.
9938         (waitpid): Define as alias of __waitpid.
9940 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
9942         * manual/llio.texi: Add comment that write safety has been
9943         fixed in Linux.
9945         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
9946         (localplt-build-dso): Add elf/ld.so.
9947         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
9948         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
9949         and free for ld.so.
9950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
9951         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
9952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
9953         Likewise.
9954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9955         Likewise.
9956         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
9957         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
9958         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
9959         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
9960         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
9961         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
9962         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
9963         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
9964         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
9965         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
9966         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
9968 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
9970         [BZ #14132]
9971         * include/libc-symbols.h (INTUSE): Remove macro.
9972         (INTDEF): Likewise.
9973         (INTVARDEF): Likewise.
9974         (_INTVARDEF): Likewise.
9975         (INTDEF2): Likewise.
9976         (INTVARDEF2): Likewise.
9977         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
9978         rtld_hidden_def instead of INTVARDEF.
9979         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
9980         (_dl_starting_up_internal): Remove declaration.
9981         (_dl_starting_up): Use rtld_hidden_proto.
9982         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
9983         declaration.
9984         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
9985         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
9986         _dl_starting_up.
9987         * elf/dl-writev.h (_dl_writev): Likewise.
9988         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
9989         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
9990         _dl_starting_up_internal.
9992 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9994         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
9995         test-skeleton.c.
9997 2014-11-05  Will Newton  <will.newton@linaro.org>
9999         * benchtests/Makefile: (bench-malloc): Add malloc thread
10000         scalability benchmark.
10001         * benchtests/bench-malloc-threads.c: New file.
10003 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
10005         * sysdeps/aarch64/strchrnul.S: New file.
10007 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10009         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
10010         definition.
10011         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
10012         Likwise.
10013         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
10014         Likewise.
10015         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
10016         Likewise.
10017         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
10018         Likewise.
10019         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
10020         Likewise.
10022 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
10024         * catgets/test-gencat.c: Use test-skeleton.c.
10025         * catgets/tst-catgets.c: Likewise.
10026         * csu/tst-empty.c: Likewise.
10027         * elf/tst-audit2.c: Likewise.
10028         * elf/tst-global1.c: Likewise.
10029         * elf/tst-pathopt.c: Likewise.
10030         * elf/tst-piemod1.c: Likewise.
10031         * elf/tst-tls10.c: Likewise.
10032         * elf/tst-tls11.c: Likewise.
10033         * elf/tst-tls12.c: Likewise.
10034         * gnulib/tst-gcc.c: Likewise.
10035         * iconvdata/tst-e2big.c: Likewise.
10036         * iconvdata/tst-loading.c: Likewise.
10037         * iconv/tst-iconv1.c: Likewise.
10038         * iconv/tst-iconv2.c: Likewise.
10039         * inet/test-inet6_opt.c: Likewise.
10040         * inet/tst-gethnm.c: Likewise.
10041         * inet/tst-network.c: Likewise.
10042         * inet/tst-ntoa.c: Likewise.
10043         * intl/tst-codeset.c: Likewise.
10044         * intl/tst-gettext2.c: Likewise.
10045         * intl/tst-gettext3.c: Likewise.
10046         * intl/tst-ngettext.c: Likewise.
10047         * intl/tst-translit.c: Likewise.
10048         * io/test-stat.c: Likewise.
10049         * libio/test-fmemopen.c: Likewise.
10050         * libio/tst-freopen.c: Likewise.
10051         * libio/tst-sscanf.c: Likewise.
10052         * libio/tst-ungetwc1.c: Likewise.
10053         * libio/tst-ungetwc2.c: Likewise.
10054         * libio/tst-widetext.c: Likewise.
10055         * localedata/tst-ctype.c: Likewise.
10056         * localedata/tst-digits.c: Likewise.
10057         * localedata/tst-leaks.c: Likewise.
10058         * localedata/tst-mbswcs1.c: Likewise.
10059         * localedata/tst-mbswcs2.c: Likewise.
10060         * localedata/tst-mbswcs3.c: Likewise.
10061         * localedata/tst-mbswcs4.c: Likewise.
10062         * localedata/tst-mbswcs5.c: Likewise.
10063         * localedata/tst-setlocale.c: Likewise.
10064         * localedata/tst-trans.c: Likewise.
10065         * localedata/tst-wctype.c: Likewise.
10066         * localedata/tst-xlocale1.c: Likewise.
10067         * login/tst-grantpt.c: Likewise.
10068         * malloc/tst-calloc.c: Likewise.
10069         * malloc/tst-malloc.c: Likewise.
10070         * malloc/tst-mallocstate.c: Likewise.
10071         * malloc/tst-mcheck.c: Likewise.
10072         * malloc/tst-mtrace.c: Likewise.
10073         * malloc/tst-obstack.c: Likewise.
10074         * math/atest-exp2.c: Likewise.
10075         * math/atest-exp.c: Likewise.
10076         * math/atest-sincos.c: Likewise.
10077         * math/test-matherr.c: Likewise.
10078         * math/test-misc.c: Likewise.
10079         * math/test-powl.c: Likewise.
10080         * math/tst-definitions.c: Likewise.
10081         * misc/tst-dirname.c: Likewise.
10082         * misc/tst-efgcvt.c: Likewise.
10083         * misc/tst-fdset.c: Likewise.
10084         * misc/tst-hsearch.c: Likewise.
10085         * misc/tst-mntent2.c: Likewise.
10086         * nptl/tst-sem7.c: Likewise.
10087         * nptl/tst-sem8.c: Likewise.
10088         * nptl/tst-sem9.c: Likewise.
10089         * nss/test-netdb.c: Likewise.
10090         * posix/tst-fnmatch.c: Likewise.
10091         * posix/tst-getlogin.c: Likewise.
10092         * posix/tst-gnuglob.c: Likewise.
10093         * posix/tst-mmap.c: Likewise.
10094         * pwd/tst-getpw.c: Likewise.
10095         * resolv/tst-inet_ntop.c: Likewise.
10096         * rt/tst-timer.c: Likewise.
10097         * stdio-common/test-fseek.c: Likewise.
10098         * stdio-common/test-popen.c: Likewise.
10099         * stdio-common/test-vfprintf.c: Likewise.
10100         * stdio-common/tst-cookie.c: Likewise.
10101         * stdio-common/tst-fileno.c: Likewise.
10102         * stdio-common/tst-gets.c: Likewise.
10103         * stdio-common/tst-obprintf.c: Likewise.
10104         * stdio-common/tst-perror.c: Likewise.
10105         * stdio-common/tst-sprintf2.c: Likewise.
10106         * stdio-common/tst-sprintf3.c: Likewise.
10107         * stdio-common/tst-sprintf.c: Likewise.
10108         * stdio-common/tst-swprintf.c: Likewise.
10109         * stdio-common/tst-tmpnam.c: Likewise.
10110         * stdio-common/tst-unbputc.c: Likewise.
10111         * stdio-common/tst-wc-printf.c: Likewise.
10112         * stdlib/tst-environ.c: Likewise.
10113         * stdlib/tst-fmtmsg.c: Likewise.
10114         * stdlib/tst-limits.c: Likewise.
10115         * stdlib/tst-rand48-2.c: Likewise.
10116         * stdlib/tst-rand48.c: Likewise.
10117         * stdlib/tst-random2.c: Likewise.
10118         * stdlib/tst-random.c: Likewise.
10119         * stdlib/tst-strtol.c: Likewise.
10120         * stdlib/tst-strtoll.c: Likewise.
10121         * stdlib/tst-tls-atexit.c: Likewise.
10122         * stdlib/tst-xpg-basename.c: Likewise.
10123         * string/test-ffs.c: Likewise.
10124         * string/tst-bswap.c: Likewise.
10125         * string/tst-inlcall.c: Likewise.
10126         * string/tst-strtok.c: Likewise.
10127         * string/tst-strxfrm.c: Likewise.
10128         * sysdeps/x86_64/tst-audit10.c: Likewise.
10129         * sysdeps/x86_64/tst-audit3.c: Likewise.
10130         * sysdeps/x86_64/tst-audit4.c: Likewise.
10131         * sysdeps/x86_64/tst-audit5.c: Likewise.
10132         * time/tst-ftime_l.c: Likewise.
10133         * time/tst-getdate.c: Likewise.
10134         * time/tst-mktime3.c: Likewise.
10135         * time/tst-mktime.c: Likewise.
10136         * time/tst-posixtz.c: Likewise.
10137         * time/tst-strptime2.c: Likewise.
10138         * time/tst-strptime3.c: Likewise.
10139         * wcsmbs/tst-btowc.c: Likewise.
10140         * wcsmbs/tst-mbrtowc.c: Likewise.
10141         * wcsmbs/tst-mbsrtowcs.c: Likewise.
10142         * wcsmbs/tst-wchar-h.c: Likewise.
10143         * wcsmbs/tst-wcpncpy.c: Likewise.
10144         * wcsmbs/tst-wcrtomb.c: Likewise.
10145         * wcsmbs/tst-wcsnlen.c: Likewise.
10146         * wcsmbs/tst-wcstof.c: Likewise.
10148 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
10150         [BZ #14132]
10151         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
10152         INTDEF.
10153         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
10154         declaration.
10155         (_dl_mcount): Use rtld_hidden_proto.
10156         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
10157         _dl_mcount.
10158         * elf/rtld.c (_rtld_global_ro): Likewise.
10160         [BZ #14132]
10161         * elf/dl-init.c (_dl_init): Don't use INTDEF.
10162         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
10163         of _dl_init_internal.
10164         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
10165         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
10166         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
10167         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
10168         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
10169         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
10170         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
10171         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
10172         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
10173         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
10174         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
10175         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
10176         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10177         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10178         * sysdeps/tile/dl-start.S (_start): Likewise.
10179         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
10180         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
10182         [BZ #14132]
10183         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
10184         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
10185         (rtld_progname): Make macro definition unconditional.
10186         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
10187         INTDEF.
10188         (dlmopen_doit): Do not use INTUSE with _dl_argv.
10189         (dl_main): Likewise.
10190         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10191         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
10192         instead of _dl_argv_internal.
10193         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
10194         __GI__dl_argv instead of INTUSE(_dl_argv).
10195         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
10196         __GI__dl_argv instead of _dl_argv_internal.
10198         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
10199         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
10200         macro.
10201         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
10202         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
10203         New macro.
10204         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
10205         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
10206         macro.
10207         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
10208         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
10210 2014-11-04  Andreas Schwab  <schwab@suse.de>
10212         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
10214 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10216         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
10217         mtvsrd instruction in binary form.
10219 2014-11-03  Andreas Schwab  <schwab@suse.de>
10221         [BZ #17522]
10222         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
10223         for less than MB_LEN_MAX use a local buffer of that size.
10224         * libio/tst-fputws.c: New file.
10225         * libio/Makefile (tests): Add tst-fputws.
10227 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
10229         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
10230         the size of the fpu_fr.fpu_dregs[] array.
10232 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
10234         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
10235         (__nanosleep): Do not define as alias.
10236         (nanosleep): Define as alias of __nanosleep.
10237         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
10238         __libc_nanosleep name.
10240 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
10242         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
10243         install.texi in comment.
10245 2014-10-31  Torvald Riegel  <triegel@redhat.com>
10247         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
10248         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
10249         ... add here and use lwsync or sync ...
10250         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
10251         ... and add here using lwsync.
10253 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
10255         * elf/dl-machine-reject-phdr.h: New file.
10256         * elf/dl-load.c: #include that.
10257         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
10258         if that returned true.
10260 2014-10-31  Roland McGrath  <roland@hack.frob.com>
10262         [BZ #17496]
10263         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
10264         gen-as-const-headers chunk.  Add a big scare comment after the last
10265         safe place to touch before-compile.
10267 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
10269         * manual/install.texi (Tools for Compilation): Update autoconf
10270         version requirements.
10271         * INSTALL: Regenerated.
10273         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
10274         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
10275         (__libc_pselect): Likewise.
10277         [BZ #14138]
10278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
10279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10283 2014-10-31  Torvald Riegel  <triegel@redhat.com>
10285         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
10286         correct barrier instruction.
10287         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
10288         Likewise.
10289         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
10290         Likewise.
10292 2014-10-30  Roland McGrath  <roland@hack.frob.com>
10294         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
10295         after defining inlines.  Instead, just use parens to defeat macro
10296         expansion of __isctype in its declaration.
10298 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
10300         * include/sys/uio.h (__libc_readv): Remove declaration.
10301         (__libc_writev): Likewise.
10302         * misc/readv.c (__libc_readv): Rename to __readv.
10303         (__readv): Do not define as alias.
10304         (readv): Define as alias of __readv.
10305         * misc/writev.c (__libc_writev): Rename to __writev.
10306         (__writev): Do not define as alias.
10307         (writev): Define as alias of __writev.
10308         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
10309         (__readv): Do not define as alias.
10310         (readv): Define unconditionally as alias of __readv.
10311         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
10312         (__writev): Do not define as alias.
10313         (writev): Define unconditionally as alias of __writev.
10314         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
10315         name.
10316         (writev): Do not define __libc_writev name.
10318 2014-10-30  Roland McGrath  <roland@hack.frob.com>
10320         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
10321         (convert_charseq): New function, broken out of ...
10322         (use_from_charmap): ... here.  Call it.
10323         (use_to_charmap): Use convert_charseq and free instead of duplicating
10324         its code with a variable-length stack struct.
10326 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
10328         * include/fcntl.h (__libc_creat): Remove declaration.
10329         * io/creat.c (__libc_creat): Rename to creat.
10330         (creat): Do not define as alias.
10331         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
10332         of creat instead of __libc_creat.
10333         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
10334         to creat.
10335         (creat): Do not define as alias.
10336         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
10337         __libc_creat.
10338         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
10339         __libc_creat name.
10340         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
10341         Likewise.
10343 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
10345         * manual/llio.texi: Add comments discussing why write() may be
10346         considered MT-unsafe on Linux.
10348 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
10350         * dl-load.c (local_strdup): Remove.
10351         (expand_dynamic_string_token): Use __strdup.
10352         (decompose_rpath): Likewise.
10353         (_dl_map_object): Likewise.
10355 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
10357         [BZ #14132]
10358         * sysdeps/generic/unwind-dw2-fde.c
10359         (__register_frame_info_bases_internal): Do not declare.
10360         (__register_frame_info_table_bases_internal): Likewise.
10361         (__deregister_frame_info_bases_internal): Likewise.
10362         (__register_frame_info_bases): Declare and use hidden_proto before
10363         definition.  Use hidden_def instead of INTDEF.
10364         (__register_frame_info_table_bases): Likewise.
10365         (__deregister_frame_info_bases): Likewise.
10366         (__register_frame_info): Do not use INTUSE.
10367         (__register_frame): Likewise.
10368         (__register_frame_info_table): Likewise.
10369         (__register_frame_table): Likewise.
10370         (__deregister_frame_info): Likewise.
10371         (__deregister_frame): Likewise.
10373 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
10375         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10376         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
10377         not undefine.
10378         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
10379         Likewise.
10380         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
10381         Likewise.
10383 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
10385         [BZ #14138]
10386         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
10387         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
10388         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
10389         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
10390         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
10391         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
10392         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
10393         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
10394         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
10395         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
10396         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
10397         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
10398         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
10399         syscall.
10400         (setfsuid): Likewise.
10401         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
10402         (setfsuid): Likewise.
10403         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
10404         (setfsuid): Likewise.
10405         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
10406         Likewise.
10407         (setfsuid): Likewise.
10408         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
10409         (setfsuid): Likewise.
10410         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
10411         Likewise.
10412         (setfsuid): Likewise.
10414 2014-10-27  Andreas Schwab  <schwab@suse.de>
10416         [BZ #17501]
10417         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
10418         check for Slow_SSE4_2 feature bit.
10419         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
10420         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10421         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
10422         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
10424 2014-10-24  Roland McGrath  <roland@hack.frob.com>
10426         * configure.ac: Validate compiler version with a empirical test of
10427         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
10428         $CC -v output.
10429         * configure: Regenerated.
10431         * inet/htons.c (htons): Prototypify.
10432         * inet/htonl.c (htonl): Likewise.
10434 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10436         * string/strncat.c (strncat): Improve performance by using strlen.
10438 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10440         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
10442 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10444         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
10445         Call libc_fetestexcept_aarch64.
10447 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10449         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
10450         Call libc_feholdexcept_aarch64.
10452 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10454         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
10455         Call get_rounding_mode.
10457 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10459         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
10460         Simplify logic.
10462 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10464         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
10465         Simplify logic.
10467 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
10469         [BZ #14138]
10470         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
10471         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
10472         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
10473         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
10474         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
10475         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
10476         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
10477         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
10478         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
10479         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
10480         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10481         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
10482         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
10483         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
10484         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
10485         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
10486         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
10487         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
10488         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
10489         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
10490         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
10491         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
10492         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
10493         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
10494         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
10495         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
10496         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
10497         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
10498         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
10499         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
10500         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
10501         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
10502         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
10503         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
10504         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
10505         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
10506         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
10507         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
10508         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
10509         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
10510         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
10511         syscall.
10512         (geteuid): Likewise.
10513         (getgid): Likewise.
10514         (getuid): Likewise.
10515         (getresgid): Likewise.
10516         (getresuid): Likewise.
10517         (getgroups): Likewise.
10518         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
10519         (geteuid): Likewise.
10520         (getgid): Likewise.
10521         (getuid): Likewise.
10522         (getresgid): Likewise.
10523         (getresuid): Likewise.
10524         (getgroups): Likewise.
10525         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
10526         (geteuid): Likewise.
10527         (getgid): Likewise.
10528         (getuid): Likewise.
10529         (getresgid): Likewise.
10530         (getresuid): Likewise.
10531         (getgroups): Likewise.
10532         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
10533         Likewise.
10534         (geteuid): Likewise.
10535         (getgid): Likewise.
10536         (getuid): Likewise.
10537         (getresgid): Likewise.
10538         (getresuid): Likewise.
10539         (getgroups): Likewise.
10540         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
10541         (geteuid): Likewise.
10542         (getgid): Likewise.
10543         (getuid): Likewise.
10544         (getresgid): Likewise.
10545         (getresuid): Likewise.
10546         (getgroups): Likewise.
10547         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
10548         Likewise.
10549         (geteuid): Likewise.
10550         (getgid): Likewise.
10551         (getuid): Likewise.
10552         (getgroups): Likewise.
10554         [BZ #14138]
10555         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
10556         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
10557         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
10558         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10559         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
10560         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
10561         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
10562         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
10563         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
10564         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
10565         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
10566         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
10567         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
10568         __chown.
10569         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
10570         (lchown): Likewise.
10571         (fchown): Likewise.
10572         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
10573         Likewise.
10574         (lchown): Likewise.
10575         (fchown): Likewise.
10576         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
10577         (lchown): Likewise.
10578         (fchown): Likewise.
10579         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
10580         Likewise.
10581         (lchown): Likewise.
10582         (fchown): Likewise.
10584 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
10586         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
10587         Simplify logic.
10589 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
10591         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
10592         Cleanup logic.
10594 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
10596         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
10597         Remove unused include.
10599 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
10601         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
10602         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
10603         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
10604         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
10606 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
10607             Helge Deller <deller@gmx.de>
10609         [BZ #17508]
10610         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
10611         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
10612         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
10614 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
10616         [BZ #14132]
10617         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
10618         Remove macro definition.
10619         (__ashrdi3_v_glibc20): Likewise.
10620         (__lshrdi3_v_glibc20): Likewise.
10621         (__cmpdi2_v_glibc20): Likewise.
10622         (__ucmpdi2_v_glibc20): Likewise.
10623         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
10624         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10625         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10626         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10627         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10628         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
10630 2014-10-22  Roland McGrath  <roland@hack.frob.com>
10632         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
10633         old GNU extension [0] syntax.
10634         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
10635         alloca rather than an array member with variable length.
10636         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
10637         * nscd/nscd.c (invalidate_db): New function, broken out of ...
10638         (parse_opt): ... here.  Likewise use alloca there.
10639         Validate the -i argument before checking for rootness.
10640         (send_shutdown): New function, broken out of ...
10641         (parse_opt): ... here.
10643 2014-10-22  Roland McGrath  <roland@hack.frob.com>
10645         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
10646         macro to get at the _rt_local_ro field.
10647         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
10648         ([PIC] case) or _dl_hwcap ([!PIC] case).
10649         * sysdeps/arm/setjmp.S: Likewise.
10651         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
10652         * sysdeps/arm/configure.ac: New check to define it.
10653         * sysdeps/arm/configure: Regenerated.
10654         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
10655         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
10656         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
10657         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
10658         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
10659         Use move/movt pair instead of a load.
10660         (LDST_GLOBAL): Macro removed.
10661         (LDR_GLOBAL): New macro replaces it.
10662         (LDR_HIDDEN): New macro.
10663         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
10664         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
10666         * setjmp/tst-setjmp-static.c: New file.
10667         * setjmp/Makefile (tests): Add it.
10668         (tests-static): New variable.
10670 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
10672         [BZ #17485]
10673         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
10675 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
10677         [BZ #14132]
10678         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
10680 2014-10-21  Roland McGrath  <roland@hack.frob.com>
10682         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
10684 2014-10-20  Roland McGrath  <roland@hack.frob.com>
10686         * io/fts.c (dirent_not_directory): New function.
10687         (fts_build): Call it.
10689 2014-10-20  Roland McGrath  <roland@hack.frob.com>
10691         * nptl/version.c (__nptl_main): Use normal __write rather than
10692         INTERNAL_SYSCALL.
10693         (banner): Update copyright years.
10695         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
10696         gettimeofday.
10697         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10698         * nptl/pthread_cond_timedwait.c: Likewise.
10699         * nptl/pthread_mutex_timedlock.c: Likewise.
10700         * nptl/sem_timedwait.c: Likewise.
10702         * sysdeps/nptl/bits/libc-lock.h
10703         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
10704         (__libc_lock_init_recursive): Return void, not 0.
10705         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
10706         (__libc_rwlock_init): Likewise.
10707         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
10709 2014-10-20  Torvald Riegel  <triegel@redhat.com>
10711         [BZ #15215]
10712         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
10713         (__pthread_once_slow): ... here.
10714         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
10715         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
10717 2014-10-20  Torvald Riegel  <triegel@redhat.com>
10719         [BZ #15215]
10720         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
10721         __PTHREAD_ONCE_FORK_GEN_INCR): New.
10722         * sysdeps/nptl/fork.c (__libc_fork): Use them.
10723         * nptl/pthread_once.c (__pthread_once): Likewise.
10724         Update comments.
10726 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
10728         [BZ #14138]
10729         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
10730         name.
10731         (writev): Use __libc_writev as strong name.
10732         * sysdeps/unix/sysv/linux/readv.c: Remove file.
10733         * sysdeps/unix/sysv/linux/writev.c: Likewise.
10735 2014-10-17  Roland McGrath  <roland@hack.frob.com>
10737         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
10739         * sysdeps/i386/nptl/tls.h
10740         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
10741         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
10742         New macros.
10743         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
10744         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
10745         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
10746         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
10747         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
10748         Call CHECK_THREAD_SYSINFO instead of doing an assert.
10750         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
10751         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
10752         on [__NR_futex].
10753         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
10754         broken out of ...
10755         (__pthread_mutex_init): ... here.  Call it.
10756         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
10757         Conditionalize PI cases on [__NR_futex].
10758         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
10759         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
10760         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10762         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
10763         conditional on [SIGSETXID].
10764         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
10765         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
10766         is defined.  Likewise for SIGSETXID.
10767         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
10768         Conditionalize definitions on [SIGSETXID].
10769         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
10770         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
10771         unblocking on [SIGCANCEL].
10773         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
10774         [__NR_set_robust_list].
10776 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
10778         * string/strcoll_l.c (get_next_seq): Fix up formatting.
10779         (do_compare): Likewise.
10781 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
10783         [BZ #15884]
10784         * string/strcoll_l.c: Don't include stdio.h.
10785         (coll_seq): Remove members idxarr and rulearr.
10786         (get_next_seq_cached): Remove function.
10787         (get_next_seq): Likewise.
10788         (get_next_seq_nocache): Rename to get_next_seq.
10789         (do_compare): Remove function.
10790         (do_compare_nocache): Rename to do_compare.
10791         (STRCOLL): Remove weight and rules cache.
10793 2014-10-16  Roland McGrath  <roland@hack.frob.com>
10795         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
10796         * sysdeps/arm/sfp-machine.h: ... to here.
10797         * sysdeps/arm/Implies: Remove arm/soft-fp.
10799 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
10801         * conform/data/sys/utsname.h-data (*_t): Allow.
10802         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
10803         [POSIX] (WEXITED): Do not expect constant.
10804         [POSIX] (WSTOPPED): Likewise.
10805         [POSIX] (WNOHANG): Likewise.
10806         [POSIX] (WNOWAIT): Likewise.
10807         [POSIX] (siginfo_t): Do not expect type or elements.
10808         [POSIX] (pid_t): Do not expect type.
10809         [POSIX] (signal.h): Do not allow header.
10810         [POSIX] (sys/resource.h): Likewise.
10811         [POSIX] (si_*): Do not allow pattern.
10812         [POSIX] (W*): Likewise.
10813         [POSIX] (P_*): Likewise.
10814         [POSIX] (BUS_*): Likewise.
10815         [POSIX] (CLD_*): Likewise.
10816         [POSIX] (FPE_*): Likewise.
10817         [POSIX] (ILL_*): Likewise.
10818         [POSIX] (POLL_*): Likewise.
10819         [POSIX] (SEGV_*): Likewise.
10820         [POSIX] (SI_*): Likewise.
10821         [POSIX] (TRAP_*): Likewise.
10822         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
10823         variable.
10825 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
10827         [BZ #12926]
10828         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
10829         infinite loop when __recvmsg returns 0.
10831 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
10833         * CANCEL-FCT-WAIVE: Remove file.
10834         * CANCEL-FILE-WAIVE: Likewise.
10836         [BZ #14132]
10837         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
10838         instead of INTVARDEF.
10839         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
10840         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
10841         rtld_hidden_data_def instead of INTVARDEF.
10842         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
10843         * elf/dl-deps.c (expand_dst): Likewise.
10844         * elf/dl-load.c (_dl_dst_count): Likewise.
10845         (_dl_dst_substitute): Likewise.
10846         (decompose_rpath): Likewise.
10847         (_dl_init_paths): Likewise.
10848         (open_path): Likewise.
10849         (_dl_map_object): Likewise.
10850         * elf/rtld.c (dl_main): Likewise.
10851         (process_dl_audit): Likewise.
10852         (process_envvars): Likewise.
10853         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
10854         Remove declaration.
10855         (__libc_enable_secure): Use rtld_hidden_proto.
10857 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10859         * elf/dl-load.c
10860         (add_path): New function broken out of _dl_rtld_di_serinfo.
10861         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
10863 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
10865         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
10866         parentheses around macro arguments.
10867         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
10868         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
10869         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
10870         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
10871         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
10872         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
10873         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
10874         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
10875         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
10876         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
10877         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
10878         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
10879         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
10880         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
10881         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
10882         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
10883         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
10884         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
10885         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
10886         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
10887         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
10888         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
10889         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
10890         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
10891         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
10892         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
10893         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
10894         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
10895         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
10896         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
10897         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
10898         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
10899         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
10900         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
10901         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
10902         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
10903         Likewise.
10904         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
10905         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
10906         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
10907         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
10908         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
10909         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
10910         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
10911         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
10912         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
10913         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
10914         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
10915         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
10916         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
10917         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
10918         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
10919         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
10920         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
10921         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
10922         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
10923         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
10924         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
10925         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
10926         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
10927         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
10928         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
10929         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
10930         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
10931         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
10932         (_FP_FRAC_SRS_1): Likewise.
10933         (_FP_FRAC_CLZ_1): Likewise.
10934         (_FP_MUL_MEAT_1_imm): Likewise.
10935         (_FP_MUL_MEAT_1_wide): Likewise.
10936         (_FP_MUL_MEAT_1_hard): Likewise.
10937         (_FP_SQRT_MEAT_1): Likewise.
10938         (_FP_FRAC_ASSEMBLE_1): Likewise.
10939         (_FP_FRAC_DISASSEMBLE_1): Likewise.
10940         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
10941         (__FP_CLZ_2): Likewise.
10942         (_FP_MUL_MEAT_2_wide): Likewise.
10943         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
10944         (_FP_MUL_MEAT_2_gmp): Likewise.
10945         (_FP_MUL_MEAT_2_120_240_double): Likewise.
10946         (_FP_SQRT_MEAT_2): Likewise.
10947         (_FP_FRAC_ASSEMBLE_2): Likewise.
10948         (_FP_FRAC_DISASSEMBLE_2): Likewise.
10949         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
10950         (_FP_FRAC_CLZ_4): Likewise.
10951         (_FP_MUL_MEAT_4_wide): Likewise.
10952         (_FP_MUL_MEAT_4_gmp): Likewise.
10953         (_FP_SQRT_MEAT_4): Likewise.
10954         (_FP_FRAC_ASSEMBLE_4): Likewise.
10955         (_FP_FRAC_DISASSEMBLE_4): Likewise.
10956         * soft-fp/op-common.h (_FP_CMP): Likewise.
10957         (_FP_CMP_EQ): Likewise.
10958         (_FP_CMP_UNORD): Likewise.
10959         (_FP_TO_INT): Likewise.
10960         (_FP_FROM_INT): Likewise.
10961         [!__FP_CLZ] (__FP_CLZ): Likewise.
10962         (_FP_DIV_HELP_imm): Likewise.
10963         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
10964         Likewise.
10965         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
10966         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
10967         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
10968         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
10969         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
10970         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
10971         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
10972         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
10973         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
10974         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
10975         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
10976         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
10977         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
10978         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
10979         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
10980         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
10981         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
10982         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
10983         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
10984         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
10985         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
10986         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
10987         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
10988         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
10989         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
10990         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
10991         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
10992         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
10993         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
10994         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
10995         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
10996         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
10997         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
10998         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
10999         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
11000         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
11001         (FP_UNPACK_RAW_SP): Likewise.
11002         (FP_PACK_RAW_S): Likewise.
11003         (FP_PACK_RAW_SP): Likewise.
11004         (FP_UNPACK_S): Likewise.
11005         (FP_UNPACK_SP): Likewise.
11006         (FP_UNPACK_SEMIRAW_S): Likewise.
11007         (FP_UNPACK_SEMIRAW_SP): Likewise.
11008         (FP_PACK_S): Likewise.
11009         (FP_PACK_SP): Likewise.
11010         (FP_PACK_SEMIRAW_S): Likewise.
11011         (FP_PACK_SEMIRAW_SP): Likewise.
11012         (_FP_SQRT_MEAT_S): Likewise.
11013         (FP_CMP_S): Likewise.
11014         (FP_CMP_EQ_S): Likewise.
11015         (FP_CMP_UNORD_S): Likewise.
11016         (FP_TO_INT_S): Likewise.
11017         (FP_FROM_INT_S): Likewise.
11019         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
11021         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
11022         (FP_EX_INVALID_IMZ): Likewise.
11023         (FP_EX_INVALID_IMZ_FMA): Likewise.
11024         (FP_EX_INVALID_ISI): Likewise.
11025         (FP_EX_INVALID_ZDZ): Likewise.
11026         (FP_EX_INVALID_IDI): Likewise.
11027         (FP_EX_INVALID_SQRT): Likewise.
11028         (FP_EX_INVALID_CVI): Likewise.
11029         (FP_EX_INVALID_VC): Likewise.
11030         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
11031         "invalid" exceptions.
11032         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
11033         (_FP_ADD_INTERNAL): Likewise.
11034         (_FP_MUL): Likewise.
11035         (_FP_FMA): Likewise.
11036         (_FP_DIV): Likewise.
11037         (_FP_CMP_CHECK_NAN): Likewise.
11038         (_FP_SQRT): Likewise.
11039         (_FP_TO_INT): Likewise.
11040         (FP_EXTEND): Likewise.
11042 2014-10-09  Allan McRae  <allan@archlinux.org>
11044         * po/fr.po: Update French translation from translation project.
11046 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
11048         [BZ #14132]
11049         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
11050         of INTDEF.
11051         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
11052         (__cxa_atexit): Use libc_hidden_proto.
11053         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
11055         [BZ #14132]
11056         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
11057         declaration.
11058         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
11059         [!_ISOMAC] (__iswspace_l_internal): Likewise.
11060         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
11061         [!_ISOMAC] (__iswctype_internal): Likewise.
11062         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
11063         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
11064         alias.
11065         (fcntl): Remove __fcntl_internal alias.
11066         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
11067         __connect_internal alias.
11068         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
11069         Likewise.
11071         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
11072         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
11073         FP_DENORM_ZERO.
11074         (_FP_CHECK_FLUSH_ZERO): New macro.
11075         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
11076         (_FP_CMP): Likewise.
11077         (_FP_CMP_EQ): Likewise.
11078         (_FP_TO_INT): Do not set inexact for subnormal arguments if
11079         FP_DENORM_ZERO.
11080         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
11081         (FP_TRUNC): Likewise.
11083         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
11084         treated as invalid conversion, not as normal exponent.
11086         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
11087         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
11088         (_FP_CMP_EQ): Likewise.
11089         (_FP_CMP_UNORD): Likewise.
11090         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
11091         (FP_CMP_EQ_D): Likewise.
11092         (FP_CMP_UNORD_D): Likewise.
11093         * soft-fp/extended.h (FP_CMP_E): Likewise.
11094         (FP_CMP_EQ_E): Likewise.
11095         (FP_CMP_UNORD_E): Likewise.
11096         * soft-fp/quad.h (FP_CMP_Q): Likewise.
11097         (FP_CMP_EQ_Q): Likewise.
11098         (FP_CMP_UNORD_Q): Likewise.
11099         * soft-fp/single.h (FP_CMP_S): Likewise.
11100         (FP_CMP_EQ_S): Likewise.
11101         (FP_CMP_UNORD_S): Likewise.
11102         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
11103         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
11104         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
11105         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
11106         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
11107         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
11108         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
11109         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
11110         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
11111         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
11112         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
11113         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
11114         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
11115         to FP_CMP_Q.
11116         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
11117         FP_CMP_Q.
11118         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
11119         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
11120         FP_CMP_EQ_Q.
11121         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
11122         FP_CMP_Q.
11123         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
11124         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
11125         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
11126         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
11127         FP_CMP_EQ_Q.
11128         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
11129         FP_CMP_Q.
11130         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
11131         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
11132         FP_CMP_EQ_Q.
11133         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
11134         FP_CMP_Q.
11135         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
11136         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
11137         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
11138         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
11139         FP_CMP_EQ_Q.
11141         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
11142         a subnormal result, set the underflow exception if trapping on
11143         underflow is enabled.
11144         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
11145         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
11146         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
11147         redefine to 0.
11148         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
11149         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
11150         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
11151         * soft-fp/extendxftf2.c (__extendxftf2): Use
11152         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
11154         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
11155         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
11156         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11157         FP_HANDLE_EXCEPTIONS.
11158         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
11159         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11160         FP_HANDLE_EXCEPTIONS.
11161         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
11162         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11163         FP_HANDLE_EXCEPTIONS.
11164         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
11165         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11166         FP_HANDLE_EXCEPTIONS.
11168 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
11170         [BZ #14132]
11171         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
11172         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
11173         use INTUSE.
11174         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
11175         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
11176         Remove alias.
11177         (__adjtimex): Define using libc_hidden_ver.
11178         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
11179         Remove declaration.
11180         (ntp_gettime): Call __adjtimex directly.
11181         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
11182         Remove declaration.
11183         (ntp_gettimex): Call __adjtimex directly.
11184         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
11185         __adjtimex_internal alias.
11187 2014-10-08  Roland McGrath  <roland@hack.frob.com>
11189         [BZ #17460]
11190         * nscd/nscd.c (more_help): Rewrite list of tables collection
11191         using xstrdup and asprintf.
11193         * nscd/nscd_conf.c: Remove local xstrdup declaration.
11195 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11196             Roland McGrath  <roland@hack.frob.com>
11198         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
11199         (do_lookup_unique): ... local function 'enter' here; update callers.
11201 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
11203         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
11204         compat_symbol calls on [SHARED].
11205         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
11206         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
11207         Remove.
11208         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11209         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
11210         (oldsetrlimit): Remove.
11211         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
11213         (lchown): New syscall entry.
11214         (oldsetrlimit): Remove.
11215         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11216         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
11217         (oldsetrlimit): Remove.
11218         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11220         [BZ #14138]
11221         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
11222         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
11223         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
11224         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
11225         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
11226         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
11227         (fchown): Likewise.
11228         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
11229         (fchown): Likewise.
11230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
11231         Likewise.
11233 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11235         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
11236         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
11237         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
11238         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
11239         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
11240         Likewise.
11241         (__old_sem_post): Likewise.
11243 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
11245         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
11246         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
11247         HAVE_CLOCK_GETTIME_VSYSCALL macros.
11248         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
11249         Use INLINE_VSYSCALL macro.
11250         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
11251         __vdso_clock_gettime.
11252         * sysdeps/unix/sysv/linux/tile/init-first.c
11253         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
11254         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
11255         __vdso_clock_gettime.
11257         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
11258         to set up frame more cleanly.
11260         * sysdeps/tile/memcmp.c: New file.
11262         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
11264         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
11265         * sysdeps/tile/tilegx/strcasestr.c: New file.
11266         * sysdeps/tile/tilegx/strnlen.c: New file.
11267         * sysdeps/tile/tilegx/strstr.c: New file.
11269         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
11271 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
11273         * nptl/tst-setuid3.c: Write errors to stdout.
11275 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11277         * elf/dl-deps.c
11278         (preload): New functions broken out of _dl_map_object_deps.
11279         (_dl_map_object_deps):  Remove a nested function. Update call sites.
11281 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
11283         [BZ #14138]
11284         * sysdeps/unix/sysv/linux/execve.c: Remove file.
11285         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
11287 2014-10-01  Steve Ellcey  <sellcey@mips.com>
11289         * sysdeps/mips/strcmp.S: New.
11291 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
11293         [BZ #14138]
11294         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
11295         (linkat): Likewise.
11296         (mkdirat): Likewise.
11297         (readlinkat): Likewise.
11298         (renameat): Likewise.
11299         (symlinkat): Likewise.
11300         (unlinkat): Likewise.
11301         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
11302         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
11303         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
11304         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
11305         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
11306         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
11307         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
11309 2014-09-30  Will Newton  <will.newton@linaro.org>
11311         * math/math.h: Define long double math functions if
11312         _LIBC_TEST is defined.
11313         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
11315         * localedata/Makefile: Move assignment to tests-special
11316         into an ifdef testing run-built-tests.
11317         * timezone/Makefile: Likewise.
11319 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
11321         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
11322         with $(BASH) not $(SHELL).
11324 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
11325             Matthew LeGendre  <legendre1@llnl.gov>
11327         [BZ #17411]
11328         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
11329         l_reloc_result.
11331 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11333         * stdio-common/printf_fp.c
11334         (hack_digit): New function, broken out of ...
11335         (__printf_fp): ... local function here.  Update call sites.
11336         hack_digit now takes an additional parameter that is a pointer
11337         to a struct of the referenced locals.  Those locals moved inside
11338         the struct and references updated.
11340 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
11342         * aclocal.m4: Require autoconf 2.69.
11343         * configure: Regenerated.
11344         * sysdeps/aarch64/configure: Likewise.
11345         * sysdeps/alpha/configure: Likewise.
11346         * sysdeps/arm/armv7/configure: Likewise.
11347         * sysdeps/arm/configure: Likewise.
11348         * sysdeps/ia64/configure: Likewise.
11349         * sysdeps/mach/configure: Likewise.
11350         * sysdeps/mips/configure: Likewise.
11351         * sysdeps/s390/configure: Likewise.
11352         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
11353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
11355         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
11356         file.
11357         * sysdeps/ia64/configure.ac: Likewise.
11359 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
11361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
11362         specify symbol version for ld.so.  Do not include entry for
11363         libpthread.
11364         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11365         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
11366         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11368         [BZ #14171]
11369         * Makeconfig [$(build-shared) = yes]
11370         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
11371         makefiles.
11372         [$(build-shared) = yes && $(soversions.mk-done) = t]
11373         ($(common-objpfx)gnu/lib-names.h): Remove rule.
11374         [$(build-shared) = yes && $(soversions.mk-done) = t]
11375         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
11376         to Makerules.
11377         [$(build-shared) = yes && $(soversions.mk-done) = t]
11378         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
11379         here.
11380         [$(build-shared) = yes && $(soversions.mk-done) = t]
11381         (common-generated): Don't append gnu/lib-names.h and
11382         gnu/lib-names.stmp here.
11383         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
11384         (lib-names-h-abi): New variable.
11385         [$(build-shared) = yes && $(soversions.mk-done) = t]
11386         (lib-names-stmp-abi): Likewise.
11387         [$(build-shared) = yes && $(soversions.mk-done) = t &&
11388         abi-variants] (before-compile): Append
11389         $(common-objpfx)$(lib-names-h-abi).
11390         [$(build-shared) = yes && $(soversions.mk-done) = t &&
11391         abi-variants] (common-generated): Append gnu/lib-names.h.
11392         [$(build-shared) = yes && $(soversions.mk-done) = t &&
11393         abi-variants] (install-others-nosubdir): Depend on
11394         $(inst_includedir)/$(lib-names-h-abi).
11395         [$(build-shared) = yes && $(soversions.mk-done) = t &&
11396         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
11397         [$(build-shared) = yes && $(soversions.mk-done) = t]
11398         ($(common-objpfx)$(lib-names-h-abi)): New rule.
11399         [$(build-shared) = yes && $(soversions.mk-done) = t]
11400         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
11401         [$(build-shared) = yes && $(soversions.mk-done) = t]
11402         (common-generated): Append $(lib-names-h-abi) and
11403         $(lib-names-stmp-abi).
11404         * scripts/lib-names.awk: Do not handle multi being set.
11405         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
11406         Remove variable.
11407         (abi-lp64_be-ld-soname): Likewise.
11408         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
11409         Likewise.
11410         (abi-hard-ld-soname): Likewise.
11411         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
11412         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
11413         Remove variable.
11414         (abi-o32_hard-ld-soname): Likewise.
11415         (abi-o32_soft_2008-ld-soname): Likewise.
11416         (abi-o32_hard_2008-ld-soname): Likewise.
11417         (abi-n32_soft-ld-soname): Likewise.
11418         (abi-n32_hard-ld-soname): Likewise.
11419         (abi-n32_soft_2008-ld-soname): Likewise.
11420         (abi-n32_hard_2008-ld-soname): Likewise.
11421         (abi-n64_soft-ld-soname): Likewise.
11422         (abi-n64_hard-ld-soname): Likewise.
11423         (abi-n64_soft_2008-ld-soname): Likewise.
11424         (abi-n64_hard_2008-ld-soname): Likewise.
11425         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
11426         Likewise.
11427         (abi-64-v2-ld-soname): Likewise.
11428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
11429         ld.so entries.
11430         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
11431         variable.
11432         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
11433         entry.
11434         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
11435         variable.
11436         (abi-64-ld-soname): Likewise.
11437         (abi-x32-ld-soname): Likewise.
11438         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
11439         entry.
11440         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11442 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
11444         [BZ #14138]
11445         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
11446         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
11447         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
11448         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
11449         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
11450         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
11451         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
11452         syscall entry for GLIBC_2.2 symbol version.
11453         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
11454         Likewise.
11455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
11456         (setrlimit): Likewise.
11457         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
11458         Likewise.
11460 2014-09-23  Will Newton  <will.newton@linaro.org>
11462         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
11463         _LINUX_ARM_SYSDEP_H include guard too.
11464         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
11465         define.
11467 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
11469         * sysdeps/unix/sysv/linux/eventfd.c:
11470         Make first argument unsigned.
11471         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
11472         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
11474 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
11476         * socket/recvmmsg.c (recvmmsg): Drop const argument.
11477         * socket/sys/socket.h: Likewise
11478         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
11480 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11482         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
11484 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
11486         * time/tst-ftime.c: New test.
11487         * time/Makefile (tests): Add tst-ftime.
11489 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
11491         * soft-fp/extended.h: Fix comment formatting.
11492         * soft-fp/op-1.h: Likewise.
11493         * soft-fp/op-2.h: Likewise.
11494         * soft-fp/op-4.h: Likewise.
11495         * soft-fp/op-8.h: Likewise.
11496         * soft-fp/op-common.h: Likewise.
11497         * soft-fp/soft-fp.h: Likewise.
11499         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
11501 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
11503         [BZ #6652]
11504         * Makeconfig (soversions-default-setname): Remove variable.
11505         ($(common-objpfx)soversions.i): Don't pass default_setname to
11506         soversions.awk.
11507         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
11508         oldest_abi to abi-versions.awk.
11509         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
11510         * config.make.in (oldest-abi): Remove variable.
11511         * configure.ac (--enable-oldest-abi): Remove configure option.
11512         * configure: Regenerated.
11513         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
11514         text.
11515         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
11516         * scripts/soversions.awk: Do not handle default_setname variable.
11517         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
11518         variable.
11519         * sysdeps/mach/hurd/configure: Regenerated.
11520         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
11521         variable.
11522         * sysdeps/unix/sysv/linux/configure: Regenerated.
11524 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11526         * elf/Makefile (CFLAGS-interp.c): Remove.
11527         ($(elf-objpfx)runtime-linker.h): Generate header with linker
11528         path string.
11529         * elf/interp.c: Include generated runtime-linker.h
11531         * Makerules (lib%.so): Don't include $(+interp) in
11532         prerequisites.
11533         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
11534         * dlfcn/eval.c: Remove file.
11536         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
11537         macros.
11539         [BZ #17266]
11540         * misc/sys/cdefs.h: Define __extern_always_inline for clang
11541         4.2 and newer.
11543         [BZ #17370]
11544         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
11546 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11547             Jakub Jelinek  <jakub@redhat.com>
11549         [BZ #17266]
11550         * libio/stdio.h: Check definition of __fortify_function
11551         instead of __extern_always_inline to include bits/stdio2.h.
11552         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
11553         check if __extern_always_inline is defined.
11554         [__USE_MISC || __USE_XOPEN]: Likewise.
11555         [__USE_ISOC99] Likewise.
11556         * misc/sys/cdefs.h (__fortify_function): Define only if
11557         __extern_always_inline is defined.
11558         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
11559         __extern_always_inline and __extern_inline only for g++-4.3
11560         and newer or a compatible gcc.
11562 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
11564         [BZ #17371]
11565         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11566         last change to handle zero prefix length.
11568 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11570         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
11571         _SC_REGEX_VERSION.
11573         * posix/getconf.c (vars): Add _POSIX_IPV6 and
11574         _POSIX_RAW_SOCKETS.
11576 2014-09-13  Allan McRae  <allan@archlinux.org>
11578         * po/ru.po: Update Russian translation from translation project.
11580 2014-09-12  Roland McGrath  <roland@hack.frob.com>
11582         * locale/programs/locale.c (show_locale_vars): Inline local function
11583         into its sole call site.  Clean up some style nits.
11584         (print_item): New function, broken out of ...
11585         (show_info): ... local function here.  Clean up style nits.
11587         * locale/programs/ld-ctype.c (set_one_default): New function, broken
11588         out of ...
11589         (set_class_defaults): ... local function set_default here.
11590         Define set_default as a macro locally to pass constant parameters.
11591         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
11592         rather than a shared local.
11594         * stdlib/rpmatch.c (try): New function, broken out of ...
11595         (rpmatch): ... local function here.  Also, prototypify definition.
11597 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
11599         * scripts/soversions.awk: Do not handle configuration names.
11600         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
11601         vendor and os variables to soversions.awk.
11602         * configure.ac: Do not modify gnu-* host_os.
11603         * configure: Regenerated
11604         * shlib-versions: Remove first column with configuration names.
11605         * nptl/shlib-versions: Likewise.
11606         * nptl_db/shlib-versions: Likewise.
11607         * sysdeps/hppa/shlib-versions: Likewise.
11608         * sysdeps/m68k/shlib-versions: Likewise.
11609         * sysdeps/mach/hurd/shlib-versions: Likewise.
11610         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
11611         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
11612         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
11613         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
11614         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
11615         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
11616         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
11617         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
11618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
11619         Likewise.
11620         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11621         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
11622         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
11623         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
11624         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
11625         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
11626         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
11627         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
11630         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
11631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
11632         Regenerated.
11633         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
11634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
11635         Condition symbol version definitions on [HAVE_ELFV2_ABI].
11637         * shlib-versions: Remove OS-specific entries.  Moved to files in
11638         sysdeps.
11639         * sysdeps/mach/hurd/shlib-versions: New file.
11640         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
11642         * nptl/shlib-versions: Remove architecture-specific entries.
11643         Moved to files in sysdeps.
11644         * shlib-versions: Likewise.
11645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
11646         file.
11647         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11648         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
11649         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
11650         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
11652         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
11653         (UDP_NO_CHECK6_RX): Likewise.
11655 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11657         * sysdeps/posix/sysconf.c (__sysconf): Spell
11658         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
11660 2014-08-12  Florian Weimer  <fweimer@redhat.com>
11662         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
11663         loading.
11664         * iconv/Versions (__gconv_transliterate): Export for use from
11665         gconv modules.
11666         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
11667         (struct __gconv_trans_data, __gconv_trans_fct,
11668         __gconv_trans_context_fct, __gconv_trans_query_fct,
11669         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
11670         definitions.
11671         (struct __gconv_step_data): Remove __trans member.
11672         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
11673         longer hidden.  Remove unused trans_data argument.
11674         * iconv/gconv_int.h (struct trans_struct): Remove definition.
11675         (__gconv_translit_find): Remove declaration.
11676         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
11677         prototype.
11678         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
11679         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
11680         trans_data argument.  Add hidden definition.
11681         (__gconv_translit_find): Remove.
11682         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
11683         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
11684         * iconv/skeleton.c: Remove transliteration initialization.
11685         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
11686         __gconv_step_data initialization.
11687         * libio/iofwide.c (__libio_translit_): Remove.
11688         (_IO_fwide): Adjust struct __gconv_step_data initialization.
11689         * wcsmbs/btowc.c (__btowc): Likewise.
11690         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11691         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11692         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
11693         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
11694         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
11695         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
11696         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
11697         * wcsmbs/wctob.c (wctob): Likewise.
11699 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11701         [BZ #16194]
11702         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
11703         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
11704         register usage.
11705         * sysdeps/x86/Makefile: Adjust.
11707 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11708             Roland McGrath  <roland@hack.frob.com>
11710         * locale/weight.h: Add include guard.
11711         (findidx): Make static rather than auto; take new parameters
11712         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
11713         * locale/weightwc.h: Likewise.
11714         * posix/fnmatch_loop.c
11715         (FCT): Change type of EXTRA from int32_t to wint_t.
11716         Don't include either header inside the function.
11717         Call FINDIDX rather than findidx, and pass new arguments.
11718         #undef FINDIDX at the end of the file.
11719         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
11720         FINDIDX before including fnmatch_loop.c for the non-wide version.
11721         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
11722         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
11723         for the wide version.
11724         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
11725         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
11726         Pass new arguments to findidx.
11727         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
11728         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
11729         Don't #include it inside the function.  Pass new arguments to findidx.
11730         * posix/regex_internal.h
11731         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
11732         (re_string_elem_size_at): Don't #include it inside the function.
11733         Pass new arguments to findidx.
11734         * string/strcoll_l.c: #include WEIGHT_H at top level.
11735         (get_next_seq): Don't #include it inside the function.
11736         Pass new arguments to findidx.
11737         (get_next_seq_nocache): Likewise.
11738         * string/strxfrm_l.c: #include WEIGHT_H at top level.
11739         (STRXFRM): Don't #include it inside the function.
11740         Pass new arguments to findidx.
11742 2014-09-11  Florian Weimer  <fweimer@redhat.com>
11744         [BZ #17344]
11745         * malloc/malloc.c (unlink): Turn asserts into a call to
11746         malloc_printerr.
11748 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
11750         [BZ #17370]
11751         * libio/wfileops (do_ftell_wide): Free OUT.
11753 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
11755         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
11757 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11759         [BZ #17363]
11760         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
11761         group if the current group is empty.
11763 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11765         * benchtests/bench-memset.c (test_main): Add more test from size
11766         from 32 to 512 bytes.
11767         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11768         Add POWER8 memset object.
11769         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11770         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
11771         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
11772         implementation.
11773         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
11774         Likewise.
11775         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
11776         multiarch POWER8 memset optimization.
11777         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
11778         POWER8 memset optimization.
11780         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11781         Remove bzero multiarch objects.
11782         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
11783         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
11784         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
11785         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
11786         Remove define.
11787         [__bzero]: Redefine to specific name.
11788         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
11789         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
11790         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
11791         define.
11792         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11793         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11795 2014-09-10  Florian Weimer  <fweimer@redhat.com>
11797         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
11798         warnings into errors.
11800         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
11801         __cxa_thread_atexit_impl prototype.
11803 2014-09-09  Steve Ellcey  <sellcey@mips.com>
11805         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
11806         Fix capitalization of error message.
11808 2014-09-09  Steve Ellcey  <sellcey@mips.com>
11810         * sysdeps/mips/preconfigure: Modify ABI tests.
11812 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
11814         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
11816 2014-09-07  Roland McGrath  <roland@hack.frob.com>
11817             Carlos O'Donell  <carlos@systemhalted.org>
11819         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
11820         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
11821         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
11822         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
11823         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
11824         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
11825         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
11826         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
11827         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
11828         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
11829         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
11830         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
11831         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
11832         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
11833         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
11834         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
11835         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
11836         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
11837         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
11838         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
11839         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
11840         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
11841         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
11842         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
11843         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
11844         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
11845         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
11846         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
11847         Deconditionalize the code that was previously under [RESET_PID].
11848         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
11849         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
11850         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
11851         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
11852         include sysdep.h.
11854 2014-09-08  Allan McRae  <allan@archlinux.org>
11856         * version.h (RELEASE): Set to "development".
11857         (VERSION): Set to "2.20.90"
11859 2014-09-07  Allan McRae  <allan@archlinux.org
11861         * version.h (RELEASE): Set to "stable".
11862         (VERSION): Set to "2.20"
11863         * include/features.h (__GLIBC_MINOR__): Set to 20.
11865         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
11866         Liebler.
11868         * po/ko.po: Update Korean translation from translation project.
11870 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
11872         [BZ #17354]
11873         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
11874         macro for handling signed relocations.
11876 2014-09-03  Florian Weimer  <fweimer@redhat.com>
11878         [BZ #17325]
11879         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
11880         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
11881         assert.
11882         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
11883         * iconvdata/ibm935.c (BODY): Likewise.
11884         * iconvdata/ibm937.c (BODY): Likewise.
11885         * iconvdata/ibm939.c (BODY): Likewise.
11886         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
11887         assert.
11888         * iconvdata/Makefile (iconv-test.out): Pass module list to test
11889         script.
11890         * iconvdata/run-iconv-test.sh: New test loop for checking for
11891         decoder crashers.
11893 2014-09-02  Khem Raj  <raj.khem@gmail.com>
11895         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
11896         libm_hidden_ver.
11898 2014-09-01  Allan McRae  <allan@archlinux.org>
11900         * po/eo.po: Update Esperanto translation from translation project.
11902         * po/ca.po: Update Catalan translation from translation project.
11904 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11906         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
11907         __proc_dostop call.
11909 2014-08-27  Mark Wielaard  <mjw@redhat.com>
11911         [BZ #17319]
11912         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
11913         to call set_thread_area instead of hand written asm.
11914         (__NR_set_thread_area): Removed define.
11915         (TLS_FLAG_WRITABLE): Likewise.
11916         (__ASSUME_SET_THREAD_AREA): Remove check.
11917         (TLS_EBX_ARG): Remove define.
11918         (TLS_LOAD_EBX): Likewise.
11920 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11922         Simplify atomicity of socket creation in bind.
11924         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
11925         looking up the name after linking the file.
11927 2014-08-27  Allan McRae  <allan@archlinux.org>
11929         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11931 2014-08-26  Florian Weimer  <fweimer@redhat.com>
11933         [BZ #17187]
11934         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
11935         trans_compare, open_translit, __gconv_translit_find):
11936         Remove module loading code.
11938 2014-08-26  Allan McRae  <allan@archlinux.org>
11940         * po/vi.po: Update Vietnamese translation from translation project.
11942         * po/uk.po: Update Ukrainian translation from translation project.
11944         * po/fr.po: Update French translation from translation project.
11946         * po/ru.po: Update Russian translation from translation project.
11948         * po/pl.po: Update Polish translation from translation project.
11950         * po/cs.po: Update Czech translation from translation project.
11952         * po/de.po: Update German translation from translation project.
11954         * po/bg.po: Update Bulgarian translation from translation project.
11956         * po/sv.po: Update Sweedish translation from translation project.
11958         * po/nl.po: Update Dutch translation from translation project.
11960         * po/es.po: Update Spanish translation from translation project.
11962 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11964         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
11966         * catgets/Makefile (CPPFLAGS-gencat): Remove.
11967         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
11968         (CPPFLAGS-iconvconfig): Likewise.
11969         * timezone/Makefile (CPPFLAGS-zic): Likewise.
11971         * include/libc-symbols.h: Remove unnecessary check for
11972         NOT_IN_libc.
11973         * nptl/pthreadP.h: Likewise.
11974         * sysdeps/aarch64/setjmp.S: Likewise.
11975         * sysdeps/alpha/setjmp.S: Likewise.
11976         * sysdeps/arm/sysdep.h: Likewise.
11977         * sysdeps/i386/setjmp.S: Likewise.
11978         * sysdeps/m68k/setjmp.c: Likewise.
11979         * sysdeps/posix/getcwd.c: Likewise.
11980         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11981         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
11982         * sysdeps/s390/s390-32/setjmp.S: Likewise.
11983         * sysdeps/s390/s390-64/setjmp.S: Likewise.
11984         * sysdeps/sh/sh3/setjmp.S: Likewise.
11985         * sysdeps/sh/sh4/setjmp.S: Likewise.
11986         * sysdeps/unix/alpha/sysdep.h: Likewise.
11987         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11988         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11989         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
11990         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11993         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11994         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11995         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11996         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11997         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11998         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11999         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12000         * sysdeps/x86_64/setjmp.S: Likewise.
12002 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
12004         [BZ #17263]
12005         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
12006         <stdint.h>.
12007         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
12008         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
12010 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
12012         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
12014         [BZ #17262]
12015         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
12016         and __x86_64__ when disabling x87 inline functions.
12018 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
12020         [BZ #17259]
12021         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
12022         asm statement with __cpuid_count.
12024 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
12026         * configure.ac: Change __ehdr_start code to dereference the struct.
12027         Run readelf on the output to look for relocations.
12028         * configure: Regenerated.
12030 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
12032         [BZ #17261]
12033         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
12034         value to 0.
12035         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
12037 2014-08-12  Roland McGrath  <roland@hack.frob.com>
12039         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
12041 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
12043         [BZ #16892]
12044         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
12045         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
12047 2014-08-12  Sean Anderson  <seanga2@gmail.com>
12049         * malloc/malloc.c: Fix typo in comment.
12051 2014-08-09  Allan McRae  <allan@archlinux.org>
12053         * Regenerate libc.po.
12055 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
12057         * intl/tst-gettext2.sh: Check every lang file for creation.
12059 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
12061         * sysdeps/aarch64/fpu/math_private.h
12062         (libc_feholdsetround_noex_aarch64_ctx): New function.
12064 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
12066         * sysdeps/arm/armv6/strcpy.S (strcpy):
12067         Fix performance issue in misaligned cases.
12069 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12071         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
12072         Move definition from termios.h.
12073         (struct termio): Likewise.
12074         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12075         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
12076         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
12077         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
12078         Likewise.
12079         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
12080         Move definition to ioctl-types.h
12081         (struct termio): Likewise.
12082         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12083         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
12084         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
12085         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
12086         Likewise.
12088 2014-08-05  Richard Henderson  <rth@redhat.com>
12090         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
12091         exceptions.
12092         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
12093         Add fraiseexcpt.
12094         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
12095         Use __feraiseexcept.
12096         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
12097         Protect libm symbols with IS_IN_libm.
12099         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
12101 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
12103         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
12105 2014-08-04  Will Newton  <will.newton@linaro.org>
12107         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
12108         file.
12110 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
12112         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
12113         variants for each function.
12115 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12117         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
12118         appended ...
12119         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
12120         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
12121         appended ...
12122         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
12123         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
12124         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
12125         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
12126         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
12127         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
12128         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
12129         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
12130         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
12131         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
12132         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
12133         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
12134         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
12135         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
12136         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
12137         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
12138         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
12139         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
12140         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
12141         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
12142         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
12143         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
12144         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
12145         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
12146         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
12147         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
12148         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
12149         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
12150         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
12151         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
12152         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
12153         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
12154         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
12155         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
12156         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
12157         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
12158         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
12159         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
12160         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
12161         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
12162         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
12163         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
12164         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
12165         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
12166         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
12167         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
12168         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
12169         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
12170         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
12171         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
12172         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
12173         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
12174         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
12175         Update #include.
12176         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
12177         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
12179 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12181         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
12182         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
12183         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
12184         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
12185         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
12186         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
12188 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12190         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
12191         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
12192         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12193         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
12195 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12197         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
12198         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
12199         (__libc_vfork): Define function under this name.
12200         (__vfork): Define as an alias.
12201         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
12202         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
12204 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12206         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
12207         that was previously under [RESET_PID].
12208         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
12210 2014-08-04  Andreas Schwab  <schwab@suse.de>
12212         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
12214 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
12216         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
12217         (main): Likewise.
12219 2014-08-01  Roland McGrath  <roland@hack.frob.com>
12221         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
12223 2014-08-01  Richard Henderon  <rth@redhat.com>
12225         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
12226         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
12227         typo in exact zero test.
12228         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12229         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12230         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12232 2014-08-01  Roland McGrath  <roland@hack.frob.com>
12234         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
12235         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
12236         * sysdeps/arm/sysdep.h: ... here.
12237         [!__ASSEMBLER__]: Include <stdint.h>.
12239 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
12241         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
12242         (HAVE_WCTYPE_H): Likewise.
12243         (HAVE_ISWCTYPE): Likewise.
12244         (ENABLE_NLS): Likewise.
12245         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
12246         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
12248         * posix/regex_internal.c: Check if DEBUG is defined and is
12249         set.
12251         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
12252         (HAVE_MBSRTOWCS): Likewise.
12253         * posix/fnmatch.c: Include string.h unconditionally.
12255 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
12257         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
12258         reversal.
12260 2014-07-31  Roland McGrath  <roland@hack.frob.com>
12262         * sysdeps/generic/safe-fatal.h: New file.
12263         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
12264         * nptl/forward.c: Include it.
12265         (__pthread_unwind): Use __safe_fatal as default action, rather
12266         than a bogus use of INTERNAL_SYSCALL that could never work.
12268         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
12269         * configure.ac (libc_cv_builtin_trap): New test.
12270         * configure: Regenerated.
12271         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
12272         (ABORT_INSTRUCTION): Define using __builtin_trap.
12274         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
12275         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
12276         * sysdeps/nptl/nptl-signals.h: New file.
12277         * nptl/pthreadP.h: Include <nptl-signals.h>.
12279 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
12281         * sysdeps/s390/s390-64/utf16-utf32-z9.c
12282         (ONE_DIRECTION): Define.
12283         * sysdeps/s390/s390-64/utf8-utf16-z9.c
12284         (ONE_DIRECTION): Define.
12285         * sysdeps/s390/s390-64/utf8-utf32-z9.c
12286         (ONE_DIRECTION): Define.
12288 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
12290         * sysdeps/s390/Makefile: Delete file.
12291         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
12292         * sysdeps/s390/__longjmp.c: Delete file.
12293         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
12294         Remove fields __flags and __reserved.
12295         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
12296         and add versioning.
12297         * sysdeps/s390/rtld-__longjmp.c: Delete file.
12298         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
12299         * sysdeps/s390/rtld-setjmp.S: Likewise.
12300         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
12301         * sysdeps/s390/s390-32/__longjmp.c: ... here.
12302         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
12303         * sysdeps/s390/s390-32/setjmp.S: ... here.
12304         Add versioning.
12305         (__sigsetjmp): Remove setting __flags field.
12306         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
12307         * sysdeps/s390/s390-64/__longjmp.c: ... here.
12308         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
12309         * sysdeps/s390/s390-64/setjmp.S: ... here.
12310         Add versioning.
12311         (__sigsetjmp): Remove setting __flags field.
12312         * sysdeps/s390/setjmp.S: Delete file.
12313         * sysdeps/s390/sigjmp.c: Likewise.
12314         * sysdeps/s390/v1-longjmp.c: Likewise.
12315         * sysdeps/s390/v1-setjmp.h: Likewise.
12316         * sysdeps/s390/v1-sigjmp.c: Likewise.
12317         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
12318         Remove v1-longjmp_chk.
12319         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
12320         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
12321         Include debug/longjmp_chk.c and add versioning.
12322         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
12323         Include nptl/pt-longjmp.c and add versioning.
12324         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
12325         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
12326         Include __longjmp.c.
12327         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12328         Move to ...
12329         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
12330         (__getcontext): Remove setting __flags field.
12331         Add versioning.
12332         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12333         Don't restore upper high grps.
12334         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
12335         Likewise.
12336         (__swapcontext): Remove setting uc_flags field.
12337         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
12338         Delete file.
12339         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12340         Include __longjmp.c.
12341         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12342         Move to ...
12343         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
12344         (__getcontext): Remove setting __flags field.
12345         Add versioning.
12346         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
12347         (__swapcontext): Remove setting uc_flags field.
12348         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
12349         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
12350         Remove fields uc_high_gprs and __reserved.
12351         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
12352         New file with reverted content.
12353         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
12354         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
12355         Regenerated.
12356         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
12357         Regenerated.
12359 2014-07-31  Andreas Schwab  <schwab@suse.de>
12361         * config.h.in (HAVE_IFUNC): Define to 0.
12362         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
12363         definedness.
12365 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
12367         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12368         memmove-avx-unaligned, memcpy-avx-unaligned and
12369         mempcpy-avx-unaligned.
12370         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12371         Add tests for AVX memcpy functions.
12372         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
12373         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
12374         memcpy_chk.
12375         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
12376         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
12377         memmove_chk.
12378         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
12379         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
12380         mempcpy_chk.
12381         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
12382         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
12383         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
12385 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12387         [BZ #17213]
12388         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
12389         powerpc64le.
12391 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
12393         [BZ #16839]
12394         * manual/llio.texi: Add section about open file description locks.
12395         * manual/examples/ofdlocks.c: Example of open file description
12396         lock usage.
12397         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
12398         F_OFD_SETLK, and F_OFD_SETLKW.
12400 2014-07-23  Allan McRae  <allan@archlinux.org>
12402         * po/es.po: Update Spanish translation from translation project.
12404 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
12406         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
12408 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
12410         [BZ #17078]
12411         * sysdeps/arm/dl-machine.h (elf_machine_rela)
12412         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
12413         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
12415 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
12417         [BZ #17088]
12418         * math/fesetenv.c (__fesetenv)
12419         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
12420         * math/feupdateenv.c (__feupdateenv)
12421         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
12423         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
12424         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12425         (__ASSUME_SOCKETCALL): Do not define.
12427         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
12428         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
12429         (__ASSUME_SOCKETCALL): Do not define.
12430         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
12431         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
12432         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12433         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
12434         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12435         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
12436         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12437         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12439         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
12440         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
12441         (__ASSUME_SOCKETCALL): Do not define.
12442         (__ASSUME_IPC64): Define unconditionally.
12443         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
12444         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12445         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
12446         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12447         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
12448         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12449         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
12450         Likewise.
12452         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
12453         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
12454         (__ASSUME_SOCKETCALL): Do not define.
12455         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
12456         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12457         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12458         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12459         (__ASSUME_REQUEUE_PI): Define unconditionally.
12460         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
12461         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
12462         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12463         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
12464         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12465         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12467         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
12468         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
12469         (__ASSUME_SOCKETCALL): Do not define.
12470         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
12471         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12472         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12473         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
12474         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12475         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12477         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
12478         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
12479         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12480         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
12481         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12482         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
12483         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12484         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
12485         (__ASSUME_GETCPU_SYSCALL): Likewise.
12487         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
12488         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
12489         cases for individual architectures.
12490         * sysdeps/gnu/configure: Regenerated.
12491         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
12492         LIBC_SLIBDIR_RTLDDIR.
12493         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
12494         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
12495         LIBC_SLIBDIR_RTLDDIR.
12496         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
12497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
12498         LIBC_SLIBDIR_RTLDDIR.
12499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
12500         Regenerated.
12501         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
12502         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
12503         file.
12504         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
12505         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
12506         file.
12507         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
12508         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
12509         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
12510         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
12512         * sysdeps/aarch64/shlib-versions: Move to ...
12513         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
12514         * sysdeps/alpha/shlib-versions: Move to ...
12515         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
12516         * sysdeps/arm/shlib-versions: Move to ...
12517         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
12518         * sysdeps/hppa/shlib-versions: Move all contents except for
12519         libgcc_s entry to ...
12520         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
12521         entry from ...
12522         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
12523         * sysdeps/ia64/shlib-versions: Move to ...
12524         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
12525         entry from ...
12526         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
12527         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
12528         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
12529         * sysdeps/microblaze/shlib-versions: Move to ...
12530         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
12531         * sysdeps/mips/shlib-versions: Move to ...
12532         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
12533         entry from ...
12534         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
12535         * sysdeps/tile/shlib-versions: Move to ...
12536         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
12537         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
12538         from ...
12539         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
12540         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
12541         entry from ...
12542         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
12544 2014-07-17  Will Newton  <will.newton@linaro.org>
12546         * sysdeps/arm/bits/atomic.h
12547         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
12548         (__arch_compare_and_exchange_bool_16_int): Likewise.
12549         (__arch_compare_and_exchange_bool_64_int): Likewise.
12551         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
12552         into an #else block.
12554 2014-07-16  Roland McGrath  <roland@hack.frob.com>
12556         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
12557         just Linux configurations.  Test empirically that the compiler sets
12558         __ARM_EABI__, rather than using the tuple to decide.
12559         * sysdeps/arm/preconfigure: Regenerated.
12560         * sysdeps/unix/sysv/linux/arm/configure: File removed.
12561         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
12562         contents appended ...
12563         * sysdeps/arm/configure.ac: ... here.
12564         * sysdeps/arm/configure: Regenerated.
12566 2014-07-15  Roland McGrath  <roland@hack.frob.com>
12568         * nptl/pthread_kill.c: New file.
12569         * nptl/pthread_sigmask.c: New file.
12570         * nptl/pthread_sigqueue.c: New file.
12572         * sysdeps/nptl/lowlevellock.h: New file.
12573         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
12574         * sysdeps/nptl/lowlevellock-futex.h: New file.
12576         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
12577         Remove dead declarations.
12579 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
12581         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
12582         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
12583         config-cflags-avx2.
12584         * sysdeps/x86_64/configure.ac: Likewise.
12585         * sysdeps/i386/configure: Regenerated.
12586         * sysdeps/x86_64/configure: Likewise.
12587         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12588         memset-avx2 only if config-cflags-avx2 is yes.
12589         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12590         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
12591         defined.
12592         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
12593         only if HAVE_AVX2_SUPPORT is defined.
12594         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12596 2014-07-14  Alan Modra  <amodra@gmail.com>
12598         [BZ #17153]
12599         * elf/elf.h (DT_PPC64_NUM): Correct value.
12600         * NEWS: Add to fixed bug list.
12602 2014-07-13  Jim Meyering  <meyering@fb.com>
12604         [BZ 17150]
12605         regex: don't deref NULL upon heap allocation failure
12606         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
12607         failure in one more place.
12608         To trigger the segfault, configure grep -with-included-regex,
12609         build it, and run these commands:
12610         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
12612 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
12614         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
12616 2014-07-11  Richard Henderson  <rth@redhat.com>
12618         * sysdeps/aarch64/libm-test-ulps: Update.
12620 2014-07-10  Florian Weimer  <fweimer@redhat.com>
12622         [BZ #17135]
12623         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
12624         * nptl/allocatestack.c (__nptl_setxid_error): New function.
12625         (__nptl_setxid): Initialize error member.  Call
12626         __nptl_setxid_error.
12627         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
12628         * nptl/descr.h (struct xid_command): Add error member.
12629         * nptl/tst-setuid3.c: New file.
12630         * nptl/Makefile (tests): Add it.
12632 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12634         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
12635         New define.
12636         (__lll_trylock): Use __lll_base_trylock.
12637         (__lll_cond_trylock): Likewise.
12639 2014-07-10  Roland McGrath  <roland@hack.frob.com>
12641         * nptl/pthread_create.c (start_thread): Use atomic_or and
12642         lll_futex_wake directly rather than lll_robust_dead.
12643         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
12644         (lll_robust_dead): Macro removed.
12645         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
12646         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
12647         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
12648         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12649         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12650         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
12651         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
12652         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12653         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
12654         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12655         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12656         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12657         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12658         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12659         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12661         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
12662         Use atomic_compare_and_exchange_val_acq directly rather than
12663         lll_robust_trylock.
12664         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
12665         (__lll_robust_trylock, lll_robust_trylock): Removed.
12666         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
12667         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
12668         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12669         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12670         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
12671         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
12672         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12673         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
12674         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12675         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12676         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12677         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12678         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12679         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12681 2014-07-02  Florian Weimer  <fweimer@redhat.com>
12683         * manual/locale.texi (Locale Names): New section documenting
12684         locale name syntax.  Adjust menu and node chaining accordingly.
12685         (Choosing Locale): Reference Locale Names, Locale Categories.
12686         Mention setting LC_ALL=C.  Reflect that name syntax is now
12687         documented.
12688         (Locale Categories): New section title.  Reference Locale Names.
12689         LC_ALL is an environment variable, but not a category.
12690         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
12691         description, now in Locale Name.  Reference that section.  Locale
12692         name syntax is now documented.
12694 2014-07-02  Florian Weimer  <fweimer@redhat.com>
12696         [BZ #17137]
12697         * locale/findlocale.c (name_present, valid_locale_name): New
12698         functions.
12699         (_nl_find_locale): Use the loc_name variable to store name
12700         candidates.  Call name_present and valid_locale_name to check and
12701         validate locale names.  Return an error if the locale is invalid.
12703 2014-07-02  Florian Weimer  <fweimer@redhat.com>
12705         * locale/setlocale.c (setlocale): Use strdup for allocating
12706         composite name copy.
12708 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12710         Sync up with gnulib.
12711         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
12712         [!_LIBC && ENABLE_NLS]: Include gettext.h.
12713         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
12714         and _GL_ARG_NONNULL.
12715         [USE_UNLOCKED_IO]: Include unlocked-io.h.
12716         [!_LIBC]: Include code for Windows and Cygwin.
12717         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
12718         Include prototype for int strerror_r.
12719         [!_LIBC] (is_open): New function.
12720         (flush_stdout): New function.
12721         (print_errno_message): Use it.
12722         (error): Likewise.
12723         (error_at_line): Likewise.
12724         (error_tail) Add function attribute macros.  Use
12725         __builtin_expect.
12727         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
12729         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
12731         * io/ftw.c: Include sys/param.h unconditionally.
12733         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
12735         [BZ #17125]
12736         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
12737         libc_freeres_ptr.
12738         (freecache): New function to free CACHE on exit.
12740         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
12741         initialization.
12743 2014-07-09  David S. Miller  <davem@davemloft.net>
12745         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12747         * sysdeps/sparc/nptl/internaltypes.h: Delete.
12748         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
12749         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
12750         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
12751         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
12752         * sysdeps/sparc/nptl/sem_init.c: Likewise.
12753         * sysdeps/sparc/nptl/sem_post.c: Likewise.
12754         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
12755         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
12756         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
12757         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
12758         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
12759         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
12761 2014-07-09  Andreas Schwab  <schwab@suse.de>
12763         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
12764         output.
12765         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
12766         (do_test): Likewise.
12768         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12770 2014-07-09  Will Newton  <will.newton@linaro.org>
12772         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
12773         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
12774         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
12775         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
12776         * sysdeps/hppa/start.S (_start): Likewise.
12778 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
12780         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
12782         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
12783         defined.
12785 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12787         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
12788         after checking that it is non-NULL.
12790         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
12792 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12794         * sysdeps/powerpc/memmove.c: Remove file.
12795         * sysdeps/powerpc/powerpc32/power4/memcopy.h
12796         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
12797         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
12798         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
12799         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
12800         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
12801         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
12802         string memmove instead of removed powerpc one.
12804         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12805         [weak_alias]: Fix compiler warning due trailing data.
12806         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
12807         [weak_alias]: Likewise.
12808         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
12809         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
12811         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12812         (__libc_ifunc_impl_list): Add memmove functions.
12814 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12816         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
12817         Remove code.
12818         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
12819         Likewise
12820         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
12821         Likewise
12822         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
12823         Likewise
12824         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
12825         Likewise
12826         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
12827         Likewise
12828         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
12829         Likewise
12830         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
12831         Likewise
12832         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
12833         Likewise
12834         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
12835         Likewise
12836         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
12837         Likewise
12838         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
12839         Likewise
12840         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
12841         Likewise
12842         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
12843         Likewise
12844         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
12845         Likewise
12846         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
12847         Likewise
12848         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
12849         Likewise
12851 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12853         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
12854         to avoid alignment traps in non-cacheable memory.
12855         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12857         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
12858         multiarch objects.
12859         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
12860         file: multiarch power7 memmove.
12861         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
12862         multiarch default memmove.
12863         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
12864         multiarch memove for powerpc32/power4.
12866         * string/bcopy.c: Use full path to include memmove.c.
12867         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
12868         multiarch objects.
12869         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
12870         bcopy for powerpc64.
12871         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
12872         bcopy for powerpc64.
12873         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
12874         and memmove implementations.
12875         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
12876         optimized multiarch memmove for POWER7/powerpc64.
12877         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
12878         default multiarch memmove for powerpc64.
12879         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
12880         multiarch for powerpc64.
12881         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
12882         for POWER7/powerpc64.
12883         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
12884         memmove for POWER7/powerpc64.
12886         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
12887         glibc default one.
12889         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
12890         __ELF_NATIVE_CLASS equal to 64.
12892 2014-07-07  Roland McGrath  <roland@hack.frob.com>
12894         * sysdeps/nptl/lowlevellock.h: File removed.
12896         * NEWS: NPTL is no longer an add-on!
12897         * nptl/internaltypes.h: Moved ...
12898         * sysdeps/nptl/internaltypes.h: ... here.
12899         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
12900         * sysdeps/nptl/fork.c: Likewise.
12901         * sysdeps/nptl/gai_misc.h: Likewise.
12902         * sysdeps/nptl/librt-cancellation.c: Likewise.
12903         * sysdeps/nptl/jmp-unwind.c: Likewise.
12904         * sysdeps/nptl/setxid.h: Likewise.
12905         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
12906         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
12907         * sysdeps/unix/sysv/linux/arm/Implies: New file.
12908         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
12909         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
12910         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
12911         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
12912         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
12913         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
12914         * sysdeps/unix/sysv/linux/mips/Implies: New file.
12915         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
12916         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
12917         * sysdeps/unix/sysv/linux/sh/Implies: New file.
12918         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
12919         * sysdeps/unix/sysv/linux/tile/Implies: New file.
12920         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
12921         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
12922         * nptl/Makeconfig: Moved ...
12923         * sysdeps/nptl/Makeconfig: ... here.
12924         * nptl/configure: File removed.
12925         * nptl/ANNOUNCE: File removed.
12926         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
12927         * sysdeps/unix/sysv/linux/configure: Regenerated.
12929         * nptl/Makefile (routines): Add libc_pthread_init,
12930         libc_multiple_threads, register-atfork and unregister-atfork.
12931         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
12932         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
12933         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
12934         pthread-pi-defines.sym, structsem.sym.
12935         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
12936         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
12937         [$(subdir) = nptl] (tests): Add tst-setgetname.
12938         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
12939         * sysdeps/unix/sysv/linux/sigaction.c: Just include
12940         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
12941         [!LIBC_SIGACTION]: Remove aliases.
12942         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
12943         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
12944         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
12945         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
12946         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12947         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
12948         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12949         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12950         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12951         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
12952         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
12953         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
12954         __libc_allocate_rtsig_private.
12955         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
12956         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
12957         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
12958         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
12959         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
12960         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
12961         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
12962         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
12963         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
12964         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
12965         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
12966         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
12967         * nptl/internaltypes.h: ... here.
12968         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
12969         * sysdeps/nptl/jmp-unwind.c: ... here.
12970         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
12971         * nptl/libc-lowlevellock.c: ... here.
12972         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
12973         * nptl/libc_multiple_threads.c: ... here.
12974         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
12975         * nptl/libc_pthread_init.c: ... here.
12976         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
12977         * nptl/lowlevelbarrier.sym: ... here.
12978         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
12979         * nptl/lowlevelcond.sym: ... here.
12980         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
12981         * nptl/lowlevellock.c: ... here.
12982         * nptl/lowlevellock.h: Moved ...
12983         * sysdeps/nptl/lowlevellock.h: ... here.
12984         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
12985         * nptl/lowlevelrobustlock.c: ... here.
12986         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
12987         * nptl/lowlevelrobustlock.sym: ... here.
12988         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
12989         * nptl/lowlevelrwlock.sym: ... here.
12990         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
12991         * nptl/pt-fork.c: ... here.
12992         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
12993         * nptl/pthread-pi-defines.sym: ... here.
12994         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
12995         * nptl/pthread_attr_getaffinity.c: ... here.
12996         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
12997         * nptl/pthread_attr_setaffinity.c: ... here.
12998         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
12999         * nptl/pthread_mutex_cond_lock.c: ... here.
13000         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13001         Update #include.
13002         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
13003         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
13004         * nptl/pthread_once.c: ... here, replacing old file.
13005         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
13006         * nptl/pthread_yield.c: ... here.
13007         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
13008         * nptl/register-atfork.c: ... here.
13009         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
13010         * nptl/sem_post.c: ... here.
13011         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
13012         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
13013         * nptl/sem_timedwait.c: ... here.
13014         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
13015         * nptl/sem_trywait.c: ... here.
13016         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
13017         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
13018         * nptl/sem_wait.c: ... here.
13019         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
13020         * nptl/structsem.sym: ... here.
13021         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
13022         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
13023         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
13024         * nptl/unregister-atfork.c: ... here.
13025         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
13026         * nptl/unwindbuf.sym: ... here.
13027         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
13028         * sysdeps/nptl/fork.c: ... here.
13029         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
13030         * sysdeps/nptl/fork.h: ... here.
13031         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
13032         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
13033         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
13034         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
13035         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
13036         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
13037         * sysdeps/unix/sysv/linux/getpid.c: ... here.
13038         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
13039         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
13040         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
13041         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
13042         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
13043         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
13044         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
13045         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
13046         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
13047         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
13048         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
13049         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
13050         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
13051         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
13052         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
13053         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
13054         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
13055         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
13056         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
13057         * sysdeps/unix/sysv/linux/raise.c: ... here.
13058         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
13059         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
13060         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
13061         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
13062         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
13063         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
13064         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
13065         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
13066         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
13067         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
13068         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
13069         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
13070         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
13071         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
13072         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
13074 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13076         * sysdeps/generic/memcopy.h: Add comment for
13077         MEMCPY_OK_FOR_FWD_MEMMOVE.
13079 2014-07-04  Will Newton  <will.newton@linaro.org>
13081         * string/memchr.c: Merge from gnulib.
13082         [_LIBC]: Remove conditionals.
13083         (__ptr_t): Remove define.
13084         (LONG_MAX_32_BITS): Likewise.
13085         (LONG_MAX): Likewise.
13086         (MEMCHR): Use ANSI prototype and optimize algorithm.
13088         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
13090 2014-07-03  Roland McGrath  <roland@hack.frob.com>
13092         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
13093         (lll_futex_timed_wait_bitset): Fix syscall argument count.
13095         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
13096         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
13097         in a bare environment with no <stdlib.h> installed.
13098         * sysdeps/nptl/configure: Regenerated.
13100         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
13102         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
13103         AC_EGREP_CPP for kernel header checks, so they only succeed if
13104         including <linux/version.h> actually works right.
13105         * sysdeps/unix/sysv/linux/configure: Regenerated.
13107         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
13108         value so it's not diagnosed as unused.
13110         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
13111         thing) with "ifeq ($(subdir),rt)".
13113 2014-07-03  Richard Henderson  <rth@redhat.com>
13115         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
13116         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
13117         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
13119         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
13120         (math_force_eval): New.
13122         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
13123         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
13125         * sysdeps/alpha/fpu/s_round.c: Remove file.
13126         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
13128         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
13129         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
13130         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
13131         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
13132         (_dl_start, print_statistics): Likewise.
13133         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
13134         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
13136         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13137         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13138         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13139         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13140         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13141         (HP_SMALL_TIMING_AVAIL): Define.
13142         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13143         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
13144         (HP_SMALL_TIMING_AVAIL): Define.
13145         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13146         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13148         * sysdeps/aarch64/hp-timing.h: New file.
13150         * sysdeps/generic/hp-timing.h: Remove dead comment.
13151         * sysdeps/generic/hp-timing-common.h: New file.
13152         * sysdeps/alpha/hp-timing.h: Include it.
13153         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
13154         * sysdeps/i386/i686/hp-timing.h: Likewise.
13155         * sysdeps/ia64/hp-timing.h: Likewise.
13156         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13157         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13158         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13159         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13160         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
13161         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
13162         (hp_timing_t): New.
13164         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
13165         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
13166         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
13167         * elf/rtld.c (_dl_start_final): Likewise.
13168         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
13169         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13170         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13171         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13172         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13173         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13174         (HP_TIMING_DIFF_INIT): Remove.
13175         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13176         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
13177         (HP_TIMING_DIFF_INIT): Remove.
13178         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13179         * sysdeps/i386/i686/hp-timing.c: Remove file.
13180         * sysdeps/x86_64/hp-timing.c: Remove file.
13181         * sysdeps/ia64/hp-timing.c: Remove file.
13182         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
13183         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
13184         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
13185         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
13187         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
13188         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
13189         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
13190         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13191         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13192         (HP_TIMING_ACCUM): Remove.
13193         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13194         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
13195         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13197         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
13198         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
13199         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
13200         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
13201         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
13202         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13203         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
13204         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13206         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
13208 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
13210         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
13212 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13214         Sync up with gettext.
13215         * intl/loadmsgcat.c: Define O_BINARY if not defined.
13216         [_MSC_VER]: Include malloc.h
13217         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
13218         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
13219         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
13220         TEMP_FAILURE_RETRY.  Cast return of alloca.
13221         [!_LIBC] Call gl_rwlock_init.
13222         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
13224 2014-07-02  Roland McGrath  <roland@hack.frob.com>
13226         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
13227         before checking its value.
13229 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13231         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
13233         * debug/memcpy_chk.c: Don't include pagecopy.h.
13234         * debug/mempcpy_chk.c: Likewise.
13235         * string/memcpy.c: Likewise.
13236         * string/memmove.c: Likewise.
13237         * sysdeps/powerpc/memmove.c: Likewise.
13238         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
13239         definition of PAGE_COPY_FWD_MAYBE here...
13240         * sysdeps/generic/pagecopy.h: ... from here.
13241         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
13243 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13244             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13246         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
13247         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
13248         optimizations.
13249         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13250         (__libc_ifunc_impl_list): Likewise.
13251         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
13252         multiarch strcat for PPC64.
13253         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
13254         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
13256 2014-07-02  Roland McGrath  <roland@hack.frob.com>
13258         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
13260 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13262         * intl/loadmsgcat.c: Remove declaration of
13263         get_sysdep_segment_value.
13264         (get_sysdep_segment_value): Use ISO C style.
13265         (_nl_load_domain): Use ISO C style.  Get rid of redundant
13266         semicolon.  Fix typo and formatting in comment.
13267         (_nl_unload_domain): Use ISO C style.
13269         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
13271 2014-07-02  Will Newton  <will.newton@linaro.org>
13273         * malloc/obstack.c: Merge from gnulib master.
13274         [HAVE_CONFIG_H]: Remove conditional code.
13275         [!_LIBC]: Include config.h.
13276         [!ELIDE_CODE]: Don't include inttypes.h, include
13277         stdint.h unconditionally.
13278         (print_and_abort): Mark as _Noreturn.
13279         (_obstack_allocated_p): Mark as __attribute_pure__.
13280         (obstack_free): Rename to __obstack_free.
13281         [!__attribute__]: Remove conditional code.
13282         * malloc/obstack.h: Merge from gnulib master.
13283         [__cplusplus]: Move conditional down.
13284         [!__attribute_pure__]: Define __attribute_pure__ here
13285         if it is not already defined.
13286         (_obstack_memory_used): Mark as __attribute_pure__.
13287         [!__obstack_free]: Define as obstack_free.
13288         [__GNUC__]: Remove check for ancient NeXT gcc.
13290 2014-07-02  Will Newton  <will.newton@linaro.org>
13291             Paul Eggert  <eggert@cs.ucla.edu>
13293         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
13295 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13297         * resolv/gethnamaddr.c: Add comment warning that the file is
13298         not maintained.
13300 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
13302         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
13303         entries.
13305         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
13306         entry for aio_cancel and aio_cancel64.
13307         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
13308         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
13309         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
13310         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
13311         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
13312         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
13313         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
13314         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
13315         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
13316         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
13317         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
13318         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
13319         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
13321 2014-07-01  Roland McGrath  <roland@hack.frob.com>
13323         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
13324         * nptl/pthread_mutex_lock.c: Likewise.
13325         * nptl/pthread_mutex_timedlock.c: Likewise.
13326         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
13328 2014-07-01  Richard henderson  <rth@redhat.com>
13330         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
13331         (__isnan, __isnanl): Remove.
13332         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
13334         * sysdeps/alpha/fpu/libm-test-ulps: Update.
13336 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
13338         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13340 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
13342         * resolv/nss_dns/dns-host.c (getanswer_r)
13343         [MULTI_PTRS_ARE_ALIASES]: Remove code.
13345 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
13347         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13348         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
13349         undefine.
13350         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
13351         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
13353 2014-07-01  Roland McGrath <roland@hack.frob.com>
13355         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
13356         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
13358         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
13359         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
13361         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
13362         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
13363         ... here.
13364         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
13365         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
13367         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
13368         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
13369         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
13370         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
13372         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
13373         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
13374         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
13375         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
13376         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
13377         Moved ...
13378         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
13379         ... here.
13380         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
13381         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
13382         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
13383         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
13384         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
13385         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
13386         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
13387         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
13388         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
13389         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
13390         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
13391         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
13392         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
13393         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
13394         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
13395         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
13396         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
13397         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
13398         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
13399         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
13400         ... here.
13401         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
13402         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
13403         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
13404         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
13405         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
13406         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
13407         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
13408         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
13410 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
13412         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
13413         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
13414         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
13415         Add sysdep.
13417 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13419         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13421 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
13423         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13424         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13426         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13428         * sysdeps/arm/libm-test-ulps: Regenerated.
13430 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
13431             Roland McGrath <roland@hack.frob.com>
13433         * test-skeleton.c (signal_handler): Kill the whole process group
13434         before killing the child individually.
13435         (main): Report any failure on `setpgid'.
13437 2014-06-30  Roland McGrath  <roland@hack.frob.com>
13439         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
13440         from _TLS_H to _ARM_NPTL_TLS_H.
13441         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
13442         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
13444 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
13446         [BZ #16539]
13447         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
13448         (__expm1l): Return argument unchanged when small but not
13449         subnormal.
13451         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
13452         include macro name.
13453         (_FP_UNPACK_RAW_1_P): Likewise.
13454         (_FP_PACK_RAW_1): Likewise.
13455         (_FP_PACK_RAW_1_P): Likewise.
13456         (_FP_MUL_MEAT_1_wide): Likewise.
13457         (_FP_MUL_MEAT_DW_1_hard): Likewise.
13458         (_FP_MUL_MEAT_1_hard): Likewise.
13459         (_FP_DIV_MEAT_1_imm): Likewise.
13460         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
13461         (_FP_DIV_MEAT_1_udiv): Likewise.
13462         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
13463         (_FP_UNPACK_RAW_2): Likewise.
13464         (_FP_UNPACK_RAW_2_P): Likewise.
13465         (_FP_PACK_RAW_2): Likewise.
13466         (_FP_PACK_RAW_2_P): Likewise.
13467         (_FP_MUL_MEAT_DW_2_wide): Likewise.
13468         (_FP_MUL_MEAT_2_wide): Likewise.
13469         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
13470         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
13471         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
13472         (_FP_MUL_MEAT_2_gmp): Likewise.
13473         (_FP_DIV_MEAT_2_udiv): Likewise.
13474         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
13475         (_FP_FRAC_SRL_4): Likewise.
13476         (_FP_FRAC_SRST_4): Likewise.
13477         (_FP_FRAC_SRS_4): Likewise.
13478         (_FP_UNPACK_RAW_4): Likewise.
13479         (_FP_UNPACK_RAW_4_P): Likewise.
13480         (_FP_PACK_RAW_4): Likewise.
13481         (_FP_PACK_RAW_4_P): Likewise.
13482         (_FP_MUL_MEAT_DW_4_wide): Likewise.
13483         (_FP_MUL_MEAT_4_wide): Likewise.
13484         (_FP_MUL_MEAT_4_gmp): Likewise.
13485         (umul_ppppmnnn): Likewise.
13486         (_FP_DIV_MEAT_4_udiv): Likewise.
13487         (__FP_FRAC_ADD_4): Likewise.
13488         (__FP_FRAC_SUB_3): Likewise.
13489         (__FP_FRAC_SUB_4): Likewise.
13490         (__FP_FRAC_DEC_3): Likewise.
13491         (__FP_FRAC_DEC_4): Likewise.
13492         (__FP_FRAC_ADDI_4): Likewise.
13493         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
13494         (_FP_FRAC_SRL_8): Likewise.
13495         (_FP_FRAC_SRS_8): Likewise.
13497         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
13498         include macro name.
13499         (FP_UNPACK_RAW_EP): Likewise.
13500         (FP_PACK_RAW_E): Likewise.
13501         (FP_PACK_RAW_EP): Likewise.
13502         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
13503         (_FP_ISSIGNAN): Likewise.
13504         (_FP_ADD_INTERNAL): Likewise.
13505         (_FP_FMA): Likewise.
13506         (_FP_CMP): Likewise.
13507         (_FP_SQRT): Likewise.
13508         (_FP_TO_INT): Likewise.
13509         (_FP_FROM_INT): Likewise.
13510         (FP_EXTEND): Likewise.
13511         (_FP_DIV_MEAT_N_loop): Likewise.
13513 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
13515         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
13516         throughout.
13518 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
13520         [BZ #17097]
13521         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
13522         result with correct sign in case of exponents that produce
13523         overflow except for X very close to 1.
13525 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
13527         mktime: merge #if/#ifdef usage from glibc
13528         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
13529         as that works with both Glibc's and Gnulib's style.
13530         See thread starting at Siddhesh Poyarekar's bug report at:
13531         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
13533 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13535         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
13536         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
13537         * sysdeps/tile/tilegx/memmove.c: Remove file.
13539 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
13541         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
13542         abi-name definition.
13543         * scripts/soversions.awk: Do not handle or generate ABI lines.
13544         * shlib-versions: Remove ABI entries.
13545         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
13546         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
13548 2014-06-27  Roland McGrath  <roland@hack.frob.com>
13550         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
13551         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
13552         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
13553         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
13554         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
13555         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
13556         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
13557         Moved ...
13558         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
13559         ... here.
13560         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
13561         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
13562         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
13563         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
13564         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
13565         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
13566         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
13567         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
13568         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
13569         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
13570         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
13571         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
13572         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
13573         Moved ...
13574         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
13575         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
13576         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
13577         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
13578         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
13579         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
13580         Moved ...
13581         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
13582         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
13583         Moved ...
13584         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
13585         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
13586         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
13587         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
13588         Moved ...
13589         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
13590         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
13591         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
13592         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
13593         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
13594         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
13595         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
13596         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
13597         Moved ...
13598         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
13599         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
13600         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
13601         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
13602         Moved ...
13603         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
13604         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
13605         Moved ...
13606         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
13607         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
13608         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
13609         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
13610         Moved ...
13611         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
13612         ... here.
13613         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
13614         Identical file removed.
13615         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
13616         Moved ...
13617         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
13618         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
13619         Identical file removed.
13620         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
13621         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
13622         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
13623         Moved ...
13624         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
13625         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
13626         Identical file removed.
13627         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
13628         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
13629         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
13630         Identical file removed.
13631         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
13632         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
13633         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
13634         Identical file removed.
13635         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
13636         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
13637         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
13638         Identical file removed.
13639         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
13640         Moved ...
13641         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
13642         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
13643         Identical file removed.
13644         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
13645         Moved ...
13646         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
13647         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
13648         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
13649         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
13650         Identical file removed.
13651         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
13652         Moved ...
13653         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
13654         ... here.
13655         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
13656         Identical file removed.
13657         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
13658         Moved ...
13659         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
13660         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
13661         Identical file removed.
13662         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
13663         Moved ...
13664         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
13665         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
13666         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
13667         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
13668         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
13669         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
13670         Moved ...
13671         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
13672         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
13673         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
13675         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
13676         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
13677         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
13678         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
13679         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
13681 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
13683         [BZ #17092]
13684         * nscd/nscd.c (monitor_child): Return exit status of child
13685         instead of return value from wait syscall.
13687 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
13689         * configure.ac (libc_commonpagesize): Remove variable.
13690         (libc_relro_required): Likewise.
13691         (libc_cv_z_relro): Remove configure test.
13692         * configure: Regenerated.
13693         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
13694         variable.
13695         (libc_relro_required): Likewise.
13696         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
13697         (libc_relro_required): Likewise.
13698         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
13699         (libc_relro_required): Likewise.
13700         * sysdeps/arm/preconfigure: Regenerated.
13701         * sysdeps/ia64/preconfigure: Remove file.
13702         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
13703         variable.
13704         (libc_relro_required): Likewise.
13706         [BZ #16561]
13707         [BZ #16562]
13708         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
13709         (__ieee754_yn): Set FE_TONEAREST mode internally and then
13710         recompute overflowing results in original rounding mode.
13711         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
13712         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
13713         recompute overflowing results in original rounding mode.
13714         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
13715         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13716         recompute overflowing results in original rounding mode.
13717         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
13718         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13719         recompute overflowing results in original rounding mode.
13720         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
13721         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13722         recompute overflowing results in original rounding mode.
13723         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
13724         (libc_feholdsetround_ctx): New macro.
13725         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
13726         * sysdeps/i386/fpu/libm-test-ulps: Update.
13727         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
13729 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
13731         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
13732         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
13733         corresponding .cpsetup call.
13735 2014-06-26  Roland McGrath  <roland@hack.frob.com>
13737         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
13738         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
13739         * sysdeps/arm/Makefile [$(subdir) = csu]
13740         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
13741         (static-only-routines): Add aeabi_read_tp here.
13742         (shared-only-routines): Add libc-aeabi_read_tp here.
13743         (CFLAGS-libc-start.c): Add -fexceptions here.
13744         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
13745         (sysdep_routines, static-only-routines, shared-only-routines):
13746         Don't add to these here.
13747         (CFLAGS-libc-start.c): Likewise.
13749         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
13750         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
13751         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
13752         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
13753         * sysdeps/arm/Makefile [$(subdir) = rt]
13754         (librt-sysdep_routines, librt-shared-only-routines):
13755         Append rt-aeabi_unwind_cpp_pr1 here.
13756         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
13757         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
13758         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
13759         (libpthread-sysdep_routines, libpthread-shared-only-routines):
13760         Append nptl-aeabi_unwind_cpp_pr1 here.
13761         (tests): Filter out tst-cleanupx4 here.
13762         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
13763         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
13764         Don't do those here.
13766 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
13768         * scripts/list-sources.sh: Do not handle ports specially.
13770 2014-06-26  Roland McGrath  <roland@hack.frob.com>
13772         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
13773         * sysdeps/arm/feupdateenv.c: Likewise.
13775         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
13777 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
13779         * manual/texinfo.tex: Update to version 2014-05-05.10 with
13780         trailing whitespace removed.
13781         * scripts/config.guess: Update to version 2014-03-23.
13782         * scripts/config.sub: Update to version 2014-05-01
13783         * scripts/install-sh: Update to version 2013-12-25.23.
13784         * scripts/move-if-change: Update from gnulib.
13786 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13788         * debug/memmove_chk.c: Remove pagecopy.h include.
13790 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
13792         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
13793         identical to gnulib mktime.
13795 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
13797         * configure.ac: Do not test for machine being rs6000.  Do not test
13798         for powerpc*-*soft.
13799         * configure: Regenerated.
13801         [BZ #11505]
13802         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
13803         test.
13804         * configure: Regenerated.
13805         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
13806         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
13807         Remove configure test.
13808         * sysdeps/arm/configure: Regenerated.
13809         * sysdeps/nptl/configure.ac: Do not check
13810         libc_cv_asm_cfi_directives.
13811         * sysdeps/nptl/configure: Regenerated.
13812         * sysdeps/x86_64/nptl/configure.ac: Remove file.
13813         * sysdeps/x86_64/nptl/configure: Remove generated file.
13814         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
13815         unconditional.
13816         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
13818 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13820         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
13821         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
13822         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
13823         it is defined.
13825         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
13826         instead of whether it is defined.
13827         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
13828         * sysdeps/hppa/dl-machine.h: Likewise.
13829         * sysdeps/ia64/dl-machine.h: Likewise.
13830         * sysdeps/m68k/dl-machine.h: Likewise.
13831         * sysdeps/microblaze/dl-machine.h: Likewise.
13832         * sysdeps/mips/dl-machine.: Likewise.
13833         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13834         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13835         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13836         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13837         * sysdeps/sh/dl-machine.h: Likewise.
13838         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13839         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13840         * sysdeps/tile/dl-machine.h: Likewise.
13841         * sysdeps/x86_64/dl-machine.h: Likewise.
13843         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
13844         code.
13845         (verify_persistent_db): Likewise.
13847 2014-06-26  Roland McGrath  <roland@hack.frob.com>
13849         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
13850         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
13851         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
13852         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
13853         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
13854         Moved ...
13855         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
13856         ... here.
13857         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
13858         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
13859         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
13860         Identical file removed.
13861         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
13862         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
13863         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
13864         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
13865         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
13866         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
13867         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
13868         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
13869         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
13870         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
13871         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13872         Moved ...
13873         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
13874         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
13875         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
13876         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
13877         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
13878         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
13879         Moved ...
13880         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
13881         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
13882         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
13883         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
13884         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
13885         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
13886         Identical file removed.
13887         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
13888         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
13889         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
13890         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
13891         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
13892         Moved ...
13893         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
13894         ... here.
13895         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
13896         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
13897         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
13898         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
13899         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
13900         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
13901         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
13902         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
13903         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
13904         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
13905         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13906         Moved ...
13907         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
13908         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
13909         Moved ...
13910         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
13911         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
13912         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
13913         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
13914         Moved ...
13915         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
13916         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
13917         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
13919         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
13920         folded into ...
13921         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
13922         * sysdeps/unix/sysv/linux/s390/Versions
13923         (libpthread: GLIBC_2.19): New version set.
13924         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
13925         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
13926         (librt: GLIBC_2.3.3): New version set.
13927         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
13928         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
13929         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
13930         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
13931         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
13932         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
13933         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
13934         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
13935         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
13936         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
13937         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
13938         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
13939         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
13940         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
13941         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
13942         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
13943         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
13944         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
13945         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
13946         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
13947         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
13948         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
13949         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
13950         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
13951         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
13952         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
13953         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
13954         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
13955         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
13956         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
13957         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
13958         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
13959         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
13960         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
13961         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
13962         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
13963         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
13964         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
13965         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
13966         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
13967         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
13968         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
13969         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
13970         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
13971         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
13973         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
13974         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
13975         (__libc_vfork): Define the function under this name.
13976         [!NOT_IN_libc] (__vfork): Make this an alias.
13977         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
13978         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
13979         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
13980         (__libc_vfork): Define the function under this name.
13981         [!NOT_IN_libc] (__vfork): Make this an alias.
13982         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
13983         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
13984         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
13985         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
13986         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
13987         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
13989         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
13990         code that was previously under [RESET_PID].
13991         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
13992         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
13993         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
13995         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
13996         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
13997         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
13998         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
13999         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
14000         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
14001         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
14002         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
14003         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
14004         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
14005         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
14006         Moved ...
14007         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
14008         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
14009         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
14010         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
14011         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
14012         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
14013         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
14014         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
14015         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
14016         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
14017         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
14018         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
14019         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
14020         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
14021         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
14022         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
14023         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
14024         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
14025         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
14026         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
14027         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
14028         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
14029         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
14030         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
14031         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
14032         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
14033         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
14034         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
14035         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
14037 2014-06-25  Roland McGrath  <roland@hack.frob.com>
14039         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
14040         that was previously under [RESET_PID].
14041         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
14043 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
14045         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
14046         not undefine and redefine.
14047         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
14048         [O_CLOEXEC]: Make code unconditional.
14049         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
14050         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
14051         <kernel-features.h>.
14052         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
14053         conditional variable definition.
14054         (shm_open) [O_CLOEXEC]: Make code unconditional.
14055         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
14056         code.
14058         * configure.ac (USE_REGPARMS): Don't define here.
14059         * configure: Regenerated.
14060         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
14061         * sysdeps/i386/configure: Regenerated.
14063         * nptl/createthread.c: Don't include kernel-features.h.
14064         * nptl/pthread_cancel.c: Likewise.
14065         * nptl/pthread_condattr_setclock.c: Likewise.
14066         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
14067         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
14068         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
14069         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
14070         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
14071         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
14072         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
14073         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
14074         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
14075         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
14076         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
14077         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
14078         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
14079         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
14080         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
14081         * nscd/gai.c: Likewise.
14082         * nss/nss_db/db-open.c: Likewise.
14083         * sysdeps/generic/ldsodefs.h: Likewise.
14084         * sysdeps/sh/nptl/tls.h: Likewise.
14085         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
14086         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
14087         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
14088         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
14089         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
14090         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14091         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
14092         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14093         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14094         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
14095         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
14096         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14097         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
14098         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
14099         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
14100         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
14101         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
14102         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
14103         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
14104         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
14105         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
14106         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
14107         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
14108         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
14109         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
14110         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
14111         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
14112         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
14113         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
14114         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
14115         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
14116         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
14117         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
14118         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14119         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14120         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14121         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14122         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
14123         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
14124         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
14125         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14126         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
14127         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
14128         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14129         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
14130         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
14131         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
14132         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
14133         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
14134         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
14135         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
14136         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
14137         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
14138         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14139         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
14140         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14141         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
14142         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
14143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
14145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
14146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
14147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
14148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
14149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
14150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
14151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
14154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
14155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
14156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
14157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
14159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
14163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
14164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
14165         * sysdeps/unix/sysv/linux/pread.c: Likewise.
14166         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
14167         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
14168         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
14169         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
14170         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
14171         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
14172         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
14173         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
14174         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
14175         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
14176         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
14177         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
14178         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
14179         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
14180         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
14181         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14182         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
14183         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
14184         * sysdeps/unix/sysv/linux/system.c: Likewise.
14185         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
14186         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
14187         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
14188         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
14189         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14190         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14191         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14193         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
14194         * configure: Regenerated.
14195         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
14197         * configure.ac (base_machine): Do not set specially for particular
14198         machines here.
14199         * configure: Regenerated.
14200         * sysdeps/powerpc/preconfigure: Move machine and base_machine
14201         settings from configure.ac.
14202         * sysdeps/i386/preconfigure: New file.
14203         * sysdeps/s390/preconfigure: Likewise.
14204         * sysdeps/sh/preconfigure: Likewise.
14205         * sysdeps/sparc/preconfigure: Likewise.
14207 2014-06-25  Roland McGrath  <roland@hack.frob.com>
14209         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
14210         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
14211         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
14212         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
14213         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
14214         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
14215         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
14216         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
14217         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
14218         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
14219         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
14220         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
14221         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
14222         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
14223         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
14224         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
14225         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
14226         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
14227         * sysdeps/sparc/sparc64/Makefile: ... appended here.
14229         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
14230         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
14231         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
14232         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
14233         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
14234         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
14235         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
14236         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
14237         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
14238         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
14239         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
14240         * sysdeps/sparc/sparc32/sem_post.c: ... here.
14241         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
14242         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
14243         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
14244         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
14245         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
14246         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
14247         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
14248         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
14249         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
14250         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
14251         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
14252         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
14253         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
14254         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
14255         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
14256         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
14257         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
14258         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
14259         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
14260         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
14261         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
14262         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
14263         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
14264         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
14265         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
14266         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
14268         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
14269         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
14270         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
14271         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
14272         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14273         Moved ...
14274         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
14275         ... here.
14276         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
14277         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
14278         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
14279         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
14280         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
14281         Moved ...
14282         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
14283         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
14284         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
14285         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
14286         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
14287         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
14288         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
14289         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14290         Moved ...
14291         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
14292         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14293         Moved ...
14294         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
14295         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
14296         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
14297         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14298         Moved ...
14299         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
14300         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
14301         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
14302         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
14303         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
14304         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
14305         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
14306         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
14307         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
14308         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14309         Moved ...
14310         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
14311         ... here.
14312         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
14313         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
14314         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
14315         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
14316         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
14317         Moved ...
14318         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
14319         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
14320         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
14321         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
14322         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
14323         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
14324         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
14325         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14326         Moved ...
14327         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
14328         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14329         Moved ...
14330         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
14331         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
14332         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
14333         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14334         Moved ...
14335         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
14336         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
14337         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
14338         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
14339         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
14341 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
14343         * timezone/checktab.awk: Update from tzcode 2014e.
14344         * timezone/private.h: Likewise.
14345         * timezone/tzfile.h: Likewise.
14346         * timezone/zdump.c: Likewise.
14347         * timezone/zic.c: Likewise.
14349         * sysdeps/unix/sysv/linux/kernel-features.h
14350         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
14351         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
14352         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
14353         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
14354         Remove conditional code.
14356 2014-06-25  Will Newton  <will.newton@linaro.org>
14358         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
14359         (_dl_arm_cap_flags): Add HWCAP2 values.
14360         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
14361         (_DL_HWCAP_COUNT): Increase to 37.
14362         (_DL_HWCAP_LAST): New define.
14363         (_DL_HWCAP2_LAST): New define.
14364         (_dl_procinfo): Add support for printing
14365         AT_HWCAP2 entries.
14366         (_dl_string_hwcap): Use _dl_hwcap_string.
14368 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14370         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14372 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
14374         * README: Do not mention ports directory.
14376         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
14377         Remove macro.
14378         * sysdeps/unix/sysv/linux/futimes.c: Do not include
14379         <kernel-features.h>.
14380         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
14381         conditional variable definition.
14382         (__futimes): Update comment.
14383         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
14384         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
14386         [BZ #16560]
14387         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
14388         arguments close to 0.
14389         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
14390         Likewise.
14391         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
14392         Likewise.
14393         * math/auto-libm-test-in: Add more tests of exp10.
14394         * math/auto-libm-test-out: Regenerated.
14395         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14397         * sysdeps/unix/sysv/linux/kernel-features.h
14398         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
14399         * sysdeps/unix/sysv/linux/readv.c: Do not include
14400         <kernel-features.h>.
14401         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
14402         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
14403         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
14404         unconditional.
14405         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
14406         conditional code.
14407         * sysdeps/unix/sysv/linux/writev.c: Do not include
14408         <kernel-features.h>.
14409         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
14410         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
14411         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
14412         unconditional.
14413         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
14414         conditional code.
14416 2014-06-25  Will Newton  <will.newton@linaro.org>
14418         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
14419         comment changes throughout the file.  Remove checks
14420         for HAVE_*_H definitions that are not required.
14421         (__gen_tempname): Call abort if an unknown kind value is
14422         passed.
14424 2014-06-25  Andreas Schwab  <schwab@suse.de>
14426         [BZ #17086]
14427         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
14428         scalbln, scalblnf, scalblnl in libc.
14430 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
14432         [BZ #17086]
14433         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
14434         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
14435         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
14437 2014-06-24  Roland McGrath  <roland@hack.frob.com>
14439         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
14440         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
14441         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
14442         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
14443         Update #include.
14444         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
14445         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
14446         Update #include.
14447         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
14448         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
14449         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
14450         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
14451         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
14452         * sysdeps/x86/bits/pthreadtypes.h: ... here.
14453         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
14454         * sysdeps/x86/bits/semaphore.h: ... here.
14455         * sysdeps/x86/nptl/elide.h: Moved ...
14456         * sysdeps/x86/elide.h: ... here.
14457         * sysdeps/x86_64/nptl/Implies: File removed.
14458         * sysdeps/i386/nptl/Implies: File removed.
14460 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
14462         [BZ #16539]
14463         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
14464         return the argument for normal arguments with exponent below -64.
14465         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14466         Likewise.
14467         * math/auto-libm-test-in: Add another test of expm1.
14468         * math/auto-libm-test-out: Regenerated.
14470         [BZ #16287]
14471         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
14472         calling __erfcl for arguments at least 16.
14473         * math/auto-libm-test-in: Add more tests of erf.
14474         * math/auto-libm-test-out: Regenerated.
14476         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
14477         individual architectures.
14478         * sysdeps/unix/sysv/linux/configure: Regenerated.
14479         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
14480         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
14481         * sysdeps/unix/sysv/linux/powerpc/configure.ac
14482         (ldd_rewrite_script): Define variable.
14483         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
14485         file.
14486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
14487         generated file.
14488         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
14489         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
14490         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
14491         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
14492         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
14493         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
14494         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
14495         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
14497 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14499         [BZ #17084]
14500         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
14501         Rename member __data.d to __data.__elision_data.
14503 2014-06-24  Wilco  <wdijkstr@arm.com>
14505         * NEWS: Add 16918 to fixed bug list.
14507 2014-06-24  Wilco  <wdijkstr@arm.com>
14509         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
14511 2014-06-24  Wilco  <wdijkstr@arm.com>
14513         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
14514         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
14515         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
14516         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
14517         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
14518         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
14519         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
14520         Use _FPU_MASK_RM.
14522 2014-06-24  Wilco  <wdijkstr@arm.com>
14524         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
14526 2014-06-24  Wilco  <wdijkstr@arm.com>
14528         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
14529         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
14530         * sysdeps/arm/fesetround.c (fesetround): Remove space.
14531         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
14533 2014-06-24  Wilco  <wdijkstr@arm.com>
14535         [BZ #16918]
14536         * sysdeps/arm/feupdateenv.c (feupdateenv):
14537         Rewrite to reduce FPSCR accesses and fix return value.
14539 2014-06-24  Wilco  <wdijkstr@arm.com>
14541         * sysdeps/arm/fclrexcpt.c (feclearexcept):
14542         Optimize to avoid unnecessary FPSCR writes.
14543         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
14544         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
14545         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
14546         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
14548 2014-06-24  Wilco  <wdijkstr@arm.com>
14550         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
14551         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
14552         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
14553         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
14554         Call libc_fetestexcept_vfp.
14555         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
14556         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
14557         __SOFTFP__ ifdef so that they can be built for softfp.
14559 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14561         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
14562         argument type signed char.
14564         * Makerules (check-abi): Dump diff of symlist if the test
14565         fails.
14567 2014-06-23  Roland McGrath  <roland@hack.frob.com>
14569         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
14570         using abort.
14572         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
14573         Remove unused variable ST.
14575 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
14577         [BZ #16354]
14578         [BZ #17061]
14579         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
14580         small arguments before calling __expm1.
14581         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
14582         small arguments before calling __expm1f.
14583         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
14584         small arguments before calling __expm1l.
14585         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
14586         Likewise.
14587         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
14588         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
14589         spurious underflow for some cosh tests.
14590         * math/auto-libm-test-out: Regenerated.
14591         * sysdeps/i386/fpu/libm-test-ulps: Update.
14593         [BZ #17050]
14594         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
14595         (__ieee754_y1): Set errno if return value overflows.
14596         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
14597         (__ieee754_y1f): Set errno if return value overflows.
14598         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
14599         (__ieee754_y1l): Set errno if return value overflows.
14600         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
14601         (__ieee754_y1l): Set errno if return value overflows.
14602         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
14603         * math/auto-libm-test-out: Regenerated.
14605         * math/gen-auto-libm-tests.c: Document use of
14606         ignore-zero-inf-sign.
14607         (input_flag_type): Add value flag_ignore_zero_inf_sign.
14608         (input_flags): Add ignore-zero-inf-sign.
14609         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
14610         * math/gen-libm-test.pl (generate_testfile): Handle
14611         ignore-zero-inf-sign.
14612         * math/auto-libm-test-in: Mark some cpow tests with
14613         ignore-zero-inf-sign and some with xfail-rounding.
14614         * math/auto-libm-test-out: Regenerated.
14615         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
14616         * sysdeps/i386/fpu/libm-test-ulps: Update.
14617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14619         [BZ #16315]
14620         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
14621         overflowing or underflowing operations take place with sign of
14622         result.
14623         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14624         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14625         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
14626         (__ieee754_pow): Recompute overflowing and underflowing results in
14627         original rounding mode.
14628         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
14629         (__powl_helper): Allow negative argument X and scale negated value
14630         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
14631         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
14632         overflowing or underflowing operations take place with sign of
14633         result.
14634         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
14635         Include <math.h>.
14636         * math/auto-libm-test-in: Add more tests of pow.
14637         * math/auto-libm-test-out: Regenerated.
14638         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
14639         (pow_tonearest_test_data): Remove.
14640         (pow_test_tonearest): Likewise.
14641         (pow_towardzero_test_data): Likewise.
14642         (pow_test_towardzero): Likewise.
14643         (pow_downward_test_data): Likewise.
14644         (pow_test_downward): Likewise.
14645         (pow_upward_test_data): Likewise.
14646         (pow_test_upward): Likewise.
14647         (main): Don't call removed functions.
14648         * sysdeps/i386/fpu/libm-test-ulps: Update.
14649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14651 2014-06-23  Roland McGrath  <roland@hack.frob.com>
14653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
14654         Moved ...
14655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
14656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14657         Moved ...
14658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
14659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
14660         Moved ...
14661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
14662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14663         Moved ...
14664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
14665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14666         File removed.
14667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
14668         File removed.
14669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
14670         File removed.
14671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
14672         File removed.
14673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
14674         File removed.
14675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
14676         File removed.
14677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
14678         File removed.
14679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14680         File removed.
14681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
14682         File removed.
14683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
14684         File removed.
14685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
14686         File removed.
14687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
14688         File removed.
14689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
14690         Moved ...
14691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
14692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
14693         Moved ...
14694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
14695         ... here.
14696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
14697         Moved ...
14698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
14699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
14700         Moved ...
14701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
14702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
14703         Moved ...
14704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
14705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
14706         Moved ...
14707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
14708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
14709         Moved ...
14710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
14711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
14712         Moved ...
14713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
14714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
14715         Moved ...
14716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
14717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
14718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
14719         ... here.
14720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
14721         Moved ...
14722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
14723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14724         Moved ...
14725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14726         ... here.
14727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
14728         Moved ...
14729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14730         ... here.
14731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14732         Moved ...
14733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
14734         ... here.
14735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14736         Moved ...
14737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
14738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
14739         Moved ...
14740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
14741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
14742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
14743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
14744         Moved ...
14745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
14746         ... here.
14747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14748         Moved ...
14749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
14750         ... here.
14751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
14752         Moved ...
14753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
14754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14755         Moved ...
14756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
14757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
14758         Moved ...
14759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
14760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14761         Moved ...
14762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
14763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
14764         Moved ...
14765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
14766         ... here.
14767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14768         Moved ...
14769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
14770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
14771         Moved ...
14772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
14773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14774         Moved ...
14775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
14776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
14777         Moved ...
14778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
14779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
14780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
14781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
14782         Moved ...
14783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
14784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14785         Moved ...
14786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
14787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
14788         Moved ...
14789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14790         ... here.
14791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14792         Moved ...
14793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14794         ... here.
14795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
14796         Moved ...
14797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
14798         ... here.
14799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14800         Moved ...
14801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
14802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
14803         Moved ...
14804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
14805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14806         Moved ...
14807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
14808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
14809         Moved ...
14810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
14811         ... here.
14812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14813         Moved ...
14814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
14815         ... here.
14816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
14817         Moved ...
14818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
14819         ... here.
14820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14821         Moved ...
14822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
14823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14824         Moved ...
14825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
14827 2014-06-23  Will Newton  <will.newton@linaro.org>
14828             Wilco  <wdijkstr@arm.com>
14830         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
14831         implementation.  Include get-rounding-mode.h.
14832         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
14833         [!libc_feholdsetround_noex_ctx]: Define
14834         libc_feholdsetround_noex_ctx.
14835         [!libc_feholdsetround_noexf_ctx]: Define
14836         libc_feholdsetround_noexf_ctx.
14837         [!libc_feholdsetround_noexl_ctx]: Define
14838         libc_feholdsetround_noexl_ctx.
14839         (libc_feholdsetround_ctx): New function.
14840         (libc_feresetround_ctx): New function.
14841         (libc_feholdsetround_noex_ctx): New function.
14842         (libc_feresetround_noex_ctx): New function.
14844 2014-06-23  Roland McGrath  <roland@hack.frob.com>
14846         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
14847         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
14848         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
14849         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
14850         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
14851         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
14853         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
14854         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
14855         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
14856         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
14857         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
14858         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
14859         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
14860         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
14861         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
14862         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
14863         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
14864         Moved ...
14865         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
14866         ... here.
14867         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
14868         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
14869         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
14870         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
14871         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
14872         Moved ...
14873         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
14874         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
14875         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
14876         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
14877         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
14878         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
14879         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
14880         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
14881         Moved ...
14882         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
14883         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
14884         Moved ...
14885         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
14886         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
14887         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
14888         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
14889         Moved ...
14890         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
14891         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
14892         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
14893         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
14894         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
14895         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
14896         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
14897         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
14898         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
14899         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
14900         Moved ...
14901         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
14902         ... here.
14903         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
14904         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
14905         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
14906         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
14907         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
14908         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
14909         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
14910         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
14911         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
14912         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
14913         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
14914         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
14915         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
14916         Moved ...
14917         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
14918         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
14919         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
14920         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
14921         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
14922         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
14923         Moved ...
14924         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
14925         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
14926         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
14927         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
14928         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
14930         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
14931         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
14932         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
14933         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
14934         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
14935         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
14936         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
14937         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
14938         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
14939         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
14940         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
14941         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
14942         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
14943         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
14944         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
14945         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
14946         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
14947         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
14948         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
14949         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
14950         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
14951         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
14952         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
14953         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
14954         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
14955         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
14956         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
14957         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
14959 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
14961         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
14962         (FALLOC_FL_COLLAPSE_RANGE): New macro.
14963         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
14964         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
14965         (IPV6_PMTUDISC_INTERFACE): Likewise.
14966         (IPV6_PMTUDISC_OMIT): Likewise.
14968 2014-06-23  Andreas Schwab  <schwab@suse.de>
14970         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
14971         Remove unused errout label.
14973 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14975         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
14976         macro: hardware supports Vector Crypto instructions.
14978 2014-06-23  Will Newton  <will.newton@linaro.org>
14980         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
14981         rather than __builtin_expect.
14983         * elf/dl-lookup.c (undefined_msg): Remove variable.
14984         (_dl_lookup_symbol_x): Replace undefined_msg with string
14985         literal.
14987         * elf/dl-lookup.c (do_lookup_unique): New function.
14988         (do_lookup_x): Move STB_GNU_UNIQUE handling code
14989         to a separate function.
14991 2014-06-23  Andreas Schwab  <schwab@suse.de>
14993         [BZ #17079]
14994         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
14995         before reading the next line.
14997 2014-06-23  Will Newton  <will.newton@linaro.org>
14999         * test-skeleton.c (signal_handler): Use printf and %m
15000         rather than perror.  Use printf rather than fprintf to
15001         stderr.  Use puts rather than fputs to stderr.
15002         (main): Likewise.
15004 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
15006         * nscd/nscd.c (thread_info_t): Remove typedef.
15007         (thread_info): Remove variable.
15009 2014-06-21  Allan McRae  <allan@archlinux.org>
15011         * NEWS: Mention CVE-2014-4043.
15013 2014-06-20  Roland McGrath  <roland@hack.frob.com>
15015         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
15016         * nptl/smp.h: ... here.
15018         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
15020         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
15021         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
15022         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
15023         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
15025         * nptl/allocatestack.c: Include <stack-aliasing.h>.
15026         * nptl/stack-aliasing.h: New file.
15027         * sysdeps/i386/i686/stack-aliasing.h: New file.
15028         * sysdeps/i386/i686/nptl/Makefile: File removed.
15029         * sysdeps/x86_64/stack-aliasing.h: New file.
15030         * sysdeps/x86_64/nptl/Makefile
15031         (CFLAGS-pthread_create.c): Variable removed.
15033         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
15034         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
15035         old file.
15036         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
15037         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
15038         old file.
15040 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
15042         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15043         (__ASSUME_SIGFRAME_V2): Remove macro.
15044         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
15045         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
15046         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
15047         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
15048         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
15049         Declare as function.  Remove conditional macro definitions.
15050         (__default_rt_sa_restorer): Likewise.
15051         (__default_sa_restorer_v1): Remove declaration.
15052         (__default_sa_restorer_v2): Likewise.
15053         (__default_rt_sa_restorer_v1): Likewise.
15054         (__default_rt_sa_restorer_v2): Likewise.
15055         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
15056         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
15057         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
15059 2014-06-20  Roland McGrath  <roland@hack.frob.com>
15061         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
15062         (libpthread-routines): Add sysdep.
15063         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
15064         * sysdeps/unix/sysv/linux/sparc/Versions
15065         (libpthread: GLIBC_2.3.3): New version set.
15066         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
15067         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
15068         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
15069         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
15070         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
15071         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
15072         Moved ...
15073         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
15074         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
15075         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
15076         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
15077         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
15078         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
15079         * sysdeps/sparc/nptl/sem_init.c: ... here.
15080         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
15081         * sysdeps/sparc/nptl/sem_post.c: ... here.
15082         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
15083         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
15084         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
15085         * sysdeps/sparc/nptl/sem_wait.c: ... here.
15086         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
15087         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
15088         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
15089         (libpthread-routines): Add cpu_relax.
15090         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
15091         File removed.
15092         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
15093         (librt: GLIBC_2.3.3): New version set.
15094         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
15095         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
15096         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
15097         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
15098         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
15099         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
15100         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
15101         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
15102         Moved ...
15103         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
15104         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
15105         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
15106         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
15107         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
15108         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
15109         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
15110         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
15111         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
15112         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
15113         Moved ...
15114         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
15115         Update #include.
15116         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
15117         Moved ...
15118         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
15119         Update #include.
15120         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
15121         Moved ...
15122         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
15123         Update #include.
15124         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
15125         Moved ...
15126         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
15127         Update #include.
15128         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
15129         Moved ...
15130         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
15131         Update #include.
15132         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
15133         Moved ...
15134         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
15135         Update #include.
15136         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
15137         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
15138         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
15139         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
15140         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
15141         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
15142         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
15143         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
15144         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
15145         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
15146         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
15147         Moved ...
15148         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
15149         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
15150         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
15151         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
15152         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
15154 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
15156         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
15157         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
15158         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
15159         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
15160         * nscd/nscd.c: Likewise.
15161         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
15162         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
15163         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
15164         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
15166         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
15167         <kernel-features.h>.
15168         (init_mq_netlink): Remove conditional have_sock_cloexec
15169         definitions.  Remove code conditional on have_sock_cloexec < 0.
15170         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
15171         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
15172         * sysdeps/unix/sysv/linux/opensock.c: Do not include
15173         <kernel-features.h>.
15174         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
15175         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
15177 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
15179         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15180         Add tests for memset_chk and memset.
15182         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
15183         with AVX2_Usable.
15185 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
15187         [BZ #16046]
15188         * elf/tst-dl-iter-static.c: New file.
15189         * elf/Makefile (tests-static): Add tst-dl-iter-static.
15191         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
15192         error.
15194 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
15196         * sysdeps/unix/sysv/linux/kernel-features.h
15197         (__ASSUME_F_GETOWN_EX): Remove macro.
15198         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
15199         <kernel-features.h>.
15200         (miss_F_GETOWN_EX): Remove variable or macro.
15201         (do_fcntl): Do not check miss_F_GETOWN_EX.
15202         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
15204         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
15205         Remove macro.
15206         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
15207         [!__ASSUME_AT_RANDOM]: Remove conditional code.
15208         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
15210         * sysdeps/unix/sysv/linux/kernel-features.h
15211         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
15212         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
15213         [ADJ_OFFSET_SS_READ]: Make code unconditional.
15214         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
15216 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
15218         [BZ #17075]
15219         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
15220         Fix calculation of the symbol's value.
15221         * sysdeps/arm/tst-armtlsdescloc.c: New file.
15222         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
15223         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
15224         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
15225         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
15226         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
15227         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
15228         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
15229         (modules-names): Add `tst-armtlsdescmod',
15230         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
15231         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
15232         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
15233         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
15234         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
15235         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
15236         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
15237         ($(objpfx)tst-armtlsdescloc): New dependency.
15238         ($(objpfx)tst-armtlsdescextnow): Likewise.
15239         ($(objpfx)tst-armtlsdescextlazy): Likewise.
15240         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
15241         TLS scheme support.
15242         * sysdeps/arm/configure: Regenerate.
15244 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
15246         * include/fcntl.h (__atfct_seterrno): Remove prototype.
15247         (__atfct_seterrno_2): Likewise.
15248         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
15249         <kernel-features.h>.
15250         (__ASSUME_ATFCTS): Do not undefine and redefine.
15251         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
15252         (__have_atfcts): Remove conditional definition.
15253         (__fxstatat([__NR_fstatat64]: Make code unconditional.
15254         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
15255         unreachable if [__ASSUME_ATFCTS].
15256         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
15257         not undefine and redefine.
15258         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
15259         <kernel-features.h>.
15260         (faccessat) [__NR_faccessat]: Make code unconditional.
15261         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
15262         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
15263         <kernel-features.h>.
15264         (fchmodat) [__NR_fchmodat]: Make code unconditional.
15265         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
15266         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
15267         <kernel-features.h>.
15268         (fchownat) [__NR_fchownat]: Make code unconditional.
15269         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
15270         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
15271         <kernel-features.h>.
15272         (futimesat) [__NR_futimesat]: Make code unconditional.
15273         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
15274         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
15275         <kernel-features.h>.
15276         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
15277         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15278         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
15279         <kernel-features.h>.
15280         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
15281         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
15282         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
15283         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
15284         <kernel-features.h>.
15285         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
15286         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15287         * sysdeps/unix/sysv/linux/linkat.c: Do not include
15288         <kernel-features.h>.
15289         (linkat) [__NR_linkat]: Make code unconditional.
15290         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15291         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
15292         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
15293         <kernel-features.h>.
15294         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
15295         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
15296         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
15297         <kernel-features.h>.
15298         (mkdirat) [__NR_mkdirat]: Make code unconditional.
15299         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
15300         * sysdeps/unix/sysv/linux/openat.c: Do not include
15301         <kernel-features.h>.
15302         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
15303         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
15304         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
15305         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
15306         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
15307         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
15308         <kernel-features.h>.
15309         (readlinkat) [__NR_readlinkat]: Make code unconditional.
15310         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
15311         result of INLINE_SYSCALL directly, not via int variable.
15312         * sysdeps/unix/sysv/linux/renameat.c: Do not include
15313         <kernel-features.h>.
15314         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
15315         (renameat) [__NR_renameat]: Make code unconditional.
15316         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
15317         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
15318         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
15319         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
15320         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
15321         (__ASSUME_ATFCTS): Do not undefine and redefine.
15322         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
15323         <kernel-features.h>.
15324         (symlinkat) [__NR_symlinkat]: Make code unconditional.
15325         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15326         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
15327         <kernel-features.h>.
15328         (unlinkat) [__NR_unlinkat]: Make code unconditional.
15329         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15330         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
15331         (__ASSUME_ATFCTS): Do not undefine and redefine.
15332         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
15333         <kernel-features.h>.
15334         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
15335         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15336         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
15337         <kernel-features.h>.
15338         (__xmknodat) [__NR_mknodat]: Make code unconditional.
15339         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
15341 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
15343         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
15345 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
15347         [BZ #17069]
15348         * posix/regcomp.c (parse_reg_exp): Deallocate partially
15349         constructed tree before returning error.
15350         * posix/bug-regexp36.c: Expand test case.
15352 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
15354         [BZ #6803]
15355         * math/libm-test.inc (scalbln_test_date):
15356         Add errno expectations.
15357         * math/w_scalblnf.c: New File.
15358         Add wrapper which checks for setting errno to ERANGE.
15359         Add weak_alias for corresponding scalbln function.
15360         * math/w_scalbln.c: Likewise.
15361         * math/w_scalblnl.c: Likewise.
15362         * math/Makefile (libm-calls): Add w_scalbln.
15363         * sysdeps/ieee754/flt-32/s_scalblnf.c:
15364         Remove weak_alias for corresponding scalbln function.
15365         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15366         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
15367         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15368         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15369         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
15370         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
15371         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
15372         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
15373         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
15374         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
15375         Remove long_double_symbol for scalblnl function in libm, libc.
15376         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
15377         Add wrapper which checks for setting errno to ERANGE.
15378         Add long_double_symbol for scalblnl function in libm, libc.
15379         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
15380         Remove long_double_symbol for scalblnl in libm.
15381         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
15382         Add wrapper which checks for setting errno to ERANGE.
15383         Add long_double_symbol for scalblnl function in libm.
15384         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
15385         Do not use wrapper because of own implementation.
15387 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
15389         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
15390         3 bytes for __pad1 for x32.
15391         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
15393 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
15394             H.J. Lu  <hongjiu.lu@intel.com>
15396         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
15397         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
15398         * sysdeps/x86_64/multiarch/memset.S: Likewise.
15399         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15400         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
15402 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
15404         [BZ #17069]
15405         * posix/regcomp.c (parse_expression): Deallocate partially
15406         constructed tree before returning error.
15407         * posix/Makefile.c (tests): Add bug-regex36.
15408         (generated): Add bug-regex36.mtrace.
15409         (tests-special): Add $(objpfx)bug-regex36-mem.out
15410         (bug-regex36-ENV): New variable.
15411         ($(objpfx)bug-regex36-mem.out): New rule.
15412         * posix/bug-regex36.c: New file.
15414 2014-06-19  Will Newton  <will.newton@linaro.org>
15416         * malloc/malloc.c (systrim): If extra is zero then return
15417         early.
15419 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15421         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
15423 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
15425         * sysdeps/aarch64/strchr.S: New file.
15427 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
15429         [BZ #17022]
15430         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
15431         from arguments -2 or below.
15432         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15433         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
15435 2014-06-18  Andreas Schwab  <schwab@suse.de>
15437         [BZ #17062]
15438         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
15439         of a bracket expr not to run off the end of the string.
15440         * posix/Makefile (tests): Add tst-fnmatch3.
15441         * posix/tst-fnmatch3.c: New file.
15443 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
15445         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
15446         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
15447         [$(cross-compiling) = no]: Likewise.
15448         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15449         [$(cross-compiling) = no]: Likewise.
15451 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15453         [BZ #17031]
15454         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
15455         double, adjusted for any remainder from the high double.
15456         * math/libm-test.inc (nearbyint): Add tests.
15457         (rint): Likewise.
15459 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15461         * nptl/sysdeps/powerpc/Makefile: Moved ...
15462         * sysdeps/powerpc/nptl/Makefile: ... here.
15463         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
15464         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
15465         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
15466         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
15467         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
15468         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
15469         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
15470         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
15471         * nptl/sysdeps/powerpc/tls.h: Moved ...
15472         * sysdeps/powerpc/nptl/tls.h: ... here.
15474 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
15476         [BZ #16681]
15477         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
15478         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
15479         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
15480         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
15481         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
15482         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
15483         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
15484         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
15485         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
15487 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
15489         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15491 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
15493         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
15494         defined operator.
15496         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
15497         $TIMEOUTFACTOR.
15499 2014-06-16  Florian Weimer  <fweimer@redhat.com>
15501         [BZ #17058]
15502         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
15503         non-executed part of the test.
15505 2014-06-16  Andreas Schwab  <schwab@suse.de>
15507         * string/bits/string2.h (strdup, strndup): Update feature guard.
15509 2014-06-14  David S. Miller  <davem@davemloft.net>
15511         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15513 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
15515         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
15516         that was previously under [RESET_PID].
15517         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
15519         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
15520         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
15521         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
15522         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15523         (__libc_vfork): New strong alias.
15524         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
15526 2014-06-14 Andi Kleen  <ak@linux.intel.com>
15528         * sysdeps/generic/elide.h: New file.
15530 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
15532         * Makefile (installed-headers): Adjust path of pthread.h header.
15534 2014-06-13  Roland McGrath  <roland@hack.frob.com>
15536         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
15537         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
15538         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
15539         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
15541         * nptl/sysdeps/s390/Makefile: Moved ...
15542         * sysdeps/s390/nptl/Makefile: ... here.
15543         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
15544         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
15545         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
15546         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
15547         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
15548         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
15549         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
15550         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
15551         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
15552         * sysdeps/s390/nptl/pthreaddef.h: ... here.
15553         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
15554         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
15555         * nptl/sysdeps/s390/tls.h: Moved ...
15556         * sysdeps/s390/nptl/tls.h: ... here.
15558         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
15559         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
15561 2014-06-13  David S. Miller  <davem@davemloft.net>
15563         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
15564         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
15565         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
15566         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
15567         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
15568         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
15569         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
15570         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
15571         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
15572         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
15573         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
15574         Remove RESET_PID cpp guards.
15575         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
15576         Remove RESET_PID cpp guards.
15577         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
15579 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
15581         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
15582         __sp to uintptr_t.
15584 2014-06-13  Andi Kleen  <ak@linux.intel.com>
15586         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
15587         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
15588         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
15589         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
15590         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
15591         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
15592         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
15593         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
15594         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
15595         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
15596         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
15597         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
15598         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
15599         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
15600         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
15601         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
15602         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
15603         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
15604         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
15605         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
15607         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
15608         (pthread_rwlock_rdlock): Add elision.
15609         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
15610         (pthread_rwlock_wrlock): Add elision.
15611         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
15612         (pthread_rwlock_trywrlock): Add elision.
15613         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
15614         (pthread_rwlock_tryrdlock): Add elision.
15615         * nptl/pthread_rwlock_unlock.c: Include elide.h.
15616         (pthread_rwlock_tryrdlock): Add elision unlock.
15617         * nptl/sysdeps/pthread/pthread.h:
15618         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
15619         (PTHREAD_RWLOCK_INITIALIZER,
15620         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
15621         Handle new elision field.
15622         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
15623         * sysdeps/arm/nptl/bits/pthreadtypes.h
15624         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15625         * sysdeps/sh/nptl/bits/pthreadtypes.h
15626         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15627         * sysdeps/tile/nptl/bits/pthreadtypes.h
15628         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15629         * sysdeps/a/nptl/bits/pthreadtypes.h
15630         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15631         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
15632         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15633         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
15634         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15635         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
15636         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15637         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
15638         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15639         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
15640         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15641         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
15642         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15643         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
15644         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15645         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
15646         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15647         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
15648         (elision_init): Set try_xbegin to zero when no RTM.
15649         * sysdeps/x86/nptl/bits/pthreadtypes.h
15650         (pthread_rwlock_t): Change __pad1 to __rwelision.
15651         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15653 2014-06-13  Andi Kleen  <ak@linux.intel.com>
15655         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
15656         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
15657         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
15658         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
15660 2014-06-13  Meador Inge  <meadori@codesourcery.com>
15662         [BZ #16996]
15663         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
15664         that the cached result has been set before returning it.
15666 2014-06-12  Roland McGrath  <roland@hack.frob.com>
15668         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
15669         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
15670         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
15671         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
15672         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
15673         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
15675         * nptl/sysdeps/sparc/Makefile: Moved ...
15676         * sysdeps/sparc/nptl/Makefile: ... here.
15677         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
15678         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
15679         * nptl/sysdeps/sparc/tls.h: Moved ...
15680         * sysdeps/sparc/nptl/tls.h: ... here.
15681         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
15682         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
15683         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
15684         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
15685         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
15686         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
15687         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
15688         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
15689         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
15690         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
15691         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
15692         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
15693         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
15694         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
15695         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
15696         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
15697         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
15698         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
15699         Update #include.
15700         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
15701         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
15702         Update #include.
15703         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
15704         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
15705         Update #include.
15706         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
15707         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
15708         Update #include.
15710         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
15712         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
15713         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
15715         * sysdeps/pthread/posix-timer.h: Include <list.h>.
15716         (struct list_links): Type removed.
15717         (struct thread_node, struct timer_node): Replace struct list_links
15718         with struct list_head.
15719         (list_unlink_ip): Likewise.
15720         * sysdeps/pthread/timer_routines.c
15721         (timer_free_list, thread_free_list, thread_active_list): Likewise.
15722         (list_append, list_insbefore): Likewise.
15723         (list_init): Function removed.
15724         (thread_init, init_module): Use INIT_LIST_HEAD instead.
15725         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
15726         * sysdeps/pthread/Makefile: ... here, new file.
15728         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
15729         * sysdeps/nptl/Implies: ... here.
15730         * sysdeps/unix/sysv/linux/Implies: Add nptl.
15731         * nptl/sysdeps/pthread/list.h: Moved ...
15732         * include/list.h: ... here.
15733         * nptl/sysdeps/pthread/createthread.c: Moved ...
15734         * nptl/createthread.c: ... here.
15735         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
15736         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
15737         * nptl/pt-longjmp.c: ... here.
15738         * nptl/sysdeps/pthread/Makefile: Moved ...
15739         * sysdeps/nptl/Makefile: ... here.
15740         * nptl/sysdeps/pthread/Subdirs: Moved ...
15741         * sysdeps/nptl/Subdirs: ... here.
15742         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
15743         * sysdeps/nptl/aio_misc.h: ... here.
15744         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
15745         * sysdeps/nptl/bits/libc-lock.h: ... here.
15746         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
15747         * sysdeps/nptl/bits/libc-lockP.h: ... here.
15748         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
15749         * sysdeps/nptl/bits/stdio-lock.h: ... here.
15750         * nptl/sysdeps/pthread/configure: Moved ...
15751         * sysdeps/nptl/configure: ... here.
15752         * nptl/sysdeps/pthread/configure.ac: Moved ...
15753         * sysdeps/nptl/configure.ac: ... here.
15754         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
15755         * sysdeps/nptl/gai_misc.h: ... here.
15756         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
15757         * sysdeps/nptl/librt-cancellation.c: ... here.
15758         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
15759         * sysdeps/nptl/malloc-machine.h: ... here.
15760         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
15761         * sysdeps/nptl/pthread-functions.h: ... here.
15762         * nptl/sysdeps/pthread/pthread.h: Moved ...
15763         * sysdeps/nptl/pthread.h: ... here.
15764         * nptl/sysdeps/pthread/setxid.h: Moved ...
15765         * sysdeps/nptl/setxid.h: ... here.
15766         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
15767         * sysdeps/nptl/sigfillset.c: ... here.
15768         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
15769         * sysdeps/nptl/tcb-offsets.h: ... here.
15770         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
15771         * sysdeps/nptl/tst-mqueue8x.c: ... here.
15772         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
15773         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
15774         * nptl/sysdeps/pthread/allocalim.h: Moved ...
15775         * sysdeps/pthread/allocalim.h: ... here.
15776         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
15777         * sysdeps/pthread/bits/sigthread.h: ... here.
15778         * nptl/sysdeps/pthread/flockfile.c: Moved ...
15779         * sysdeps/pthread/flockfile.c: ... here.
15780         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
15781         * sysdeps/pthread/ftrylockfile.c: ... here.
15782         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
15783         * sysdeps/pthread/funlockfile.c: ... here.
15784         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
15785         * sysdeps/pthread/posix-timer.h: ... here.
15786         * nptl/sysdeps/pthread/timer_create.c: Moved ...
15787         * sysdeps/pthread/timer_create.c: ... here.
15788         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
15789         * sysdeps/pthread/timer_delete.c: ... here.
15790         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
15791         * sysdeps/pthread/timer_getoverr.c: ... here.
15792         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
15793         * sysdeps/pthread/timer_gettime.c: ... here.
15794         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
15795         * sysdeps/pthread/timer_routines.c: ... here.
15796         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
15797         * sysdeps/pthread/timer_settime.c: ... here.
15798         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
15799         * sysdeps/pthread/tst-timer.c: ... here.
15800         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
15801         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
15803         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
15804         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
15806         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
15807         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
15808         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
15809         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
15810         Update #include target.
15811         * nptl/sysdeps/i386/i686/Makefile: Moved ...
15812         * sysdeps/i386/i686/nptl/Makefile: ... here.
15813         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
15814         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
15815         Update #include target.
15816         * nptl/sysdeps/i386/i686/tls.h: Moved ...
15817         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
15818         * nptl/sysdeps/i386/Makefile: Moved ...
15819         * sysdeps/i386/nptl/Makefile: ... here.
15820         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
15821         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
15822         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
15823         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
15824         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
15825         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
15826         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
15827         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
15828         * sysdeps/i386/nptl/pthreaddef.h: ... here.
15829         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
15830         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
15831         * nptl/sysdeps/i386/tls.h: Moved ...
15832         * sysdeps/i386/nptl/tls.h: ... here.
15834         * sysdeps/sh/Makefile [$(subdir) = csu]
15835         (gen-as-const-headers): Add tcb-offsets.sym.
15836         * nptl/sysdeps/sh/Makefile: File removed.
15837         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
15838         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
15839         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
15840         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
15841         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
15842         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
15843         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
15844         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
15845         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
15846         * sysdeps/sh/nptl/pthreaddef.h: ... here.
15847         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
15848         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
15849         * nptl/sysdeps/sh/tls.h: Moved ...
15850         * sysdeps/sh/nptl/tls.h: ... here.
15851         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
15852         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
15853         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
15854         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
15855         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
15856         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
15857         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
15858         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
15859         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
15860         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
15861         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
15862         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
15863         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
15864         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
15865         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
15866         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
15867         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
15868         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
15869         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
15870         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
15871         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
15872         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
15873         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
15874         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
15875         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
15876         Moved ...
15877         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
15878         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
15879         Moved ...
15880         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
15881         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
15882         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
15883         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
15884         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
15885         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
15886         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
15887         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
15888         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
15889         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
15890         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
15891         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
15892         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
15893         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
15894         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
15895         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
15896         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
15897         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
15898         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
15900 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
15902         * posix/spawn_faction_addopen.c: Include string.h.
15904 2014-06-11  Roland McGrath  <roland@hack.frob.com>
15906         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
15907         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
15908         * nptl/sysdeps/x86_64/Makefile: Moved ...
15909         * sysdeps/x86_64/nptl/Makefile: ... here.
15910         * nptl/sysdeps/x86_64/configure: Moved ...
15911         * sysdeps/x86_64/nptl/configure: ... here.
15912         * nptl/sysdeps/x86_64/configure.ac: Moved ...
15913         * sysdeps/x86_64/nptl/configure.ac: ... here.
15914         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
15915         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
15916         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
15917         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
15918         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
15919         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
15920         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
15921         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
15922         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
15923         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
15924         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
15925         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
15926         * nptl/sysdeps/x86_64/tls.h: Moved ...
15927         * sysdeps/x86_64/nptl/tls.h: ... here.
15928         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
15929         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
15930         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
15931         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
15933         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
15935 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15937         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15939 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
15941         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
15942         type.
15943         [POSIX] (off_t): Likewise.
15944         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
15945         [POSIX] (S_ISBLK): Require macro.
15946         [POSIX] (S_ISCHR): Likewise.
15947         [POSIX] (S_ISDIR): Likewise.
15948         [POSIX] (S_ISFIFO): Likewise.
15949         [POSIX] (S_ISREG): Likewise.
15950         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
15951         optional-macro.
15952         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
15953         type.
15954         [POSIX] (time_t): Likewise.
15955         [POSIX] (timer_t): Likewise.
15957 2014-06-11  Florian Weimer  <fweimer@redhat.com>
15959         [BZ #17048]
15960         * posix/spawn_int.h (struct __spawn_action): Make the path string
15961         non-const to support deallocation.
15962         * posix/spawn_faction_addopen.c
15963         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
15964         * posix/spawn_faction_destroy.c
15965         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
15966         path in all spawn_do_open actions.
15967         * posix/tst-spawn.c (do_test): Exercise the copy operation in
15968         posix_spawn_file_actions_addopen.
15970 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
15972         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
15973         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
15974         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
15975         conditional code always true.
15976         (__libc_vfork): New alias.
15978 2014-06-11  Roland McGrath  <roland@hack.frob.com>
15980         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15981         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
15983         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
15985         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15986         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
15988         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
15989         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
15991         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15992         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
15994 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15996         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
15997         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
15998         multiarch strcmp for PPC64.
15999         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
16000         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
16001         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
16002         multiarch optimizations.
16003         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16004         (__libc_ifunc_impl_list): Likewise.
16006 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16008         * benchtests/scripts/validate_benchout.py: New script.
16009         * benchtests/Makefile (bench-func): Call it.
16010         * benchtests/scripts/benchout.schema.json: New file.
16012 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
16014         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
16015         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
16016         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
16017         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
16018         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
16019         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
16020         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
16021         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
16022         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
16023         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
16024         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
16025         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
16026         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
16027         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
16028         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
16029         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
16030         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
16031         Moved ...
16032         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
16033         ... here.
16034         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
16035         Moved ...
16036         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
16037         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
16038         Moved ...
16039         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
16040         ... here.
16041         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
16042         Moved ...
16043         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
16044         ... here.
16045         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
16046         Moved ...
16047         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
16048         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
16049         Moved ...
16050         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
16051         ... here.
16052         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
16053         Moved ...
16054         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
16055         ... here.
16056         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
16057         Moved ...
16058         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
16059         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
16060         Moved ...
16061         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
16062         ... here.
16063         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
16064         Moved ...
16065         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
16066         ... here.
16067         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
16068         Moved ...
16069         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
16070         ... here.
16071         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
16072         Moved ...
16073         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
16074         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
16075         Moved ...
16076         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
16077         ... here.
16078         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
16079         Moved ...
16080         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
16081         ... here.
16082         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
16083         Moved ...
16084         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
16085         ... here.
16086         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
16087         Moved ...
16088         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
16089         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
16090         Moved ...
16091         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
16092         ... here.
16093         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
16094         Moved ...
16095         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
16096         ... here.
16097         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
16098         Moved ...
16099         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
16100         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
16101         Moved ...
16102         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
16103         ... here.
16104         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
16105         Moved ...
16106         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
16107         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
16108         Moved ...
16109         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
16110         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
16111         Moved ...
16112         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
16113         ... here.
16114         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
16115         Moved ...
16116         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
16117         ... here.
16118         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
16119         Moved ...
16120         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
16121         ... here.
16122         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
16123         Moved ...
16124         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
16125         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
16126         Moved ...
16127         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
16128         ... here.
16129         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
16130         Moved ...
16131         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
16132         ... here.
16133         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
16134         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
16135         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
16136         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
16137         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
16138         Moved ...
16139         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
16140         ... here.
16141         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
16142         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
16143         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
16144         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
16145         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
16146         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
16147         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
16148         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
16149         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
16150         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
16151         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
16152         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
16153         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
16154         Moved ...
16155         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
16156         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
16157         Moved ...
16158         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
16159         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
16160         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
16161         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
16162         Moved ...
16163         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
16164         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
16165         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
16166         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
16167         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
16168         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
16169         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
16171 2014-06-10  Wilco  <wdijkstr@arm.com>
16173         * math/test-fenv-return.c: New file.
16174         * math/Makefile: Add new test test-fenv-return.
16176 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
16178         [BZ #17042]
16179         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
16180         when x - 1 is zero.
16181         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
16182         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
16183         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
16184         0.0L for an argument of 1.0L.
16185         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
16186         Likewise.
16187         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
16188         value when x - 1 is zero.
16189         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
16190         * sysdeps/i386/fpu/libm-test-ulps: Update.
16191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16193 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
16195         [BZ #15119]
16196         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
16198 2014-06-09  Roland McGrath  <roland@hack.frob.com>
16200         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
16201         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
16203 2014-06-09  Roland McGrath  <roland@hack.frob.com>
16205         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16206         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
16208         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16209         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
16211         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16212         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
16214         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16215         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
16217         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
16218         if not already defined.
16219         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
16220         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
16221         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
16222         (TLS_INIT_TP): Use it.
16223         (TLS_DEFINE_INIT_TP): New macro.
16224         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
16226 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
16228         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
16229         constant.
16230         [POSIX] (IXANY): Likewise.
16231         [POSIX] (OLCUC): Likewise.
16232         [POSIX || POSIX2008] (CBAUD): Do not allow.
16233         [POSIX || POSIX2008] (DEFECHO): Likewise.
16234         [POSIX || POSIX2008] (ECHOCTL): Likewise.
16235         [POSIX || POSIX2008] (ECHOKE): Likewise.
16236         [POSIX || POSIX2008] (ECHOPRT): Likewise.
16237         [POSIX || POSIX2008] (EXTA): Likewise.
16238         [POSIX || POSIX2008] (EXTB): Likewise.
16239         [POSIX || POSIX2008] (FLUSHO): Likewise.
16240         [POSIX || POSIX2008] (LOBLK): Likewise.
16241         [POSIX || POSIX2008] (PENDIN): Likewise.
16242         [POSIX || POSIX2008] (SWTCH): Likewise.
16243         [POSIX || POSIX2008] (VDISCARD): Likewise.
16244         [POSIX || POSIX2008] (VDSUSP): Likewise.
16245         [POSIX || POSIX2008] (VLNEXT): Likewise.
16246         [POSIX || POSIX2008] (VREPRINT): Likewise.
16247         [POSIX || POSIX2008] (VSTATUS): Likewise.
16248         [POSIX || POSIX2008] (VWERASE): Likewise.
16249         (B*): Change to B[0123456789]*.
16250         * conform/data/time.h-data [POSIX || UNIX98]
16251         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
16252         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16253         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
16254         [POSIX] (tm_*): Do not allow.
16256 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
16258         * Makefile (install): Don't set LANGUAGE.
16259         * Makefile.in (install): Likewise.
16260         * assert/Makefile (test-assert-ENV): Remove variable.
16261         (test-assert-perr-ENV): Likewise.
16262         * elf/Makefile (neededtest4-ENV): Likewise.
16263         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16264         [$(cross-compiling) = no]: Don't set LANGUAGE.
16265         * io/ftwtest-sh (LANG): Remove variable.
16266         * libio/Makefile (tst-widetext-ENV): Likewise.
16267         * manual/install.texi (Running make install): Don't refer to
16268         environment settings for make install.
16269         * INSTALL: Regenerated.
16270         * nptl/tst-tls6.sh: Don't set LANG.
16271         * posix/globtest.sh (LANG): Remove variable.
16272         * string/Makefile (tester-ENV): Likewise.
16273         (inl-tester-ENV): Likewise.
16274         (noinl-tester-ENV): Likewise.
16275         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16276         [$(cross-compiling) = no]: Don't set LANGUAGE.
16277         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
16278         without explicit environment settings.
16280 2014-06-06  Roland McGrath  <roland@hack.frob.com>
16282         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
16283         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
16284         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
16285         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
16287 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
16289         * crypt/crypt-private.h [DOS]: Add some includes taken from the
16290         other files in the crypt directory.
16291         * crypt/crypt.c: Remove duplicate includes.
16292         * crypt/crypt-entry.c: Likewise.
16293         * crypt/crypt_util.c: Likewise.
16295 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
16297         * Makeconfig (run-program-env): New variable.
16298         (run-program-prefix-before-env): Likewise.
16299         (run-program-prefix-after-env): Likewise.
16300         (run-program-prefix): Define in terms of new variables.
16301         (built-program-cmd-before-env): New variable.
16302         (built-program-cmd-after-env): Likewise.
16303         (built-program-cmd): Define in terms of new variables.
16304         (test-program-prefix-before-env): New variable.
16305         (test-program-prefix-after-env): Likewise.
16306         (test-program-prefix): Define in terms of new variables.
16307         (test-program-cmd-before-env): New variable.
16308         (test-program-cmd-after-env): Likewise.
16309         (test-program-cmd): Define in terms of new variables.
16310         * Rules (make-test-out): Use $(run-program-env).
16311         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
16312         (help): Do not mention environment variables.  Mention
16313         --timeoutfactor option.
16314         (timeoutfactor): New variable.
16315         (blacklist_exports): Remove function.
16316         (exports): Remove variable.
16317         (command): Do not include ${exports}.
16318         * manual/install.texi (Configuring and compiling): Do not mention
16319         test wrappers preserving environment variables.  Mention that last
16320         assignment to a variable must take precedence.
16321         * INSTALL: Regenerated.
16322         * benchtests/Makefile (run-bench): Use $(run-program-env).
16323         * catgets/Makefile ($(objpfx)test1.cat): Use
16324         $(built-program-cmd-before-env), $(run-program-env) and
16325         $(built-program-cmd-after-env).
16326         ($(objpfx)test2.cat): Do not specify environment variables
16327         explicitly.
16328         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
16329         $(run-program-env) and $(built-program-cmd-after-env).
16330         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
16331         $(run-program-env) and $(test-program-cmd-after-env).
16332         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
16333         explicitly.
16334         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
16335         run_program_env and test_program_cmd_after_env arguments.
16336         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
16337         * elf/tst-pathopt.sh: Use run_program_env argument.
16338         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
16339         $(test-wrapper-env) and $(run-program-env).
16340         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
16341         run_program_env arguments.
16342         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
16343         * intl/Makefile ($(objpfx)tst-gettext.out): Use
16344         $(test-program-prefix-before-env), $(run-program-env) and
16345         $(test-program-prefix-after-env).
16346         ($(objpfx)tst-gettext2.out): Likewise.
16347         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
16348         run_program_env and test_program_prefix_after_env arguments.
16349         * intl/tst-gettext2.sh: Likewise.
16350         * intl/tst-gettext4.sh: Do not set environment variables
16351         explicitly.
16352         * intl/tst-gettext6.sh: Likewise.
16353         * intl/tst-translit.sh: Likewise.
16354         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
16355         $(test-program-prefix-before-env), $(run-program-env) and
16356         $(test-program-prefix-after-env).
16357         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
16358         run_program_env and test_program_prefix_after_env arguments.
16359         * math/Makefile (run-regen-ulps): Use $(run-program-env).
16360         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
16361         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
16362         explicitly with each use of ${test_wrapper_env}.
16363         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
16364         $(test-program-prefix-before-env), $(run-program-env) and
16365         $(test-program-prefix-after-env).
16366         * posix/tst-getconf.sh: Do not set environment variables
16367         explicitly.
16368         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
16369         run_program_env and test_program_prefix_after_env arguments.
16370         * stdio-common/tst-printf.sh: Do not set environment variables
16371         explicitly.
16372         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
16373         $(test-program-prefix-before-env), $(run-program-env) and
16374         $(test-program-prefix-after-env).
16375         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
16376         run_program_env and test_program_prefix_after_env arguments.
16377         Split $test calls into $test_pre and $test.
16378         * timezone/Makefile (build-testdata): Use
16379         $(built-program-cmd-before-env), $(run-program-env) and
16380         $(built-program-cmd-after-env).
16382 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16384         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
16385         strlen for non SHARED builds.
16387 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16389         * nptl/allocatestack.c (check_list): Inlined function...
16390         (__reclaim_stacks): ... here.
16392 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
16394         [BZ #15698]
16395         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
16396         memory overrun.
16398 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
16400         * Rules (make-test-out): Include
16401         LOCPATH=$(common-objpfx)localedata in default environment.
16402         * debug/Makefile (tst-chk1-ENV): Remove variable.
16403         (tst-chk2-ENV): Likewise.
16404         (tst-chk3-ENV): Likewise.
16405         (tst-chk4-ENV): Likewise.
16406         (tst-chk5-ENV): Likewise.
16407         (tst-chk6-ENV): Likewise.
16408         (tst-lfschk1-ENV): Likewise.
16409         (tst-lfschk2-ENV): Likewise.
16410         (tst-lfschk3-ENV): Likewise.
16411         (tst-lfschk4-ENV): Likewise.
16412         (tst-lfschk5-ENV): Likewise.
16413         (tst-lfschk6-ENV): Likewise.
16414         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
16415         (tst-iconv7-ENV): Likewise.
16416         * intl/Makefile (LOCPATH-ENV): Likewise.
16417         (tst-codeset-ENV): Likewise.
16418         (tst-gettext3-ENV): Likewise.
16419         (tst-gettext5-ENV): Likewise.
16420         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
16421         (tst-fopenloc-ENV): Likewise.
16422         (tst-fgetws-ENV): Remove variable.
16423         (tst-ungetwc1-ENV): Likewise.
16424         (tst-ungetwc2-ENV): Likewise.
16425         (bug-ungetwc2-ENV): Likewise.
16426         (tst-swscanf-ENV): Likewise.
16427         (bug-ftell-ENV): Likewise.
16428         (tst-fgetwc-ENV): Likewise.
16429         (tst-fseek-ENV): Likewise.
16430         (tst-ftell-partial-wide-ENV): Likewise.
16431         (tst-ftell-active-handler-ENV): Likewise.
16432         (tst-ftell-append-ENV): Likewise.
16433         * posix/Makefile (tst-fnmatch-ENV): Likewise.
16434         (tst-regexloc-ENV): Likewise.
16435         (bug-regex1-ENV): Likewise.
16436         (tst-regex-ENV): Likewise.
16437         (tst-regex2-ENV): Likewise.
16438         (bug-regex5-ENV): Likewise.
16439         (bug-regex6-ENV): Likewise.
16440         (bug-regex17-ENV): Likewise.
16441         (bug-regex18-ENV): Likewise.
16442         (bug-regex19-ENV): Likewise.
16443         (bug-regex20-ENV): Likewise.
16444         (bug-regex22-ENV): Likewise.
16445         (bug-regex23-ENV): Likewise.
16446         (bug-regex25-ENV): Likewise.
16447         (bug-regex26-ENV): Likewise.
16448         (bug-regex30-ENV): Likewise.
16449         (bug-regex32-ENV): Likewise.
16450         (bug-regex33-ENV): Likewise.
16451         (bug-regex34-ENV): Likewise.
16452         (bug-regex35-ENV): Likewise.
16453         (tst-rxspencer-ENV): Likewise.
16454         (tst-rxspencer-no-utf8-ENV): Likewise.
16455         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
16456         (tst-sscanf-ENV): Likewise.
16457         (tst-swprintf-ENV): Likewise.
16458         (tst-swscanf-ENV): Likewise.
16459         (test-vfprintf-ENV): Likewise.
16460         (scanf13-ENV): Likewise.
16461         (bug14-ENV): Likewise.
16462         (tst-grouping-ENV): Likewise.
16463         * stdlib/Makefile (tst-strtod-ENV): Likewise.
16464         (tst-strtod3-ENV): Likewise.
16465         (tst-strtod4-ENV): Likewise.
16466         (tst-strtod5-ENV): Likewise.
16467         (testmb2-ENV): Likewise./
16468         * string/Makefile (tst-strxfrm-ENV): Likewise.
16469         (tst-strxfrm2-ENV): Likewise.
16470         (bug-strcoll1-ENV): Likewise.
16471         (test-strcasecmp-ENV): Likewise.
16472         (test-strncasecmp-ENV): Likewise.
16473         * time/Makefile (tst-strptime-ENV): Likewise.
16474         (tst-ftime_l-ENV): Likewise.
16475         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
16476         (tst-mbrtowc-ENV): Likewise.
16477         (tst-wcrtomb-ENV): Likewise.
16478         (tst-mbrtowc2-ENV): Likewise.
16479         (tst-c16c32-1-ENV): Likewise.
16480         (tst-mbsnrtowcs-ENV): Likewise.
16482 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
16484         * manual/resource.texi (How to get information about the memory
16485         subsystem?): Fix typo.
16486         Reported by Peon de la Parra Ivan <peon@keba.com>
16488 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
16490         [BZ #16882]
16491         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
16492         (pthread_spin_lock): Branch out of spin loop to proper location.
16493         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
16494         (pthread_spin_lock): Likewise.
16496         * nptl/tst-spin4.c: New test.
16497         * nptl/Makefile (tests): Add tst-spin4.
16499 2014-06-03  Andreas Schwab  <schwab@suse.de>
16501         [BZ #15946]
16502         * resolv/res_send.c (send_dg): Reload file descriptor after
16503         calling reopen.
16505 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
16507         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16509 2014-06-03  Richard Henderson  <rth@redhat.com>
16511         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
16512         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
16513         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
16514         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
16515         in the SAVE_PID block.
16516         (__libc_vfork): New alias.
16517         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
16519         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
16520         child in registers, not on the stack.  Remove RESET_PID conditionals.
16521         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
16523 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
16525         * sysdeps/aarch64/libm-test-ulps: Regenerate.
16527 2014-06-03  Wilco  <wdijkstr@arm.com>
16529         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
16530         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
16531         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
16532         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
16533         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
16534         Likewise.
16536 2014-06-03  Wilco  <wdijkstr@arm.com>
16538         * sysdeps/aarch64/fpu/math_private.h
16539         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
16540         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
16541         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
16542         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
16543         Fix declarations.
16545 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
16547         * crypt/crypt-private.h: Include ufc-crypt.h.
16548         (__b64_from_24bit): Declare extern.
16549         * crypt/crypt_util.c(__b64_from_24bit): New function.
16550         (b64t): New static const variable.
16551         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
16552         (b64t): Remove variable.
16553         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
16554         * crypt/sha256-crypt.c: Include crypt-private.h.
16555         (b64t): Remove variable.
16556         (__sha256_crypt_r): Remove b64_from_24bit and replace
16557         with __b64_from_24bit.
16558         * crypt/sha512-crypt.c: Likewise.
16560 2014-06-02  Roland McGrath  <roland@hack.frob.com>
16562         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
16563         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
16564         Label the code __libc_vfork rather than __vfork.
16565         [!NOT_IN_libc] (vfork): Define as weak alias.
16566         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
16567         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
16568         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
16570 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16572         * malloc/malloc.c (malloc_info): Fix format specifier for
16573         n_mmaps.
16575 2014-06-02  Wilco  <wdijkstr@arm.com>
16577         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
16578         FPCR write.
16580 2014-06-02  Wilco  <wdijkstr@arm.com>
16582         [BZ #17009]
16583         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
16584         Rewrite to reduce FPCR/FPSR accesses.
16586 2014-06-01  David S. Miller  <davem@davemloft.net>
16588         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16590 2014-05-31  David S. Miller  <davem@davemloft.net>
16592         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
16593         to occur in round to nearest mode when |x| >= 2.0
16595 2014-05-30  Richard Henderson  <rth@twiddle.net>
16597         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
16598         (PSEUDO_RET_NOERRNO): Remove.
16599         (ret): Don't redefine.
16600         (ret_NOERRNO): Define in terms of ret.
16601         (ret_ERRVAL): Likewise.
16603         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
16604         use of PSEUDO_RET; perform the error check directly.
16606 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
16608         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
16609         with __int128_t.
16611 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16613         * malloc/malloc (malloc_info): Fix formatting.
16615 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16616             Roland McGrath  <roland@hack.frob.com>
16618         * malloc/malloc (malloc_info): Also print mmapped statistics.
16620 2014-05-30  Roland McGrath  <roland@hack.frob.com>
16622         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
16623         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
16625 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
16627         * malloc/malloc.c (malloc_info): Inline mi_arena.
16629 2014-05-29  Richard Henderson  <rth@twiddle.net>
16631         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
16632         Remove comma before expanding ASM_ARGS_##nr.
16633         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
16634         Make _x0 a strict output; make _x8 a strict input; adjust expansion
16635         of ASM_ARGS_##nr.
16636         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
16637         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
16638         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
16639         (ASM_ARGS_1): Add leading comma.
16641         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
16642         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
16643         to __errno_location.
16644         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
16645         Remove the expected plt for __errno_location.
16647         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16648         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
16649         call to __read_tp.
16651         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16652         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
16653         it and break it down.
16654         (DOCARGS_0, DOCARGS_1): Do nothing.
16655         (DOCARGS_2): Update to store into the new stack frame.
16656         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
16657         (UNDOCARGS_1): Update to restore from the new stack frame.
16658         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
16659         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
16661         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16662         (SINGLE_THREAD_P): New parameter for result regno.
16663         (PSEUDO): Update to match; use cbz instead of beq.
16665         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16666         Use ENTRY to define the _nocancel entry point.  Share the syscall
16667         and syscall error check paths with the cancel path.
16668         (PSEUDO_END): New.
16670         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
16671         whitespace; tabs before and after asm mnemonics.
16673 2014-05-29  Eric Wong  <normalperson@yhbt.net>
16675         [BZ #15132]
16676         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16677         Call fstat64 or stat64 internally, depending on arguments passed.
16678         Replace stat buffer argument with file descriptor argument.
16679         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
16680         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
16681         Pass fd to __internal_statvfs instead of calling fstat64.
16682         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
16683         Pass fd to __internal_statvfs64 instead of calling fstat64.
16684         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
16685         Pass -1 to __internal_statvfs instead of calling stat64.
16686         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
16687         Pass -1 to __internal_statvfs64 instead of calling stat64.
16689 2014-05-28  Roland McGrath  <roland@hack.frob.com>
16691         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
16692         that was previously under [RESET_PID].
16693         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
16695         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
16696         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
16698 2014-05-27  Roland McGrath  <roland@hack.frob.com>
16700         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
16702         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
16703         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
16705 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
16707         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
16709 2014-05-27  Andreas Schwab  <schwab@suse.de>
16711         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
16712         TLS_INIT_TP macro.
16713         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
16714         * elf/rtld.c (init_tls, dl_main): Likewise.
16715         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
16716         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
16717         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
16718         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
16719         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
16720         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
16721         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
16722         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
16723         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
16724         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
16725         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
16726         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
16727         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
16728         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
16729         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
16730         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
16731         * sysdeps/generic/tls.h: Update description.
16733 2014-05-27  Will Newton  <will.newton@linaro.org>
16735         [BZ #16990]
16736         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
16737         and restore r2 rather than just restoring.
16739 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16741         [BZ #16724]
16742         * libio/tst-ftell-append.c: New test case.
16743         * libio/Makefile (tests): Add test case.
16744         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
16745         append mode.
16746         * libio/wfileops.c (do_ftell_wide): Likewise.
16748 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16750         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16752         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
16753         ...
16754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
16755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16756         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
16757         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
16758         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
16759         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
16760         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
16761         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
16762         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
16763         Moved ...
16764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
16765         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
16766         Moved ...
16767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
16768         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
16769         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
16770         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
16771         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
16772         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
16773         ...
16774         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
16775         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
16776         Moved ...
16777         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
16778         here.
16779         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
16780         ...
16781         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
16782         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
16783         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
16785         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
16786         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
16787         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
16788         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
16790         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
16791         merge into ...
16792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
16793         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
16794         ...
16795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
16796         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
16797         ...
16798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
16799         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
16800         Moved ...
16801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
16802         here.
16803         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
16804         Moved ...
16805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
16806         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
16807         Moved ...
16808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
16810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
16811         conditional [RESET_PID].
16812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
16813         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
16814         removed.
16815         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
16816         removed.
16818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
16819         <tcb-offsets.h>.
16820         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16821         (__libc_vfork): New strong alias.
16822         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
16823         removed.
16824         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
16825         Removed.
16827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
16828         <tcb-offsets.h>.
16829         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
16830         (__libc_vfork): New strong alias.
16831         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
16832         removed.
16833         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
16834         removed.
16836 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
16838         * malloc/malloc.c (mi_arena): New function.
16839         (malloc_info): Remove nested function mi_arena. Call non-nosted
16840         function mi_arena.
16842 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16844         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
16845         by insrwi.
16846         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
16847         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
16848         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
16849         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
16850         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
16851         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
16852         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
16854 2014-05-26  Andreas Schwab  <schwab@suse.de>
16856         [BZ #16984]
16857         * locale/programs/repertoire.c (repertoire_read): Add slash
16858         between I18NPATH element and file name.
16859         * locale/programs/locfile.c (locfile_read): Likewise.
16861 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
16863         * nptl/pthread_mutexattr_settype.c
16864         (__pthread_mutexattr_settype):
16865         Disable lock elision for PTHREAD_MUTEX_NORMAL.
16867 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
16869         * nptl/tst-mutex5 (do_test):
16870         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
16872 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16874         * benchtests/README: Document 'init' directive.
16875         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
16876         BENCH_INIT.
16877         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
16878         (parse_file): Recognize 'init' directive.
16880 2014-05-26  Kyle McMartin  <kyle@redhat.com>
16882         [BZ #16796]
16883         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
16884         alignment of struct pthread.
16886 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16888         [BZ #16878]
16889         * nscd/netgroupcache.c (addgetnetgrentX): Look for
16890         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
16891         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
16892         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
16894 2014-05-25  Richard Henderson  <rth@twiddle.net>
16896         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16897         (SINGLE_THREAD_P_PIC): Remove.
16898         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
16899         (SINGLE_THREAD_P_PIC): Remove.
16901         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
16902         branch to syscall error ...
16903         (PSEUDO): ... here.
16904         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
16905         from __local_syscall_error to .Lsyscall_error.
16906         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
16907         (SYSCALL_ERROR): Update label name.
16909         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16910         Do not use DOARGS/UNDOARGS.
16911         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
16912         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
16913         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
16914         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
16915         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
16917         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
16918         block comment.
16920         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
16921         define if !NOT_IN_libc.
16922         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
16923         define with non-default symbol versions.
16925 2014-05-23  Richard Henderson  <rth@twiddle.net>
16927         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
16928         (vfork, __vfork): Define via compat_symbol.
16930         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
16931         [!HAVE_IFUNC] (vfork_compat): Remove.
16932         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
16934 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
16936         [BZ #16978]
16937         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
16938         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
16939         variable.
16941 2014-05-23  Richard Henderson  <rth@twiddle.net>
16943         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
16944         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
16945         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
16946         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
16948         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
16949         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
16950         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
16951         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
16952         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
16953         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
16954         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
16955         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
16956         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
16957         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
16958         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
16959         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
16960         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
16961         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
16962         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
16963         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
16964         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
16965         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
16966         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
16967         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
16968         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
16969         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
16970         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
16971         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
16972         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
16973         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
16974         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
16975         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
16976         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
16977         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
16978         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
16979         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
16980         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
16981         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
16982         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
16983         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
16984         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
16985         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
16986         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
16987         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
16988         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
16989         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
16990         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
16991         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
16992         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
16993         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
16994         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
16995         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
16996         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
16997         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
16998         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
16999         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
17000         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
17001         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
17002         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
17003         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
17005         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
17006         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
17007         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
17008         before exiting on error.
17009         (__libc_vfork): New strong alias.
17010         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
17011         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
17013         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
17014         that was previously under [RESET_PID].
17015         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
17017         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
17019 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
17021         [BZ #16977]
17022         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
17023         value when x - 1 is zero.
17024         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
17025         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
17026         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
17027         0.0L for an argument of 1.0L.
17028         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
17029         Likewise.
17030         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
17031         value when x - 1 is zero.
17032         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
17033         * sysdeps/i386/fpu/libm-test-ulps: Update.
17034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17036 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
17038         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
17039         alphasort and versionsort.
17041 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17043         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
17044         macro.
17045         [copysignf]: Likewise.
17047 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
17049         * crypt/md5-crypt.c: Fix formatting.
17051 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
17053         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
17054         (b64_from_24bit): New function.
17056 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17058         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
17059         libc_hidden_builtin_def to ifunc.
17060         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
17061         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
17063 2014-05-21  Roland McGrath  <roland@hack.frob.com>
17065         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
17066         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
17068 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
17070         * nscd/Depend (linuxthreads): Remove.
17071         (nptl): Add.
17072         * resolv/Depend (linuxthreads): Remove.
17073         * rt/Depend (linuxthreads): Remove.
17075         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
17076         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
17077         $(common-objpfx)elf/.
17078         (link-libc-before-gnulib): Likewise.
17079         (elfobjdir): Remove variable.
17080         * Makefile (install): Use $(elf-objpfx) instead of
17081         $(common-objpfx)elf/.
17082         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
17083         $(elfobjdir)/.
17084         (link-libc-deps): Likewise.
17085         ($(common-objpfx)libc.so): Likewise.
17086         ($(common-objpfx)linkobj/libc.so): Likewise.
17087         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
17088         instead of $(common-objpfx)elf/.
17089         (symbolic-link-list): Likewise.
17090         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17091         [$(cross-compiling) = no]: Likewise.
17092         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
17093         $(elfobjdir)/.
17094         (static-gnulib-arch): Likewise.
17095         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17096         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
17097         $(common-objpfx)elf/.
17099 2014-05-21  Richard Henderson  <rth@redhat.com>
17101         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17102         (SINGLE_THREAD_P): Use the correct width load.  Fold
17103         into the ldr offset.
17105         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
17106         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
17108 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
17110         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
17111         (libgcc_s_resume): Use __attribute_used__.
17112         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
17113         Likewise.
17115 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17117         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
17118         optimization when used with float constants.
17120         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17122 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
17124         [BZ #16915]
17125         * locale/nl_langinfo_l.c: Make direct reference to every
17126         _nl_current_CATEGORY symbol.
17127         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
17128         (tests-static): Add tst-langinfo-static.
17129         (tests-special): Add tst-langinfo-static.out.
17130         ($(objpfx)tst-langinfo.out): Redirect output.
17131         ($(objpfx)tst-langinfo-static.out): New.
17132         * localedata/tst-langinfo.sh: Send output to stdout.
17133         * localedata/tst-langinfo-static.c: New file.
17135         [BZ #16965]
17136         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
17137         when the shift amount is modulo the limb size.
17139 2014-05-20  Richard Henderson  <rth@redhat.com>
17141         [BZ #16967]
17142         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
17143         Change type of sa_flags from unsigned int to int.
17145         [BZ #16966]
17146         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
17148         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
17150 2014-05-20  Will Newton  <will.newton@linaro.org>
17152         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17153         Test the return value of the system call in the nocancel case.
17155 2014-05-20  Will Newton  <will.newton@linaro.org>
17156             Yvan Roux  <yvan.roux@linaro.org>
17158         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
17159         #include of asm/ptrace.h.
17160         (PTRACE_GET_THREAD_AREA): Remove #undef.
17161         (PTRACE_GETHBPREGS): Likewise.
17162         (PTRACE_SETHBPREGS): Likewise.
17163         (struct user_regs_struct): New structure.
17164         (struct user_fpsimd_struct): New structure.
17165         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
17166         #include of asm/ptrace.h and second #include of sys/user.h.
17167         (PTRACE_GET_THREAD_AREA): Remove #undef.
17168         (PTRACE_GETHBPREGS): Likewise.
17169         (PTRACE_SETHBPREGS): Likewise.
17170         (ELF_NGREG): Use new struct user_regs_struct.
17171         (elf_fpregset_t): Use new struct user_fpsimd_struct.
17173 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17175         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
17176         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
17178 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
17180         [BZ #16958]
17181         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
17182         membar to avoid block loads/stores to overlap previous stores.
17184 2014-05-17  Richard Henderson  <rth@redhat.com>
17186         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
17187         Create the __##syscall_name##_nocancel entry point.
17188         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
17189         Remove; let the sysdep-cancel.h code create it.
17191 2014-05-17  David S. Miller  <davem@davemloft.net>
17193         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
17194         Protect with __USE_GNU.
17195         (TIOCSET_TEMPT): Likewise.
17196         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
17197         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
17198         these are already provided in bits/ioctl-types.h
17200 2014-05-16  Roland McGrath  <roland@hack.frob.com>
17202         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
17203         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
17205         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
17206         Use wait4 regardless of [__NR_waitpid].
17208 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
17210         PR libgcc/60166
17211         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17212         (_FP_NANSIGN_Q): Set the quiet bit.
17214 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
17216         * benchtests/Makefile
17217         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
17218         not $(common-objpfx)math/libm.so.
17219         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
17220         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
17221         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
17222         $(common-objpfx)dlfcn/libdl.so.
17223         ($(objpfx)tst-audit8): Depend on $(libm), not
17224         $(common-objpfx)math/libm.so.
17225         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
17226         not $(common-objpfx)dlfcn/libdl.so.
17227         * math/Makefile
17228         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17229         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
17230         [$(build-shared) = yes].
17231         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
17232         $(common-objpfx)nptl/libpthread.so.
17233         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
17234         $(common-objpfx)math/libm.so$(libm.so-version) or
17235         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
17236         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
17237         $(common-objpfx)dlfcn/libdl.so.
17238         * setjmp/Makefile (link-libm): Remove variable.
17239         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
17240         * stdio-common/Makefile (link-libm): Remove variable.
17241         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
17242         * stdlib/Makefile (link-libm): Remove variable.
17243         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
17244         ($(objpfx)tst-strtod-round): Likewise.
17245         ($(objpfx)tst-tininess): Likewise.
17246         ($(objpfx)tst-strtod-underflow): Likewise.
17247         ($(objpfx)tst-strtod6): Likewise.
17248         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
17249         $(libdl), not $(common-objpfx)nptl/libpthread.so and
17250         $(common-objpfx)dlfcn/libdl.so.
17252 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17254         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
17255         BSD terminal modes definitions.
17257 2014-05-16  Roland McGrath  <roland@hack.frob.com>
17259         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
17260         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
17262         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
17263         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
17264         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
17265         Don't do #include_next.
17266         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
17267         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
17268         Don't do #include_next.
17269         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
17270         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
17271         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
17272         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
17274 2014-05-16  Allan McRae  <allan@archlinux.org>
17276         * po/sv.po: Update Swedish translation from translation project.
17278         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
17279         in sed expression.
17281 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
17283         [BZ #16917]
17284         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
17285         errno if the TIOCGPTN ioctl fails with an error different than
17286         EINVAL.
17287         * login/tst-ptsname.c: New file.
17288         * login/Makefile (tests): Add tst-ptsname.
17290         [BZ #16943]
17291         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
17292         and prlimit64.
17294 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17296         [BZ #16849]
17297         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
17298         herrno to return EAI_AGAIN.
17300 2014-05-14  Roland McGrath  <roland@hack.frob.com>
17302         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
17303         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
17304         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
17305         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
17306         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
17307         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
17308         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
17309         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
17310         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
17311         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
17312         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
17313         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
17314         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
17315         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
17316         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
17317         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
17318         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
17319         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
17320         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
17321         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
17322         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
17323         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
17324         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
17325         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
17326         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
17327         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
17328         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
17329         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
17330         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
17331         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
17332         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
17333         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
17334         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
17335         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
17336         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
17337         Moved ...
17338         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
17339         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
17340         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
17341         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
17342         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
17343         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
17344         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
17345         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
17346         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
17347         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
17348         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
17349         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
17350         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
17351         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
17352         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
17353         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
17354         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
17355         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
17356         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
17357         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
17358         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
17359         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
17360         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
17361         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
17362         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
17363         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
17364         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
17365         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17366         Moved ...
17367         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
17368         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
17369         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
17370         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
17371         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
17372         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
17373         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
17374         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
17375         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
17376         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
17377         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
17378         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
17379         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
17380         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
17381         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
17382         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
17383         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
17384         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
17385         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
17386         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17387         Moved ...
17388         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
17389         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
17390         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
17392         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
17393         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
17394         (libpthread-sysdep_routines): Add elision-related stuff here instead.
17395         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
17396         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
17397         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
17398         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
17399         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
17400         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
17401         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
17402         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
17403         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
17404         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
17405         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
17406         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
17407         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
17408         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
17409         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
17410         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
17411         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
17412         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
17413         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
17414         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
17415         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
17416         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
17417         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
17418         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
17419         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
17420         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
17421         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
17422         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
17424         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
17425         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
17427         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
17428         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
17429         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
17430         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
17431         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
17432         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
17433         Moved ...
17434         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
17435         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
17436         Moved ...
17437         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
17438         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
17439         Moved ...
17440         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
17441         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
17442         Moved ...
17443         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
17444         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
17445         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
17446         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
17447         Moved ...
17448         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
17449         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
17450         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
17451         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
17452         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
17453         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
17454         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
17455         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
17456         Moved ...
17457         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
17458         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
17459         Moved ...
17460         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
17461         ... here.
17462         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
17463         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
17464         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
17465         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
17466         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
17467         Moved ...
17468         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
17469         ... here.
17470         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
17471         Moved ...
17472         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
17473         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
17474         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
17475         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
17476         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
17477         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
17478         Moved ...
17479         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
17480         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
17481         Moved ...
17482         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
17483         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
17484         Moved ...
17485         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
17486         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
17487         Moved ...
17488         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
17489         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
17490         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
17491         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
17492         Moved ...
17493         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
17494         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
17495         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
17496         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
17497         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
17498         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
17499         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
17500         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
17501         Moved ...
17502         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
17503         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
17504         Moved ...
17505         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
17506         ... here.
17507         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
17508         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
17509         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
17510         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
17511         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
17512         Moved ...
17513         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
17514         ... here.
17515         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
17516         Moved ...
17517         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
17518         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
17519         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
17520         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
17521         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
17522         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
17523         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
17524         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
17525         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
17526         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
17527         Moved ...
17528         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
17529         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
17530         Moved ...
17531         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
17532         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
17533         Moved ...
17534         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
17535         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
17536         Moved ...
17537         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
17538         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
17539         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
17540         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
17541         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
17542         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
17543         Moved ...
17544         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
17545         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
17546         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
17547         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
17548         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
17549         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
17550         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
17551         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
17552         Moved ...
17553         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
17554         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
17555         Moved ...
17556         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
17557         ... here.
17558         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
17559         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
17560         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
17561         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
17562         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
17563         Moved ...
17564         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
17565         ... here.
17566         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
17567         Moved ...
17568         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
17569         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
17570         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
17571         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
17572         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
17573         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
17574         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
17575         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
17576         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
17577         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
17578         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
17580         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
17581         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
17583         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
17584         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
17586         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
17587         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
17588         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
17589         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
17590         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
17591         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
17592         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
17593         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
17594         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
17595         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
17596         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
17597         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
17598         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
17599         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
17600         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
17601         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
17602         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
17603         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
17604         Moved ...
17605         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
17606         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
17607         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
17608         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
17609         Moved ...
17610         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
17611         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
17612         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
17613         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
17614         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
17615         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
17616         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
17617         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
17618         Moved ...
17619         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
17620         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
17621         Moved ...
17622         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
17623         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
17624         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
17625         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
17626         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
17627         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
17628         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
17629         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
17630         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
17631         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
17632         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
17633         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
17634         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
17635         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
17636         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
17637         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
17638         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
17640         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
17641         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
17642         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
17643         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
17644         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
17646         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
17647         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
17648         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
17649         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
17650         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
17651         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
17652         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
17653         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
17654         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
17655         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
17657         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
17658         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
17660         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
17661         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
17662         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
17663         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
17664         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
17665         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
17666         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
17667         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
17668         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
17669         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
17670         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
17671         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
17672         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
17673         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
17674         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
17675         Update #include.
17676         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
17677         Likewise.
17678         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
17679         Likewise.
17680         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
17681         Likewise.
17682         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
17683         Likewise.
17684         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
17685         Likewise.
17686         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
17687         Likewise.
17688         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
17689         Likewise.
17690         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
17691         Likewise.
17692         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
17693         Likewise.
17694         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
17695         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
17696         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
17697         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
17698         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
17699         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
17700         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
17701         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
17702         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
17703         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
17704         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
17705         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
17706         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
17707         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
17708         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
17710         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
17711         that was previously under [RESET_PID].
17712         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17713         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
17714         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
17716         * sysdeps/i386/nptl/Implies: New file.
17717         * sysdeps/x86_64/nptl/Implies: New file.
17718         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
17719         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
17720         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
17721         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
17723         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
17724         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17725         (__libc_vfork): New strong alias.
17726         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
17727         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
17729         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
17730         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17731         (__libc_vfork): New strong alias.
17732         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
17733         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
17735         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
17736         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17737         (__libc_vfork): New strong alias.
17738         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
17739         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
17740         * nptl/pt-vfork.c: New file.
17741         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
17742         (libpthread: GLIBC_2.20): New version set (empty).
17744 2014-05-14  Will Newton  <will.newton@linaro.org>
17746         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
17747         rather than #if.
17749 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
17751         [BZ #16564]
17752         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
17753         arguments with exponent 65 or above.
17754         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
17755         arguments 0x1p113L or above.
17756         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
17757         to arguments 0x1p107L or above.
17758         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
17759         positive arguments with exponent 65 or above.
17760         * math/auto-libm-test-in: Add more tests of log1p.
17761         * math/auto-libm-test-out: Regenerated.
17763         [BZ #16928]
17764         * math/s_cacos.c (__cacos): Ensure zero real part of result from
17765         non-finite arguments is +0.
17766         * math/s_cacosf.c (__cacosf): Likewise.
17767         * math/s_cacosl.c (__cacosl): Likewise.
17768         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
17769         * sysdeps/i386/fpu/libm-test-ulps: Update.
17770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17772         [BZ #16927]
17773         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
17774         value.
17775         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
17776         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
17777         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
17778         for explicit high bit of mantissa when testing for argument equal
17779         to 1.
17780         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
17781         * sysdeps/i386/fpu/libm-test-ulps: Update.
17782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17784         [BZ #16516]
17785         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
17786         (__erf): Scale by 16 instead of 8 in potentially underflowing
17787         case.  Ensure exception if result actually underflows.
17788         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
17789         (__erff): Scale by 16 instead of 8 in potentially underflowing
17790         case.  Ensure exception if result actually underflows.
17791         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
17792         (efx8): Remove variable.
17793         (__erfl): Scale by 16 instead of 8 in potentially underflowing
17794         case.  Ensure exception if result actually underflows.
17795         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
17796         (efx8): Remove variable.
17797         (__erfl): Scale by 16 instead of 8 in potentially underflowing
17798         case.  Ensure exception if result actually underflows.
17799         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
17800         (efx8): Remove variable.
17801         (__erfl): Scale by 16 instead of 8 in potentially underflowing
17802         case.  Ensure exception if result actually underflows.
17803         * math/auto-libm-test-in: Add more tests of erf.
17804         * math/auto-libm-test-out: Regenerated.
17806 2014-05-14  Andreas Schwab  <schwab@suse.de>
17808         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
17809         Remove code conditionalized on USE___THREAD.
17811         * config.h.in (HAVE_PT_CHOWN): Define as 0.
17812         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
17813         not definedness.
17815 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
17817         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
17818         Define unconditionally.
17819         (__ASSUME_O_CLOEXEC): Likewise.
17820         (__ASSUME_SOCK_CLOEXEC): Likewise.
17821         (__ASSUME_IN_NONBLOCK): Likewise.
17822         (__ASSUME_PIPE2): Likewise.
17823         (__ASSUME_EVENTFD2): Likewise.
17824         (__ASSUME_SIGNALFD4): Likewise.
17825         (__ASSUME_DUP3): Likewise.
17826         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17827         (__ASSUME_DUP3): Do not define.
17828         (__ASSUME_EVENTFD2): Likewise.
17829         (__ASSUME_IN_NONBLOCK): Likewise.
17830         (__ASSUME_O_CLOEXEC): Likewise.
17831         (__ASSUME_PIPE2): Likewise.
17832         (__ASSUME_SIGNALFD4): Likewise.
17833         (__ASSUME_SOCK_CLOEXEC): Likewise.
17834         (__ASSUME_UTIMES): Undefine.
17835         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17836         (__ASSUME_UTIMES): Do not define.
17837         (__ASSUME_O_CLOEXEC): Likewise.
17838         (__ASSUME_SOCK_CLOEXEC): Likewise.
17839         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
17840         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
17841         0x020621].
17842         (__ASSUME_PIPE2): Likewise.
17843         (__ASSUME_EVENTFD2): Likewise.
17844         (__ASSUME_SIGNALFD4): Likewise.
17845         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
17846         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
17847         Do not define.
17848         (__ASSUME_EVENTFD2): Likewise.
17849         (__ASSUME_SIGNALFD4): Likewise.
17850         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17851         (__ASSUME_32BITUIDS): Likewise.
17852         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17853         (__ASSUME_IPC64): Likewise.
17854         (__ASSUME_ST_INO_64_BIT): Likewise.
17855         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
17856         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
17857         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17858         (__ASSUME_UTIMES): Do not define.
17859         (__ASSUME_PSELECT): Likewise.
17860         (__ASSUME_PPOLL): Likewise.
17861         (__ASSUME_O_CLOEXEC): Likewise.
17862         (__ASSUME_SOCK_CLOEXEC): Likewise.
17863         (__ASSUME_IN_NONBLOCK): Likewise.
17864         (__ASSUME_PIPE2): Likewise.
17865         (__ASSUME_EVENTFD2): Likewise.
17866         (__ASSUME_SIGNALFD4): Likewise.
17867         (__ASSUME_DUP3): Likewise.
17868         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17869         (__ASSUME_UTIMES): Likewise.
17870         (__ASSUME_O_CLOEXEC): Likewise.
17871         (__ASSUME_SOCK_CLOEXEC): Likewise.
17872         (__ASSUME_IN_NONBLOCK): Likewise.
17873         (__ASSUME_PIPE2): Likewise.
17874         (__ASSUME_EVENTFD2): Likewise.
17875         (__ASSUME_SIGNALFD4): Likewise.
17876         (__ASSUME_DUP3): Likewise.
17877         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17878         (__ASSUME_UTIMES): Likewise.
17879         (__ASSUME_O_CLOEXEC): Likewise.
17880         (__ASSUME_SOCK_CLOEXEC): Likewise.
17881         (__ASSUME_IN_NONBLOCK): Likewise.
17882         (__ASSUME_PIPE2): Likewise.
17883         (__ASSUME_EVENTFD2): Likewise.
17884         (__ASSUME_SIGNALFD4): Likewise.
17885         (__ASSUME_DUP3): Likewise.
17886         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
17887         Likewise.
17888         (__ASSUME_UTIMES): Likewise.
17889         (__ASSUME_EVENTFD2): Likewise.
17890         (__ASSUME_SIGNALFD4): Likewise.
17891         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17892         (__ASSUME_O_CLOEXEC): Likewise.
17893         (__ASSUME_SOCK_CLOEXEC): Likewise.
17894         (__ASSUME_IN_NONBLOCK): Likewise.
17895         (__ASSUME_PIPE2): Likewise.
17896         (__ASSUME_EVENTFD2): Likewise.
17897         (__ASSUME_SIGNALFD4): Likewise.
17898         (__ASSUME_DUP3): Likewise.
17899         (__ASSUME_UTIMES): Undefine.
17901         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
17902         feclearexcept.  Remove symbol versioning code.
17903         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
17904         symbol versioning code.
17905         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
17906         symbol versioning code.
17907         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
17908         feupdateenv.  Remove symbol versioning code.
17909         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
17910         fegetexceptflag.  Remove symbol versioning code.
17911         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
17912         fesetexceptflag.  Remove symbol versioning code.
17913         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
17914         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
17915         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
17916         (__posix_fadvise64_l32): Remove prototype.
17917         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
17918         code.
17920 2014-05-13  Roland McGrath  <roland@hack.frob.com>
17922         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
17923         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
17924         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
17925         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
17927 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
17929         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
17930         current working directory
17932 2014-05-13  Roland McGrath  <roland@hack.frob.com>
17934         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
17935         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
17936         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
17937         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
17938         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
17939         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
17940         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
17941         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
17942         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
17943         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
17944         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
17945         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
17946         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
17947         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
17948         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
17949         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
17950         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
17951         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
17952         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
17953         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
17954         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
17955         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
17956         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
17957         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
17958         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
17959         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
17960         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
17961         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
17962         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
17963         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
17964         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
17965         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
17966         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
17967         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
17968         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
17969         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
17970         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
17971         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
17972         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
17973         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
17974         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
17975         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
17977         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
17978         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
17980         * sysdeps/unix/sysv/linux/arm/Makefile
17981         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
17982         Add rt-aeabi_unwind_cpp_pr1.
17983         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
17984         Add nptl-aeabi_unwind_cpp_pr1.
17985         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
17986         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
17987         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
17988         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
17989         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
17990         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
17992         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
17993         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
17994         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
17995         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
17997         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
17998         Deconditionalize the code that was previously under [RESET_PID].
17999         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
18001         * sysdeps/generic/exit-thread.h: New file.
18002         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
18003         * include/unistd.h (__exit_thread): Remove declaration.
18004         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
18005         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
18006         * csu/libc-start.c: Include <exit-thread.h>.
18007         (LIBC_START_MAIN): Pass no argument to __exit_thread.
18008         * nptl/pthread_create.c: Include <exit-thread.h>.
18009         (start_thread): Call __exit_thread in place of __exit_thread_inline.
18010         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
18011         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
18012         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
18013         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
18014         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
18015         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
18016         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
18017         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
18018         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
18019         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
18020         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
18021         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
18022         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
18023         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
18024         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
18025         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
18027 2014-05-13  Andreas Schwab  <schwab@suse.de>
18029         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
18031 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
18033         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
18034         (__ASSUME_UTIMES): Do not condition on kernel version.
18035         (__ASSUME_PSELECT): Define unconditionally.
18036         (__ASSUME_PPOLL): Likewise.
18037         (__ASSUME_ATFCTS): Likewise.
18038         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
18039         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
18040         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
18041         (__ASSUME_UTIMENSAT): Define unconditionally.
18042         (__ASSUME_PRIVATE_FUTEX): Likewise.
18043         (__ASSUME_FALLOCATE): Likewise.
18044         (__ASSUME_O_CLOEXEC): Likewise.
18045         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
18046         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
18047         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
18048         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
18049         (__ASSUME_IN_NONBLOCK): Likewise.
18050         (__ASSUME_PIPE2): Likewise.
18051         (__ASSUME_EVENTFD2): Likewise.
18052         (__ASSUME_SIGNALFD4): Likewise.
18053         (__ASSUME_DUP3): Likewise.
18054         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18055         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
18056         (__ASSUME_AT_RANDOM): Likewise.
18057         (__ASSUME_PREADV): Likewise.
18058         (__ASSUME_PWRITEV): Likewise.
18059         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
18060         (__ASSUME_F_GETOWN_EX): Define unconditionally.
18061         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
18062         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
18063         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
18064         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18065         (__ASSUME_O_CLOEXEC): Define unconditionally.
18066         (__ASSUME_PSELECT): Do not undefine conditionally.
18067         (__ASSUME_PPOLL): Likewise.
18068         (__ASSUME_ATFCTS): Likewise.
18069         (__ASSUME_SET_ROBUST_LIST): Likewise.
18070         (__ASSUME_UTIMENSAT): Likewise.
18071         (__ASSUME_FDATASYNC): Define unconditionally.
18072         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18073         (__ASSUME_SIGFRAME_V2): Likewise.
18074         )__ASSUME_EVENTFD2): Likewise.
18075         (__ASSUME_SIGNALFD4): Likewise.
18076         (__ASSUME_PSELECT): Do not undefine conditionally.
18077         (__ASSUME_PPOLL): Likewise.
18078         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18079         (__ASSUME_PSELECT): Define unconditionally.
18080         (__ASSUME_PPOLL): Likewise.
18081         (__ASSUME_O_CLOEXEC): Likewise.
18082         (__ASSUME_SOCK_CLOEXEC): Likewise.
18083         (__ASSUME_IN_NONBLOCK): Likewise.
18084         (__ASSUME_PIPE2): Likewise.
18085         (__ASSUME_EVENTFD2): Likewise.
18086         (__ASSUME_SIGNALFD4): Likewise.
18087         (__ASSUME_DUP3): Likewise.
18088         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18089         (__ASSUME_O_CLOEXEC): Likewise.
18090         (__ASSUME_SOCK_CLOEXEC): Likewise.
18091         (__ASSUME_IN_NONBLOCK): Likewise.
18092         (__ASSUME_PIPE2): Likewise.
18093         (__ASSUME_EVENTFD2): Likewise.
18094         (__ASSUME_SIGNALFD4): Likewise.
18095         (__ASSUME_DUP3): Likewise.
18096         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18097         (__ASSUME_EVENTFD2): Likewise.
18098         (__ASSUME_SIGNALFD4): Likewise.
18099         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18101 2014-05-12  Andreas Schwab  <schwab@suse.de>
18103         [BZ #16932]
18104         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
18105         (_nss_nis_gethostbyname4_r): Return error if item length is larger
18106         than maximum RPC packet size.
18107         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
18108         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
18109         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
18110         (_nss_nis_getservbyport_r): Likewise.
18112 2014-05-12  Will Newton  <will.newton@linaro.org>
18114         * malloc/Makefile (tests): Add tst-mallopt.
18115         * malloc/tst-mallopt.c: New file.
18117 2014-05-09  Roland McGrath  <roland@hack.frob.com>
18119         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
18120         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
18122 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18124         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
18125         (tst-tlsmod6.so): Likewise.
18127 2014-05-09  Roland McGrath  <roland@hack.frob.com>
18129         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
18131 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
18133         [BZ #16064]
18134         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
18135         and <dl-procinfo.h>.
18136         (__fegetenv): Save SSE state in envp->__eip if supported.
18137         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
18138         envp->__eip if supported.
18139         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
18140         and <dl-procinfo.h>.
18141         (__fesetenv): Always set __eip, __cs_selector, __opcode,
18142         __data_offset and __data_selector in environment to 0.  Set SSE
18143         state if supported.
18144         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
18145         test-fenv-sse.
18146         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
18147         -mfpmath=sse.
18148         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
18150 2014-05-09  Will Newton  <will.newton@linaro.org>
18152         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
18153         and libc_relro_required for ARM.
18154         * sysdeps/arm/preconfigure: Regenerate.
18156 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
18157             Stefan Liebler  <stli@linux.vnet.ibm.com>
18159         * config.make.in (enable-lock-elision): New Makefile variable.
18160         * configure.ac: Likewise.
18161         * configure: Regenerate.
18162         * sysdeps/s390/configure.ac:
18163         Add check for gcc transactions support.
18164         * sysdeps/s390/configure: Regenerate.
18165         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
18166         Build elision files if enabled.
18167         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
18168         Add lock elision support for s390.
18169         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
18170         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
18171         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
18172         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
18173         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
18174         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
18175         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
18176         Likewise.
18177         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
18178         Likewise.
18179         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
18180         Likewise.
18181         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
18182         Likewise.
18183         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
18184         (__lll_timedlock_elision, __lll_lock_elision)
18185         (__lll_unlock_elision, __lll_trylock_elision)
18186         (lll_timedlock_elision, lll_lock_elision)
18187         (lll_unlock_elision, lll_trylock_elision): Add.
18188         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18189         (pthread_mutex_t): Add lock elision support for s390.
18191 2014-05-14  Wilco  <wdijkstr@arm.com>
18193         * sysdeps/arm/fclrexcpt.c: Cleanup.
18194         * sysdeps/arm/fedisblxcpt.c: Cleanup.
18195         * sysdeps/arm/feenablxcpt.c: Cleanup.
18196         * sysdeps/arm/fegetenv.c: Cleanup.
18197         * sysdeps/arm/fegetexcept.c: Cleanup.
18198         * sysdeps/arm/fegetround.c: Cleanup.
18199         * sysdeps/arm/feholdexcpt.c: Cleanup.
18200         * sysdeps/arm/fesetenv.c: Cleanup.
18201         * sysdeps/arm/fesetround.c: Cleanup.
18202         * sysdeps/arm/feupdateenv.c: Cleanup.
18203         * sysdeps/arm/fgetexcptflg.c: Cleanup.
18204         * sysdeps/arm/fraiseexcpt.c: Cleanup.
18205         * sysdeps/arm/fsetexcptflg.c: Cleanup.
18206         * sysdeps/arm/ftestexcept.c: Cleanup.
18207         * sysdeps/arm/get-rounding-mode.h: Cleanup.
18208         * sysdeps/arm/setfpucw.c: Cleanup.
18210 2014-05-09  Will Newton  <will.newton@linaro.org>
18212         * sysdeps/arm/armv7/strcmp.S: New file.
18213         * NEWS: Mention addition of ARMv7 optimized strcmp.
18215 2014-05-08  Roland McGrath  <roland@hack.frob.com>
18217         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
18218         look for %.ac rather than %.in.
18220         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
18221         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
18222         * sysdeps/mach/hurd/configure: Regenerated.
18223         * sysdeps/unix/sysv/linux/configure: Regenerated.
18225         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
18227 2014-05-07  Steve Ellcey  <sellcey@mips.com>
18229         [BZ# 16922]
18230         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
18231         (LONG_SUB): Ditto.
18232         (PTR_SUB): Ditto.
18234 2014-05-07  Andreas Schwab  <schwab@suse.de>
18236         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
18237         when skipping over non-matching result from nscd.
18239 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
18241         [BZ #16876]
18242         * nptl/sockperf.c (client): Check socket return value.
18244         [BZ #16877]
18245         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
18246         nscd security class.
18248 2014-05-06  Roland McGrath  <roland@hack.frob.com>
18250         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
18251         * sysdeps/arm/unwind.h: ... here.
18253 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
18255         [BZ# 16916]
18256         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
18257         Define.
18259 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18261         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
18262         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
18263         multiarch strncpy for PPC64.
18264         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
18265         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
18266         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
18267         multiarch optimizations.
18268         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18269         (__libc_ifunc_impl_list): Likewise.
18270         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
18271         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
18272         multiarch stpncpy for PPC64.
18273         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
18274         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
18276 2014-05-06  Andreas Schwab  <schwab@suse.de>
18278         [BZ #16912]
18279         * gmon/mcount.c (_MCOUNT_DECL): Use
18280         atomic_compare_and_exchange_bool_acq instead of
18281         catomic_compare_and_exchange_bool_acq.
18283 2014-05-05  Roland McGrath  <roland@hack.frob.com>
18285         * elf/Makefile (others, install-bin): Remove pldd.
18286         (pldd-modules): Variable removed.
18287         ($(objpfx)pldd): Target removed.
18288         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
18289         (others, install-bin): Append pldd here.
18290         ($(objpfx)pldd): New target.
18292         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
18293         to 0, so the first #if test emitted later doesn't see it undefined.
18294         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
18295         * sysdeps/gnu/errlist.c: Regenerated.
18297 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18299         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
18300         [libc_hidden_builtin_def]: Define to empty value.
18301         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
18302         [libc_hidden_builtin_def]: Likewise.
18303         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
18304         [libc_hidden_builtin_def]: Likewise.
18305         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
18306         [libc_hidden_builtin_def]: Likewise.
18307         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
18308         __redirect_memcpy and define ifunc as default hidden symbol.
18309         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
18310         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
18312 2014-05-04  Adam Conrad  <adconrad@0c3.net>
18314         * locale/iso-4217.def: Reintroduce XDR currency.
18316 2014-05-04  Allan McRae  <allan@archlinux.org>
18318         * po/eo.po: Update Esperanto translation from translation project.
18320 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
18322         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
18323         and FEATURE_INDEX_MAX to 1.
18324         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
18326 2014-05-01  Steve Ellcey  <sellcey@mips.com>
18328         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
18329         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
18330         * iconvdata/big5.c (ONE_DIRECTION): Define.
18331         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
18332         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
18333         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
18334         * iconvdata/cp932.c (ONE_DIRECTION): Define.
18335         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
18336         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
18337         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
18338         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
18339         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
18340         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
18341         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
18342         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
18343         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
18344         * iconvdata/gbk.c (ONE_DIRECTION): Define.
18345         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
18346         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
18347         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
18348         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
18349         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
18350         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
18351         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
18352         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
18353         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
18354         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
18355         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
18356         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
18357         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
18358         * iconvdata/iso646.c (ONE_DIRECTION): Define.
18359         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
18360         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
18361         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
18362         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
18363         * iconvdata/johab.c (ONE_DIRECTION): Define.
18364         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
18365         * iconvdata/sjis.c (ONE_DIRECTION): Define.
18366         * iconvdata/t.61.c (ONE_DIRECTION): Define.
18367         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
18368         * iconvdata/tscii.c (ONE_DIRECTION): Define.
18369         * iconvdata/uhc.c (ONE_DIRECTION): Define.
18370         * iconvdata/unicode.c (ONE_DIRECTION): Define.
18371         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
18372         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
18373         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
18375 2014-05-01  Roland McGrath  <roland@hack.frob.com>
18377         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
18378         (_IO_JUMPS_OFFSET): Define to 0.
18380         * nptl/sysdeps/pthread/bits/libc-lock.h
18381         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
18382         (__libc_lock_define_initialized_recursive): Always define using
18383         initializer.  Modern compilers treat uninitialized (implicit zero) and
18384         explicit zero initializers the same (i.e. put the datum in bss).
18386 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
18388         * nscd/nscd-client.h: Include <string.h>.
18390 2014-05-01  David S. Miller  <davem@davemloft.net>
18392         [BZ #16885]
18393         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
18394         multiple zero bytes exist at the end of a string.
18395         Reported by Aurelien Jarno <aurelien@aurel32.net>
18397         * string/test-strcmp.c (check): Add explicit test for situations where
18398         there are multiple zero bytes after the first.
18400 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
18402         [BZ #16890]
18403         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
18404         when compiling wprintf.
18405         * stdio-common/tstdiomisc.c (t3): New function.
18406         (main): Call it.
18408 2014-05-01  Steve Ellcey  <sellcey@mips.com>
18410         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
18411         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
18412         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
18413         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
18415 2014-05-01  Steve Ellcey  <sellcey@mips.com>
18417         * stdlib/longlong.h: Updated from GCC.
18419 2014-05-01  Will Newton  <will.newton@linaro.org>
18420             Bernard Ogden  <bernie.ogden@linaro.org>
18422         * NEWS: Update fixed bug list.
18424         [BZ #15119]
18425         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
18427 2014-04-30  David S. Miller  <davem@davemloft.net>
18429         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
18430         (libc_feholdexcept_setround_sparc_ctx): New function.
18431         (libc_fesetenv_sparc_ctx): Likewise.
18432         (libc_feupdateenv_sparc_ctx): Likewise.
18433         (libc_feholdsetround_sparc_ctx): Likewise.
18434         (libc_feholdexcept_setround_ctx): Define.
18435         (libc_feholdexcept_setroundf_ctx): Likewise.
18436         (libc_feholdexcept_setroundl_ctx): Likewise.
18437         (libc_fesetenv_ctx): Likewise.
18438         (libc_fesetenvf_ctx): Likewise.
18439         (libc_fesetenvl_ctx): Likewise.
18440         (libc_feupdateenv_ctx): Likewise.
18441         (libc_feupdateenvf_ctx): Likewise.
18442         (libc_feupdateenvl_ctx): Likewise.
18443         (libc_feresetround_ctx): Likewise.
18444         (libc_feresetroundf_ctx): Likewise.
18445         (libc_feresetroundl_ctx): Likewise.
18446         (libc_feholdsetround_ctx): Likewise.
18447         (libc_feholdsetroundf_ctx): Likewise.
18448         (libc_feholdsetroundl_ctx): Likewise.
18450         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
18451         with __USE_GNU instead of XOPEN cpp guards.
18453         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
18454         0.
18456         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
18457         with XOPEN cpp guards.
18459 2014-04-30  Julian Brown  <julian@codesourcery.com>
18461         [BZ #16888]
18462         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
18463         handling.
18465 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
18467         [BZ #9894]
18468         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
18469         Change to 2.6.32.
18470         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
18471         * sysdeps/unix/sysv/linux/configure: Regenerated.
18472         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
18473         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
18474         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
18475         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
18476         * README: Update reference to required Linux kernel version.
18477         * manual/install.texi (Linux): Update reference to required Linux
18478         kernel headers version.
18479         * INSTALL: Regenerated.
18481         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
18482         header inclusion.
18483         [POSIX] (limits.h): Likewise.
18484         [POSIX] (math.h): Likewise.
18485         [POSIX] (sys/wait.h): Likewise.
18486         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
18487         function.
18488         [POSIX] (stddef.h): Do not allow header inclusion.
18490 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18492         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
18494 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
18496         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
18497         Return immediately after lll_futex_wake.
18499 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18501         [BZ #16791]
18502         * nscd/nscd-client.h (datahead_init_common): Initialize entire
18503         structure.
18504         (datahead_init_pos): Call datahead_init_common early.
18505         (datahead_init_neg): Likewise.
18507         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
18508         datahead_init_neg): New functions.
18509         * nscd/aicache.c (addhstaiX): Use them.
18510         * nscd/grpcache.c (cache_addgr): Likewise.
18511         * nscd/hstcache.c (cache_addhst): Likewise.
18512         * nscd/initgrcache.c (addinitgroupsX): Likewise.
18513         * nscd/netgroupcache.c (do_notfound): Likewise.
18514         (addgetnetgrentX): Likewise.
18515         (addinnetgrX): Likewise.
18516         * nscd/pwdcache.c (cache_addpw): Likewise.
18517         * nscd/servicescache.c (cache_addserv): Likewise.
18519 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18520             Atsushi Onoe  <atsushi@onoe.org>
18522         [BZ #14308]
18523         [BZ #12994]
18524         [BZ #13651]
18525         * resolv/res_query.c (__libc_res_nsearch): Return if at least
18526         one response is valid.
18527         * resolv/res_send.c (send_dg): Check for validity of other
18528         response if the current response is a referral.
18530 2014-04-29  Steve Ellcey  <sellcey@mips.com>
18532         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
18534 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
18536         [BZ #16823]
18537         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
18538         Always divide by positive zero when computing -Inf result.
18539         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
18540         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
18542 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18544         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
18545         FPSCR if value do not change.
18546         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18547         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
18548         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
18549         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
18550         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
18551         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
18552         function.
18554 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
18556         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
18557         * sysdeps/unix/sysv/linux/hppa: Move directory from
18558         ports/systeps/unix/sysv/linux/hppa.
18559         * README: Update listing for hppa-*-linux-gnu.
18561 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
18563         [BZ #16754]
18564         * manual/stdio.texi (Hook functions): Fix types of stream hook
18565         functions.
18566         [BZ #16854]
18567         * socket/sys/socket.h: Fix typo in comment.
18569 2014-04-28  Wilco  <wdijkstr@arm.com>
18571         * sysdeps/arm/fenv_private.h: New file.
18572         * sysdeps/arm/math_private.h: New file.
18573         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
18575 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
18577         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
18578         with __int128_t.
18579         (La_x86_64_retval): Likewise.
18581 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
18583         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
18584         fpsr if value didn't change.
18585         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
18586         to fpcr if value didn't change.
18587         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
18588         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
18589         fpsr or fpcr if value didn't change.
18590         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
18591         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
18592         fpcr if value didn't change.
18593         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
18594         to fpsr if value didn't change.
18596 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
18598         * nptl/tst-sem3.c: Use test-skeleton.c
18599         (main): Rename to do_test.  Use return instead of
18600         exit.
18601         * nptl/tst-sem4.c: Use test-skeleton.c
18602         (main): Rename to do_test.
18604 2014-04-22  David S. Miller  <davem@davemloft.net>
18606         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
18607         (struct sigaction): New struct member __glibc_reserved0, change
18608         type of sa_flags to int.
18610 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
18612         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
18613         (COUNT_LEADING_ZEROS_0): Define for AArch64.
18615 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18617         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
18618         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
18620 2014-04-22  Will Newton  <will.newton@linaro.org>
18621             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
18623         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
18624         (__longjmp): Add longjmp and longjmp_target SystemTap
18625         probes.
18626         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
18627         (__sigsetjmp): Add setjmp SystemTap probe.
18629 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
18631         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
18632         match manual order.
18634 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18636         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
18638         * sysdeps/powerpc/fpu/fenv_private.h
18639         (libc_feholdexcept_setroundl_ctx): Define to
18640         libc_feholdexcept_setround_ppc_ctx.
18641         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
18642         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
18643         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
18644         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
18646 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
18648         * sysdeps/aarch64/math-tests.h: New file.
18650 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
18652         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
18653         New.
18654         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18655         Check and set bit_AVX2_Usable.
18656         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
18657         macro.
18658         (bit_AVX2): Likewise.
18659         (index_AVX2_Usable): Likewise.
18660         (CPUID_AVX2): Likewise.
18661         (HAS_AVX2): Likewise.
18663 2014-04-17  Will Newton  <will.newton@linaro.org>
18665         * manual/setjmp.texi (System V contexts): Add note that
18666         calling setcontext on a context created by a call to a
18667         signal handler is undefined.  Update text to note that
18668         setcontext from a signal handler is possible but not
18669         recommended.
18671         [BZ #16629]
18672         * stdlib/tst-setcontext.c: Include signal.h.
18673         (main): Check that the signal stack before and
18674         after swapcontext is the same.
18676         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
18677         Re-implement to restore registers in user code and avoid
18678         rt_sigreturn system call.
18680 2014-04-17  Wilco  <wdijkstr@arm.com>
18682         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
18683         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
18684         * math/test-fenv.c: Skip exception trap tests on targets which only
18685         support non-stop mode.
18687 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
18688             Wilco Dijkstra  <wilco.dijkstra@arm.com>
18690         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
18691         (libc_feholdsetround_aarch64_ctx)
18692         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
18693         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
18694         (libc_feresetround_ctx, libc_feresetroundf_ctx)
18695         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
18696         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
18697         (libc_feresetround_noexl_ctx): Define.
18699 2014-04-16  Richard Henderson  <rth@redhat.com>
18701         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
18703         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
18704         unwind tables.
18706         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
18707         const from the non-libc, non-ldso copy.
18709         * sysdeps/alpha/libm-test-ulps: Regenerate.
18711 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
18712             Wilco Dijkstra  <wilco.dijkstra@arm.com>
18714         * sysdeps/aarch64/fpu/math_private.h: New file.
18716 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
18718         * sysdeps/aarch64/libm-test-ulps: Regenerate.
18720 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
18722         [BZ #16275]
18723         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
18724         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
18725         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
18726         Intel MPX bound registers before _dl_profile_fixup.
18727         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
18728         registers after _dl_profile_fixup.  Save and restore bound
18729         registers bnd0/bnd1 when calling _dl_call_pltexit.
18730         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
18731         (LR_BND_OFFSET): Likewise.
18732         (LRV_BND0_OFFSET): Likewise.
18733         (LRV_BND1_OFFSET): Likewise.
18735 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18737         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
18738         to...
18739         * sysdeps/mach/hurd/i386/tls.h: ... here.
18740         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
18741         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
18742         fields.
18744 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18746         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
18748 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
18750         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18752 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
18754         [BZ #14770]
18755         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
18756         * sysdeps/s390/configure: Regenerate.
18758         [BZ #16824]
18759         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
18760         Set round-to-nearest internally to reduce error accumulation.
18762 2014-04-16  Alan Modra  <amodra@gmail.com>
18764         [BZ #16740]
18765         [BZ #16619]
18766         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
18767         * math/libm-test.inc (frexp_test_data): Add tests.
18768         * NEWS: Update fixed bug list.
18770 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18772         * benchtests/Makefile: Depend on libraries in build directory.
18773         (bench-math): Separate out math tests.
18774         (bench-pthread): Separate out pthread tests.
18775         (bench): Include math and pthread tests.
18777 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
18779         [BZ #16831]
18780         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
18781         _dl_debug_initialize.
18783         * configure.ac: Remove SELinux header check.
18784         * configure: Regenerate.
18785         * nscd/selinux.c (perms): Array of const char* to permission names.
18786         (nscd_request_avc_has_perm): Call security_deny_unknown to find
18787         default policy. Call string_to_security_class and string_to_av_perm to
18788         translate strings. Enforce default policy and call avs_has_perm with
18789         results of translated strings.
18791 2014-04-13  David S. Miller  <davem@davemloft.net>
18793         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18795 2014-04-12  Allan McRae  <allan@archlinux.org>
18797         [BZ #16838]
18798         * manual/string.texi (Collation Functions): Fix qsort argument
18799         order in example.
18800         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18802 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
18804         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
18805         Make the test a no-op if there are no exceptions defined.
18807 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
18809         * elf/Makefile (tests): make tst-dlopen-aout conditional on
18810         enable-hardcoded-path-in-tests
18812 2014-04-11  Will Newton  <will.newton@linaro.org>
18814         * benchtests/Makefile (extra-objs): Add json-lib.o.
18815         (bench-func): Tidy up JSON output.
18816         * benchtests/bench-skeleton.c: Include json-lib.h.
18817         (main): Use JSON library functions to do output of
18818         benchmark results.
18819         * benchtests/bench-timing-type.c (main): Output the
18820         timing type simply, leaving formatting to the user.
18821         * benchtests/json-lib.c: New file.
18822         * benchtests/json-lib.h: Likewise.
18824 2014-04-11  Torvald Riegel  <triegel@redhat.com>
18826         [BZ #15215]
18827         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
18828         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
18829         memory barriers.  Add comments.
18830         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
18831         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
18832         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
18833         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
18834         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
18835         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
18837 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18839         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
18840         * sysdeps/s390/s390-64/configure.ac: ... this ...
18841         * sysdeps/s390/configure.ac: ... to here.
18842         * sysdeps/s390/s390-32/configure: Delete file.
18843         * sysdeps/s390/s390-64/configure: Delete file.
18844         * sysdeps/s390/configure: Regenerate.
18846 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
18848         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
18850 2014-04-11  Will Newton  <will.newton@linaro.org>
18852         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
18853         to zero if it is not defined elsewhere.  (mtrim): Test
18854         the value of MALLOC_DEBUG with #if rather than #ifdef.
18856 2014-04-10 Torvald Riegel  <triegel@redhat.com>
18858         * benchtests/pthread_once-inputs: New file.
18859         * benchtests/pthread_once-source.c: New file.
18860         * benchtests/README: Update documentation.
18862 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
18863             H.J. Lu  <hongjiu.lu@intel.com>
18865         [BZ #16275]
18866         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
18867         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
18868         * sysdeps/x86_64/configure: Regenerated.
18869         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
18870         macro.
18871         (REGISTER_SAVE_RAX): Likewise.
18872         (REGISTER_SAVE_RCX): Likewise.
18873         (REGISTER_SAVE_RDX): Likewise.
18874         (REGISTER_SAVE_RSI): Likewise.
18875         (REGISTER_SAVE_RDI): Likewise.
18876         (REGISTER_SAVE_R8): Likewise.
18877         (REGISTER_SAVE_R9): Likewise.
18878         (REGISTER_SAVE_BND0): Likewise.
18879         (REGISTER_SAVE_BND1): Likewise.
18880         (REGISTER_SAVE_BND2): Likewise.
18881         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
18882         bound registers when calling _dl_fixup.
18884 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18886         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
18887         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
18888         of its definition.
18889         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
18890         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
18891         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
18892         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
18893         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
18894         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
18895         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
18897 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
18899         [BZ #15514]
18900         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
18901         pathconf(_PC_NAME_MAX).
18903 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18905         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
18906         Remove macro usage.
18907         (__PTHREAD_SPINS): Move definition to ...
18908         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
18909         (__PTHREAD_SPINS): ... here.
18910         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18911         (__PTHREAD_SPIN): Likewise.
18912         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
18913         (__PTHREAD_SPIN): Likewise.
18914         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
18915         (__PTHREAD_SPIN): Likewise.
18916         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
18917         (__PTHREAD_SPIN): Likewise.
18918         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
18919         (__PTHREAD_SPIN): Likewise.
18920         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
18921         (__PTHREAD_SPIN): Likewise.
18922         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
18923         (__PTHREAD_SPIN): Likewise.
18924         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
18925         (__PTHREAD_SPIN): Likewise.
18926         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
18927         (__PTHREAD_SPIN): Likewise.
18928         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
18929         (__PTHREAD_SPIN): Likewise.
18930         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
18931         (__PTHREAD_SPIN): Likewise.
18932         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
18933         (__PTHREAD_SPIN): Likewise.
18935         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
18936         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
18937         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
18938         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
18939         imply folder.
18940         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
18941         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
18942         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
18943         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
18944         correct imply path.
18945         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
18946         strlen symbol for non multi-arch builds.
18947         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
18948         missing hidden_def and weak_alias.
18950 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
18952         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
18954 2014-04-07  Will Newton  <will.newton@linaro.org>
18956         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
18957         and contents.  [!_LIBC] Remove #ifndef and contents.
18958         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
18959         * string/memccpy.c (__memccpy): Use ANSI prototype.
18960         * string/memfrob.c (memfrob): Likewise.
18961         * string/strcoll.c (STRCOLL): Likewise.
18962         * string/strlen.c (strlen): Likewise.
18963         * string/strtok.c (STRTOK): Likewise.
18964         * string/strcat.c: Remove unused #include of memcopy.h.
18965         (strcat): Use ANSI prototype.
18966         * string/strchr.c: Remove unused #include of memcopy.h.
18967         (strchr): Use ANSI prototype.
18968         * string/strcmp.c: Remove unused #include of memcopy.h.
18969         (strcmp): Use ANSI prototype.
18970         * string/strcpy.c: Remove unused #include of memcopy.h.
18971         (strcpy): Use ANSI prototype.
18973 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18975         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
18976         * config.make.in (config-extra-cppflags): Set it from
18977         libc_extra_cppflags.
18978         * configure.ac (libc_extra_cflags): Make it accumulate over
18979         configure fragments.
18980         (libc_extra_cppflags): New flag.
18981         * configure. Regenerate.
18982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
18983         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
18984         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
18985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
18987         [BZ #16815]
18988         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
18989         result for FE_DOWNWARD rounding mode.
18990         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
18991         Likewise.
18992         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18994 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
18996         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
18997         in function argument name.
18999 2014-04-03  David Svoboda  <svoboda@cert.org>
19001         [BZ #5666]
19002         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
19003         explicitly.
19005 2014-04-03  Roland McGrath  <roland@hack.frob.com>
19007         * elf/dl-unmap-segments.h: New file.
19008         * sysdeps/generic/ldsodefs.h
19009         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
19010         * elf/dl-close.c: Include <dl-unmap-segments.h>.
19011         * elf/dl-fptr.c: Likewise.
19012         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
19013         * sysdeps/aarch64/tlsdesc.c: Likewise.
19014         * sysdeps/arm/tlsdesc.c: Likewise.
19015         * sysdeps/i386/tlsdesc.c: Likewise.
19016         * sysdeps/tile/dl-runtime.c: Likewise.
19017         * sysdeps/x86_64/tlsdesc.c: Likewise.
19018         * elf/dl-load.h: New file.
19019         * elf/dl-load.c: Include it.
19020         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
19021         Macros moved to dl-load.h.
19022         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
19023         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
19024         Use _dl_unmap_segments in place of __munmap.
19025         Break out segment-mapping loop into ...
19026         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
19028 2014-04-03  Will Newton  <will.newton@linaro.org>
19030         * elf/dl-lookup.c (do_lookup_x): Remove comment
19031         referring to nested function and move variable
19032         declarations down to before first use.
19034 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
19036         [BZ #16799]
19037         [BZ #16800]
19038         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
19039         with 0 numerator.
19040         * math/s_catanf.c (__catanf): Likewise.
19041         * math/s_catanh.c (__catanh): Likewise.
19042         * math/s_catanhf.c (__catanhf): Likewise.
19043         * math/s_catanhl.c (__catanhl): Likewise.
19044         * math/s_catanl.c (__catanl): Likewise.
19045         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
19046         by positive zero when computing -Inf result.
19047         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
19048         (catanh_test): Likewise.
19049         * sysdeps/i386/fpu/libm-test-ulps: Update.
19050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19052         [BZ #16789]
19053         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
19054         instead of using underflowing value in computing result.
19055         * math/s_clog10.c (__clog10): Likewise.
19056         * math/s_clog10f.c (__clog10f): Likewise.
19057         * math/s_clog10l.c (__clog10l): Likewise.
19058         * math/s_clogf.c (__clogf): Likewise.
19059         * math/s_clogl.c (__clogl): Likewise.
19060         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
19061         (clog10_test): Likewise.
19062         * sysdeps/i386/fpu/libm-test-ulps: Update.
19063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19065 2014-04-02  Alan Modra  <amodra@gmail.com>
19067         [BZ #16739]
19068         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
19069         output when value is near a power of two.  Use int64_t for lx and
19070         remove casts.  Use decimal rather than hex exponent constants.
19071         Don't use long double multiplication when double will suffice.
19072         * math/libm-test.inc (nextafter_test_data): Add tests.
19073         * NEWS: Add 16739 and 16786 to bug list.
19075         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
19077         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
19079 2014-04-01  Will Newton  <will.newton@linaro.org>
19081         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
19082         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
19084 2014-04-01  Florian Weimer  <fweimer@redhat.com>
19086         [BZ #13347]
19087         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
19088         * nptl/tst-setuid2.c: New file.
19089         * nptl/Makefile (xtests): Add tst-setuid2.
19091 2014-04-01  Alan Modra  <amodra@gmail.com>
19093         [BZ #16786]
19094         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
19096 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
19098         [BZ #6803]
19099         [BZ #6804]
19100         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
19101         set errno as appropriate.
19102         * math/w_scalbf.c (__scalbf): Likewise.
19103         * math/w_scalbl.c (__scalbl): Likewise.
19104         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
19105         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
19106         * math/libm-test.inc (scalb_test_data): Add errno expectations.
19107         Add more NaN tests.
19109         [BZ #16349]
19110         * math/w_atan2.c: Include <errno.h>.
19111         (__atan2): Set errno for result underflowing to zero.
19112         * math/w_atan2f.c: Include <errno.h>.
19113         (__atan2f): Set errno for result underflowing to zero.
19114         * math/w_atan2l.c: Include <errno.h>.
19115         (__atan2l): Set errno for result underflowing to zero.
19116         * math/auto-libm-test-in: Don't allow missing errno for some atan2
19117         tests.
19118         * math/auto-libm-test-out: Regenerated.
19120 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19122         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
19123         Encode instruction correctly in little endian.
19124         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
19125         Likewise.
19126         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
19127         Likewise.
19128         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
19129         Likewise.
19130         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
19131         Likewise.
19133 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
19135         [BZ #9894]
19136         * sysdeps/unix/sysv/linux/kernel-features.h
19137         [__sparc__ && !__arch64__ && !__sparc_v9__]
19138         (__ASSUME_SET_ROBUST_LIST): Do not define.
19139         [__sparc__ && !__arch64__ && !__sparc_v9__]
19140         (__ASSUME_FUTEX_LOCK_PI): Likewise.
19141         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
19142         Likewise.
19143         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19144         (__ASSUME_FUTEX_LOCK_PI): Undefine.
19145         (__ASSUME_REQUEUE_PI): Likewise.
19146         (__ASSUME_SET_ROBUST_LIST): Likewise.
19147         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19148         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
19149         Undefine.
19150         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19151         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
19152         Likewise.
19153         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
19154         Likewise.
19155         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
19156         Likewise.
19157         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19158         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
19159         Undefine.
19160         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
19161         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
19162         Likewise.
19164         [BZ #16648]
19165         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19166         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
19167         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
19169 2014-03-31  Will Newton  <will.newton@linaro.org>
19171         * benchtests/Makefile (bench): Add ffs and ffsll to list
19172         of tests.
19173         * benchtests/ffs-inputs: New file.
19174         * benchtests/ffsll-inputs: Likewise.
19176 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
19178         [BZ #16770]
19179         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
19180         too large before casting to int.
19181         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
19182         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
19183         * math/libm-test.inc (scalb_test_data): Add more tests.
19185 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19187         * benchtests/Makefile (DETAILED_OPT): New make option.
19188         (bench-func): Run benchmark program with -d if DETAILED_OPT is
19189         set.
19190         * benchtests/bench-skeleton.c: Include stdbool.h.
19191         (main): Store and print timings per input.
19192         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
19193         member to each argument value.
19194         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
19195         (_print_arg_data): Initialize per-input timing to 0.
19197         * benchtests/Makefile (timing-type): New binary.
19198         (bench-clean): Also remove bench-timing-type.
19199         (bench): New target for timing-type.
19200         (bench-func): Print output in JSON format.
19201         * benchtests/bench-skeleton.c (main): Print output in JSON
19202         format.
19203         * benchtests/bench-timing-type.c: New file.
19204         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
19205         (TIMING_PRINT_STATS): Remove.
19206         * benchtests/scripts/bench.py (_print_arg_data): Store variant
19207         name separately.
19209         * benchtests/bench-modf.c: Remove.
19210         * benchtests/modf-inputs: New inputs file.
19212 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
19214         [BZ #16362]
19215         * math/s_clog10.c (M_PI_LOG10E): New macro.
19216         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
19217         imaginary parts are 0.
19218         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
19219         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
19220         imaginary parts are 0.
19221         * math/s_clog10l.c (M_PI_LOG10El): New macro.
19222         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
19223         imaginary parts are 0.
19224         * math/libm-test.inc (clog10_test_data): Update expected results
19225         for when real and imaginary parts are 0.
19227 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
19229         * elf/dl-load.c: Finish conversion of __builtin_expect into
19230         __glibc_{un}likely.
19232 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
19234         [BZ #16348]
19235         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
19236         1+x for argument with exponent below -67.
19237         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
19238         Likewise.
19239         * math/auto-libm-test-in: Add more tests of exp.
19240         * math/auto-libm-test-out: Regenerated.
19242 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19244         [BZ #16759]
19245         * inet/getnetgrent_r.c (get_nonempty_val): New function.
19246         (nscd_getnetgrent): Use it.
19248         [BZ #16760]
19249         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
19250         of stpcpy.
19252 2014-03-27  Andi Kleen  <ak@linux.intel.com>
19254         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
19255         (lll_robust_lock, lll_cond_lock, lll_timedlock)
19256         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
19257         (lll_robust_unlock): Remove out of line section. Use cfi
19258         intrinsics.
19259         (LLL_STUB_UNWIND_INFO*): Remove.
19260         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
19261         (lll_robust_lock, lll_cond_lock, lll_timedlock)
19262         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
19263         (lll_robust_unlock): Remove out of line section. Use cfi
19264         intrinsics.
19265         (LLL_STUB_UNWIND_INFO*): Remove.
19267 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19269         [BZ #16758]
19270         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
19271         blank values.
19273 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
19275         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
19277 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
19279         [BZ #16198]
19280         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
19281         fnstenv.
19282         * math/test-fenv-preserve.c: New file.
19283         * math/Makefile (tests): Add test-fenv-preserve.
19285 2014-03-26  Will Newton <will.newton@linaro.org>
19287         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
19289 2014-03-25  Roland McGrath  <roland@hack.frob.com>
19291         * scripts/versionlist.awk: Partition the version sets and emit all
19292         GLIBC_* (sorted) before all others (sorted).
19294 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
19296         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
19297         GLIBC_2.2.5 version.
19299 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19301         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
19302         calls.
19304         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
19305         previous change.
19307         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19309 2014-03-25  Andreas Schwab  <schwab@suse.de>
19311         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
19312         label to be used after in6ailist is initialized.
19314 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19316         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19317         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
19319 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
19321         [BZ #16357]
19322         [BZ #16599]
19323         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
19324         min_plus_half.
19325         (fp_formats): Update initializers.
19326         (init_fp_formats): Initialize new field.
19327         (output_for_one_input_case): Allow underflow for results up to
19328         min_plus_half.
19329         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
19330         * math/auto-libm-test-in: Don't mark some underflows from asin and
19331         atanh as spurious.
19332         * math/auto-libm-test-out: Regenerated.
19333         * sysdeps/i386/fpu/libm-test-ulps: Update.
19334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19336 2014-03-25  Andreas Schwab  <schwab@suse.de>
19338         * libio/Makefile (tst-ftell-partial-wide-ENV)
19339         (tst-ftell-active-handler-ENV): Define.
19341 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
19343         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
19345 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
19347         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
19349 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
19351         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
19352         * sysdeps/x86_64/fpu/multiarch/e_exp.c
19353         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19355 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
19357         [BZ #16634]
19358         * elf/dl-load.c (open_verify): Add mode parameter.
19359         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
19360         (open_path): Change from boolean 'secure' to complete flag 'mode'
19361         (_dl_map_object): Adjust.
19362         * elf/Makefile (tests): Add tst-dlopen-aout.
19363         * elf/tst-dlopen-aout.c: New test.
19365 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
19367         [BZ #16714]
19368         * sysdeps/unix/sysv/linux/s390/bits/stat.h
19369         (struct stat): Rename member pad0 to __glibc_reserved0.
19371         [BZ #16712]
19372         * sysdeps/s390/s390-32/bits/wordsize.h
19373         (__WORDSIZE32_SIZE_ULONG): New define.
19374         * sysdeps/s390/s390-64/bits/wordsize.h
19375         (__WORDSIZE32_SIZE_ULONG): Likewise.
19376         * sysdeps/generic/stdint.h (SIZE_MAX):
19377         Define as UL if __WORDSIZE32_SIZE_ULONG.
19379         [BZ #16713]
19380         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
19381         (__glibc_reserved0): New variable.
19382         (sa_flags): Change type to int.
19384         * posix/Makefile (before-compile): Use += before-compile instead
19385         of a :=.
19387         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19388         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
19390 2014-03-20  Andreas Schwab  <schwab@suse.de>
19392         [BZ #16743]
19393         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
19394         non-matching result from nscd.
19396 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19398         * scripts/bench.py: Moved to ...
19399         * benchtests/scripts/bench.py: ... here.
19400         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
19402 2014-03-24  Andreas Schwab  <schwab@suse.de>
19404         [BZ #16002]
19405         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
19406         alloca_account and account alloca use for struct in6ailist.
19408 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
19410         [BZ #16284]
19411         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
19412         rounding mode to recompute results that overflow to infinity or
19413         underflow to zero.
19414         * math/auto-libm-test-in: Don't mark tests as expected to fail for
19415         bug 16284.
19416         * math/auto-libm-test-out: Regenerated.
19417         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
19418         (ccosh_test): Likewise.
19419         (csin_test_data): Use plus_oflow.
19420         (csin_test): Use ALL_RM_TEST.
19421         (csinh_test_data): Use plus_oflow.
19422         (csinh_test): Use ALL_RM_TEST.
19423         * sysdeps/i386/fpu/libm-test-ulps: Update.
19424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19426 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
19428         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
19429         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
19430         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
19432         [BZ #16731]
19433         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
19434         when x - 1 is zero.
19435         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
19436         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
19437         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
19438         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
19439         argument is 1.
19440         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
19441         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
19442         zero.
19443         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
19444         * sysdeps/i386/fpu/libm-test-ulps: Update.
19445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19447 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19449         * scripts/bench.pl: Remove file.
19450         * scripts/bench.py: New benchmark script.
19451         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
19452         * benchtests/README: Mention python dependency.
19453         * scripts/pylintrc: New file.
19454         * scripts/pylint: New file.
19456         * bits/mathdef.h: Use #ifdef instead of #if.
19457         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
19458         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19459         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
19460         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19461         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
19462         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19464 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19465             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
19467         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
19468         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
19469         and strpbrk-ppc64 objects.
19470         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19471         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
19472         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
19473         multiarch strpbrk for POWER7.
19474         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
19475         multiarch strpbrk for PPC64.
19476         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
19477         ifunc selector.
19478         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
19479         strpbrk for POWER7.
19481 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
19483         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
19484         (atan_test): Likewise.
19485         (atanh_test_data): Use NO_TEST_INLINE for two tests.
19486         (atanh_test): Use ALL_RM_TEST.
19487         (atan2_test_data): Likewise.
19488         (cabs_test): Likewise.
19489         (cacosh_test): Likewise.
19490         (carg_test): Likewise.
19491         (casin_test): Likewise.
19492         (casinh_test): Likewise.
19493         (cbrt_test): Likewise.
19494         (csqrt_test): Likewise.
19495         (erf_test): Likewise.
19496         (erfc_test): Likewise.
19497         (pow10_test): Likewise.
19498         (exp2_test): Likewise.
19499         (hypot_test): Likewise.
19500         (j0_test): Likewise.
19501         (j1_test): Likewise.
19502         (lgamma_test): Likewise.
19503         (gamma_test): Likewise.
19504         (sincos_test): Likewise.
19505         (tanh_test): Likewise.
19506         (y0_test): Likewise.
19507         (y1_test): Likewise.
19508         * sysdeps/i386/fpu/libm-test-ulps: Update.
19509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19511 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19513         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
19514         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
19515         and strcspn-ppc64 objects.
19516         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19517         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
19518         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
19519         multiarch strcspn for POWER7.
19520         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
19521         multiarch strcspn for PPC64.
19522         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
19523         ifunc selector.
19524         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
19525         strcspn for POWER7.
19527 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
19529         * math/gen-libm-test.pl (generate_testfile): Expect only function
19530         name as argument to AUTO_TESTS_* and pass results for all rounding
19531         modes to parse_args.
19532         (parse_auto_input): Separate inputs of automatic tests from
19533         outputs before storing in %auto_tests.
19534         * math/libm-test.inc (acos_test_data): Update call to
19535         AUTO_TESTS_f_f.
19536         (acos_test): Use ALL_RM_TEST.
19537         (acos_tonearest_test_data): Remove.
19538         (acos_test_tonearest): Likewise.
19539         (acos_towardzero_test_data): Likewise.
19540         (acos_test_towardzero): Likewise.
19541         (acos_downward_test_data): Likewise.
19542         (acos_test_downward): Likewise.
19543         (acos_upward_test_data): Likewise.
19544         (acos_test_upward): Likewise.
19545         (acosh_test_data): Update call to AUTO_TESTS_f_f.
19546         (asin_test_data): Likewise.
19547         (asin_test): Use ALL_RM_TEST.
19548         (asin_tonearest_test_data): Remove.
19549         (asin_test_tonearest): Likewise.
19550         (asin_towardzero_test_data): Likewise.
19551         (asin_test_towardzero): Likewise.
19552         (asin_downward_test_data): Likewise.
19553         (asin_test_downward): Likewise.
19554         (asin_upward_test_data): Likewise.
19555         (asin_test_upward): Likewise.
19556         (asinh_test_data): Update call to AUTO_TESTS_f_f.
19557         (atan_test_data): Likewise.
19558         (atanh_test_data): Likewise.
19559         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
19560         (cabs_test_data): Update call to AUTO_TESTS_c_f.
19561         (carg_test_data): Likewise.
19562         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
19563         (ccos_test_data): Update call to AUTO_TESTS_c_c.
19564         (ccosh_test_data): Likewise.
19565         (cexp_test_data): Likewise.
19566         (clog_test_data): Likewise.
19567         (clog10_test_data): Likewise.
19568         (cos_test_data): Update call to AUTO_TESTS_f_f.
19569         (cos_test): Use ALL_RM_TEST.
19570         (cos_tonearest_test_data): Remove.
19571         (cos_test_tonearest): Likewise.
19572         (cos_towardzero_test_data): Likewise.
19573         (cos_test_towardzero): Likewise.
19574         (cos_downward_test_data): Likewise.
19575         (cos_test_downward): Likewise.
19576         (cos_upward_test_data): Likewise.
19577         (cos_test_upward): Likewise.
19578         (cosh_test_data): Update call to AUTO_TESTS_f_f.
19579         (cosh_test): Use ALL_RM_TEST.
19580         (cosh_tonearest_test_data): Remove.
19581         (cosh_test_tonearest): Likewise.
19582         (cosh_towardzero_test_data): Likewise.
19583         (cosh_test_towardzero): Likewise.
19584         (cosh_downward_test_data): Likewise.
19585         (cosh_test_downward): Likewise.
19586         (cosh_upward_test_data): Likewise.
19587         (cosh_test_upward): Likewise.
19588         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
19589         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
19590         (ctan_test_data): Likewise.
19591         (ctan_test): Use ALL_RM_TEST.
19592         (ctan_tonearest_test_data): Remove.
19593         (ctan_test_tonearest): Likewise.
19594         (ctan_towardzero_test_data): Likewise.
19595         (ctan_test_towardzero): Likewise.
19596         (ctan_downward_test_data): Likewise.
19597         (ctan_test_downward): Likewise.
19598         (ctan_upward_test_data): Likewise.
19599         (ctan_test_upward): Likewise.
19600         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
19601         (ctanh_test): Use ALL_RM_TEST.
19602         (ctanh_tonearest_test_data): Remove.
19603         (ctanh_test_tonearest): Likewise.
19604         (ctanh_towardzero_test_data): Likewise.
19605         (ctanh_test_towardzero): Likewise.
19606         (ctanh_downward_test_data): Likewise.
19607         (ctanh_test_downward): Likewise.
19608         (ctanh_upward_test_data): Likewise.
19609         (ctanh_test_upward): Likewise.
19610         (erf_test_data): Update call to AUTO_TESTS_f_f.
19611         (erfc_test_data): Likewise.
19612         (exp_test_data): Likewise.
19613         (exp_test): Use ALL_RM_TEST.
19614         (exp_tonearest_test_data): Remove.
19615         (exp_test_tonearest): Likewise.
19616         (exp_towardzero_test_data): Likewise.
19617         (exp_test_towardzero): Likewise.
19618         (exp_downward_test_data): Likewise.
19619         (exp_test_downward): Likewise.
19620         (exp_upward_test_data): Likewise.
19621         (exp_test_upward): Likewise.
19622         (exp10_test_data): Update call to AUTO_TESTS_f_f.
19623         (exp10_test): Use ALL_RM_TEST.
19624         (exp10_tonearest_test_data): Remove.
19625         (exp10_test_tonearest): Likewise.
19626         (exp10_towardzero_test_data): Likewise.
19627         (exp10_test_towardzero): Likewise.
19628         (exp10_downward_test_data): Likewise.
19629         (exp10_test_downward): Likewise.
19630         (exp10_upward_test_data): Likewise.
19631         (exp10_test_upward): Likewise.
19632         (exp2_test_data): Update call to AUTO_TESTS_f_f.
19633         (expm1_test_data): Likewise.
19634         (expm1_test): Use ALL_RM_TEST.
19635         (expm1_tonearest_test_data): Remove.
19636         (expm1_test_tonearest): Likewise.
19637         (expm1_towardzero_test_data): Likewise.
19638         (expm1_test_towardzero): Likewise.
19639         (expm1_downward_test_data): Likewise.
19640         (expm1_test_downward): Likewise.
19641         (expm1_upward_test_data): Likewise.
19642         (expm1_test_upward): Likewise.
19643         (fma_test_data): Update call to AUTO_TESTS_fff_f.
19644         (fma_test): Use ALL_RM_TEST.
19645         (fma_towardzero_test_data): Remove.
19646         (fma_test_towardzero): Likewise.
19647         (fma_downward_test_data): Likewise.
19648         (fma_test_downward): Likewise.
19649         (fma_upward_test_data): Likewise.
19650         (fma_test_upward): Likewise.
19651         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
19652         (j0_test_data): Update call to AUTO_TESTS_f_f.
19653         (j1_test_data): Likewise.
19654         (jn_test_data): Update call to AUTO_TESTS_if_f.
19655         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
19656         (log_test_data): Update call to AUTO_TESTS_f_f.
19657         (log10_test_data): Likewise.
19658         (log1p_test_data): Likewise.
19659         (log2_test_data): Likewise.
19660         (pow_test_data): Update call to AUTO_TESTS_ff_f.
19661         (pow_tonearest_test_data): Likewise.
19662         (sin_test_data): Update call to AUTO_TESTS_f_f.
19663         (sin_test): Use ALL_RM_TEST.
19664         (sin_tonearest_test_data): Remove.
19665         (sin_test_tonearest): Likewise.
19666         (sin_towardzero_test_data): Likewise.
19667         (sin_test_towardzero): Likewise.
19668         (sin_downward_test_data): Likewise.
19669         (sin_test_downward): Likewise.
19670         (sin_upward_test_data): Likewise.
19671         (sin_test_upward): Likewise.
19672         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
19673         (sinh_test_data): Update call to AUTO_TESTS_f_f.
19674         (sinh_test): Use ALL_RM_TEST.
19675         (sinh_tonearest_test_data): Remove.
19676         (sinh_test_tonearest): Likewise.
19677         (sinh_towardzero_test_data): Likewise.
19678         (sinh_test_towardzero): Likewise.
19679         (sinh_downward_test_data): Likewise.
19680         (sinh_test_downward): Likewise.
19681         (sinh_upward_test_data): Likewise.
19682         (sinh_test_upward): Likewise.
19683         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
19684         (sqrt_test): Use ALL_RM_TEST.
19685         (sqrt_tonearest_test_data): Remove.
19686         (sqrt_test_tonearest): Likewise.
19687         (sqrt_towardzero_test_data): Likewise.
19688         (sqrt_test_towardzero): Likewise.
19689         (sqrt_downward_test_data): Likewise.
19690         (sqrt_test_downward): Likewise.
19691         (sqrt_upward_test_data): Likewise.
19692         (sqrt_test_upward): Likewise.
19693         (tan_test_data): Update call to AUTO_TESTS_f_f.
19694         (tan_test): Use ALL_RM_TEST.
19695         (tan_tonearest_test_data): Remove.
19696         (tan_test_tonearest): Likewise.
19697         (tan_towardzero_test_data): Likewise.
19698         (tan_test_towardzero): Likewise.
19699         (tan_downward_test_data): Likewise.
19700         (tan_test_downward): Likewise.
19701         (tan_upward_test_data): Likewise.
19702         (tan_test_upward): Likewise.
19703         (tanh_test_data): Update call to AUTO_TESTS_f_f.
19704         (tgamma_test_data): Likewise.
19705         (y0_test_data): Likewise.
19706         (y1_test_data): Likewise.
19707         (yn_test_data): Update call to AUTO_TESTS_if_f.
19708         (main): Do not call removed functions.
19710 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
19712         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
19713         (ldexp_test_data): Remove.
19714         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
19715         scalbn_test_data.
19716         (scalb_test): Use ALL_RM_TEST.
19718 2014-03-19  Andreas Schwab  <schwab@suse.de>
19720         * nscd/nscd.service: Also invalidate netgroup cache on reload.
19722 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
19724         [BZ #16649]
19725         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19726         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
19727         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
19728         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19729         (__ASSUME_PREADV): Undefine.
19730         (__ASSUME_PWRITEV): Likewise.
19732 2014-03-18  Roland McGrath  <roland@hack.frob.com>
19734         * bits/mman-linux.h: Add comment about non-Linux use.
19735         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
19736         bits/mman-linux.h resting place.
19738         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
19739         * bits/mman-linux.h: ... here.
19741 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19743         * conform/conformtest.pl: Add standard definition when calling C
19744         preprocessor on data files.
19745         (checknamespace): Remove unused variable.
19747 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
19749         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
19750         minus_oflow, plus_uflow and minus_uflow in expected results.
19751         * math/libm-test.inc (scalbn_test_data): Add more tests of
19752         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
19753         minus_uflow.
19754         (scalbn_test): Use ALL_RM_TEST.
19755         (scalbln_test_data): Add more tests of negative arguments.  Use
19756         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
19757         (scalbln_test): Use ALL_RM_TEST.
19759 2014-03-18  Roland McGrath  <roland@hack.frob.com>
19761         * scripts/abilist.awk: Ignore symbols marked with .hidden.
19763 2014-03-18  Will Newton  <will.newton@linaro.org>
19765         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
19766         inaccurate comment.
19768 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
19770         * Makerules [!subdir] (check-abi): Exit with error status if a
19771         test failed.
19773 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
19775         * math/libm-test.inc (nearbyint_test_data): Include all tests used
19776         for rint.  Include results for all rounding modes.
19777         (nearbyint_test): Use ALL_RM_TEST.
19778         (rint_test_data): Include all tests used for nearbyint.
19780 2014-03-17  Will Newton  <will.newton@linaro.org>
19782         * nptl/sysdeps/pthread/pthread.h: Revert previous
19783         change.
19785         * sysdeps/generic/ldsodefs.h: Revert previous
19786         change.
19788         * libio/genops.c: Revert previous change.
19789         * libio/libioP.h: Likewise.
19790         * stdio-common/vfprintf.c: Likewise.
19792         * sysdeps/generic/math_private.h: Revert previous
19793         change.
19795         * sysdeps/generic/math_private.h: Check whether
19796         HAVE_RM_CTX is defined with #ifdef rather
19797         than #if.
19799         * argp/argp-fmtstream.h: Check whether
19800         __STRICT_ANSI__ is defined with #ifdef rather
19801         than #if.
19802         * argp/argp.h: Likewise.
19804         * libio/genops.c: Check whether
19805         _IO_JUMPS_OFFSET is defined with #ifdef rather
19806         than #if.
19807         * libio/libioP.h: Likewise.
19808         * stdio-common/vfprintf.c: Likewise.
19810         * sysdeps/generic/ldsodefs.h: Check whether
19811         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
19812         than #if.
19814         * nptl/sysdeps/pthread/pthread.h: Check
19815         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
19816         its value.
19818 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
19820         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
19821         setting O_APPEND.
19822         * libio/tst-ftell-active-handler.c (do_append_test): Add a
19823         test case.
19825         [BZ #16680]
19826         * libio/fileops.c (_IO_file_open): Seek to end of file but
19827         don't cache the offset.
19828         (get_file_offset): Remove function.
19829         (do_ftell): Use cached offset when available.
19830         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
19831         don't cache the offset.
19832         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
19833         case.
19834         (do_one_test): Call it.
19835         (do_ftell_test): Fix up expected old offset for a+ mode.
19836         * libio/wfileops.c (do_ftell_wide): Used cached offset when
19837         available.
19839         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
19840         up test status with function return status.
19841         (do_write_test): Likewise.
19842         (do_append_test): Likewise.
19844         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
19845         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
19846         Remove.
19848 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
19850         * math/gen-libm-test.pl (parse_args): Handle results specified for
19851         each rounding mode separately.
19852         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
19853         tests and results from lrint_tonearest_test_data,
19854         lrint_towardzero_test_data, lrint_downward_test_data and
19855         lrint_upward_test_data.
19856         (lrint_test): Use ALL_RM_TEST.
19857         (lrint_tonearest_test_data): Remove.
19858         (lrint_test_tonearest): Likewise.
19859         (lrint_towardzero_test_data): Likewise.
19860         (lrint_test_towardzero): Likewise.
19861         (lrint_downward_test_data): Likewise.
19862         (lrint_test_downward): Likewise.
19863         (lrint_upward_test_data): Likewise.
19864         (lrint_test_upward): Likewise.
19865         (llrint_test_data): Merge in per-rounding-mode tests and results
19866         from llrint_tonearest_test_data, llrint_towardzero_test_data,
19867         llrint_downward_test_data and llrint_upward_test_data.
19868         (llrint_test): Use ALL_RM_TEST.
19869         (llrint_tonearest_test_data): Remove.
19870         (llrint_test_tonearest): Likewise.
19871         (llrint_towardzero_test_data): Likewise.
19872         (llrint_test_towardzero): Likewise.
19873         (llrint_downward_test_data): Likewise.
19874         (llrint_test_downward): Likewise.
19875         (llrint_upward_test_data): Likewise.
19876         (llrint_test_upward): Likewise.
19877         (rint_test_data): Merge in per-rounding-mode tests and results
19878         from rint_tonearest_test_data, rint_towardzero_test_data,
19879         rint_downward_test_data and rint_upward_test_data.  Add
19880         per-rounding-mode results for tests not in those arrays.
19881         (rint_test): Use ALL_RM_TEST.
19882         (rint_tonearest_test_data): Remove.
19883         (rint_test_tonearest): Likewise.
19884         (rint_towardzero_test_data): Likewise.
19885         (rint_test_towardzero): Likewise.
19886         (rint_downward_test_data): Likewise.
19887         (rint_test_downward): Likewise.
19888         (rint_upward_test_data): Likewise.
19889         (rint_test_upward): Likewise.
19890         (main): Don't call removed functions.
19892 2014-03-14  Roland McGrath  <roland@hack.frob.com>
19894         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
19895         "Compiled on ..." crapola.  It is anti-useful.
19897 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
19899         * scripts/evaluate-test.sh: Handle fourth argument to determine
19900         whether test run should stop on failure.
19901         * Makeconfig (stop-on-test-failure): New variable.
19902         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
19903         $(stop-on-test-failure).
19904         * Makefile (tests): Give a summary of results from testing and
19905         exit with failure status if they include an ERROR or FAIL.
19906         (xtests): Likewise.
19907         * manual/install.texi (Configuring and compiling): Mention
19908         stop-on-test-failure=y.
19909         * INSTALL: Regenerated.
19911 2014-03-14  Roland McGrath  <roland@hack.frob.com>
19913         * scripts/versionlist.awk: New file.
19914         * Makerules [$(build-shared) = yes]
19915         (postclean-generated): Add Versions.def, not Versions.def.v and
19916         Versions.def.v.i.
19917         ($(common-objpfx)Versions.def.v.i): Target removed.
19918         ($(common-objpfx)Versions.def): New target.
19919         ($(common-objpfx)Versions.all): Depend on that rather that
19920         $(common-objpfx)Versions.def.v.
19921         * Versions.def: File removed.
19923         * Makeconfig (+gccwarn): Add -Wundef.
19924         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
19925         a dl-sysdep.h breaking its contract.
19926         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
19927         * include/stackinfo.h: New file.
19928         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
19929         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
19930         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
19931         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
19932         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
19933         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
19934         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19935         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19936         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19937         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19938         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19939         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
19940         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19941         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19942         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19944 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19946         [BZ #16707]
19947         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
19948         implementation.
19949         * math/libm-test.inc (round_test_data): Add more tests.
19951         [BZ #16706]
19952         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
19953         implementation.
19954         * math/libm-test.inc (nearbyint_test_data): Add more tests.
19956         [BZ #16701]
19957         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
19958         implementation.
19959         * math/libm-test.inc (ceil_test_data): Add more tests.
19961         * math/libm-test.inc (trunc_test_data): Add more tests related to
19962         BZ#16414.
19964 2014-03-14  Roland McGrath  <roland@hack.frob.com>
19966         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
19967         with #if rather than #ifdef.
19968         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
19970 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
19972         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
19973         first.  Disable AVX-512 GCC support if assembler doesn't support
19974         it.
19975         * sysdeps/x86_64/configure: Regenerated.
19977 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
19979         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
19980         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
19981         (__old_pthread_attr_setstack): Likewise.
19982         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
19983         [!_STACK_GROWS_DOWN]: Likewise.
19985 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
19987         * config.make.in (have-bash2): Delete.
19988         * configure.ac (libc_cv_have_bash2): Delete.
19989         * configure: Regenerate.
19990         * elf/Makefile (common-ldd-rewrite): Rename to ...
19991         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
19992         (sh-ldd-rewrite): Delete.
19993         (bash-ldd-rewrite): Delete.
19994         (have-bash2): Delete checks.
19995         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
19996         ldd-rewrite.
19998         * config.make.in (have-ksh): Delete.
19999         (KSH): Delete.
20000         * configure.ac (libc_cv_have_ksh): Delete.
20001         * configure: Regenerate.
20003         * elf/Makefile: Delete $(have-ksh) check.
20004         ($(objpfx)sotruss): Change KSH to BASH.
20005         * elf/sotruss.ksh: Rename to ...
20006         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
20007         function style to match POSIX.  Drop ksh vim mode setting.
20009         * manual/time.texi (Specifying the Time Zone with TZ): Change
20010         Tuesday to Thursday.
20012         * debug/tst-longjmp_chk2.c: Update header comment.
20013         (stackoverflow_handler): Add comment.  Call assert on pass value.
20015 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
20017         [BZ #16194]
20018         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
20019         (HAVE_AVX512_ASM_SUPPORT): Likewise.
20020         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
20021         (La_x86_64_vector): Add zmm.
20022         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
20023         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
20024         ($(objpfx)tst-audit10): New target.
20025         ($(objpfx)tst-audit10.out): Likewise.
20026         (tst-audit10-ENV): New.
20027         (AVX512-CFLAGS): Likewise.
20028         (CFLAGS-tst-audit10.c): Likewise.
20029         (CFLAGS-tst-auditmod10a.c): Likewise.
20030         (CFLAGS-tst-auditmod10b.c): Likewise.
20031         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
20032         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
20033         * sysdeps/x86_64/configure: Regenerated.
20034         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
20035         AVX-512 zmm register support.
20036         (_dl_x86_64_save_sse): Likewise.
20037         (_dl_x86_64_restore_sse): Likewise.
20038         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
20039         size vector registers.
20040         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
20041         (ZMM_SIZE): Likewise.
20042         * sysdeps/x86_64/tst-audit10.c: New file.
20043         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
20044         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
20046 2014-03-13  Roland McGrath  <roland@hack.frob.com>
20048         * configure.ac (HAVE_EHDR_START): New check.
20049         * configure: Regenerated.
20050         * config.h.in (HAVE_EHDR_START): New #undef.
20051         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
20052         assuming the lowest-addressed segment maps the start of the file.
20054 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
20056         * INSTALL: Regenerated.
20058 2014-03-13  Will Newton  <will.newton@linaro.org>
20060         * manual/setjmp.texi (System V contexts): Improve
20061         clarity and grammar of documentation.
20063 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
20065         [BZ #16381]
20066         * elf/Makefile (tests): Add tst-pie2.
20067         (tests-pie): Add tst-pie2.
20068         * elf/tst-pie2.c: New file.
20069         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
20070         for ET_EXEC.
20071         * elf/rtld.c (map_doit): Load executable as lt_executable.
20072         (dl_main): Likewise.
20074 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
20076         [BZ #16642]
20077         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20078         (__ASSUME_PSELECT): Undefine.
20080 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20082         [BZ #16689]
20083         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
20084         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
20085         static build.
20086         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
20087         selector for static builds.
20089 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20091         [BZ #16695]
20092         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
20093         key in the buffer.
20095 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20097         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
20098         IFUNC selector for static builds.
20100 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
20102         * sysdeps/mips/math_private.h [__mips_hard_float]
20103         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
20104         libc_feresetround_mips_ctx.
20105         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
20106         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
20107         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
20109         [BZ #16677]
20110         * math/s_nextafter.c (__nextafter): Do not return value from
20111         overflowing computation.
20112         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
20113         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
20114         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
20115         Likewise.
20116         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
20117         Likewise.
20118         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
20119         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
20121 2014-03-11  Roland McGrath  <roland@hack.frob.com>
20123         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
20124         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
20125         Move sfi_sp use from the load-multiple (that no longer sets sp) to
20126         the new mov targetting sp.
20128 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20130         [BZ #16683]
20131         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
20132         Define it for static builds as well.
20133         (NO_BZERO_IMPL): Likewise.
20135 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20137         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
20138         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
20139         multiarch strspn for PPC64.
20140         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
20141         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
20142         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20143         (__libc_ifunc_impl_list): Likewise.
20144         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
20145         multiarch optimizations
20146         * string/strspn.c (strspn): Using macro to redefine symbol name.
20148 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20149             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20151         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
20152         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
20153         multiarch strncat for PPC64.
20154         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
20155         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
20156         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20157         (__libc_ifunc_impl_list): Likewise.
20158         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
20159         multiarch optimizations
20161 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20163         [BZ #16639]
20164         * nscd/nscd.service: Make service type forking.
20166 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20168         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
20169         sign in non default rounding modes.
20170         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
20172 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
20174         * math/libm-test.inc (ALL_RM_TEST): New macro.
20175         (ceil_test): Use ALL_RM_TEST.
20176         (cimag_test): Likewise.
20177         (conj_test): Likewise.
20178         (copysign_test): Likewise.
20179         (cproj_test): Likewise.
20180         (creal_test): Likewise.
20181         (fabs_test): Likewise.
20182         (floor_test): Likewise.
20183         (fmax_test): Likewise.
20184         (fmin_test): Likewise.
20185         (fmod_test): Likewise.
20186         (fpclassify_test): Likewise.
20187         (frexp_test): Likewise.
20188         (ilogb_test): Likewise.
20189         (isfinite_test): Likewise.
20190         (finite_test): Likewise.
20191         (isgreater_test): Likewise.
20192         (isgreaterequal_test): Likewise.
20193         (isinf_test): Likewise.
20194         (isless_test): Likewise.
20195         (islessequal_test): Likewise.
20196         (islessgreater_test): Likewise.
20197         (isnan_test): Likewise.
20198         (isnormal_test): Likewise.
20199         (issignaling_test): Likewise.
20200         (isunordered_test): Likewise.
20201         (logb_test): Likewise.
20202         (logb_downward_test_data): Remove.
20203         (logb_test_downward): Likewise.
20204         (lround_test): Use ALL_RM_TEST.
20205         (llround_test): Likewise.
20206         (modf_test): Likewise.
20207         (nexttoward_test): Likewise.
20208         (remainder_test): Likewise.
20209         (drem_test): Likewise.
20210         (remainder_tonearest_test_data): Likewise.
20211         (remainder_test_tonearest): Likewise.
20212         (drem_test_tonearest): Likewise.
20213         (remainder_towardzero_test_data): Likewise.
20214         (remainder_test_towardzero): Likewise.
20215         (drem_test_towardzero): Likewise.
20216         (remainder_downward_test_data): Likewise.
20217         (remainder_test_downward): Likewise.
20218         (drem_test_downward): Likewise.
20219         (remainder_upward_test_data): Likewise.
20220         (remainder_test_upward): Likewise.
20221         (drem_test_upward): Likewise.
20222         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
20223         (round_test): Use ALL_RM_TEST.
20224         (signbit_test): Likewise.
20225         (trunc_test): Likewise.
20226         (significand_test): Likewise.
20227         (main): Don't call removed functions.
20229 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
20231         [BZ #16674]
20232         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
20233         || __USE_XOPEN2K8].
20234         (ILL_ILLOPN): Likewise.
20235         (ILL_ILLADR): Likewise.
20236         (ILL_ILLTRP): Likewise.
20237         (ILL_PRVOPC): Likewise.
20238         (ILL_PRVREG): Likewise.
20239         (ILL_COPROC): Likewise.
20240         (ILL_BADSTK): Likewise.
20241         (FPE_INTDIV): Likewise.
20242         (FPE_INTOVF): Likewise.
20243         (FPE_FLTDIV): Likewise.
20244         (FPE_FLTOVF): Likewise.
20245         (FPE_FLTUND): Likewise.
20246         (FPE_FLTRES): Likewise.
20247         (FPE_FLTINV): Likewise.
20248         (FPE_FLTSUB): Likewise.
20249         (SEGV_MAPERR): Likewise.
20250         (SEGV_ACCERR): Likewise.
20251         (BUS_ADRALN): Likewise.
20252         (BUS_ADRERR): Likewise.
20253         (BUS_OBJERR): Likewise.
20254         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20255         (TRAP_TRACE): Likewise.
20256         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20257         __USE_XOPEN2K8].
20258         (CLD_KILLED): Likewise.
20259         (CLD_DUMPED): Likewise.
20260         (CLD_TRAPPED): Likewise.
20261         (CLD_STOPPED): Likewise.
20262         (CLD_CONTINUED): Likewise.
20263         (POLL_IN): Likewise.
20264         (POLL_OUT): Likewise.
20265         (POLL_MSG): Likewise.
20266         (POLL_ERR): Likewise.
20267         (POLL_PRI): Likewise.
20268         (POLL_HUP): Likewise.
20269         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
20270         Likewise.
20271         (ILL_ILLOPN): Likewise.
20272         (ILL_ILLADR): Likewise.
20273         (ILL_ILLTRP): Likewise.
20274         (ILL_PRVOPC): Likewise.
20275         (ILL_PRVREG): Likewise.
20276         (ILL_COPROC): Likewise.
20277         (ILL_BADSTK): Likewise.
20278         (FPE_INTDIV): Likewise.
20279         (FPE_INTOVF): Likewise.
20280         (FPE_FLTDIV): Likewise.
20281         (FPE_FLTOVF): Likewise.
20282         (FPE_FLTUND): Likewise.
20283         (FPE_FLTRES): Likewise.
20284         (FPE_FLTINV): Likewise.
20285         (FPE_FLTSUB): Likewise.
20286         (SEGV_MAPERR): Likewise.
20287         (SEGV_ACCERR): Likewise.
20288         (BUS_ADRALN): Likewise.
20289         (BUS_ADRERR): Likewise.
20290         (BUS_OBJERR): Likewise.
20291         (BUS_MCEERR_AR): Likewise.
20292         (BUS_MCEERR_AO): Likewise.
20293         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20294         (TRAP_TRACE): Likewise.
20295         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20296         __USE_XOPEN2K8].
20297         (CLD_KILLED): Likewise.
20298         (CLD_DUMPED): Likewise.
20299         (CLD_TRAPPED): Likewise.
20300         (CLD_STOPPED): Likewise.
20301         (CLD_CONTINUED): Likewise.
20302         (POLL_IN): Likewise.
20303         (POLL_OUT): Likewise.
20304         (POLL_MSG): Likewise.
20305         (POLL_ERR): Likewise.
20306         (POLL_PRI): Likewise.
20307         (POLL_HUP): Likewise.
20308         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
20309         (ILL_ILLOPN): Likewise.
20310         (ILL_ILLADR): Likewise.
20311         (ILL_ILLTRP): Likewise.
20312         (ILL_PRVOPC): Likewise.
20313         (ILL_PRVREG): Likewise.
20314         (ILL_COPROC): Likewise.
20315         (ILL_BADSTK): Likewise.
20316         (FPE_INTDIV): Likewise.
20317         (FPE_INTOVF): Likewise.
20318         (FPE_FLTDIV): Likewise.
20319         (FPE_FLTOVF): Likewise.
20320         (FPE_FLTUND): Likewise.
20321         (FPE_FLTRES): Likewise.
20322         (FPE_FLTINV): Likewise.
20323         (FPE_FLTSUB): Likewise.
20324         (SEGV_MAPERR): Likewise.
20325         (SEGV_ACCERR): Likewise.
20326         (BUS_ADRALN): Likewise.
20327         (BUS_ADRERR): Likewise.
20328         (BUS_OBJERR): Likewise.
20329         (BUS_MCEERR_AR): Likewise.
20330         (BUS_MCEERR_AO): Likewise.
20331         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20332         (TRAP_TRACE): Likewise.
20333         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20334         __USE_XOPEN2K8].
20335         (CLD_KILLED): Likewise.
20336         (CLD_DUMPED): Likewise.
20337         (CLD_TRAPPED): Likewise.
20338         (CLD_STOPPED): Likewise.
20339         (CLD_CONTINUED): Likewise.
20340         (POLL_IN): Likewise.
20341         (POLL_OUT): Likewise.
20342         (POLL_MSG): Likewise.
20343         (POLL_ERR): Likewise.
20344         (POLL_PRI): Likewise.
20345         (POLL_HUP): Likewise.
20346         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
20347         Likewise.
20348         (ILL_ILLOPN): Likewise.
20349         (ILL_ILLADR): Likewise.
20350         (ILL_ILLTRP): Likewise.
20351         (ILL_PRVOPC): Likewise.
20352         (ILL_PRVREG): Likewise.
20353         (ILL_COPROC): Likewise.
20354         (ILL_BADSTK): Likewise.
20355         (ILL_BADIADDR): Likewise.
20356         (ILL_BREAK): Likewise.
20357         (FPE_INTDIV): Likewise.
20358         (FPE_INTOVF): Likewise.
20359         (FPE_FLTDIV): Likewise.
20360         (FPE_FLTOVF): Likewise.
20361         (FPE_FLTUND): Likewise.
20362         (FPE_FLTRES): Likewise.
20363         (FPE_FLTINV): Likewise.
20364         (FPE_FLTSUB): Likewise.
20365         (FPE_DECOVF): Likewise.
20366         (FPE_DECDIV): Likewise.
20367         (FPE_DECERR): Likewise.
20368         (FPE_INVASC): Likewise.
20369         (FPE_INVDEC): Likewise.
20370         (SEGV_MAPERR): Likewise.
20371         (SEGV_ACCERR): Likewise.
20372         (SEGV_PSTKOVF): Likewise.
20373         (BUS_ADRALN): Likewise.
20374         (BUS_ADRERR): Likewise.
20375         (BUS_OBJERR): Likewise.
20376         (BUS_MCEERR_AR): Likewise.
20377         (BUS_MCEERR_AO): Likewise.
20378         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20379         (TRAP_TRACE): Likewise.
20380         (TRAP_BRANCH): Likewise.
20381         (TRAP_HWBKPT): Likewise.
20382         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20383         __USE_XOPEN2K8].
20384         (CLD_KILLED): Likewise.
20385         (CLD_DUMPED): Likewise.
20386         (CLD_TRAPPED): Likewise.
20387         (CLD_STOPPED): Likewise.
20388         (CLD_CONTINUED): Likewise.
20389         (POLL_IN): Likewise.
20390         (POLL_OUT): Likewise.
20391         (POLL_MSG): Likewise.
20392         (POLL_ERR): Likewise.
20393         (POLL_PRI): Likewise.
20394         (POLL_HUP): Likewise.
20395         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
20396         (ILL_ILLOPN): Likewise.
20397         (ILL_ILLADR): Likewise.
20398         (ILL_ILLTRP): Likewise.
20399         (ILL_PRVOPC): Likewise.
20400         (ILL_PRVREG): Likewise.
20401         (ILL_COPROC): Likewise.
20402         (ILL_BADSTK): Likewise.
20403         (FPE_INTDIV): Likewise.
20404         (FPE_INTOVF): Likewise.
20405         (FPE_FLTDIV): Likewise.
20406         (FPE_FLTOVF): Likewise.
20407         (FPE_FLTUND): Likewise.
20408         (FPE_FLTRES): Likewise.
20409         (FPE_FLTINV): Likewise.
20410         (FPE_FLTSUB): Likewise.
20411         (SEGV_MAPERR): Likewise.
20412         (SEGV_ACCERR): Likewise.
20413         (BUS_ADRALN): Likewise.
20414         (BUS_ADRERR): Likewise.
20415         (BUS_OBJERR): Likewise.
20416         (BUS_MCEERR_AR): Likewise.
20417         (BUS_MCEERR_AO): Likewise.
20418         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20419         (TRAP_TRACE): Likewise.
20420         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20421         __USE_XOPEN2K8].
20422         (CLD_KILLED): Likewise.
20423         (CLD_DUMPED): Likewise.
20424         (CLD_TRAPPED): Likewise.
20425         (CLD_STOPPED): Likewise.
20426         (CLD_CONTINUED): Likewise.
20427         (POLL_IN): Likewise.
20428         (POLL_OUT): Likewise.
20429         (POLL_MSG): Likewise.
20430         (POLL_ERR): Likewise.
20431         (POLL_PRI): Likewise.
20432         (POLL_HUP): Likewise.
20433         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
20434         (ILL_ILLOPN): Likewise.
20435         (ILL_ILLADR): Likewise.
20436         (ILL_ILLTRP): Likewise.
20437         (ILL_PRVOPC): Likewise.
20438         (ILL_PRVREG): Likewise.
20439         (ILL_COPROC): Likewise.
20440         (ILL_BADSTK): Likewise.
20441         (FPE_INTDIV): Likewise.
20442         (FPE_INTOVF): Likewise.
20443         (FPE_FLTDIV): Likewise.
20444         (FPE_FLTOVF): Likewise.
20445         (FPE_FLTUND): Likewise.
20446         (FPE_FLTRES): Likewise.
20447         (FPE_FLTINV): Likewise.
20448         (FPE_FLTSUB): Likewise.
20449         (SEGV_MAPERR): Likewise.
20450         (SEGV_ACCERR): Likewise.
20451         (BUS_ADRALN): Likewise.
20452         (BUS_ADRERR): Likewise.
20453         (BUS_OBJERR): Likewise.
20454         (BUS_MCEERR_AR): Likewise.
20455         (BUS_MCEERR_AO): Likewise.
20456         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20457         (TRAP_TRACE): Likewise.
20458         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20459         __USE_XOPEN2K8].
20460         (CLD_KILLED): Likewise.
20461         (CLD_DUMPED): Likewise.
20462         (CLD_TRAPPED): Likewise.
20463         (CLD_STOPPED): Likewise.
20464         (CLD_CONTINUED): Likewise.
20465         (POLL_IN): Likewise.
20466         (POLL_OUT): Likewise.
20467         (POLL_MSG): Likewise.
20468         (POLL_ERR): Likewise.
20469         (POLL_PRI): Likewise.
20470         (POLL_HUP): Likewise.
20471         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
20472         (ILL_ILLOPN): Likewise.
20473         (ILL_ILLADR): Likewise.
20474         (ILL_ILLTRP): Likewise.
20475         (ILL_PRVOPC): Likewise.
20476         (ILL_PRVREG): Likewise.
20477         (ILL_COPROC): Likewise.
20478         (ILL_BADSTK): Likewise.
20479         (FPE_INTDIV): Likewise.
20480         (FPE_INTOVF): Likewise.
20481         (FPE_FLTDIV): Likewise.
20482         (FPE_FLTOVF): Likewise.
20483         (FPE_FLTUND): Likewise.
20484         (FPE_FLTRES): Likewise.
20485         (FPE_FLTINV): Likewise.
20486         (FPE_FLTSUB): Likewise.
20487         (SEGV_MAPERR): Likewise.
20488         (SEGV_ACCERR): Likewise.
20489         (BUS_ADRALN): Likewise.
20490         (BUS_ADRERR): Likewise.
20491         (BUS_OBJERR): Likewise.
20492         (BUS_MCEERR_AR): Likewise.
20493         (BUS_MCEERR_AO): Likewise.
20494         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20495         (TRAP_TRACE): Likewise.
20496         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20497         __USE_XOPEN2K8].
20498         (CLD_KILLED): Likewise.
20499         (CLD_DUMPED): Likewise.
20500         (CLD_TRAPPED): Likewise.
20501         (CLD_STOPPED): Likewise.
20502         (CLD_CONTINUED): Likewise.
20503         (POLL_IN): Likewise.
20504         (POLL_OUT): Likewise.
20505         (POLL_MSG): Likewise.
20506         (POLL_ERR): Likewise.
20507         (POLL_PRI): Likewise.
20508         (POLL_HUP): Likewise.
20509         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
20510         (ILL_ILLOPN): Likewise.
20511         (ILL_ILLADR): Likewise.
20512         (ILL_ILLTRP): Likewise.
20513         (ILL_PRVOPC): Likewise.
20514         (ILL_PRVREG): Likewise.
20515         (ILL_COPROC): Likewise.
20516         (ILL_BADSTK): Likewise.
20517         (ILL_DBLFLT): Likewise.
20518         (ILL_HARDWALL): Likewise.
20519         (FPE_INTDIV): Likewise.
20520         (FPE_INTOVF): Likewise.
20521         (FPE_FLTDIV): Likewise.
20522         (FPE_FLTOVF): Likewise.
20523         (FPE_FLTUND): Likewise.
20524         (FPE_FLTRES): Likewise.
20525         (FPE_FLTINV): Likewise.
20526         (FPE_FLTSUB): Likewise.
20527         (SEGV_MAPERR): Likewise.
20528         (SEGV_ACCERR): Likewise.
20529         (BUS_ADRALN): Likewise.
20530         (BUS_ADRERR): Likewise.
20531         (BUS_OBJERR): Likewise.
20532         (BUS_MCEERR_AR): Likewise.
20533         (BUS_MCEERR_AO): Likewise.
20534         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20535         (TRAP_TRACE): Likewise.
20536         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20537         __USE_XOPEN2K8].
20538         (CLD_KILLED): Likewise.
20539         (CLD_DUMPED): Likewise.
20540         (CLD_TRAPPED): Likewise.
20541         (CLD_STOPPED): Likewise.
20542         (CLD_CONTINUED): Likewise.
20543         (POLL_IN): Likewise.
20544         (POLL_OUT): Likewise.
20545         (POLL_MSG): Likewise.
20546         (POLL_ERR): Likewise.
20547         (POLL_PRI): Likewise.
20548         (POLL_HUP): Likewise.
20549         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
20550         (ILL_ILLOPN): Likewise.
20551         (ILL_ILLADR): Likewise.
20552         (ILL_ILLTRP): Likewise.
20553         (ILL_PRVOPC): Likewise.
20554         (ILL_PRVREG): Likewise.
20555         (ILL_COPROC): Likewise.
20556         (ILL_BADSTK): Likewise.
20557         (FPE_INTDIV): Likewise.
20558         (FPE_INTOVF): Likewise.
20559         (FPE_FLTDIV): Likewise.
20560         (FPE_FLTOVF): Likewise.
20561         (FPE_FLTUND): Likewise.
20562         (FPE_FLTRES): Likewise.
20563         (FPE_FLTINV): Likewise.
20564         (FPE_FLTSUB): Likewise.
20565         (SEGV_MAPERR): Likewise.
20566         (SEGV_ACCERR): Likewise.
20567         (BUS_ADRALN): Likewise.
20568         (BUS_ADRERR): Likewise.
20569         (BUS_OBJERR): Likewise.
20570         (BUS_MCEERR_AR): Likewise.
20571         (BUS_MCEERR_AO): Likewise.
20572         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20573         (TRAP_TRACE): Likewise.
20574         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20575         __USE_XOPEN2K8].
20576         (CLD_KILLED): Likewise.
20577         (CLD_DUMPED): Likewise.
20578         (CLD_TRAPPED): Likewise.
20579         (CLD_STOPPED): Likewise.
20580         (CLD_CONTINUED): Likewise.
20581         (POLL_IN): Likewise.
20582         (POLL_OUT): Likewise.
20583         (POLL_MSG): Likewise.
20584         (POLL_ERR): Likewise.
20585         (POLL_PRI): Likewise.
20586         (POLL_HUP): Likewise.
20587         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
20588         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
20590         [BZ #16670]
20591         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
20592         before #include of <time.h>.
20593         [!__USE_XOPEN2K] (__need_timespec): Likewise.
20594         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
20595         (test-xfail-UNIX98/sched.h/conform): Likewise.
20597 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
20599         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
20600         error absence of trapping exception support.
20601         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
20603 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
20605         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
20606         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
20607         * timezone/Makefile (testdata): Move definition above include of
20608         Rules.
20609         (test-zones): New variable.
20610         (tests-special): Add zone files.
20611         (build-testdata): Use $(evaluate-test).
20613         * elf/Makefile (tests-special): Rename tests to end with .out.
20614         ($(objpfx)noload-mem): Likewise.
20615         ($(objpfx)tst-leaks1-mem): Likewise.
20616         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
20617         * iconv/Makefile (xtests-special): Change test-iconvconfig to
20618         $(objpfx)test-iconvconfig.out.
20619         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
20620         set -e inside subshell and redirect output to file.
20621         * iconvdata/Makefile (generated): Rename tests to end with .out.
20622         Correct type.
20623         (tests-special): Rename tests to end with .out.
20624         ($(objpfx)mtrace-tst-loading): Likewise.
20625         * intl/Makefile (generated): Likewise.
20626         (tests-special): Likewise.
20627         ($(objpfx)mtrace-tst-gettext): Likewise.
20628         * misc/Makefile (generated): Likewise.
20629         (tests-special): Likewise.
20630         ($(objpfx)tst-error1-mem): Likewise.
20631         * nptl/Makefile (tests-special): Likewise.
20632         ($(objpfx)tst-stack3-mem): Likewise.
20633         (generated): Likewise.
20634         * posix/Makefile (generated): Likewise.
20635         (tests-special): Likewise.
20636         (xtests-special): Likewise.
20637         ($(objpfx)tst-fnmatch-mem): Likewise.
20638         ($(objpfx)bug-regex2-mem): Likewise.
20639         ($(objpfx)bug-regex14-mem): Likewise.
20640         ($(objpfx)bug-regex21-mem): Likewise.
20641         ($(objpfx)bug-regex31-mem): Likewise.
20642         ($(objpfx)tst-vfork3-mem): Likewise.
20643         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
20644         ($(objpfx)tst-pcre-mem): Likewise.
20645         ($(objpfx)tst-boost-mem): Likewise.
20646         ($(objpfx)bug-ga2-mem): Likewise.
20647         ($(objpfx)bug-glob2-mem): Likewise.
20648         * resolv/Makefile (generate): Likewise.
20649         (tests-special): Likewise.
20650         (xtests-special): Likewise.
20651         (generated): Likewise.
20652         ($(objpfx)mtrace-tst-leaks): Likewise.
20653         ($(objpfx)mtrace-tst-leaks2): Likewise.
20655         * scripts/merge-test-results.sh: New file.
20656         * Makefile (tests-special-notdir): New variable.
20657         (tests): Run merge-test-results.sh.
20658         (xtests): Likewise.
20659         * Rules (tests-special-notdir): New variable.
20660         (xtests-special-notdir): Likewise.
20661         (tests): Run merge-test-results.sh
20662         (xtests): Likewise.
20664         * Makeconfig (test-xfail-name): New variable.
20665         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
20666         compute variable name for expected failures.
20667         * conform/Makefile (conformtest-headers-data): New variable.
20668         (conformtest-standards): Likewise.
20669         (conformtest-headers-ISO): Likewise.
20670         (conformtest-headers-ISO99): Likewise.
20671         (conformtest-headers-ISO11): Likewise.
20672         (conformtest-headers-POSIX): Likewise.
20673         (conformtest-headers-XPG3): Likewise.
20674         (conformtest-headers-XPG4): Likewise.
20675         (conformtest-headers-UNIX98): Likewise.
20676         (conformtest-headers-XOPEN2K): Likewise.
20677         (conformtest-headers-POSIX2008): Likewise.
20678         (conformtest-headers-XOPEN2K8): Likewise.
20679         (conformtest-header-list-base): Likewise.
20680         (conformtest-header-list-tests): Likewise.
20681         (conformtest-header-base): Likewise.
20682         (conformtest-header-tests): Likewise.
20683         (tests-special): Add $(conformtest-header-list-tests).  If
20684         [$(fast-check) && !$(cross-compiling)], add
20685         $(conformtest-header-tests) instead of
20686         $(objpfx)run-conformtest.out.
20687         (generated): Add $(conformtest-header-list-base).  If
20688         [$(fast-check) && !$(cross-compiling)], add
20689         $(conformtest-header-base).  Remove previous setting.
20690         ($(conformtest-header-list-tests)): New target.
20691         (test-xfail-run-conformtest): Remove variable.
20692         ($(objpfx)run-conformtest.out): Remove target.
20693         (test-xfail-ISO11/complex.h/conform): New variable.
20694         (test-xfail-ISO11/stdalign.h/conform): Likewise.
20695         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
20696         (test-xfail-XPG3/varargs.h/conform): Likewise.
20697         (test-xfail-XPG4/varargs.h/conform): Likewise.
20698         (test-xfail-UNIX98/varargs.h/conform): Likewise.
20699         (test-xfail-XPG4/ndbm.h/conform): Likewise.
20700         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
20701         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
20702         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
20703         (test-xfail-XPG3/fcntl.h/conform): Likewise.
20704         (test-xfail-XPG3/ftw.h/conform): Likewise.
20705         (test-xfail-XPG3/grp.h/conform): Likewise.
20706         (test-xfail-XPG3/langinfo.h/conform): Likewise.
20707         (test-xfail-XPG3/limits.h/conform): Likewise.
20708         (test-xfail-XPG3/pwd.h/conform): Likewise.
20709         (test-xfail-XPG3/search.h/conform): Likewise.
20710         (test-xfail-XPG3/signal.h/conform): Likewise.
20711         (test-xfail-XPG3/stdio.h/conform): Likewise.
20712         (test-xfail-XPG3/stdlib.h/conform): Likewise.
20713         (test-xfail-XPG3/string.h/conform): Likewise.
20714         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
20715         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
20716         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
20717         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
20718         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
20719         (test-xfail-XPG3/sys/types.h/conform): Likewise.
20720         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
20721         (test-xfail-XPG3/termios.h/conform): Likewise.
20722         (test-xfail-XPG3/time.h/conform): Likewise.
20723         (test-xfail-XPG3/unistd.h/conform): Likewise.
20724         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
20725         (test-xfail-XPG4/fcntl.h/conform): Likewise.
20726         (test-xfail-XPG4/langinfo.h/conform): Likewise.
20727         (test-xfail-XPG4/netdb.h/conform): Likewise.
20728         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
20729         (test-xfail-XPG4/signal.h/conform): Likewise.
20730         (test-xfail-XPG4/stdio.h/conform): Likewise.
20731         (test-xfail-XPG4/stdlib.h/conform): Likewise.
20732         (test-xfail-XPG4/stropts.h/conform): Likewise.
20733         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
20734         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
20735         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
20736         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
20737         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
20738         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
20739         (test-xfail-XPG4/sys/time.h/conform): Likewise.
20740         (test-xfail-XPG4/sys/types.h/conform): Likewise.
20741         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
20742         (test-xfail-XPG4/termios.h/conform): Likewise.
20743         (test-xfail-XPG4/ucontext.h/conform): Likewise.
20744         (test-xfail-XPG4/unistd.h/conform): Likewise.
20745         (test-xfail-XPG4/utmpx.h/conform): Likewise.
20746         (test-xfail-POSIX/sched.h/conform): Likewise.
20747         (test-xfail-POSIX/signal.h/conform): Likewise.
20748         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
20749         (test-xfail-POSIX/tar.h/conform): Likewise.
20750         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
20751         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
20752         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
20753         (test-xfail-UNIX98/netdb.h/conform): Likewise.
20754         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
20755         (test-xfail-UNIX98/sched.h/conform): Likewise.
20756         (test-xfail-UNIX98/signal.h/conform): Likewise.
20757         (test-xfail-UNIX98/stdio.h/conform): Likewise.
20758         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
20759         (test-xfail-UNIX98/stropts.h/conform): Likewise.
20760         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
20761         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
20762         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
20763         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
20764         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
20765         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
20766         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
20767         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
20768         (test-xfail-UNIX98/unistd.h/conform): Likewise.
20769         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
20770         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
20771         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
20772         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
20773         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
20774         (test-xfail-XOPEN2K/math.h/conform): Likewise.
20775         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
20776         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
20777         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
20778         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
20779         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
20780         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
20781         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
20782         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
20783         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
20784         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
20785         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
20786         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
20787         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
20788         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
20789         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
20790         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
20791         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
20792         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
20793         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
20794         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
20795         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
20796         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
20797         (test-xfail-POSIX2008/signal.h/conform): Likewise.
20798         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
20799         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
20800         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
20801         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
20802         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
20803         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
20804         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
20805         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
20806         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
20807         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
20808         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
20809         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
20810         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
20811         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
20812         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
20813         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
20814         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
20815         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
20816         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
20817         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
20818         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
20819         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
20820         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
20821         (conformtest-cc-flags): Likewise.
20822         ($(conformtest-header-tests): New target.
20823         * conform/check-header-lists.sh: New file.
20824         * conform/run-conformtest.sh: Remove.
20826         * conform/conformtest.pl: Allow ' and \ in values given for
20827         constants.
20828         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
20829         inclusion.
20830         [POSIX] (sys/types.h): Likewise.
20831         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
20832         inclusion.
20833         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
20834         inclusion.
20835         * conform/data/signal.h-data (SIGIO): Remove expectation.
20836         [XPG3] (SIGBUS): Do not expect.
20837         [POSIX || XPG3] (SIGPOLL): Likewise.
20838         [POSIX || XPG3] (SIGPROF): Likewise.
20839         [POSIX || XPG3] (SIGSYS): Likewise.
20840         [XPG3] (SIGTRAP): Likewise.
20841         [POSIX || XPG3] (SIGURG): Likewise.
20842         [POSIX || XPG3] (SIGVTALRM): Likewise.
20843         [POSIX || XPG3] (SIGXCPU): Likewise.
20844         [POSIX || XPG3] (SIGXFSZ): Likewise.
20845         [POSIX] (SA_SIGINFO): Expect.
20846         [XPG3] (siginfo_t): Do not expect type or contents.
20847         [POSIX] (si_pid): Do not expect element.
20848         [POSIX] (si_uid): Likewise.
20849         [POSIX] (si_addr): Likewise.
20850         [POSIX] (si_status): Likewise.
20851         [POSIX] (si_band): Likewise.
20852         [XPG4] (si_value): Likewise.
20853         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
20854         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
20855         [POSIX || XPG3] (ILL_ILLADR): Likewise.
20856         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
20857         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
20858         [POSIX || XPG3] (ILL_PRVREG): Likewise.
20859         [POSIX || XPG3] (ILL_COPROC): Likewise.
20860         [POSIX || XPG3] (ILL_BADSTK): Likewise.
20861         [POSIX || XPG3] (FPE_INTDIV): Likewise.
20862         [POSIX || XPG3] (FPE_INTOVF): Likewise.
20863         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
20864         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
20865         [POSIX || XPG3] (FPE_FLTUND): Likewise.
20866         [POSIX || XPG3] (FPE_FLTRES): Likewise.
20867         [POSIX || XPG3] (FPE_FLTINV): Likewise.
20868         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
20869         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
20870         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
20871         [POSIX || XPG3] (BUS_ADRALN): Likewise.
20872         [POSIX || XPG3] (BUS_ADRERR): Likewise.
20873         [POSIX || XPG3] (BUS_OBJERR): Likewise.
20874         [POSIX || XPG3] (CLD_EXITED): Likewise.
20875         [POSIX || XPG3] (CLD_KILLED): Likewise.
20876         [POSIX || XPG3] (CLD_DUMPED): Likewise.
20877         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
20878         [POSIX || XPG3] (CLD_STOPPED): Likewise.
20879         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
20880         [POSIX || XPG3] (POLL_IN): Likewise.
20881         [POSIX || XPG3] (POLL_OUT): Likewise.
20882         [POSIX || XPG3] (POLL_MSG): Likewise.
20883         [POSIX || XPG3] (POLL_ERR): Likewise.
20884         [POSIX || XPG3] (POLL_PRI): Likewise.
20885         [POSIX || XPG3] (POLL_HUP): Likewise.
20886         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
20887         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
20888         (SIG*): Do not allow.
20889         [XPG3] (si_*): Likewise.
20890         [XPG3] (SI_*): Likewise.
20891         [XPG3 || XPG4] (sigev_*): Likewise.
20892         [XPG3 || XPG4] (SIGEV_*): Likewise.
20893         [XPG3 || XPG4] (sival_*): Likewise.
20894         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
20895         [POSIX || XPG3] (BUS_*): Likewise.
20896         [POSIX || XPG3] (CLD_*): Likewise.
20897         [POSIX || XPG3] (FPE_*): Likewise.
20898         [POSIX || XPG3] (ILL_*): Likewise.
20899         [POSIX || XPG3] (POLL_*): Likewise.
20900         [POSIX || XPG3] (SEGV_*): Likewise.
20901         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
20902         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
20903         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
20904         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
20905         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
20906         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
20907         Specify type and value.
20908         (TVERSLEN): Likewise.
20909         (REGTYPE): Likewise.
20910         (AREGTYPE): Likewise.
20911         (LNKTYPE): Likewise.
20912         (SYMTYPE): Likewise.
20913         (CHRTYPE): Likewise.
20914         (BLKTYPE): Likewise.
20915         (DIRTYPE): Likewise.
20916         (FIFOTYPE): Likewise.
20917         (CONTTYPE): Likewise.
20918         (TSUID): Likewise.
20919         (TSGID): Likewise.
20920         (TSVTX): Likewise.
20921         (TUREAD): Likewise.
20922         (TUWRITE): Likewise.
20923         (TUEXEC): Likewise.
20924         (TGREAD): Likewise.
20925         (TGWRITE): Likewise.
20926         (TGEXEC): Likewise.
20927         (TOREAD): Likewise.
20928         (TOWRITE): Likewise.
20929         (TOEXEC): Likewise.
20930         [POSIX] (TSVTX): Expect constant.
20932 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
20934         * Makefile (tests): Change dependencies to ....
20935         (tests-special): ... additions to this variable.
20936         (tests): Depend on $(tests-special).
20937         * Makerules (check-abi-list): New variable.
20938         (check-abi): Depend on $(check-abi-list).
20939         [$(subdir) = elf] (tests-special): Add
20940         $(objpfx)check-abi-libc.out.
20941         [$(build-shared) = yes && subdir] (tests-special): Add
20942         $(check-abi-list).
20943         [$(build-shared) = yes && subdir] (tests): Do not depend on
20944         check-abi.
20945         * Rules (tests): Depend on $(tests-special).
20946         (xtests): Depend on $(xtests-special).
20947         * catgets/Makefile (tests): Change dependencies to ....
20948         (tests-special): ... additions to this variable.
20949         * conform/Makefile (tests): Change dependencies to ....
20950         (tests-special): ... additions to this variable.
20951         * elf/Makefile (tests): Change dependencies to ....
20952         (tests-special): ... additions to this variable.
20953         * grp/Makefile (tests): Change dependencies to ....
20954         (tests-special): ... additions to this variable.
20955         * iconv/Makefile (xtests): Change dependencies to ....
20956         (xtests-special): ... additions to this variable.
20957         * iconvdata/Makefile (tests): Change dependencies to ....
20958         (tests-special): ... additions to this variable.
20959         * intl/Makefile (tests): Change dependencies to ....
20960         (tests-special): ... additions to this variable.  Also add
20961         $(objpfx)tst-gettext.out.
20962         * io/Makefile (tests): Change dependencies to ....
20963         (tests-special): ... additions to this variable.
20964         * libio/Makefile (tests): Change dependencies to ....
20965         (tests-special): ... additions to this variable.
20966         * malloc/Makefile (tests): Change dependencies to ....
20967         (tests-special): ... additions to this variable.
20968         * misc/Makefile (tests): Change dependencies to ....
20969         (tests-special): ... additions to this variable.
20970         * nptl/Makefile (tests): Change dependencies to ....
20971         (tests-special): ... additions to this variable.
20972         * nptl_db/Makefile (tests): Change dependencies to ....
20973         (tests-special): ... additions to this variable.
20974         * posix/Makefile (tests): Change dependencies to ....
20975         (tests-special): ... additions to this variable.
20976         (xtests): Change dependencies to ....
20977         (xtests-special): ... additions to this variable.
20978         * resolv/Makefile (tests): Change dependencies to ....
20979         (tests-special): ... additions to this variable.
20980         (xtests): Change dependencies to ....
20981         (xtests-special): ... additions to this variable.
20982         * stdio-common/Makefile (tests): Change dependencies to ....
20983         (tests-special): ... additions to this variable.
20984         (do-tst-unbputc): Remove target.
20985         (do-tst-printf): Likewise.
20986         * stdlib/Makefile (tests): Change dependencies to ....
20987         (tests-special): ... additions to this variable.
20988         * string/Makefile (tests): Change dependencies to ....
20989         (tests-special): ... additions to this variable.
20990         * sysdeps/x86/Makefile (tests): Change dependencies to ....
20991         (tests-special): ... additions to this variable.
20993         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
20994         whole file.
20995         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
20996         whole file.
20997         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
20998         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
21000         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
21001         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
21002         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
21003         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
21004         * conform/data/libgen.h-data [XPG3]: Likewise.
21005         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
21006         * conform/data/ndbm.h-data [XPG3]: Likewise.
21007         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21008         * conform/data/netdb.h-data [XPG3]: Likewise.
21009         * conform/data/netinet/in.h-data [XPG3]: Likewise.
21010         * conform/data/poll.h-data [XPG3]: Likewise.
21011         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21012         * conform/data/strings.h-data [XPG3]: Likewise.
21013         * conform/data/stropts.h-data [XPG3]: Likewise.
21014         * conform/data/sys/mman.h-data [XPG3]: Likewise.
21015         * conform/data/sys/resource.h-data [XPG3]: Likewise.
21016         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
21017         Likewise.
21018         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
21019         * conform/data/sys/time.h-data [XPG3]: Likewise.
21020         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
21021         * conform/data/sys/uio.h-data [XPG3]: Likewise.
21022         * conform/data/sys/un.h-data [XPG3]: Likewise.
21023         * conform/data/syslog.h-data [XPG3]: Likewise.
21024         * conform/data/ucontext.h-data [XPG3]: Likewise.
21025         * conform/data/utmpx.h-data [XPG3]: Likewise.
21026         * conform/data/varargs.h-data [UNIX98]: Enable file.
21028         * manual/Makefile (INSTALL_INFO): Remove variable setting.
21030         * math/libm-test.inc (struct test_f_f_data): Move expected results
21031         into structure for each rounding mode.
21032         (struct test_ff_f_data): Likewise.
21033         (struct test_ff_f_data_nexttoward): Likewise.
21034         (struct test_fi_f_data): Likewise.
21035         (struct test_fl_f_data): Likewise.
21036         (struct test_if_f_data): Likewise.
21037         (struct test_fff_f_data): Likewise.
21038         (struct test_c_f_data): Likewise.
21039         (struct test_f_f1_data): Likewise.
21040         (struct test_fF_f1_data): Likewise.
21041         (struct test_ffI_f1_data): Likewise.
21042         (struct test_c_c_data): Likewise.
21043         (struct test_cc_c_data): Likewise.
21044         (struct test_f_i_data): Likewise.
21045         (struct test_ff_i_data): Likewise.
21046         (struct test_f_l_data): Likewise.
21047         (struct test_f_L_data): Likewise.
21048         (struct test_fFF_11_data): Likewise.
21049         (RM_): New macro.
21050         (RM_FE_DOWNWARD): Likewise.
21051         (RM_FE_TONEAREST): Likewise.
21052         (RM_FE_TOWARDZERO): Likewise.
21053         (RM_FE_UPWARD): Likewise.
21054         (RUN_TEST_LOOP_f_f): Update references to expected results.
21055         (RUN_TEST_LOOP_2_f): Likewise.
21056         (RUN_TEST_LOOP_fff_f): Likewise.
21057         (RUN_TEST_LOOP_c_f): Likewise.
21058         (RUN_TEST_LOOP_f_f1): Likewise.
21059         (RUN_TEST_LOOP_fF_f1): Likewise.
21060         (RUN_TEST_LOOP_fI_f1): Likewise.
21061         (RUN_TEST_LOOP_ffI_f1): Likewise.
21062         (RUN_TEST_LOOP_c_c): Likewise.
21063         (RUN_TEST_LOOP_cc_c): Likewise.
21064         (RUN_TEST_LOOP_f_i): Likewise.
21065         (RUN_TEST_LOOP_f_i_tg): Likewise.
21066         (RUN_TEST_LOOP_ff_i_tg): Likewise.
21067         (RUN_TEST_LOOP_f_b): Likewise.
21068         (RUN_TEST_LOOP_f_b_tg): Likewise.
21069         (RUN_TEST_LOOP_f_l): Likewise.
21070         (RUN_TEST_LOOP_f_L): Likewise.
21071         (RUN_TEST_LOOP_fFF_11): Likewise.
21072         * math/gen-libm-test.pl (parse_args): Output four copies of
21073         expected results for each test.
21075         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21076         (__ASSUME_UTIMES): Remove.
21077         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21078         (__ASSUME_UTIMES): Likewise.
21080         * math/gen-auto-libm-tests.c: Update comment on output format.
21081         (output_for_one_input_case): Generate before-rounding and
21082         after-rounding information as conditions on output flags not
21083         floating-point format.
21084         * math/auto-libm-test-out: Regenerated.
21085         * math/gen-libm-test.pl (cond_value): New function.
21086         (or_cond_value): Use cond_value.
21087         (generate_testfile): Handle conditional exceptions.
21089 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
21091         * math/libm-test.inc (max_valid_error): New variable.
21092         (init_max_error): Take new argument specifying whether function
21093         results are exactly determined.  Set max_valid_error and bound
21094         other variables for errors based on this argument.
21095         (set_max_error): Do not record results above max_valid_error.
21096         (check_float_internal): Only accept errors of up to 0.5ulps if
21097         also at most max_valid_error.
21098         (START): Take new argument EXACT and pass it to init_max_error.
21099         (acos_test): Update call to START.
21100         (acos_test_tonearest): Likewise.
21101         (acos_test_towardzero): Likewise.
21102         (acos_test_downward): Likewise.
21103         (acos_test_upward): Likewise.
21104         (acosh_test): Likewise.
21105         (asin_test): Likewise.
21106         (asin_test_tonearest): Likewise.
21107         (asin_test_towardzero): Likewise.
21108         (asin_test_downward): Likewise.
21109         (asin_test_upward): Likewise.
21110         (asinh_test): Likewise.
21111         (atan_test): Likewise.
21112         (atanh_test): Likewise.
21113         (atan2_test): Likewise.
21114         (cabs_test): Likewise.
21115         (cacos_test): Likewise.
21116         (cacosh_test): Likewise.
21117         (carg_test): Likewise.
21118         (casin_test): Likewise.
21119         (casinh_test): Likewise.
21120         (catan_test): Likewise.
21121         (catanh_test): Likewise.
21122         (cbrt_test): Likewise.
21123         (ccos_test): Likewise.
21124         (ccosh_test): Likewise.
21125         (ceil_test): Likewise.
21126         (cexp_test): Likewise.
21127         (cimag_test): Likewise.
21128         (clog_test): Likewise.
21129         (clog10_test): Likewise.
21130         (conj_test): Likewise.
21131         (copysign_test): Likewise.
21132         (cos_test): Likewise.
21133         (cos_test_tonearest): Likewise.
21134         (cos_test_towardzero): Likewise.
21135         (cos_test_downward): Likewise.
21136         (cos_test_upward): Likewise.
21137         (cosh_test): Likewise.
21138         (cosh_test_tonearest): Likewise.
21139         (cosh_test_towardzero): Likewise.
21140         (cosh_test_downward): Likewise.
21141         (cosh_test_upward): Likewise.
21142         (cpow_test): Likewise.
21143         (cproj_test): Likewise.
21144         (creal_test): Likewise.
21145         (csin_test): Likewise.
21146         (csinh_test): Likewise.
21147         (csqrt_test): Likewise.
21148         (ctan_test): Likewise.
21149         (ctan_test_tonearest): Likewise.
21150         (ctan_test_towardzero): Likewise.
21151         (ctan_test_downward): Likewise.
21152         (ctan_test_upward): Likewise.
21153         (ctanh_test): Likewise.
21154         (ctanh_test_tonearest): Likewise.
21155         (ctanh_test_towardzero): Likewise.
21156         (ctanh_test_downward): Likewise.
21157         (ctanh_test_upward): Likewise.
21158         (erf_test): Likewise.
21159         (erfc_test): Likewise.
21160         (exp_test): Likewise.
21161         (exp_test_tonearest): Likewise.
21162         (exp_test_towardzero): Likewise.
21163         (exp_test_downward): Likewise.
21164         (exp_test_upward): Likewise.
21165         (exp10_test): Likewise.
21166         (exp10_test_tonearest): Likewise.
21167         (exp10_test_towardzero): Likewise.
21168         (exp10_test_downward): Likewise.
21169         (exp10_test_upward): Likewise.
21170         (pow10_test): Likewise.
21171         (exp2_test): Likewise.
21172         (expm1_test): Likewise.
21173         (expm1_test_tonearest): Likewise.
21174         (expm1_test_towardzero): Likewise.
21175         (expm1_test_downward): Likewise.
21176         (expm1_test_upward): Likewise.
21177         (fabs_test): Likewise.
21178         (fdim_test): Likewise.
21179         (floor_test): Likewise.
21180         (fma_test): Likewise.
21181         (fma_test_towardzero): Likewise.
21182         (fma_test_downward): Likewise.
21183         (fma_test_upward): Likewise.
21184         (fmax_test): Likewise.
21185         (fmin_test): Likewise.
21186         (fmod_test): Likewise.
21187         (fpclassify_test): Likewise.
21188         (frexp_test): Likewise.
21189         (hypot_test): Likewise.
21190         (ilogb_test): Likewise.
21191         (isfinite_test): Likewise.
21192         (finite_test): Likewise.
21193         (isgreater_test): Likewise.
21194         (isgreaterequal_test): Likewise.
21195         (isinf_test): Likewise.
21196         (isless_test): Likewise.
21197         (islessequal_test): Likewise.
21198         (islessgreater_test): Likewise.
21199         (isnan_test): Likewise.
21200         (isnormal_test): Likewise.
21201         (issignaling_test): Likewise.
21202         (isunordered_test): Likewise.
21203         (j0_test): Likewise.
21204         (j1_test): Likewise.
21205         (jn_test): Likewise.
21206         (ldexp_test): Likewise.
21207         (lgamma_test): Likewise.
21208         (gamma_test): Likewise.
21209         (lrint_test): Likewise.
21210         (lrint_test_tonearest): Likewise.
21211         (lrint_test_towardzero): Likewise.
21212         (lrint_test_downward): Likewise.
21213         (lrint_test_upward): Likewise.
21214         (llrint_test): Likewise.
21215         (llrint_test_tonearest): Likewise.
21216         (llrint_test_towardzero): Likewise.
21217         (llrint_test_downward): Likewise.
21218         (llrint_test_upward): Likewise.
21219         (log_test): Likewise.
21220         (log10_test): Likewise.
21221         (log1p_test): Likewise.
21222         (log2_test): Likewise.
21223         (logb_test): Likewise.
21224         (logb_test_downward): Likewise.
21225         (lround_test): Likewise.
21226         (llround_test): Likewise.
21227         (modf_test): Likewise.
21228         (nearbyint_test): Likewise.
21229         (nextafter_test): Likewise.
21230         (nexttoward_test): Likewise.
21231         (pow_test): Likewise.
21232         (pow_test_tonearest): Likewise.
21233         (pow_test_towardzero): Likewise.
21234         (pow_test_downward): Likewise.
21235         (pow_test_upward): Likewise.
21236         (remainder_test): Likewise.
21237         (drem_test): Likewise.
21238         (remainder_test_tonearest): Likewise.
21239         (drem_test_tonearest): Likewise.
21240         (remainder_test_towardzero): Likewise.
21241         (drem_test_towardzero): Likewise.
21242         (remainder_test_downward): Likewise.
21243         (drem_test_downward): Likewise.
21244         (remainder_test_upward): Likewise.
21245         (drem_test_upward): Likewise.
21246         (remquo_test): Likewise.
21247         (rint_test): Likewise.
21248         (rint_test_tonearest): Likewise.
21249         (rint_test_towardzero): Likewise.
21250         (rint_test_downward): Likewise.
21251         (rint_test_upward): Likewise.
21252         (round_test): Likewise.
21253         (scalb_test): Likewise.
21254         (scalbn_test): Likewise.
21255         (scalbln_test): Likewise.
21256         (signbit_test): Likewise.
21257         (sin_test): Likewise.
21258         (sin_test_tonearest): Likewise.
21259         (sin_test_towardzero): Likewise.
21260         (sin_test_downward): Likewise.
21261         (sin_test_upward): Likewise.
21262         (sincos_test): Likewise.
21263         (sinh_test): Likewise.
21264         (sinh_test_tonearest): Likewise.
21265         (sinh_test_towardzero): Likewise.
21266         (sinh_test_downward): Likewise.
21267         (sinh_test_upward): Likewise.
21268         (sqrt_test): Likewise.
21269         (sqrt_test_tonearest): Likewise.
21270         (sqrt_test_towardzero): Likewise.
21271         (sqrt_test_downward): Likewise.
21272         (sqrt_test_upward): Likewise.
21273         (tan_test): Likewise.
21274         (tan_test_tonearest): Likewise.
21275         (tan_test_towardzero): Likewise.
21276         (tan_test_downward): Likewise.
21277         (tan_test_upward): Likewise.
21278         (tanh_test): Likewise.
21279         (tgamma_test): Likewise.
21280         (trunc_test): Likewise.
21281         (y0_test): Likewise.
21282         (y1_test): Likewise.
21283         (yn_test): Likewise.
21284         (significand_test): Likewise.
21286         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
21287         individual tests in comment.
21288         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
21289         (prev_max_error): New variable.
21290         (prev_real_max_error): Likewise.
21291         (prev_imag_max_error): Likewise.
21292         (compare_ulp_data): Don't refer to test names in comment.
21293         (find_test_ulps): Remove function.
21294         (find_function_ulps): Likewise.
21295         (find_complex_function_ulps): Likewise.
21296         (init_max_error): Take function name as argument.  Look up ulps
21297         for that function.
21298         (print_ulps): Remove function.
21299         (print_max_error): Use prev_max_error instead of calling
21300         find_function_ulps.
21301         (print_complex_max_error): Use prev_real_max_error and
21302         prev_imag_max_error instead of calling find_complex_function_ulps.
21303         (check_float_internal): Take max_ulp parameter instead of calling
21304         find_test_ulps.  Don't call print_ulps.
21305         (check_float): Update call to check_float_internal.
21306         (check_complex): Update calls to check_float_internal.
21307         (START): Pass argument to init_max_error.
21308         * math/gen-libm-test.pl (%results): Don't include "kind"
21309         information.
21310         (parse_ulps): Don't handle ulps of individual tests.
21311         (print_ulps_file): Likewise.
21312         (output_ulps): Likewise.
21313         * math/README.libm-test: Update.
21314         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
21315         individual tests.
21316         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
21317         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
21318         * sysdeps/arm/libm-test-ulps: Likewise.
21319         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21320         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
21321         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
21322         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
21323         * sysdeps/microblaze/libm-test-ulps: Likewise.
21324         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
21325         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21326         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21327         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
21328         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21329         * sysdeps/sh/libm-test-ulps: Likewise.
21330         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21331         * sysdeps/tile/libm-test-ulps: Likewise.
21332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21334 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
21336         * math/libm-test.inc (print_complex_max_error): Check separately
21337         whether real and imaginary errors are within allowed range and
21338         pass 0 to print_complex_function_ulps instead of value within
21339         allowed range.
21341 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21343         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
21344         formatting.
21345         (get_handles_fopen): Likewise.
21346         (do_write_test): Likewise.
21348         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
21350         * libio/fileops.c (do_ftell): Use cached offset when
21351         available.
21352         * libio/iofwide.c (do_ftell_wide): Likewise.
21353         * libio/iofdopen.c (_IO_new_fdopen): Don't use
21354         _IO_file_attach.
21355         * libio/wfileops.c (_IO_fwide): Don't cache offset.
21357         [BZ #16532]
21358         * libio/libioP.h (get_file_offset): New function.
21359         * libio/fileops.c (get_file_offset): Likewise.
21360         (do_ftell): Likewise.
21361         (_IO_new_file_seekoff): Split out ftell logic.
21362         * libio/wfileops.c (do_ftell_wide): Likewise.
21363         (_IO_wfile_seekoff): Split out ftell logic.
21364         * libio/tst-ftell-active-handler.c: New test case.
21365         * libio/Makefile (tests): Add it.
21367 2014-03-03  Roland McGrath  <roland@hack.frob.com>
21369         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
21370         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
21372 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
21374         [BZ #16639]
21375         * nscd/connections.c (nscd_init): Call do_exit.
21376         (start_threads): Call do_exit and notify_parent.
21377         (begin_drop_privileges): Call do_exit.
21378         (finish_drop_privileges): Likewise.
21379         * nscd/selinux.c (preserve_capabilities): Likewise.
21380         (install_real_capabilities): Likewise.
21381         (nscd_selinux_enabled): Likewise.
21382         (avc_create_thread): Likewise.
21383         (avc_alloc_lock): Likewise.
21384         (nscd_avc_init): Likewise.
21385         * nscd/nscd.c (parent_fd): New static variable.
21386         (main): Create a pipe between parent and child processes.
21387         Skip closing parent_fd.
21388         (monitor_child): New function.
21389         (do_exit): Likewise.
21390         (notify_parent): Likewise.
21391         * nscd/nscd.h (notify_parent): Likewise.
21392         (do_exit): Likewise.
21394 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
21396         * malloc/malloc.c (__libc_calloc): Revert last change.
21398 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21400         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21402 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21404         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
21405         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
21406         implementation.
21407         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21408         (__libc_ifunc_impl_list): Likewise.
21409         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
21410         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
21411         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
21412         * string/strrchr.c: Define STRRCHR.
21414 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
21416         * benchtest/bench-strtok.c (simple_strtok): Delete.
21417         (strtok_string): Use as benchmark.
21418         * string/strtok (STRTOK): New macro.
21420 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
21422         * manual/threads.texi: Add header and standard comments to all
21423         functions.
21425         * elf/dl-lookup.c (check_match): New function.
21426         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
21427         (do_lookup_x): Remove nested function check_match. Use non-nested
21428         function check_match.
21430 2014-02-28  Roland McGrath  <roland@hack.frob.com>
21432         * csu/Makefile (generated, before-compile): Use += rather than =.
21433         * catgets/Makefile (generated, generated-dirs): Likewise.
21434         * debug/Makefile (generated): Likewise.
21435         * dlfcn/Makefile (generated): Likewise.
21436         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
21437         * iconvdata/Makefile (before-compile, generated): Likewise.
21438         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
21439         * libio/Makefile (generated): Likewise.
21440         * malloc/Makefile (generated): Likewise.
21441         * manual/Makefile (generated, generated-dirs): Likewise.
21442         * misc/Makefile (generated): Likewise.
21443         * posix/Makefile (generated): Likewise.
21444         * resolv/Makefile (generated): Likewise.
21445         * sunrpc/Makefile (generated, generated-dirs): Likewise.
21446         * timezone/Makefile (generated, generated-dirs): Likewise.
21448         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
21450 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21452         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
21453         power8 implementation.
21454         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
21455         file: POWER8 llround ifunc implementation.
21456         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
21457         (__lllround): Add POWER8 implementation.
21458         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
21459         POWER8 llround implementation.
21461         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
21462         power8 implementation.
21463         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
21464         file: POWER8 llrint ifunc implementation.
21465         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
21466         Add POWER8 implementation.
21467         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
21468         POWER8 llrint implementation.
21470         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
21471         power8 implementation.
21472         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
21473         file: POWER8 finite ifunc implementation.
21474         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
21475         Add POWER8 implementation.
21476         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
21477         Likewise.
21478         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
21479         POWER8 finite implementation.
21480         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
21482         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
21483         power8 implementation.
21484         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
21485         file: POWER8 isinf ifunc implementation.
21486         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
21487         POWER8 implementation.
21488         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
21489         Likewise.
21490         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
21491         isinf implementation.
21492         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
21494         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
21495         (INIT_ARCH): Add hwcap2 initialization.
21496         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
21497         power8 implementation.
21498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
21499         file: POWER8 isnan ifunc implementation.
21500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
21501         POWER8 implementation.
21502         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
21503         Likewise.
21504         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
21505         isnan implementation.
21506         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
21508 2014-02-27  Joey Ye  <joey.ye@arm.com>
21510         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
21511         (_FP_NANFRAC_Q): Set to zero.
21513 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21515         [BZ #16623]
21516         * math/auto-libm-test-in: New test inputs.
21517         * math/auto-libm-test-out: Regenerate.
21518         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
21519         and DA.
21520         (__cos): Likewise.
21521         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21523 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
21525         * scripts/evaluate-test.sh: Take new argument indicating whether
21526         failure is expected.
21527         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
21528         indicating whether failure is expected.
21529         * conform/Makefile (test-xfail-run-conformtest): New variable.
21530         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
21531         level.
21532         * posix/Makefile (test-xfail-annexc): New variable.
21533         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
21535 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
21537         * argp/Makefile: Include Makeconfig immediately after defining
21538         subdir.
21539         * assert/Makefile: Likewise.
21540         * benchtests/Makefile: Likewise.
21541         * catgets/Makefile: Likewise.
21542         * conform/Makefile: Likewise.
21543         * crypt/Makefile: Likewise.
21544         * csu/Makefile: Likewise.
21545         (all): Remove target.
21546         * ctype/Makefile: Include Makeconfig immediately after defining
21547         subdir.
21548         * debug/Makefile: Likewise.
21549         * dirent/Makefile: Likewise.
21550         * dlfcn/Makefile: Likewise.
21551         * gmon/Makefile: Likewise.
21552         * gnulib/Makefile: Likewise.
21553         * grp/Makefile: Likewise.
21554         * gshadow/Makefile: Likewise.
21555         * hesiod/Makefile: Likewise.
21556         * hurd/Makefile: Likewise.
21557         (all): Remove target.
21558         * iconvdata/Makefile: Include Makeconfig immediately after
21559         defining subdir.
21560         * inet/Makefile: Likewise.
21561         * intl/Makefile: Likewise.
21562         * io/Makefile: Likewise.
21563         * libio/Makefile: Likewise.
21564         (all): Remove target.
21565         * locale/Makefile: Include Makeconfig immediately after defining
21566         subdir.
21567         * login/Makefile: Likewise.
21568         * mach/Makefile: Likewise.
21569         (all): Remove target.
21570         * malloc/Makefile: Include Makeconfig immediately after defining
21571         subdir.
21572         (all): Remove target.
21573         * manual/Makefile: Include Makeconfig immediately after defining
21574         subdir.
21575         * math/Makefile: Likewise.
21576         * misc/Makefile: Likewise.
21577         * nis/Makefile: Likewise.
21578         * nss/Makefile: Likewise.
21579         * po/Makefile: Likewise.
21580         (all): Remove target.
21581         * posix/Makefile: Include Makeconfig immediately after defining
21582         subdir.
21583         * pwd/Makefile: Likewise.
21584         * resolv/Makefile: Likewise.
21585         * resource/Makefile: Likewise.
21586         * rt/Makefile: Likewise.
21587         * setjmp/Makefile: Likewise.
21588         * shadow/Makefile: Likewise.
21589         * signal/Makefile: Likewise.
21590         * socket/Makefile: Likewise.
21591         * soft-fp/Makefile: Likewise.
21592         * stdio-common/Makefile: Likewise.
21593         * stdlib/Makefile: Likewise.
21594         * streams/Makefile: Likewise.
21595         * string/Makefile: Likewise.
21596         * sunrpc/Makefile: Likewise.
21597         (all): Remove target.
21598         * sysvipc/Makefile: Include Makeconfig immediately after defining
21599         subdir.
21600         * termios/Makefile: Likewise.
21601         * time/Makefile: Likewise.
21602         * timezone/Makefile: Likewise.
21603         (all): Remove target.
21604         * wcsmbs/Makefile: Include Makeconfig immediately after defining
21605         subdir.
21606         * wctype/Makefile: Likewise.
21608 2014-02-26  Steve Ellcey  <sellcey@mips.com>
21610         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
21611         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
21612         (libc_feholdexcept_setround_mips): Ditto.
21613         (libc_feholdsetround): New.
21614         (libc_feholdsetroundf): New.
21615         (libc_feholdsetroundl): New.
21616         (libc_feupdateenv_test_mips): New.
21617         (libc_feupdateenv_test): New.
21618         (libc_feupdateenv_testf): New.
21619         (libc_feupdateenv_testl): New.
21620         (libc_feresetround): New.
21621         (libc_feresetroundf): New.
21622         (libc_feresetroundl): New.
21623         (libc_fetestexcept_mips): New.
21624         (libc_fetestexcept): New.
21625         (libc_fetestexceptf): New.
21626         (libc_fetestexceptl): New.
21627         (HAVE_RM_CTX): New.
21628         (libc_feholdexcept_setround_mips_ctx): New.
21629         (libc_feholdexcept_setround_ctx): New.
21630         (libc_feholdexcept_setroundf_ctx): New.
21631         (libc_feholdexcept_setroundl_ctx): New.
21632         (libc_fesetenv_mips_ctx): New.
21633         (libc_fesetenv_ctx): New.
21634         (libc_fesetenv_ctxf): New.
21635         (libc_fesetenv_ctxl): New.
21636         (libc_feupdateenv_mips_ctx): New.
21637         (libc_feupdateenv_ctx): New.
21638         (libc_feupdateenvf_ctx): New.
21639         (libc_feupdateenvl_ctx): New.
21640         (libc_feholdsetround_mips_ctx): New.
21641         (libc_feholdsetround_ctx): New.
21642         (libc_feholdsetroundf_ctx): New.
21643         (libc_feholdsetroundl_ctx): New.
21644         (libc_feresetround_mips_ctx): New.
21645         (libc_feresetround_ctx): New.
21646         (libc_feresetroundf_ctx): New.
21647         (libc_feresetroundl_ctx): New.
21649 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
21651         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
21653         * manual/ipc.texi: New file.
21654         * manual/Makefile (chapters): Add ipc.
21655         * manual/job.texi: Add "Inter-Process Communication" to next.
21656         * manual/process.texi: Add "Inter-Process Communication" to prev.
21658 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21660         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21662 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
21664         * malloc/malloc.c (__libc_calloc): Simplify implementation.
21666         * manual/arith.texi: Fix spaces after sentences.
21667         * manual/charset.texi: Likewise.
21668         * manual/errno.texi: Likewise.
21669         * manual/install.texi: Likewise.
21670         * manual/llio.texi: Likewise.
21671         * manual/locale.texi: Likewise.
21672         * manual/maint.texi: Likewise.
21673         * manual/math.texi: Likewise.
21674         * manual/memory.texi: Likewise.
21675         * manual/message.texi: Likewise.
21676         * manual/probes.texi: Likewise.
21677         * manual/resource.texi: Likewise.
21678         * manual/signal.texi: Likewise.
21679         * manual/socket.texi: Likewise.
21680         * manual/stdio.texi: Likewise.
21681         * manual/string.texi: Likewise.
21682         * manual/time.texi: Likewise.
21683         * manual/users.texi: Likewise.
21685 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
21687         [BZ #16632]
21688         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
21689         _DEFAULT_SOURCE is defined.
21691 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
21692             Carlos O'Donell  <carlos@redhat.com>
21694         [BZ #16613]
21695         * elf/dl-tls.c (_dl_count_modids): New function.
21696         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
21697         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
21698         audit library and increment generation counter.
21699         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
21700         * elf/tst-audit9.c: New file.
21701         * elf/tst-auditmod9a.c: New file.
21702         * elf/tst-auditmod9b.c: New file.
21703         * elf/Makefile: Add rules to build and run tst-audit9.
21705 2014-02-25  Florian Weimer  <fweimer@redhat.com>
21707         [BZ #15347]
21708         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
21710 2014-02-25  Will Newton  <will.newton@linaro.org>
21712         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
21713         (__longjmp): Restore sp and lr before restoring callee
21714         saved registers.  Add longjmp and longjmp_target
21715         SystemTap probe point.
21716         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
21717         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
21718         Define to zero to match jmpbuf layout.
21719         * sysdeps/arm/setjmp.S: Include stap-probe.h.
21720         (__sigsetjmp): Save sp and lr before saving callee
21721         saved registers.  Add setjmp SystemTap probe point.
21723 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21725         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21727 2014-02-24  Andreas Schwab  <schwab@suse.de>
21729         [BZ #15804]
21730         * elf/pldd.c (wait_for_ptrace_stop): New function.
21731         (main): Call it after attaching.
21733 2014-02-22  Roland McGrath  <roland@hack.frob.com>
21735         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
21736         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
21737         Versions files is now verboten.
21738         * hurd/Versions (libc: GLIBC_2.0):
21739         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
21740         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
21741         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
21742         * mach/Versions: Likewise.
21744         * csu/Versions: Remove unused %include.
21745         * resolv/Versions: Likewise.
21747 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
21749         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
21750         ($(objpfx)check-local-headers.out): Likewise.
21751         ($(objpfx)begin-end-check.out): Likewise.
21752         * Makerules (check-abi-%.out): Likewise.
21753         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
21754         ($(objpfx)test2.cat): Likewise.
21755         ($(objpfx)de/libc.cat): Likewise.
21756         ($(objpfx)test-gencat.out): Likewise.
21757         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
21758         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
21759         ($(objpfx)noload-mem): Likewise.
21760         ($(objpfx)tst-pathopt.out): Likewise.
21761         ($(objpfx)tst-rtld-load-self.out): Likewise.
21762         ($(objpfx)tst-array1-cmp.out): Likewise.
21763         ($(objpfx)tst-array1-static-cmp.out): Likewise.
21764         ($(objpfx)tst-array2-cmp.out): Likewise.
21765         ($(objpfx)tst-array3-cmp.out): Likewise.
21766         ($(objpfx)tst-array4-cmp.out): Likewise.
21767         ($(objpfx)tst-array5-cmp.out): Likewise.
21768         ($(objpfx)tst-array5-static-cmp.out): Likewise.
21769         ($(objpfx)check-textrel.out): Likewise.
21770         ($(objpfx)check-execstack.out): Likewise.
21771         ($(objpfx)check-localplt.out): Likewise.
21772         ($(objpfx)order2-cmp.out): Likewise.
21773         ($(objpfx)tst-leaks1-mem): Likewise.
21774         ($(objpfx)tst-leaks1-static-mem): Likewise.
21775         ($(objpfx)tst-initorder-cmp.out): Likewise.
21776         ($(objpfx)tst-initorder2-cmp.out): Likewise.
21777         ($(objpfx)tst-unused-dep.out): Likewise.
21778         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
21779         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
21780         * iconv/Makefile (test-iconvconfig): Likewise.
21781         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
21782         ($(objpfx)iconv-test.out): Likewise.
21783         ($(objpfx)tst-tables.out): Likewise.
21784         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
21785         ($(objpfx)tst-gettext.out): Likewise.
21786         ($(objpfx)tst-translit.out): Likewise.
21787         ($(objpfx)tst-gettext2.out): Likewise.
21788         ($(objpfx)tst-gettext4.out): Likewise.
21789         ($(objpfx)tst-gettext6.out): Likewise.
21790         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
21791         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
21792         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
21793         ($(objpfx)tst-fopenloc-mem.out): Likewise.
21794         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
21795         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
21796         * posix/Makefile ($(objpfx)globtest.out): Likewise.
21797         ($(objpfx)wordexp-tst.out): Likewise.
21798         ($(objpfx)annexc.out): Likewise.
21799         ($(objpfx)tst-fnmatch-mem): Likewise.
21800         ($(objpfx)bug-regex2-mem): Likewise.
21801         ($(objpfx)bug-regex14-mem): Likewise.
21802         ($(objpfx)bug-regex21-mem): Likewise.
21803         ($(objpfx)bug-regex31-mem): Likewise.
21804         ($(objpfx)tst-vfork3-mem): Likewise.
21805         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
21806         ($(objpfx)tst-pcre-mem): Likewise.
21807         ($(objpfx)tst-boost-mem): Likewise.
21808         ($(objpfx)tst-getconf.out): Likewise.
21809         ($(objpfx)bug-ga2-mem): Likewise.
21810         ($(objpfx)bug-glob2-mem): Likewise.
21811         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
21812         ($(objpfx)mtrace-tst-leaks2): Likewise.
21813         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
21814         ($(objpfx)tst-printf.out): Likewise.
21815         ($(objpfx)tst-setvbuf1.out): Likewise.
21816         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
21817         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
21818         ($(objpfx)tst-fmtmsg.out): Likewise.
21819         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
21820         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
21822         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
21823         * bits/sigaction.h [__USE_MISC]: Likewise.
21824         * bits/waitstatus.h: Update #endif comments.
21825         * ctype/ctype.h: Likewise.
21826         * dirent/dirent.h: Likewise.
21827         [__USE_MISC]: Remove redundant conditionals.
21828         * grp/grp.h: Update #endif comments.
21829         [__USE_GNU]: Remove redundant conditionals.
21830         [__USE_MISC]: Likewise.
21831         * inet/netinet/in.h [__USE_GNU]: Likewise.
21832         * io/sys/stat.h [__USE_MISC]: Likewise.
21833         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
21834         * libio/bits/stdio.h: Update #endif comments.
21835         [__USE_MISC]: Remove redundant conditionals.
21836         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
21837         * libio/stdio.h: Update #endif comments.
21838         [__USE_MISC]: Remove redundant conditionals.
21839         * math/bits/math-finite.h [__USE_MISC]: Likewise.
21840         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
21841         * math/math.h: Update #else and #endif comments.
21842         [__USE_MISC]: Remove redundant conditionals.
21843         * misc/sys/uio.h: Update #endif comments.
21844         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
21845         * posix/glob.h [__USE_MISC]: Likewise.
21846         * posix/sys/types.h: Update #endif comments.
21847         [__USE_MISC]: Remove redundant conditionals.
21848         * posix/sys/wait.h: Update #endif comments.
21849         [__USE_MISC]: Remove redundant conditionals.
21850         * posix/unistd.h: Update #endif comments.
21851         [__USE_MISC]: Remove redundant conditionals.
21852         * pwd/pwd.h [__USE_GNU]: Likewise.
21853         [__USE_MISC]: Likewise.
21854         * resolv/netdb.h [__USE_GNU]: Likewise.
21855         * signal/signal.h: Update #endif comments.
21856         [__USE_MISC]: Remove redundant conditionals.
21857         * stdlib/stdlib.h: Update #else and #endif comments.
21858         [__USE_MISC]: Remove redundant conditionals.
21859         [__USE_GNU]: Likewise.
21860         * string/bits/string2.h [__USE_MISC]: Likewise.
21861         * string/string.h: Update #endif comments.
21862         [__USE_MISC]: Remove redundant conditionals.
21863         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
21864         Likewise.
21865         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
21866         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
21867         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
21868         Likewise.
21869         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
21870         Likewise.
21871         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
21872         comments.
21873         [__USE_MISC]: Remove redundant conditionals.
21874         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
21875         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
21876         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
21877         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
21878         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
21879         Likewise.
21880         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
21881         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
21882         Likewise.
21883         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
21884         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
21885         Likewise.
21886         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
21887         Likewise.
21888         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
21889         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
21890         Likewise.
21891         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
21892         Likewise.
21893         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
21894         * sysdeps/x86/bits/string.h: Update #endif comments.
21895         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
21896         conditionals.
21897         * time/sys/time.h: Update #endif comments.
21898         * time/time.h: Likewise.
21899         [__USE_MISC]: Remove redundant conditionals.
21901 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
21903         [BZ #16600]
21904         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
21906 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
21908         * Versions.def (librt): Add GLIBC_2.17.
21910 2014-02-21  Adam Conrad  <adconrad@0c3.net>
21912         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
21913         synonym for _SYS_AUXV_H to allow direct inclusion.
21914         * sysdeps/sparc/bits/hwcap.h: Likewise.
21915         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
21916         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
21917         * sysdeps/sparc/sysdep.h: Likewise.
21919 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21921         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
21923 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21925         * benchtests/bench-strrchr.c: Print length instead of position.
21927 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
21929         [BZ #16611]
21930         * sysdeps/unix/sysv/linux/kernel-features.h
21931         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
21932         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
21933         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
21934         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
21935         Likewise.
21936         [__i386__ || __powerpc__ || __sh__ || __sparc__]
21937         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21938         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
21939         (__ASSUME_SENDMMSG): Define instead of using previous
21940         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
21941         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21942         (__ASSUME_SENDMMSG_SYSCALL): Define.
21943         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21944         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
21945         Likewise.
21946         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21947         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21948         Likewise.
21949         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21950         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21951         Likewise.
21952         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
21953         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
21954         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
21955         [__ASSUME_SENDMMSG]: Change conditionals to
21956         [__ASSUME_SENDMMSG_SOCKETCALL].
21957         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21958         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
21959         Define.
21960         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21961         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
21962         Likewise.
21963         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
21964         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
21965         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
21966         [!__ASSUME_SENDMMSG]: Change conditional to
21967         [!__ASSUME_SENDMMSG_SOCKETCALL].
21968         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21969         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21970         Define.
21972         [BZ #16610]
21973         * sysdeps/unix/sysv/linux/kernel-features.h
21974         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
21975         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
21976         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
21977         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
21978         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21979         [__i386__ || __sparc__]
21980         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21981         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
21982         (__ASSUME_RECVMMSG): Define instead of using previous
21983         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
21984         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21985         (__ASSUME_RECVMMSG_SYSCALL): Define.
21986         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21987         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21988         Likewise.
21989         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21990         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21991         Likewise.
21992         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21993         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21994         Likewise.
21995         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
21996         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
21997         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
21998         [__ASSUME_RECVMMSG]: Change condition to
21999         [__ASSUME_RECVMMSG_SOCKETCALL].
22000         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22001         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22002         Define.
22003         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22004         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22005         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22006         Likewise.
22007         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
22008         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
22009         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
22010         [!__ASSUME_RECVMMSG]: Change condition to
22011         [!__ASSUME_RECVMMSG_SOCKETCALL].
22012         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22013         (__ASSUME_RECVMMSG_SYSCALL): Define.
22015         [BZ #16609]
22016         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
22017         __powerpc__ || __s390__ || __sh__ || __sparc__]
22018         (__ASSUME_SOCKETCALL): Define.
22019         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
22020         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
22021         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
22022         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
22023         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22024         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
22025         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
22026         (__ASSUME_ACCEPT4): Define instead of using previous
22027         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
22028         __powerpc__ || __sparc__ || __s390__)] condition.
22029         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22030         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22031         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
22032         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22033         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22034         [!__ASSUME_ACCEPT4]: Change condition to
22035         [!__ASSUME_ACCEPT4_SOCKETCALL].
22036         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22037         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
22038         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
22039         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22040         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
22041         __ASSUME_ACCEPT4_SYSCALL.
22042         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
22043         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
22044         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22045         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
22046         __ASSUME_ACCEPT4_SYSCALL.
22047         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
22048         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22049         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22050         [__ASSUME_ACCEPT4]: Change condition to
22051         [__ASSUME_ACCEPT4_SOCKETCALL].
22052         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22053         (__ASSUME_SOCKETCALL): Define.
22054         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
22055         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22056         (__ASSUME_SOCKETCALL): Define.
22057         (__ASSUME_ACCEPT4): Remove.
22058         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
22059         Define.
22060         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22061         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
22062         Likewise.
22063         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22064         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22066         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
22067         macro.
22068         (HWCAP_ARM_LPAE): Likewise.
22069         (HWCAP_ARM_EVTSTRM): Likewise.
22070         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
22071         Add vpfd32, lpae and evtstrm.
22072         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
22073         Increase to 22.
22075 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
22077         * math/auto-libm-test-in: Add tests of clog10.
22078         * math/auto-libm-test-out: Regenerated.
22079         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
22080         * sysdeps/i386/fpu/libm-test-ulps: Update.
22081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22083 2014-02-18  Andreas Schwab  <schwab@suse.de>
22085         [BZ #16574]
22086         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
22087         Store non-zero if the second buffer was newly allocated.
22088         (send_dg): Likewise.
22089         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
22090         to send_vc and send_dg.
22091         (res_nsend): Pass NULL for ansp2_malloced.
22092         * resolv/res_query.c (__libc_res_nquery): Add parameter
22093         answerp2_malloced and pass it down to __libc_res_nsend.
22094         (res_nquery): Pass additional NULL to __libc_res_nquery.
22095         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
22096         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
22097         second answer buffer if answerp2_malloced was set.
22098         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
22099         (__libc_res_nquerydomain): Add parameter
22100         answerp2_malloced and pass it down to __libc_res_nquery.
22101         (res_nquerydomain): Pass additional NULL to
22102         __libc_res_nquerydomain.
22103         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
22104         additional NULL to __libc_res_nsend and __libc_res_nquery.
22105         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
22106         additional NULL to __libc_res_nsearch.
22107         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
22108         parameter of __libc_res_nsearch to check for separately allocated
22109         second buffer.
22110         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
22111         __libc_res_nquery.
22112         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
22113         additional NULL to __libc_res_nquery.
22114         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
22115         __libc_res_nsearch.
22116         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
22117         * include/resolv.h: Update prototypes of __libc_res_nquery,
22118         __libc_res_nsearch, __libc_res_nsend.
22120 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
22122         * math/auto-libm-test-in: Add tests of fma.
22123         * math/auto-libm-test-out: Regenerated.
22124         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
22125         (fma_towardzero_test_data): Likewise.
22126         (fma_downward_test_data): Likewise.
22127         (fma_upward_test_data): Likewise.
22128         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
22129         mpc_mode.
22130         (rounding_modes): Add values for new field.
22131         (func_calc_method): Add value mpfr_fff_f.
22132         (func_calc_desc): Add mpfr_fff_f union field.
22133         (test_function): Add field exact_args.
22134         (FUNC): Add macro argument EXACT_ARGS.
22135         (FUNC_mpfr_f_f): Update call to FUNC.
22136         (FUNC_mpfr_f_f): Likewise.
22137         (FUNC_mpfr_ff_f): Likewise.
22138         (FUNC_mpfr_if_f): Likewise.
22139         (FUNC_mpc_c_f): Likewise.
22140         (FUNC_mpc_c_c): Likewise.
22141         (test_functions): Add fma.  Update calls to FUNC.
22142         (handle_input_arg): Add argument exact_args.
22143         (add_test): Update call to handle_input_arg.
22144         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
22145         (output_for_one_input_case): Update call to calc_generic_results.
22146         Recalculate exact zero results in each rounding mode.
22148         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
22149         non-negative before setting low bit.
22150         * math/auto-libm-test-in: Mark one asin test possibly having
22151         spurious underflow.
22152         * math/auto-libm-test-out: Regenerated.
22153         * sysdeps/i386/fpu/libm-test-ulps: Update.
22154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22156 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
22158         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
22159         * sysdeps/unix/sysv/linux/microblaze: Move directory from
22160         ports/sysdeps/unix/sysv/linux/microblaze.
22161         * README: Add missing listing for microblaze*-*-linux-gnu.
22163 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
22165         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
22166         duplicate code
22168 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
22170         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
22171         * sysdeps/unix/sysv/linux/ia64: Move directory from
22172         ports/sysdeps/unix/sysv/linux/ia64.
22173         * README: Update listing for ia64-*-linux-gnu.
22175 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
22176             Joseph Myers  <joseph@codesourcery.com>
22178         * Makeconfig (test-name): New variable.
22179         (evaluate-test): Likewise.
22180         * Makerules (do-test-clean): Remove .test-result files.
22181         (common-mostlyclean): Likewise.
22182         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
22183         * scripts/evaluate-test.sh: New file.
22185 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
22187         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
22188         separate $(objpfx)tst-fopenloc-cmp.out and
22189         $(objpfx)tst-fopenloc-mem.out targets.
22190         (tests): Update dependencies.
22191         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
22192         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
22193         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
22194         (tst-rxspencer-no-utf8-ARGS): New variable.
22195         (tst-rxspencer-no-utf8-ENV): Likewise.
22196         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
22197         instead of $(objpfx)tst-rxspencer-mem.
22198         ($(objpfx)tst-rxspencer-mem): Change target to
22199         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
22200         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
22201         * posix/tst-rxspencer-no-utf8.c: New file.
22203         * elf/Makefile ($(objpfx)order.out): Remove rule.
22204         [$(run-built-tests) = yes] (tests): Depend on
22205         $(objpfx)order-cmp.out.
22206         ($(objpfx)order-cmp.out): New rule.
22207         [$(run-built-tests) = yes] (tests): Depend on
22208         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
22209         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
22210         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
22211         $(objpfx)tst-array5-static-cmp.out.
22212         ($(objpfx)tst-array1.out): Remove rule.
22213         ($(objpfx)tst-array1-cmp.out): New rule.
22214         ($(objpfx)tst-array1-static.out): Remove rule.
22215         ($(objpfx)tst-array1-static-cmp.out): New rule.
22216         ($(objpfx)tst-array2.out): Remove rule.
22217         ($(objpfx)tst-array2-cmp.out): New rule.
22218         ($(objpfx)tst-array3.out): Remove rule.
22219         ($(objpfx)tst-array3-cmp.out): New rule.
22220         ($(objpfx)tst-array4.out): Remove rule.
22221         ($(objpfx)tst-array4-cmp.out): New rule.
22222         ($(objpfx)tst-array5.out): Remove rule.
22223         ($(objpfx)tst-array5-cmp.out): New rule.
22224         ($(objpfx)tst-array5-static.out): Remove rule.
22225         ($(objpfx)tst-array5-static-cmp.out): New rule.
22226         [$(run-built-tests) = yes] (tests): Depend on
22227         $(objpfx)order2-cmp.out.
22228         ($(objpfx)order2.out): Remove rule.
22229         ($(objpfx)order2-cmp.out): New rule.
22230         ($(objpfx)tst-initorder.out): Remove rule.
22231         [$(run-built-tests) = yes] (tests): Depend on
22232         $(objpfx)tst-initorder-cmp.out.
22233         ($(objpfx)tst-initorder-cmp.out): New rule.
22234         ($(objpfx)tst-initorder2.out): Remove rule.
22235         [$(run-built-tests) = yes] (tests): Depend on
22236         $(objpfx)tst-initorder2-cmp.out.
22237         ($(objpfx)tst-initorder2-cmp.out): New rule.
22238         [$(run-built-tests) = yes] (tests): Depend on
22239         $(objpfx)tst-unused-dep-cmp.out.
22240         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
22241         ($(objpfx)tst-unused-dep-cmp.out): New rule.
22242         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
22243         on $(objpfx)tst-setvbuf1-cmp.out.
22244         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
22245         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
22246         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
22247         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
22248         ($(objpfx)tst-svc.out): Remove rule.
22249         ($(objpfx)tst-svc-cmp.out): New rule.
22251 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
22253         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
22254         * ctype/ctype.h [__USE_MISC]: Likewise.
22255         * dirent/dirent.h [__USE_MISC]: Likewise.
22256         * grp/grp.h [__USE_MISC]: Likewise.
22257         * io/fcntl.h [__USE_MISC]: Likewise.
22258         * io/sys/stat.h [__USE_MISC]: Likewise.
22259         * libio/stdio.h [__USE_MISC]: Likewise.
22260         * posix/unistd.h [__USE_MISC]: Likewise.
22261         * pwd/pwd.h [__USE_MISC]: Likewise.
22262         * stdlib.h [__USE_MISC]: Likewise.
22263         * string/bits/string2.h [__USE_MISC]: Likewise.
22264         * string/string.h [__USE_MISC]: Likewise.
22265         * time/time.h [__USE_MISC]: Likewise.
22267 2014-02-13  Andreas Schwab  <schwab@suse.de>
22269         [BZ #16574]
22270         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
22271         second answer buffer if it was separately allocated.
22273 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
22275         * sysdeps/mips/math-tests.h: Include <features.h>.
22276         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
22277         (ROUNDING_TESTS_long_double): Do not define.
22278         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
22279         (EXCEPTION_TESTS_long_double): Likewise.
22280         * sysdeps/mips/mips64/libm-test-ulps: Update.
22282         * include/features.h (__USE_BSD): Remove macro definitions.
22283         (__USE_SVID): Likewise.
22284         (_BSD_SOURCE): Likewise.
22285         (_SVID_SOURCE): Likewise.
22286         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
22287         from definition of _DEFAULT_SOURCE.
22288         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
22289         [_DEFAULT_SOURCE].
22290         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
22291         * bits/mman.h [__USE_BSD]: Likewise.
22292         * bits/termios.h [__USE_BSD]: Likewise.
22293         * bits/waitstatus.h [__USE_BSD]: Likewise.
22294         * ctype/ctype.h [__USE_SVID]: Likewise.
22295         * dirent/dirent.h [__USE_BSD]: Likewise.
22296         * grp/grp.h [__USE_SVID]: Likewise.
22297         [__USE_BSD]: Likewise.
22298         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
22299         * io/fcntl.h [__USE_BSD]: Likewise.
22300         * io/ftw.h [__USE_BSD]: Likewise.
22301         * io/sys/stat.h [__USE_BSD]: Likewise.
22302         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
22303         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
22304         * libio/stdio.h [__USE_SVID]: Likewise.
22305         [__USE_BSD]: Likewise.
22306         * math/math.h [__USE_SVID]: Likewise.
22307         [__USE_BSD]: Likewise.
22308         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
22309         * misc/bits/syslog.h [__USE_BSD]: Likewise.
22310         * misc/search.h [__USE_SVID]: Likewise.
22311         * misc/sys/mman.h [__USE_BSD]: Likewise.
22312         * misc/sys/syslog.h [__USE_BSD]: Likewise.
22313         * misc/sys/uio.h [__USE_BSD]: Likewise.
22314         * posix/bits/unistd.h [__USE_BSD]: Likewise.
22315         * posix/glob.h [__USE_BSD]: Likewise.
22316         * posix/regex.h [__USE_BSD]: Likewise.
22317         * posix/sys/types.h [__USE_BSD]: Likewise.
22318         [__USE_SVID]: Likewise.
22319         * posix/sys/utsname.h [__USE_SVID]: Likewise.
22320         * posix/sys/wait.h [__USE_BSD]: Likewise.
22321         [__USE_SVID]: Likewise.
22322         * posix/unistd.h [__USE_BSD]: Likewise.
22323         [__USE_SVID]: Likewise.
22324         * pwd/pwd.h [__USE_SVID]: Likewise.
22325         * resolv/netdb.h [__USE_BSD]: Likewise.
22326         * setjmp/setjmp.h [__USE_BSD]: Likewise.
22327         * signal/signal.h [__USE_BSD]: Likewise.
22328         [__USE_SVID]: Likewise.
22329         * socket/sys/socket.h [__USE_BSD]: Likewise.
22330         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
22331         * stdlib/stdlib.h [__USE_BSD]: Likewise.
22332         [__USE_SVID]: Likewise.
22333         * string/bits/string2.h [__USE_BSD]: Likewise.
22334         [__USE_SVID]: Likewise.
22335         * string/bits/string3.h [__USE_BSD]: Likewise.
22336         * string/endian.h [__USE_BSD]: Likewise.
22337         * string/string.h [__USE_SVID]: Likewise.
22338         [__USE_BSD]: Likewise.
22339         * string/strings.h [__USE_BSD]: Likewise.
22340         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
22341         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
22342         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
22343         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
22344         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
22345         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
22346         Likewise.
22347         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
22348         Likewise.
22349         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
22350         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
22351         Likewise.
22352         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
22353         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
22354         Likewise.
22355         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
22356         Likewise.
22357         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
22358         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
22359         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
22360         Likewise.
22361         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
22362         Likewise.
22363         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
22364         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
22365         * termios/termios.h [__USE_BSD]: Likewise.
22366         * time/sys/time.h [__USE_BSD]: Likewise.
22367         * time/time.h [__USE_BSD]: Likewise.
22368         [__USE_SVID]: Likewise.
22370         * Makefile (subdir_targets): Remove subdir_lint.out.
22372         * stdio-common/Makefile (do-tst-unbputc): Remove target.
22373         (do-tst-printf): Likewise.
22374         (tests): Depend directly on $(objpfx)tst-unbputc.out and
22375         $(objpfx)tst-printf.out.
22377         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
22379         * Makerules (check-abi-%): Change target to
22380         $(objpfx)check-abi-%.out.
22381         (check-abi target): Update dependencies.
22382         (check-abi-pattern variable): Redirect output of diff to $@.
22383         (check-abi variable): Likewise.
22384         * elf/Makefile (check-abi): Update dependencies.
22386         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
22387         unused.
22388         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
22389         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
22390         subnormal range.
22391         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
22392         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
22393         value has largest subnormal exponent.
22394         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
22395         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
22396         * sysdeps/aarch64/soft-fp/sfp-machine.h
22397         (_FP_TININESS_AFTER_ROUNDING): New macro.
22398         * sysdeps/alpha/soft-fp/sfp-machine.h
22399         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22400         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22401         Likewise.
22402         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
22403         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22404         * sysdeps/mips/soft-fp/sfp-machine.h
22405         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22406         * sysdeps/powerpc/soft-fp/sfp-machine.h
22407         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22408         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22409         Likewise.
22410         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22411         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22412         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22413         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22414         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22415         Likewise.
22417 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
22419         [BZ #16545]
22420         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
22421         model 1.
22423 2014-02-12  Richard Henderson  <rth@redhat.com>
22425         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
22426         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
22427         * sysdeps/unix/sysv/linux/alpha: Move directory from
22428         ports/sysdeps/unix/sysv/linux/alpha.
22429         * README: Update listing for alpha-*-linux-gnu.
22431 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
22433         * include/features.h: Update comment documenting feature test
22434         macros.
22435         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
22436         _DEFAULT_SOURCE.
22437         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
22438         (_SVID_SOURCE): Likewise.
22439         (_DEFAULT_SOURCE): Update description of default features.
22440         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
22441         with _GNU_SOURCE.
22442         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
22443         (S_ISVTX): Likewise.
22444         * manual/math.texi (Mathematical Constants): Likewise.
22445         * manual/signal.texi (Interrupted Primitives): Likewise.
22446         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
22447         * math/test-matherr.c (_SVID_SOURCE): Do not define.
22448         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
22449         Don't refer to _SVID_SOURCE in warning text.
22451         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22453         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
22454         already defined.
22455         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
22456         * sysdeps/mips/dl-lookup.c: Remove.
22457         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
22459 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
22461         [BZ #16447]
22462         * math/auto-libm-test-in: Add testcase for expl.
22463         * math/auto-libm-test-out: Regenerate.
22464         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
22465         calculation of unsafe.
22466         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
22468 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
22470         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
22471         * sysdeps/unix/sysv/linux/aarch64: Move directory from
22472         ports/sysdeps/unix/sysv/linux/aarch64.
22473         * README: Update listing for aarch64*-*-linux-gnu.
22475 2014-02-11  Will Newton  <will.newton@linaro.org>
22477         * manual/probes.texi (Mathematical Function Probes): Use
22478         "triggered" instead of "hit".
22480         * manual/probes.texi (Internal Probes): Add documentation
22481         of setjmp, longjmp and longjmp_target probes.
22483         * include/stap-probe.h: Add comment about probe argument
22484         format.
22486         * malloc/mtrace.c (attribute_hidden): Remove unused macro
22487         definition.  (tr_where, tr_freehook, tr_mallochook,
22488         tr_reallochook, tr_memalignhook): Use ANSI protoype.
22490 2014-02-11  David S. Miller  <davem@davemloft.net>
22492         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
22493         processing int_tests.
22495 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
22497         * sysdeps/mips: Move directory from ports/sysdeps/mips.
22498         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
22499         * sysdeps/unix/sysv/linux/mips: Move directory from
22500         ports/sysdeps/unix/sysv/linux/mips.
22501         * README: Update listing for mips-*-linux-gnu and
22502         mips64-*-linux-gnu.
22504 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
22506         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
22507         * sysdeps/unix/sysv/linux/m68k: Move directory from
22508         ports/sysdeps/unix/sysv/linux/m68k.
22509         * README: Update listing for m68k-*-linux-gnu.
22511 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
22513         * sysdeps/tile: Move directory from ports/sysdeps/tile.
22514         * sysdeps/unix/sysv/linux/generic: Move directory from
22515         ports/sysdeps/unix/sysv/linux/generic.
22516         * sysdeps/unix/sysv/linux/tile: Move directory from
22517         ports/sysdeps/unix/sysv/linux/tile.
22518         * README: Update listing for tile*-*-linux-gnu.
22520 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
22522         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
22523         __builtin_expect.
22524         * benchtests/bench-memmem.c (simple_memmem): Likewise.
22525         * catgets/open_catalog.c (__open_catalog): Likewise.
22526         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
22527         * debug/confstr_chk.c: Likewise.
22528         * debug/fread_chk.c (__fread_chk): Likewise.
22529         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
22530         * debug/getgroups_chk.c: Likewise.
22531         * debug/mbsnrtowcs_chk.c: Likewise.
22532         * debug/mbsrtowcs_chk.c: Likewise.
22533         * debug/mbstowcs_chk.c: Likewise.
22534         * debug/memcpy_chk.c: Likewise.
22535         * debug/memmove_chk.c: Likewise.
22536         * debug/mempcpy_chk.c: Likewise.
22537         * debug/memset_chk.c: Likewise.
22538         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
22539         * debug/strcat_chk.c (__strcat_chk): Likewise.
22540         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
22541         * debug/strncat_chk.c (__strncat_chk): Likewise.
22542         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
22543         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
22544         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
22545         * debug/wcpncpy_chk.c: Likewise.
22546         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
22547         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
22548         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
22549         * debug/wcsncpy_chk.c: Likewise.
22550         * debug/wcsnrtombs_chk.c: Likewise.
22551         * debug/wcsrtombs_chk.c: Likewise.
22552         * debug/wcstombs_chk.c: Likewise.
22553         * debug/wmemcpy_chk.c: Likewise.
22554         * debug/wmemmove_chk.c: Likewise.
22555         * debug/wmempcpy_chk.c: Likewise.
22556         * debug/wmemset_chk.c: Likewise.
22557         * dirent/scandirat.c (SCANDIRAT): Likewise.
22558         * dlfcn/dladdr1.c (dladdr1): Likewise.
22559         * dlfcn/dladdr.c (dladdr): Likewise.
22560         * dlfcn/dlclose.c (dlclose_doit): Likewise.
22561         * dlfcn/dlerror.c (__dlerror): Likewise.
22562         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
22563         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
22564         * dlfcn/dlopen.c (dlopen_doit): Likewise.
22565         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
22566         * dlfcn/dlsym.c (dlsym_doit): Likewise.
22567         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
22568         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
22569         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
22570         Likewise.
22571         * elf/dl-conflict.c: Likewise.
22572         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
22573         * elf/dl-dst.h: Likewise.
22574         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
22575         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
22576         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
22577         * elf/dl-init.c (call_init, _dl_init): Likewise.
22578         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
22579         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
22580         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
22581         Likewise.
22582         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
22583         Likewise.
22584         * elf/dl-minimal.c (__libc_memalign): Likewise.
22585         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
22586         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
22587         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
22588         * elf/dl-sym.c (do_sym): Likewise.
22589         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
22590         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
22591         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
22592         * elf/dl-writev.h (_dl_writev): Likewise.
22593         * elf/ldconfig.c (search_dir): Likewise.
22594         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
22595         (dl_main): Likewise.
22596         * elf/setup-vdso.h (setup_vdso): Likewise.
22597         * grp/compat-initgroups.c (compat_call): Likewise.
22598         * grp/fgetgrent.c (fgetgrent): Likewise.
22599         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
22600         * grp/putgrent.c (putgrent): Likewise.
22601         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22602         Likewise.
22603         * hurd/hurdinit.c: Likewise.
22604         * iconvdata/8bit-gap.c (struct): Likewise.
22605         * iconvdata/ansi_x3.110.c : Likewise.
22606         * iconvdata/big5.c : Likewise.
22607         * iconvdata/big5hkscs.c : Likewise.
22608         * iconvdata/cp1255.c: Likewise.
22609         * iconvdata/cp1258.c : Likewise.
22610         * iconvdata/cp932.c : Likewise.
22611         * iconvdata/euc-cn.c: Likewise.
22612         * iconvdata/euc-jisx0213.c : Likewise.
22613         * iconvdata/euc-jp.c: Likewise.
22614         * iconvdata/euc-jp-ms.c : Likewise.
22615         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
22616         * iconvdata/gb18030.c : Likewise.
22617         * iconvdata/gbbig5.c (const): Likewise.
22618         * iconvdata/gbgbk.c: Likewise.
22619         * iconvdata/gbk.c : Likewise.
22620         * iconvdata/ibm1364.c : Likewise.
22621         * iconvdata/ibm930.c : Likewise.
22622         * iconvdata/ibm932.c: Likewise.
22623         * iconvdata/ibm933.c : Likewise.
22624         * iconvdata/ibm935.c : Likewise.
22625         * iconvdata/ibm937.c : Likewise.
22626         * iconvdata/ibm939.c : Likewise.
22627         * iconvdata/ibm943.c: Likewise.
22628         * iconvdata/iso_11548-1.c: Likewise.
22629         * iconvdata/iso-2022-cn.c : Likewise.
22630         * iconvdata/iso-2022-cn-ext.c : Likewise.
22631         * iconvdata/iso-2022-jp-3.c: Likewise.
22632         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
22633         * iconvdata/iso-2022-kr.c : Likewise.
22634         * iconvdata/iso646.c (gconv_end): Likewise.
22635         * iconvdata/iso_6937-2.c : Likewise.
22636         * iconvdata/iso_6937.c : Likewise.
22637         * iconvdata/iso8859-1.c: Likewise.
22638         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
22639         * iconvdata/shift_jisx0213.c : Likewise.
22640         * iconvdata/sjis.c : Likewise.
22641         * iconvdata/t.61.c : Likewise.
22642         * iconvdata/tcvn5712-1.c : Likewise.
22643         * iconvdata/tscii.c: Likewise.
22644         * iconvdata/uhc.c : Likewise.
22645         * iconvdata/unicode.c (gconv_end): Likewise.
22646         * iconvdata/utf-16.c (gconv_end): Likewise.
22647         * iconvdata/utf-32.c (gconv_end): Likewise.
22648         * iconvdata/utf-7.c (base64): Likewise.
22649         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
22650         * iconv/gconv_close.c (__gconv_close): Likewise.
22651         * iconv/gconv_open.c (__gconv_open): Likewise.
22652         * iconv/gconv_simple.c (internal_ucs4_loop_single)
22653         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
22654         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
22655         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
22656         (ucs4le_internal_loop_single): Likewise.
22657         * iconv/iconv.c (iconv): Likewise.
22658         * iconv/iconv_close.c: Likewise.
22659         * iconv/loop.c (SINGLE): Likewise.
22660         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
22661         * include/atomic.h: Likewise.
22662         * inet/inet6_option.c (option_alloc): Likewise.
22663         * intl/bindtextdom.c (set_binding_values): Likewise.
22664         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
22665         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
22666         * intl/localealias.c (read_alias_file): Likewise.
22667         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
22668         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
22669         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
22670         * libio/fmemopen.c (fmemopen): Likewise.
22671         * libio/iofgets.c (_IO_fgets): Likewise.
22672         * libio/iofgets_u.c (fgets_unlocked): Likewise.
22673         * libio/iofgetws.c (fgetws): Likewise.
22674         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
22675         * libio/iogetdelim.c (_IO_getdelim): Likewise.
22676         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
22677         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
22678         * locale/findlocale.c (_nl_find_locale): Likewise.
22679         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
22680         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
22681         Likewise.
22682         * locale/setlocale.c (setlocale): Likewise.
22683         * login/programs/pt_chown.c (main): Likewise.
22684         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
22685         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
22686         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
22687         (mmap, mmap64, mremap, munmap): Likewise.
22688         * math/e_exp2l.c: Likewise.
22689         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
22690         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
22691         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
22692         * math/s_catan.c (__catan): Likewise.
22693         * math/s_catanf.c (__catanf): Likewise.
22694         * math/s_catanh.c (__catanh): Likewise.
22695         * math/s_catanhf.c (__catanhf): Likewise.
22696         * math/s_catanhl.c (__catanhl): Likewise.
22697         * math/s_catanl.c (__catanl): Likewise.
22698         * math/s_ccosh.c (__ccosh): Likewise.
22699         * math/s_ccoshf.c (__ccoshf): Likewise.
22700         * math/s_ccoshl.c (__ccoshl): Likewise.
22701         * math/s_cexp.c (__cexp): Likewise.
22702         * math/s_cexpf.c (__cexpf): Likewise.
22703         * math/s_cexpl.c (__cexpl): Likewise.
22704         * math/s_clog10.c (__clog10): Likewise.
22705         * math/s_clog10f.c (__clog10f): Likewise.
22706         * math/s_clog10l.c (__clog10l): Likewise.
22707         * math/s_clog.c (__clog): Likewise.
22708         * math/s_clogf.c (__clogf): Likewise.
22709         * math/s_clogl.c (__clogl): Likewise.
22710         * math/s_csin.c (__csin): Likewise.
22711         * math/s_csinf.c (__csinf): Likewise.
22712         * math/s_csinh.c (__csinh): Likewise.
22713         * math/s_csinhf.c (__csinhf): Likewise.
22714         * math/s_csinhl.c (__csinhl): Likewise.
22715         * math/s_csinl.c (__csinl): Likewise.
22716         * math/s_csqrt.c (__csqrt): Likewise.
22717         * math/s_csqrtf.c (__csqrtf): Likewise.
22718         * math/s_csqrtl.c (__csqrtl): Likewise.
22719         * math/s_ctan.c (__ctan): Likewise.
22720         * math/s_ctanf.c (__ctanf): Likewise.
22721         * math/s_ctanh.c (__ctanh): Likewise.
22722         * math/s_ctanhf.c (__ctanhf): Likewise.
22723         * math/s_ctanhl.c (__ctanhl): Likewise.
22724         * math/s_ctanl.c (__ctanl): Likewise.
22725         * math/w_pow.c: Likewise.
22726         * math/w_powf.c: Likewise.
22727         * math/w_powl.c: Likewise.
22728         * math/w_scalb.c (sysv_scalb): Likewise.
22729         * math/w_scalbf.c (sysv_scalbf): Likewise.
22730         * math/w_scalbl.c (sysv_scalbl): Likewise.
22731         * misc/error.c (error_tail): Likewise.
22732         * misc/pselect.c (__pselect): Likewise.
22733         * nis/nis_callback.c (__nis_create_callback): Likewise.
22734         * nis/nis_call.c (__nisfind_server): Likewise.
22735         * nis/nis_creategroup.c (nis_creategroup): Likewise.
22736         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
22737         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
22738         * nis/nis_getservlist.c (nis_getservlist): Likewise.
22739         * nis/nis_lookup.c (nis_lookup): Likewise.
22740         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
22741         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
22742         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
22743         * nis/nis_xdr.c (xdr_endpoint): Likewise.
22744         * nis/nss_compat/compat-grp.c (getgrent_next_file)
22745         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
22746         * nis/nss_compat/compat-initgroups.c (add_group)
22747         (internal_getgrent_r): Likewise.
22748         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
22749         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
22750         * nis/nss_compat/compat-spwd.c (getspent_next_file)
22751         (internal_getspnam_r): Likewise.
22752         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
22753         (_nss_nis_getaliasbyname_r): Likewise.
22754         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
22755         (_nss_nis_getntohost_r): Likewise.
22756         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
22757         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
22758         (_nss_nis_getgrgid_r): Likewise.
22759         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
22760         (internal_nis_gethostent_r, internal_gethostbyname2_r)
22761         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
22762         (_nss_nis_gethostbyname4_r): Likewise.
22763         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
22764         (initgroups_netid): Likewise.
22765         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
22766         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
22767         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
22768         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
22769         (_nss_nis_getprotobynumber_r): Likewise.
22770         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
22771         (_nss_nis_getsecretkey): Likewise.
22772         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
22773         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
22774         (_nss_nis_getpwuid_r): Likewise.
22775         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
22776         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
22777         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
22778         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
22779         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
22780         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
22781         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
22782         Likewise.
22783         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
22784         (_nss_nisplus_getntohost_r): Likewise.
22785         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
22786         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
22787         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
22788         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
22789         Likewise.
22790         * nis/nss_nisplus/nisplus-initgroups.c
22791         (_nss_nisplus_initgroups_dyn): Likewise.
22792         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
22793         (_nss_nisplus_getnetbyaddr_r): Likewise.
22794         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
22795         (_nss_nisplus_getprotobynumber_r): Likewise.
22796         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
22797         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
22798         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
22799         Likewise.
22800         * nis/nss_nisplus/nisplus-service.c
22801         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
22802         (_nss_nisplus_getservbyport_r): Likewise.
22803         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
22804         (_nss_nisplus_getspnam_r): Likewise.
22805         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
22806         Likewise.
22807         * nscd/aicache.c (addhstaiX): Likewise.
22808         * nscd/cache.c (cache_search, prune_cache): Likewise.
22809         * nscd/connections.c (register_traced_file, send_ro_fd)
22810         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
22811         (main_loop_epoll): Likewise.
22812         * nscd/grpcache.c (addgrbyX): Likewise.
22813         * nscd/hstcache.c (addhstbyX): Likewise.
22814         * nscd/initgrcache.c (addinitgroupsX): Likewise.
22815         * nscd/mem.c (gc, mempool_alloc): Likewise.
22816         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
22817         (addinnetgrX): Likewise.
22818         * nscd/nscd-client.h (__nscd_acquire_maplock)
22819         (__nscd_drop_map_ref): Likewise.
22820         * nscd/nscd_getai.c (__nscd_getai): Likewise.
22821         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
22822         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
22823         Likewise.
22824         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
22825         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
22826         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
22827         (__nscd_get_map_ref): Likewise.
22828         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
22829         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
22830         Likewise.
22831         * nscd/pwdcache.c (addpwbyX): Likewise.
22832         * nscd/selinux.c (preserve_capabilities): Likewise.
22833         * nscd/servicescache.c (addservbyX): Likewise.
22834         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
22835         * posix/fnmatch.c (fnmatch): Likewise.
22836         * posix/getopt.c (_getopt_internal_r): Likewise.
22837         * posix/glob.c (glob, glob_in_dir): Likewise.
22838         * posix/wordexp.c (exec_comm_child): Likewise.
22839         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
22840         (getanswer_r, gaih_getanswer_slice): Likewise.
22841         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
22842         * resolv/res_init.c: Likewise.
22843         * resolv/res_mkquery.c (res_nmkquery): Likewise.
22844         * resolv/res_query.c (__libc_res_nquery): Likewise.
22845         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
22846         Likewise.
22847         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
22848         * stdio-common/perror.c (perror): Likewise.
22849         * stdio-common/printf_fp.c (___printf_fp): Likewise.
22850         * stdio-common/tmpnam.c (tmpnam): Likewise.
22851         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
22852         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
22853         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
22854         Likewise.
22855         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
22856         * stdlib/putenv.c (putenv): Likewise.
22857         * stdlib/setenv.c (__add_to_environ): Likewise.
22858         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
22859         * stdlib/strtol_l.c (INTERNAL): Likewise.
22860         * string/memmem.c (memmem): Likewise.
22861         * string/strerror.c (strerror): Likewise.
22862         * string/strnlen.c (__strnlen): Likewise.
22863         * string/test-memmem.c (simple_memmem): Likewise.
22864         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
22865         * sunrpc/pm_getport.c (__get_socket): Likewise.
22866         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
22867         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
22868         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
22869         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
22870         Likewise.
22871         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
22872         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
22873         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
22874         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
22875         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
22876         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
22877         Likewise.
22878         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
22879         Likewise.
22880         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
22881         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
22882         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22883         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
22884         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
22885         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
22886         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
22887         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
22888         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
22889         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
22890         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
22891         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
22892         Likewise.
22893         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
22894         Likewise.
22895         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
22896         Likewise.
22897         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
22898         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22899         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
22900         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
22901         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
22902         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
22903         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22904         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
22905         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
22906         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
22907         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
22908         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22909         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22910         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
22911         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22912         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
22913         Likewise.
22914         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
22915         Likewise.
22916         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
22917         Likewise.
22918         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
22919         Likewise.
22920         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22921         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22922         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
22923         Likewise.
22924         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
22925         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
22926         * sysdeps/posix/opendir.c (__opendirat): Likewise.
22927         * sysdeps/posix/sleep.c: Likewise.
22928         * sysdeps/posix/tempname.c: Likewise.
22929         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
22930         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22931         Likewise.
22932         * sysdeps/powerpc/powerpc32/dl-machine.h
22933         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
22934         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
22935         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22936         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
22937         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
22938         Likewise.
22939         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
22940         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
22941         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
22942         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
22943         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
22944         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
22945         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
22946         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
22947         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22948         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
22949         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
22950         (elf_machine_lazy_rel): Likewise.
22951         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
22952         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
22953         (elf_machine_lazy_rel): Likewise.
22954         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
22955         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
22956         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
22957         * sysdeps/unix/grantpt.c (grantpt): Likewise.
22958         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
22959         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
22960         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
22961         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22962         Likewise.
22963         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
22964         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
22965         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
22966         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
22967         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22968         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22969         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
22970         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
22971         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
22972         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22973         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22974         Likewise.
22975         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
22976         (__posix_fallocate64_l64): Likewise.
22977         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
22978         (posix_fallocate): Likewise.
22979         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
22980         Likewise.
22981         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22982         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
22983         (getifaddrs_internal): Likewise.
22984         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
22985         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
22986         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
22987         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
22988         * sysdeps/unix/sysv/linux/posix_fallocate64.c
22989         (__posix_fallocate64_l64): Likewise.
22990         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
22991         Likewise.
22992         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
22993         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
22994         (__get_clockfreq): Likewise.
22995         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
22996         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
22997         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
22998         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22999         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23000         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
23001         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
23002         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
23003         Likewise.
23004         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
23005         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
23006         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
23007         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
23008         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23009         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
23010         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
23011         Likewise.
23012         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23013         (posix_fallocate): Likewise.
23014         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23015         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
23016         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
23017         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
23018         (elf_machine_rela, elf_machine_rela_relative)
23019         (elf_machine_lazy_rel): Likewise.
23020         * time/asctime.c (asctime_internal): Likewise.
23021         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
23022         * time/tzset.c (__tzset_parse_tz): Likewise.
23023         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
23024         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
23025         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
23026         * wcsmbs/wcsmbsload.h: Likewise.
23028         [BZ #15894]
23029         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
23031         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
23032         (arena_get2): Remove THREAD_STATS conditionals.
23033         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
23034         (__malloc_stats, int): Likewise.
23036 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
23038         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
23039         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
23041         * manual/setjmp.texi: Fix typos/grammar errors.
23043         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
23044         Only return early when n is <= 0.  Delete unused return statement.
23046         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
23047         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
23048         * debug/tst-longjmp_chk3.c: New file.
23050         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
23051         (test_main): Replace code with set_fortify_handler call.
23052         * debug/test-strcpy_chk.c: Likewise.
23053         * debug/tst-chk1.c: Likewise.
23054         * debug/tst-longjmp_chk.c: Likewise.
23055         * test-skeleton.c: Include fcntl.h & paths.h
23056         (set_fortify_handler): Define.
23058         * debug/tst-longjmp_chk.c: Add header comment and include
23059         ../test-skeleton.c.
23060         (do_test): Mark static.
23061         (TEST_FUNCTION): Define.
23063         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
23064         (IP_PMTUDISC_INTERFACE): Likewise.
23065         (IP_MULTICAST_IF): Likewise.
23066         (IP_MULTICAST_TTL): Likewise.
23067         (IP_MULTICAST_LOOP): Likewise.
23068         (IP_ADD_MEMBERSHIP): Likewise.
23069         (IP_DROP_MEMBERSHIP): Likewise.
23070         (IP_UNBLOCK_SOURCE): Likewise.
23071         (IP_BLOCK_SOURCE): Likewise.
23072         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
23073         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
23074         (IP_MSFILTER): Likewise.
23075         (MCAST_JOIN_GROUP): Likewise.
23076         (MCAST_BLOCK_SOURCE): Likewise.
23077         (MCAST_UNBLOCK_SOURCE): Likewise.
23078         (MCAST_LEAVE_GROUP): Likewise.
23079         (MCAST_JOIN_SOURCE_GROUP): Likewise.
23080         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
23081         (MCAST_MSFILTER): Likewise.
23082         (IP_MULTICAST_ALL): Likewise.
23083         (IP_UNICAST_IF): Likewise.
23085         * timezone/Makefile: Delete $(have-ksh) check.
23086         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
23087         * timezone/tzselect.ksh: Add +x mode bits.
23089         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
23090         (ANON_INODE_FS_MAGIC): Likewise.
23091         (BDEVFS_MAGIC): Likewise.
23092         (BINFMTFS_MAGIC): Likewise.
23093         (BTRFS_TEST_MAGIC): Likewise.
23094         (CRAMFS_MAGIC_WEND): Likewise.
23095         (DEBUGFS_MAGIC): Likewise.
23096         (ECRYPTFS_SUPER_MAGIC): Likewise.
23097         (EXT3_SUPER_MAGIC): Likewise.
23098         (EXT4_SUPER_MAGIC): Likewise.
23099         (FUTEXFS_SUPER_MAGIC): Likewise.
23100         (HOSTFS_SUPER_MAGIC): Likewise.
23101         (HUGETLBFS_MAGIC): Likewise.
23102         (MINIX3_SUPER_MAGIC): Likewise.
23103         (MTD_INODE_FS_MAGIC): Likewise.
23104         (NILFS_SUPER_MAGIC): Likewise.
23105         (OPENPROM_SUPER_MAGIC): Likewise.
23106         (PIPEFS_MAGIC): Likewise.
23107         (PSTOREFS_MAGIC): Likewise.
23108         (QNX6_SUPER_MAGIC): Likewise.
23109         (RAMFS_MAGIC): Likewise.
23110         (REISERFS_SUPER_MAGIC_STRING): Likewise.
23111         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
23112         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
23113         (SECURITYFS_MAGIC): Likewise.
23114         (SELINUX_MAGIC): Likewise.
23115         (SMACK_MAGIC): Likewise.
23116         (SOCKFS_MAGIC): Likewise.
23117         (SQUASHFS_MAGIC): Likewise.
23118         (STACK_END_MAGIC): Likewise.
23119         (TMPFS_MAGIC): Likewise.
23120         (USBDEVICE_SUPER_MAGIC): Likewise.
23121         (V9FS_MAGIC): Likewise.
23122         (XENFS_SUPER_MAGIC): Likewise.
23123         (CRAMFS_MAGIC): Fix typo in comment.
23124         (EXT2_SUPER_MAGIC): Update comment.
23125         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
23127 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
23129         * sysdeps/arm: Move directory from ports/sysdeps/arm.
23130         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
23131         * sysdeps/unix/sysv/linux/arm: Move directory from
23132         ports/sysdeps/unix/sysv/linux/arm.
23133         * README: Update listing for arm-*-linux-gnueabi.
23135         * README: Remove mention of am33.
23137 2014-02-07  Roland McGrath  <roland@hack.frob.com>
23139         * bits/sigset.h (__sigemptyset): Use a statement expression rather
23140         than the comma operator, to avoid "rhs of comma has no effect"
23141         compiler warnings.
23142         (__sigfillset, __sigandset, __sigorset): Likewise.
23143         * include/signal.h (__sigemptyset): Likewise.
23144         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
23146 2014-02-07  Allan McRae  <allan@archlinux.org>
23148         * version.h (RELEASE): Set to "development".
23149         (VERSION): Set to "2.19.90"
23150         * NEWS: Add 2.20 section.
23152 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
23154         [BZ #16529]
23155         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
23157 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
23159         * manual/contrib.texi: Update entry for Carlos O'Donell,
23160         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
23162 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
23164         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
23166         * sysdeps/unix/sysv/linux/kernel-features.h
23167         [__LINUX_KERNEL_VERSION >= 0x020621]
23168         (__ASSUME_PROC_PID_TASK_COMM): Define.
23170 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
23172         [BZ #16398]
23173         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
23174         conversion when destination buffer does not have enough space.
23175         * libio/tst-ftell-partial-wide.c: New test case.
23176         * libio/Makefile (tests): Add tst-ftell-partial-wide.
23178         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
23179         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
23180         Leonard and Allan McRae.
23182 2014-02-04  David S. Miller  <davem@davemloft.net>
23184         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
23185         32-bit.
23187 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
23190         New file
23191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
23192         New file
23193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
23194         New file.
23195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
23196         New file.
23197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
23198         New file.
23199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
23200         New file.
23201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
23202         New file.
23203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
23204         New file.
23205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
23206         New file.
23207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
23208         New file.
23209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
23210         New file.
23211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
23212         New file.
23213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
23214         New file.
23216 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23218         * nptl/shlib-versions: Change powerpc*le start to 2.17.
23219         * shlib-versions: Likewise.
23221 2014-02-04  Roland McGrath  <roland@hack.frob.com>
23222             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23224         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
23225         (abilist-pattern): New variable, set to %-le.abilist.
23227         * Makerules (abilist-pattern): New variable.
23228         (vpath): Use $(abilist-pattern) in place of %.abilist.
23229         (check-abi-% pattern rule): Likewise.
23230         (check-abi, update-abi): Likewise.
23232 2014-02-04  Eric Wong  <normalperson@yhbt.net>
23234         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23236 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
23238         * manual/startup.texi: Add next, previous, and top entries for
23239         the `Program Arguments' and `Environment Variables' nodes.
23241 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
23243         * manual/macros.texi: Add comments before MTASC-safety macros.
23245         * manual/users.texi: Document MTASC-safety properties.
23247         * manual/threads.texi (pthread_key_create, pthread_key_delete)
23248         (pthread_getspecific, pthread_setspecific): Format with
23249         @deftypefun, and add @safety note.
23250         * manual/signal.texi: Move comments that analyze the above
23251         functions to their home place.
23253 2014-02-03  Allan McRae  <allan@archlinux.org>
23255         * po/sl.po: Update Slovenian translation from translation project.
23257 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
23259         * manual/time.texi (timegm): Add missing blank after @c.
23260         Reported by Joseph Myers <joseph@codesourcery.com>.
23262 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
23264         * manual/check-safety.sh: New.
23265         * manual/Makefile ($(objpfx)stamp-summary): Run it.
23267         * manual/terminal.texi: Document MTASC-safety properties.
23269         * manual/filesys.texi: Document MTASC-safety properties.
23271         * manual/errno.texi: Document MTASC-safety properties.
23273         * manual/intro.texi: Document safety identifiers and
23274         conditionals.
23276         * manual/string.texi (wcstok): Fix prototype.
23277         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
23279         * manual/time.texi: Document MTASC-safety properties.
23281         * manual/string.texi: Document MTASC-safety properties.
23283         * manual/threads.texi: Document MTASC-safety properties.
23285         * manual/stdio.texi: Document MTASC-safety properties.
23287         * manual/syslog.texi: Document MTASC-safety properties.
23289         * manual/sysinfo.texi: Document MTASC-safety properties.
23291         * manual/startup.texi: Document MTASC-safety properties.
23293         * manual/socket.texi: Document MTASC-safety properties.
23295         * manual/signal.texi: Document MTASC-safety properties.
23297 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
23299         * manual/setjmp.texi: Document MTASC-safety properties.
23301         * manual/search.texi: Document MTASC-safety properties.
23303         * manual/resource.texi: Document MTASC-safety properties.
23305         * manual/process.texi: Document MTASC-safety properties.
23307         * manual/platform.texi: Document MTASC-safety properties.
23309         * manual/pipe.texi: Document MTASC-safety properties.
23311         * manual/pattern.texi: Document MTASC-safety properties.
23313         * manual/message.texi: Document MTASC-safety properties.
23315         [BZ #12751]
23316         * manual/memory.texi: Document MTASC-safety properties.
23318         * manual/math.texi: Document MTASC-safety properties.
23320         * manual/locale.texi: Document MTASC-safety properties.
23322         * manual/llio.texi: Document MTASC-safety properties.
23324         * manual/libdl.texi: New.
23326         * manual/lang.texi: Document MTASC-safety properties.
23328         * manual/job.texi: Document MTASC-safety properties.
23330         * manual/getopt.texi: Document MTASC-safety properties.
23332         * manual/ctype.texi: Document MTASC-safety properties.
23334 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
23336         [BZ #16046]
23337         * csu/libc-tls.c (static_map): Remove variable.
23338         (__libc_setup_tls): Use main executable's link map for TLS data.
23339         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
23340         casing for LM_ID_BASE and GL(dl_nns).
23341         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
23342         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
23343         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
23344         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
23345         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
23346         member.
23347         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
23348         l_phnum members.
23350 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
23352         * manual/debug.texi: Document MTASC-safety properties.
23354 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
23356         [BZ #16510]
23357         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
23358         of __x86_64__ when disabling x87 inline functions.
23360 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
23362         * manual/charset.texi: Document MTASC-safety properties.
23364         * manual/crypt.texi: Document MTASC-safety properties.
23366         * manual/conf.texi: Document MTASC-safety properties.
23368         * manual/arith.texi: Document MTASC-safety properties.
23370         * manual/argp.texi: Document MTASC-safety properties.
23372         * manual/macros.texi: Introduce macros to document multi
23373         thread, asynchronous signal and asynchronous cancellation
23374         safety properties.
23375         * manual/intro.texi: Introduce the properties themselves.
23377 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23379         * sysdeps/sh/sh4/Makefile: New file.
23381 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
23383         * math/gen-libm-test.pl ($srcdir): New variable.
23384         ($auto_input): Use it.
23386 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23388         [BZ #16506]
23389         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
23390         access beyond array bounds when parsing netgroups file.
23392         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
23393         the old buffer before realloc.
23395 2014-01-27  Allan McRae  <allan@archlinux.org>
23397         * po/fr.po: Update French translation from translation project.
23399 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23401         * sysdeps/sh/libm-test-ulps: Regenerate.
23403 2014-01-24  David S. Miller  <davem@davemloft.net>
23405         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
23407 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23409         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
23410         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
23412 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23414         [BZ #16474]
23415         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
23416         string pointers after reallocation.
23418 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23420         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
23421         __SH4A__ instead of __SH_FPU_ANY__.
23423 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23425         * sysdeps/sh/fpu_control.h: New file.
23426         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
23427         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
23428         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
23429         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
23430         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
23431         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
23432         * sysdeps/sh/sys/ucontext.h: Remove.
23433         * sysdeps/sh/sys: Remove directory.
23435 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23437         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
23438         s390/sys/ucontext.h.
23439         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
23440         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
23442 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
23444         [BZ #15605]
23445         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
23447 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23449         [BZ#16431]
23450         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23451         Adjust the vDSO correctly for internal calls.
23452         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
23454 2014-01-20  Allan McRae  <allan@archlinux.org>
23456         * po/ca.po: Update Catalan translation from translation project.
23458 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
23460         * sysdeps/s390/sotruss-lib.c: New file.
23462 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23464         [BZ#16430]
23465         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
23466         (__GI___gettimeofday): Alias for a different internal symbol to avoid
23467         local calls issues by not having a PLT stub required for IFUNC calls.
23468         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
23470 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
23472         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
23473         * math/test-fpucw-static.c: Likewise.
23475 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23477         [BZ #16453]
23478         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
23480 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23482         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
23483         implementation for powerpc.
23485 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
23487         [BZ #14782]
23488         * sysdeps/posix/system.c (__libc_system): Do not enable
23489         asynchronous cancellation.
23491 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23493         [BZ #16427]
23494         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
23495         handling only for numbers special also in the IEEE case.
23497 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23499         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23501 2014-01-11  Allan McRae  <allan@archlinux.org>
23503         * po/bg.po: Update Bulgarian translation from translation project.
23505         * po/de.po: Update German translation from translation project.
23507 2014-01-10  Roland McGrath  <roland@hack.frob.com>
23509         * sysdeps/generic/gcc-compat.h: New file.
23511 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23513         * benchtests/asin-inputs: Correct slow inputs.
23514         * benchtests/acos-inputs: Likewise.
23516 2014-01-10  Allan McRae  <allan@archlinux.org>
23518         * po:sv.po: Update Swedish translation from translation project.
23520         * po/vi.po: Update Vietnamese translation from translation project.
23522         * po/eo.po: Update Esperanto translation from translation project.
23524         * po/cs.po: Update Czech translation from translation project.
23526         * po/nl.po: Update Dutch translation from translation project.
23528         * po/pl.po: Update Polish translation from translation project.
23530         * po/ru.po: Update Russian translation from translation project.
23532         * po/uk.po: Update Ukrainian translation from translation project.
23534 2014-01-08  Brooks Moses  <bmoses@google.com>
23536         * elf/dl-load.c: Fix comment typo.
23538 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
23540         * po/header.pot: Rename to...
23541         * po/pot.header: ... this.
23542         * po/Makefile: Use pot.header.
23544 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
23545             Maxim Kuvyrkov  <maxim@kugelworks.com>
23547         [BZ #16394]
23548         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
23549         SRC and DEST against LEN.
23551 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23553         [BZ #16414]
23554         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
23555         implementation.
23556         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
23558 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23560         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23562 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
23564         [BZ #16408]
23565         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
23566         for large positive arguments.
23568 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
23570         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23572         * math/auto-libm-test-in: Mark various tests with
23573         xfail-rounding:ldbl-128ibm.
23574         * math/auto-libm-test-out: Regenerated.
23576         [BZ #16407]
23577         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
23578         Increase overflow threshold.
23580 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
23582         [BZ #14286]
23583         * stdio-common/vfprintf.c: Check for integer overflow.
23585 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23587         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
23588         the first argument and return value of __tls_get_addr_internal.
23590 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23592         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
23593         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
23595 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23597         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
23598         * sysdeps/s390/rtld-global-offsets.sym: New file.
23599         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
23600         GLIBC_2.19 symbol.
23601         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
23602         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
23603         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
23604         ... this.
23605         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
23606         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
23607         ... this.
23608         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23609         Regenerate.
23610         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23611         Regenerate.
23612         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
23613         halfs of GPRs for high_gprs contexts.
23614         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
23615         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
23616         field.
23617         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
23618         uc_flags field.
23619         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
23620         64 bit versions:
23621         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
23622         for high GPRs (uc_high_gprs) and for future extensions
23623         (__reserved).
23624         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
23625         for future extensions (__reserved).
23626         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
23627         64 bit versions:
23628         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
23629         SC_HIGHGPRS offset definition.
23630         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
23631         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
23633         * Versions.def: Add GLIBC_2.19 for libpthread.
23634         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
23635         siglongjmp for libpthread with GLIBC_2.19 symver.
23636         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
23637         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
23638         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
23639         * sysdeps/s390/__longjmp.c: New file.
23640         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
23641         * sysdeps/s390/longjmp.c: New file.
23642         * sysdeps/s390/setjmp.S: New file.
23643         * sysdeps/s390/sigjmp.S: New file.
23644         * sysdeps/s390/v1-longjmp.c: New file.
23645         * sysdeps/s390/v1-setjmp.h: New file.
23646         * sysdeps/s390/v1-sigjmp.c: New file.
23647         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
23648         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
23649         GLIBC_2.19 version.
23650         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
23651         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
23652         versioned symbols for ____longjmp_chk.
23653         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
23654         Likewise.
23655         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23656         Regenerate.
23657         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23658         Regenerate.
23659         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23660         Regenerate.
23661         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23662         Regenerate.
23663         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
23664         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
23665         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
23666         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
23667         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
23668         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
23669         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
23670         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
23671         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
23672         * sysdeps/s390/rtld-__longjmp.c: New file.
23673         * sysdeps/s390/rtld-setjmp.S: New file.
23675 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
23677         [BZ #16400]
23678         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
23679         Return -__logl (x) for small positive arguments without evaluating
23680         a polynomial.
23682 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
23684         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
23685         Rename to ...
23686         (__ptrace_peeksiginfo_args): ... this.
23687         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23688         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23689         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23691 2014-01-06  Allan McRae  <allan@archlinux.org>
23693         * inet/netinet/in.h: Fix typo in comment.
23695 2014-01-05  Andreas Jaeger  <aj@suse.de>
23697         * sysdeps/i386/fpu/libm-test-ulps: Update.
23699 2014-01-05  Allan McRae  <allan@archlinux.org>
23701         * po/libc.pot: Regenerated.
23703         * malloc/memusagestat.c: Fix gettext call formatting.
23705 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
23707         * nscd/nscd.c: Improve usage() output.
23709 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
23711         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
23712         * sysdeps/unix/sysv/linux/configure: Regenerated.
23713         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
23714         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
23716 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
23718         [BZ #16390]
23719         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23720         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
23722 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23724         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
23725         extra tokens at end of #undef directive.
23726         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
23727         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
23728         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
23730 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
23732         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23734         * math/auto-libm-test-in: Mark various tests with
23735         xfail-rounding:ldbl-128ibm.
23736         * math/auto-libm-test-out: Regenerated.
23738 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
23740         [BZ #16386]
23741         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
23742         numbers with subnormal high part when calculating exponent.
23744         [BZ #16385]
23745         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
23746         fabs.
23748         [BZ #16384]
23749         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
23750         M_LN2l.
23751         (__ieee754_acoshl): Use __log1pl not __log1p.
23753 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
23755         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
23756         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
23757         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
23758         (grow_heap, heap_trim, _int_new_arena, get_free_list)
23759         (reused_arena, arena_get2): Convert to GNU style.
23760         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
23761         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
23762         (memalign_check, __malloc_set_state): Likewise.
23763         * malloc/mallocbug.c (main): Likewise.
23764         * malloc/malloc.c (__malloc_assert, malloc_init_state)
23765         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
23766         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
23767         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
23768         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
23769         (__posix_memalign, malloc_info): Likewise.
23770         * malloc/malloc.h: Likewise.
23771         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
23772         (mallochook, memalignhook, reallochook, mabort): Likewise.
23773         * malloc/mcheck.h: Likewise.
23774         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
23775         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
23776         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
23777         * malloc/morecore.c (__default_morecore): Likewise.
23778         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
23779         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
23780         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
23781         (print_and_abort): Likewise.
23782         * malloc/obstack.h: Likewise.
23783         * malloc/set-freeres.c (__libc_freeres): Likewise.
23784         * malloc/tst-mallocstate.c (main): Likewise.
23785         * malloc/tst-mtrace.c (main): Likewise.
23786         * malloc/tst-realloc.c (do_test): Likewise.
23788 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23790         [BZ #16366]
23791         * nscd/netgroupcache.c (do_notfound): New function.
23792         (addgetnetgrentX): Use it.
23794         [BZ # 16365]
23795         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
23796         NSS_STATUS_NOTFOUND.
23798 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
23800         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23803 2014-01-01  Allan McRae  <allan@archlinux.org>
23805         * scripts/update-copyrights: Update configure input file suffix.
23807         * NEWS: Update copyright year.
23808         * catgets/gencat.c: Likewise.
23809         * csu/version.c: Likewise.
23810         * debug/catchsegv.sh: Likewise.
23811         * debug/pcprofiledump.c: Likewise.
23812         * debug/xtrace.sh: Likewise.
23813         * elf/ldconfig.c: Likewise.
23814         * elf/ldd.bash.in: Likewise.
23815         * elf/pldd.c: Likewise.
23816         * elf/sotruss.ksh: Likewise.
23817         * elf/sprof.c: Likewise.
23818         * iconv/iconv_prog.c: Likewise.
23819         * iconv/iconvconfig.c: Likewise.
23820         * locale/programs/locale.c: Likewise.
23821         * locale/programs/localedef.c: Likewise.
23822         * login/programs/pt_chown.c: Likewise.
23823         * malloc/memusage.sh: Likewise.
23824         * malloc/memusagestat.c: Likewise.
23825         * malloc/mtrace.pl: Likewise.
23826         * manual/libc.texinfo: Likewise.
23827         * nscd/nscd.c: Likewise.
23828         * nss/getent.c: Likewise.
23829         * nss/makedb.c: Likewise.
23830         * posix/getconf.c: Likewise.
23831         * scripts/test-installation.pl: Likewise.
23833         * All files with FSF copyright notices: Update copyright dates
23834         using scripts/update-copyrights.
23835         * intl/plural.c: Regenerated.
23836         * locale/programs/charmap-kw.h: Likewise.
23837         * locale/programs/locfile-kw.h: Likewise.
23839 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
23841         * sysdeps/unix/sysv/linux/configure: Regenerated.
23842         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
23843         the linux/fanotify.h header.
23844         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
23845         HAVE_LINUX_FANOTIFY_H is defined.
23847 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
23849         * benchtests/cos-inputs: New inputs.
23850         * benchtests/sin-inputs: Likewise.
23852         * benchtests/atan-inputs: New inputs. Fix name of multiple
23853         precision fallback inputs.
23855         * benchtests/atanh-inputs: New inputs.
23856         * benchtests/tanh-inputs: Likewise.
23858         * benchtests/acosh-inputs: New inputs.
23859         * benchtests/asinh-inputs: Likewise.
23861         * benchtests/cosh-inputs: New inputs.
23862         * benchtests/sinh-inputs: Likewise.
23864         * benchtests/acos-inputs: Add more inputs.
23865         * benchtests/asin-inputs: Likewise.
23867 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
23869         [BZ #16375]
23870         * manual/arith.texi: Fix spelling.
23871         * manual/charset.texi: Likewise.
23872         * manual/errno.texi: Likewise.
23873         * manual/filesys.texi: Likewise.
23874         * manual/lang.texi: Likewise.
23875         * manual/llio.texi: Likewise.
23876         * manual/locale.texi: Likewise.
23877         * manual/message.texi: Likewise.
23878         * manual/resource.texi: Likewise.
23879         * manual/search.texi: Likewise.
23880         * manual/setjmp.texi: Likewise.
23881         * manual/stdio.texi: Likewise.
23882         * manual/string.texi: Likewise.
23883         * manual/sysinfo.texi: Likewise.
23884         * manual/time.texi: Likewise.
23886 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
23888         * po/sl.po: New file.
23890 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
23892         * .gitignore: Add core/.gdbinit/.gdb_history.
23894 2013-12-27  Allan McRae  <allan@archlinux.org>
23896         [BZ #16369]
23897         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
23898         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
23900 2013-12-24  Brooks Moses  <bmoses@google.com>
23902         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
23903         all compilers that claim C++98 compliance, not just GCC.
23904         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
23905         Likewise.
23907 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
23909         * NEWS: Restore accidentally deleted bug-fix entries.
23911 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
23912             Ondřej Bílka  <neleai@seznam.cz>
23914         [BZ #15073]
23915         * malloc/malloc.c (_int_free): Perform sanity check only if we
23916         have_lock.
23918 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
23920         [BZ #12986]
23921         * manual/stdio.texi (String Input Conversions): Clarify that character
23922         classes are not supported.
23924 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23926         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23928 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
23930         [BZ #16337]
23931         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
23932         Calculate results for small negative arguments directly rather
23933         than using reflection formula with special underflow handling.
23935         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
23936         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
23937         sysdeps/unix/bsd/bsd4.4/syscalls.list.
23938         (fchflags): Likewise.
23939         (revoke): Likewise.
23940         (setlogin): Likewise.
23941         (sigaltstack): Likewise.
23942         (wait4): Likewise.
23943         (sigblock): Remove.
23944         (sigsetmask): Likewise.
23945         (wait3): Likewise.
23946         (waitpid): Likewise.
23947         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
23948         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
23949         file.
23950         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
23951         * sysdeps/unix/bsd/Makefile: ... here.
23952         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
23953         * sysdeps/unix/bsd/Versions: ... here.
23954         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
23955         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
23956         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
23957         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
23958         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
23959         * sysdeps/unix/bsd/sigblock.c: ... here.
23960         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
23961         * sysdeps/unix/bsd/sigsetmask.c: ... here.
23962         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
23963         * sysdeps/unix/bsd/sigvec.c: ... here.
23964         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
23965         * sysdeps/unix/bsd/tcdrain.c: ... here.
23966         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
23967         * sysdeps/unix/bsd/tcgetattr.c: ... here.
23968         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
23969         * sysdeps/unix/bsd/tcsetattr.c: ... here.
23970         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
23971         * sysdeps/unix/bsd/wait.c: ... here.
23972         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
23973         * sysdeps/unix/bsd/wait3.c: ... here.
23974         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
23975         * sysdeps/unix/bsd/waitpid.c: ... here.
23977 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
23979         [BZ #16356]
23980         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
23981         round-to-nearest for [!USE_AS_EXPM1L].
23982         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
23983         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
23984         more tests of exp and exp10.  Expect some exp10 tests to miss
23985         exceptions or fail in directed rounding modes.
23986         * math/auto-libm-test-out: Regenerated.
23987         * math/libm-test.inc (exp10_tonearest_test_data): New array.
23988         (exp10_test_tonearest): New function.
23989         (exp10_towardzero_test_data): New array.
23990         (exp10_test_towardzero): New function.
23991         (exp10_downward_test_data): New array.
23992         (exp10_test_downward): New function.
23993         (exp10_upward_test_data): New array.
23994         (exp10_test_upward): New function.
23995         (main): Call the new functions.
23996         * sysdeps/i386/fpu/libm-test-ulps: Update.
23997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23999 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
24001         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24002         asinh, atan, atan2, atanh, cbrt, cos and cosh.
24003         * math/auto-libm-test-out: Regenerated.
24004         * math/libm-test.inc (acosh_test_data): Add more tests.
24005         (atanh_test_data): Likewise.
24006         (ceil_test_data): Likewise.
24007         (copysign_test_data): Likewise.
24008         * sysdeps/i386/fpu/libm-test-ulps: Update.
24009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24011         * timezone/checktab.awk: Update from tzcode 2013i.
24012         * timezone/private.h: Likewise.
24013         * timezone/scheck.c: Likewise.
24014         * timezone/tzfile.h: Likewise.
24015         * timezone/tzselect.ksh: Likewise.
24016         * timezone/zdump.c: Likewise.
24017         * timezone/zic.c: Likewise.
24019         * math/auto-libm-test-in: Add tests of cpow.
24020         * math/auto-libm-test-out: Regenerated.
24021         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
24022         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24023         mpc_cc_c.
24024         (func_calc_desc): Add mpc_cc_c union field.
24025         (test_functions): Add cpow.
24026         (special_fill_2pi): New function.
24027         (special_real_inputs): Add 2pi.
24028         (calc_generic_results): Handle mpc_cc_c.
24029         * sysdeps/i386/fpu/libm-test-ulps: Update.
24030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24032         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
24033         csqrt, ctan and ctanh.
24034         * math/auto-libm-test-out: Regenerated.
24035         * math/libm-test.inc (TEST_COND_x86_64): New macro.
24036         (TEST_COND_x86): Likewise.
24037         (ccos_test_data): Use AUTO_TESTS_c_c.
24038         (ccosh_test_data): Likewise.
24039         (cexp_test_data): Likewise.
24040         (clog_test_data): Likewise.
24041         (csqrt_test_data): Likewise.
24042         (ctan_test_data): Likewise.
24043         (ctan_tonearest_test_data): Likewise.
24044         (ctan_towardzero_test_data): Likewise.
24045         (ctan_downward_test_data): Likewise.
24046         (ctan_upward_test_data): Likewise.
24047         (ctanh_test_data): Likewise.
24048         (ctanh_tonearest_test_data): Likewise.
24049         (ctanh_towardzero_test_data): Likewise.
24050         (ctanh_downward_test_data): Likewise.
24051         (ctanh_upward_test_data): Likewise.
24052         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24053         mpc_c_c.
24054         (func_calc_desc): Add mpc_c_c union field.
24055         (FUNC_mpc_c_c): New macro.
24056         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
24057         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
24058         ctanh.
24059         (special_fill_min_subnorm_p120): New function.
24060         (special_real_inputs): Add min_subnorm_p120.
24061         (calc_generic_results): Handle mpc_c_c.
24062         * sysdeps/i386/fpu/libm-test-ulps: Update.
24063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24065 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24067         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
24068         (do_sin_slow): New functions.
24069         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
24070         (cslow2, csloww1, csloww2): Use the new functions.
24072         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
24073         Use M to change sign of result instead of X.  Assume X is
24074         positive.
24075         (csloww1): Likewise.
24076         (__sin): Adjust.
24077         (__cos): Adjust.
24079         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
24080         arguments A and DA.
24081         (__sin): Adjust.
24082         (__cos): Likewise.
24084         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
24085         (__cos): Likewise.
24086         (sloww1): Don't adjust sign of DX.
24087         (csloww1): Likewise.
24088         (sloww2): Use X directly and don't adjust sign of DX.
24089         (csloww2): Likewise.
24091 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
24093         * math/auto-libm-test-in: Add tests of cabs and carg.
24094         * math/auto-libm-test-out: Regenerated.
24095         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
24096         (carg_test_data): Likewise.
24097         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24098         mpc_c_f.
24099         (func_calc_desc): Add mpc_c_f union field.
24100         (test_functions): Add cabs and carg.
24101         (calc_generic_results): Handle mpc_c_f.
24103         * sysdeps/powerpc/powerpc32/libgcc-compat.S
24104         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
24105         as a macro and a compat symbol.
24106         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
24107         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
24108         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
24109         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
24110         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
24111         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
24112         not use .hidden.
24113         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
24114         Likewise.
24115         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
24116         Likewise.
24117         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
24118         Likewise.
24119         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
24120         Likewise.
24121         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
24122         Likewise.
24123         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
24124         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
24125         from GLIBC_2.3.2.
24127 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24129         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24131 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
24133         * manual/texinfo.tex: Update to version 2013-11-26.10 with
24134         trailing whitespace removed.
24135         * scripts/config.guess: Update to version 2013-11-29.
24136         * scripts/config.sub: Update to version 2013-10-01.
24138         * math/auto-libm-test-in: Add tests of sincos.
24139         * math/auto-libm-test-out: Regenerated.
24140         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
24141         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24142         mpfr_f_11.
24143         (func_calc_desc): Add mpfr_f_11 union field.
24144         (test_functions): Add sincos.
24145         (calc_generic_results): Handle mpfr_f_11.
24146         * sysdeps/i386/fpu/libm-test-ulps: Update.
24147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24149 2013-12-19  Andreas Schwab  <schwab@suse.de>
24151         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
24152         CALL_MCOUNT.
24153         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24154         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
24155         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
24157 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
24159         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
24160         * sysdeps/i386/fpu/libm-test-ulps: Update.
24161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24163         [BZ #16293]
24164         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
24165         round-to-nearest mode when using frndint.
24166         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
24167         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
24168         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24169         Likewise.
24170         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
24171         sinh test to fail.
24172         * math/auto-libm-test-out: Regenerated.
24173         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
24174         (TEST_COND_x86): Likewise.
24175         (expm1_tonearest_test_data): New array.
24176         (expm1_test_tonearest): New function.
24177         (expm1_towardzero_test_data): New array.
24178         (expm1_test_towardzero): New function.
24179         (expm1_downward_test_data): New array.
24180         (expm1_test_downward): New function.
24181         (expm1_upward_test_data): New array.
24182         (expm1_test_upward): New function.
24183         (main): Run the new test functions.
24184         * sysdeps/i386/fpu/libm-test-ulps: Update.
24185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24187         * include/features.h: Update comment documenting feature test
24188         macros.  Mention _DEFAULT_SOURCE in comment.
24189         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
24190         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
24191         _BSD_SOURCE and _SVID_SOURCE.
24192         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
24193         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
24194         !_SVID_SOURCE]: Likewise.
24195         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24196         (__USE_POSIX_IMPLICITLY): Define.
24197         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24198         (_POSIX_SOURCE): Undefine and redefine.
24199         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24200         (_POSIX_C_SOURCE): Likewise.
24201         * manual/creature.texi (_DEFAULT_SOURCE): Document.
24202         (Feature Test Macros): Update documentation of default features.
24204 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24206         * benchtests/Makefile: Add bench-strtok.
24207         * benchtests/bench-strtok.c: New file: strtok benchtest.
24209 2013-12-19  Allan McRae  <allan@archlinux.org>
24211         * manual/install.texi: Suppress menu for plain text output.
24212         * INSTALL: Regenerated.
24214 2013-12-18  Brooks Moses  <bmoses@google.com>
24216         [BZ #15846]
24217         * misc/getauxval.c: Include errno.h.
24218         (__getauxval): Set errno to ENOENT if the requested type is not
24219         found.
24220         * misc/sys/auxv.h (getauxval): Document that it may set errno;
24221         don't declare with __attribute_const__.
24222         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
24223         * manual/startup.texi: Document that getauxval sets errno.
24225 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
24227         * math/auto-libm-test-in: Add tests of jn and yn.
24228         * math/auto-libm-test-out: Regenerated.
24229         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
24230         (yn_test_data): Likewise.
24231         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24232         mpfr_if_f.
24233         (func_calc_desc): Add mpfr_if_f union field.
24234         (FUNC_mpfr_if_f): New macro.
24235         (test_functions): Add jn and yn.
24236         (calc_generic_results): Assert type of second input for
24237         mpfr_ff_f.  Handle mpfr_if_f.
24238         (output_for_one_input_case): Disable all checking for arguments
24239         fitting floating-point types in case of an integer argument.
24240         * sysdeps/i386/fpu/libm-test-ulps: Update.
24241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
24244         Don't expect fegetround reference in libm.so.
24246 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24248         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
24249         $(config-cflags-nofma).
24251 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
24253         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
24254         * math/auto-libm-test-out: Regenerated.
24256         [BZ #16338]
24257         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
24258         to determine exponent and adjust argument to have exponent of -1.
24259         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
24260         log2.
24261         * math/auto-libm-test-out: Regenerated.
24262         * sysdeps/i386/fpu/libm-test-ulps: Update.
24263         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24265 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
24267         * manual/probes.texi: Remove cases when per-thread arenas are
24268         disabled.
24270 2013-12-18  Andreas Schwab  <schwab@suse.de>
24272         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
24273         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
24274         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
24275         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
24276         * sysdeps/i386/i686/multiarch/Makefile: Update.
24277         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
24279 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
24281         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
24282         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
24284 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
24286         [BZ #15968]
24287         Support TZ transition times < 00:00:00.
24288         This is needed for version-3 tz-format files; it supports time
24289         stamps past 2037 for America/Godthab (the only entry in the tz
24290         database for which this change is relevant).
24291         * manual/time.texi (TZ Variable): Document transition times
24292         from -167:59:59 through -00:00:01.
24293         * time/tzset.c (tz_rule): Time of day is now signed.
24294         (__tzset_parse_tz): Parse negative time of day.
24296         Document TZ transition times >= 25:00:00.
24297         * manual/time.texi (TZ Variable): Document transition times from
24298         25:00:00 through 167:59:59.  These are already supported, and this
24299         support will help with version-3 tz-format files.
24301         * manual/time.texi (TZ Variable): Modernize North America example
24302         to reflect current (i.e., 2007-and-later) daylight saving rules.
24304         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
24306 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
24308         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
24309         * sysdeps/unix/bsd/bits/stat.h: Likewise.
24310         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
24311         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24312         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
24313         * sysdeps/unix/bsd/bsdstat.h: Likewise.
24314         * sysdeps/unix/bsd/clock.c: Likewise.
24315         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
24316         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
24317         * sysdeps/unix/bsd/init-posix.c: Likewise.
24318         * sysdeps/unix/bsd/poll.c: Likewise.
24319         * sysdeps/unix/bsd/ptsname.c: Likewise.
24320         * sysdeps/unix/bsd/seekdir.c: Likewise.
24321         * sysdeps/unix/bsd/setegid.c: Likewise.
24322         * sysdeps/unix/bsd/seteuid.c: Likewise.
24323         * sysdeps/unix/bsd/setgid.c: Likewise.
24324         * sysdeps/unix/bsd/setrgid.c: Likewise.
24325         * sysdeps/unix/bsd/setruid.c: Likewise.
24326         * sysdeps/unix/bsd/setsid.c: Likewise.
24327         * sysdeps/unix/bsd/setuid.c: Likewise.
24328         * sysdeps/unix/bsd/sigaction.c: Likewise.
24329         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
24330         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
24331         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
24332         * sysdeps/unix/bsd/telldir.c: Likewise.
24333         * sysdeps/unix/bsd/times.c: Likewise.
24334         * sysdeps/unix/bsd/usleep.c: Likewise.
24336         * misc/Makefile (install-lib): Remove libbsd-compat.a.
24337         ($(objpfx)libbsd-compat.a): Remove rule.
24339         * include/features.h (__FAVOR_BSD): Do not define.
24340         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
24341         features conflicting with POSIX.
24342         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
24343         (_BSD_SOURCE): Remove description of not being a subset of other
24344         feature test macros.
24345         * manual/job.texi (getpgrp): Do not document BSD version.
24346         (getpgid): Do not document by reference to BSD getpgrp.
24347         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
24348         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
24349         * signal/signal.h [__FAVOR_BSD]: Likewise.
24350         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
24351         instead of making contents conditional on [__FAVOR_BSD].
24352         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
24354 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24356         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24358 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
24360         [BZ #16314]
24361         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
24362         values below 2**-450, not 2**-500.
24363         * math/auto-libm-test-in: Don't allow spurious underflow from
24364         hypot.
24365         * math/auto-libm-test-out: Regenerated.
24367         [BZ #16316]
24368         [BZ #16330]
24369         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
24370         values of ha and hb and sort them after adjusting subnormal
24371         arguments.
24372         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
24373         Likewise.
24374         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
24375         values of ea and eb and sort them after adjusting subnormal
24376         arguments.
24377         * math/auto-libm-test-in: Do not expect some hypot tests of
24378         subnormals to fail.  Add more hypot tests.
24379         * math/auto-libm-test-out: Regenerated.
24381 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24383         [BZ #13304]
24384         * sysdeps/sh/s_fma.c: New file.
24385         * sysdeps/sh/s_fmaf.c: New file.
24386         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
24387         version.
24388         * sysdeps/sh/Implies: Add sh/soft-fp.
24390 2013-12-16  Roland McGrath  <roland@hack.frob.com>
24392         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
24393         level of indirection to members `objname', `errstring', `malloced'.
24394         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
24395         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
24396         it as the __longjmp argument (just pass 1 instead).
24397         (_dl_catch_error): Initialize C with argument pointers and address of
24398         volatile local ERRCODE rather than copying values out of C at return.
24400 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
24402         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
24403         * math/auto-libm-test-out: Regenerated.
24404         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
24405         (hypot_test_data): Likewise.
24406         (pow_test_data): Likewise.
24407         (pow_tonearest_test_data): Likewise.
24408         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24409         mpfr_ff_f.
24410         (func_calc_desc): Add mpfr_ff_f union field.
24411         (FUNC_mpfr_ff_f): New macro.
24412         (test_functions): Add atan2, hypot and pow.
24413         (special_fill_min): New function.
24414         (special_fill_minus_min): Likewise.
24415         (special_fill_min_subnorm): Likewise.
24416         (special_fill_minus_min_subnorm): Likewise.
24417         (special_real_inputs): Add min, -min, min_subnorm and
24418         -min_subnorm.
24419         (calc_generic_results): Handle mpfr_ff_f.
24420         * sysdeps/i386/fpu/libm-test-ulps: Update.
24421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24423 2013-12-16  Will Newton  <will.newton@linaro.org>
24425         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
24426         (Aligned Memory Blocks): Add documentation for aligned_alloc
24427         and suggest it as an alternative to posix_memalign.
24428         (Hooks for Malloc): Document __memalign_hook is also called
24429         for aligned_alloc.  (Summary of Malloc): Add summary for
24430         aligned alloc.  Document __memalign_hook is also called
24431         for aligned_alloc.
24433 2013-12-16  Will Newton  <will.newton@linaro.org>
24435         * manual/memory.texi (Malloc Examples): Clarify default
24436         alignment documentation.  Suggest posix_memalign rather
24437         than memalign or valloc.
24438         (Aligned Memory Blocks): Remove suggestion to use memalign
24439         or valloc.  Remove obsolete comment about BSD.
24440         Document memalign errno values and mark the function obsolete.
24441         Document posix_memalign returned error codes.  Mark valloc
24442         as obsolete.  (Hooks for Malloc): __memalign_hook is also
24443         called for posix_memalign and valloc.
24444         (Summary of Malloc): Add posix_memalign to function summary.
24445         __memalign_hook is also called for posix_memalign and valloc.
24447 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24449         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
24450         TAYLOR_SIN.
24451         (__sin): Adjust.
24452         (__cos): Likewise.
24453         (sloww): Use mynumber union.  Expand ternary operator into
24454         if-else statements.
24455         (cslow): use mynumber union.
24457 2013-12-16  Allan McRae  <allan@archlinux.org>
24459         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
24460         * configure: Regenerated.
24462         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
24464         [BZ #14120]
24465         * configure.ac: Added --enable-maintainer-mode. Check for
24466         autoconf when enabled.
24467         * configure: Regenerated.
24469         * nscd/nscd.service: New file.
24470         * nscd/nscd.tmpfiles: New file.
24472 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
24474         [BZ #12100]
24475         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
24476         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
24477         * sysdeps/x86_64/multiarch/strstr.c: ... here.
24478         (strstr): Add __strstr_sse2_unaligned ifunc.
24479         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
24480         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
24481         (strcasestr): Remove __strcasestr_sse42 ifunc.
24482         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
24483         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
24484         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24486 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24488         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
24489         * sysdeps/sh/bits/fenv.h: ... here.
24490         * sysdeps/sh/sh4/fpu/bits: Remove directory.
24492 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24494         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
24496         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
24497         hypotf multiarch implementations.
24498         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
24499         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
24500         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
24501         multiarch hypot for PPC64.
24502         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
24503         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
24504         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
24505         multiarch hypotf for PPC64.
24507         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
24508         modff multiarch implementations.
24509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
24510         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
24511         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
24512         multiarch modf for PPC64.
24513         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
24514         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
24515         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
24516         multiarch modff for PPC64.
24518         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
24519         and logl multiarch implementations.
24520         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
24521         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
24522         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
24523         multiarch logb for PPC64.
24524         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
24525         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
24526         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
24527         multiarch logb for PPC64.
24528         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
24529         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
24530         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
24531         multiarch logb for PPC64.
24533         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
24534         isinff multiarch implementation.
24535         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
24536         file.
24537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
24538         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
24539         multiarch isinf for PPC64.
24540         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
24541         file.
24542         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
24543         multiarch isinff for PPC64.
24545         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
24546         finitef multiarch implementation.
24547         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
24548         file.
24549         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
24550         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
24551         multiarch finite for PPC64.
24552         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
24553         file.
24554         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
24555         multiarch finitef for PPC64.
24557         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
24558         lrint multiarch implementation.
24559         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
24560         file.
24561         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
24562         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
24563         multiarch llrint for PPC64.
24564         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
24565         multiarch lrint for PPC64.
24567         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
24568         copysignf multiarch implementation.
24569         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
24570         file.
24571         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
24572         file.
24573         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
24574         multiarch copysign for PPC64.
24575         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
24576         multiarch copysignf for PPC64.
24578         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
24579         multiarch implementation.
24580         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
24581         file.
24582         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
24583         file.
24584         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
24585         file.
24586         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
24587         file.
24588         multiarch llround for PPC64.
24589         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
24590         multiarch trunc for PPC64.
24591         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
24592         multiarch truncf for PPC64.
24594         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
24595         multiarch implementation.
24596         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
24597         file.
24598         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
24599         file.
24600         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
24601         file.
24602         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
24603         file.
24604         multiarch llround for PPC64.
24605         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
24606         multiarch round for PPC64.
24607         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
24608         multiarch roundf for PPC64.
24610         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
24611         multiarch implementation.
24612         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
24613         file.
24614         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
24615         file.
24616         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
24617         file.
24618         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
24619         file.
24620         multiarch llround for PPC64.
24621         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
24622         multiarch floor for PPC64.
24623         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
24624         multiarch floorf for PPC64.
24626         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
24627         multiarch implementation.
24628         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
24629         file.
24630         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
24631         file.
24632         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
24633         file.
24634         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
24635         file.
24636         multiarch llround for PPC64.
24637         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
24638         multiarch ceil for PPC64.
24639         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
24640         multiarch ceilf for PPC64.
24642         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
24643         multiarch implementation.
24644         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
24645         file.
24646         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
24647         file.
24648         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
24649         file.
24650         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
24651         multiarch llround for PPC64.
24652         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
24653         multiarch lround for PPC64.
24655         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
24656         multiarch implementation.
24657         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
24658         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
24659         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
24660         file.
24661         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
24662         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
24663         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
24664         multiarch isnan for PPC64.
24665         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
24666         multiarch isnanf for PPC64.
24668         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
24669         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
24670         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
24671         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
24672         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
24673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
24675         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
24676         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24677         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24678         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24680         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
24681         multiarch implementations.
24682         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24683         (__libc_ifunc_impl_list): Likewise.
24684         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
24685         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
24686         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
24687         multiarch stpcpy for PPC64.
24689         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
24690         multiarch implementations.
24691         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24692         (__libc_ifunc_impl_list): Likewise.
24693         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
24694         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
24695         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
24696         multiarch strcpy for PPC64.
24698         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
24699         redefine function name.
24700         (_wordcopy_fwd_dest_aligned): Likewise.
24701         (_wordcopy_bwd_aligned): Likewise.
24702         (_wordcopy_bwd_dest_aligned): Likewise.
24703         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
24704         multiarch implementations.
24705         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24706         (__libc_ifunc_impl_list): Likewise.
24707         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
24708         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
24709         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
24710         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
24711         multiarch wcscpy for PPC64.
24713         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
24714         multiarch implementations.
24715         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24716         (__libc_ifunc_impl_list): Likewise.
24717         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
24718         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
24719         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
24720         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
24721         multiarch wcscpy for PPC64.
24723         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
24724         multiarch implementations.
24725         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24726         (__libc_ifunc_impl_list): Likewise.
24727         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
24728         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
24729         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
24730         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
24731         multiarch wcsrchr for PPC64.
24733         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
24734         multiarch implementations.
24735         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24736         (__libc_ifunc_impl_list): Likewise.
24737         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
24738         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
24739         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
24740         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
24741         multiarch wcschr for PPC64.
24743         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
24744         multiarch implementations.
24745         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24746         (__libc_ifunc_impl_list): Likewise.
24747         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
24748         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
24749         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
24750         multiarch strchrnul for PPC64.
24752         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
24753         implementations.
24754         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24755         (__libc_ifunc_impl_list): Likewise.
24756         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
24757         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
24758         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
24759         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
24760         strchr for PPC64.
24762         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
24763         implementations.
24764         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24765         (__libc_ifunc_impl_list): Likewise.
24766         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
24767         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
24768         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
24769         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
24770         strncmp for PPC64.
24772         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
24773         multiarch implementations.
24774         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24775         (__libc_ifunc_impl_list): Likewise.
24776         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
24777         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
24778         strncasecmp for PPC64.
24779         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
24780         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
24781         multiarch strncasecmp_l for PPC64.
24783         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
24784         multiarch implementations.
24785         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24786         (__libc_ifunc_impl_list): Likewise.
24787         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
24788         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
24789         multiarch strcasecmp for PPC64.
24790         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
24791         file.
24792         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
24793         multiarch strcasecmp_l for PPC64.
24795         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
24796         implementations.
24797         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24798         (__libc_ifunc_impl_list): Likewise.
24799         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
24800         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
24801         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
24802         strnlen for PPC64.
24804         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
24805         implementations.
24806         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24807         (__libc_ifunc_impl_list): Likewise.
24808         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
24809         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
24810         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
24811         strlen for PPC64.
24813         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
24814         implementations.
24815         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24816         (__libc_ifunc_impl_list): Likewise.
24817         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
24818         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
24819         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
24820         rawmemrchr for PPC64.
24822         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
24823         implementation.
24824         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24825         (__libc_ifunc_impl_list): Likewise.
24826         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
24827         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
24828         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
24829         memrchr for PPC64.
24831         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
24832         implementation.
24833         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24834         (__libc_ifunc_impl_list): Likewise.
24835         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
24836         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
24837         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
24838         memchr for PPC64.
24840         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
24841         implementation.
24842         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24843         (__libc_ifunc_impl_list): Likewise.
24844         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
24845         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
24846         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
24847         mempcpy for PPC64.
24849         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
24850         avoid cretion of __bzero symbol.
24851         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
24852         Likewise.
24853         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
24854         Likewise.
24855         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
24856         Likewise.
24857         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
24858         multiarch implementations.
24859         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24860         (__libc_ifunc_impl_list): Likewise.
24861         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
24862         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
24863         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
24864         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
24865         bzero for PPC32.
24866         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
24867         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
24868         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
24869         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
24870         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
24871         memset for PPC64.
24872         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
24874         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
24875         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
24876         implementations.
24877         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24878         (__libc_ifunc_impl_list): Likewise.
24879         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
24880         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
24881         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
24882         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
24883         memcmp for PPC64.
24885         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
24886         multiarch for POWER/PPC64.
24887         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
24888         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
24889         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
24890         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
24891         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
24892         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
24893         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
24894         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
24895         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
24896         memcpy for PPC64.
24898         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
24899         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
24900         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
24901         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
24902         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
24903         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
24904         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
24905         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
24906         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
24907         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
24908         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
24909         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
24910         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
24911         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
24912         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
24913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
24914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
24915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
24916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
24917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
24918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
24919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
24921 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24923         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
24925 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24927         * benchtests/Makefile (bench): Add exp2 and log2.
24928         (LDLIBS-bench-exp2): Add -lm.
24929         (LDLIBS-bench-log2): Likewise.
24930         * benchtests/exp2-inputs: New inputs file.
24931         * benchtests/log2-inputs: New inputs file.
24932         * benchtests/log-inputs: Add new inputs.
24933         * benchtests/tan-inputs: Likewise.
24935 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24937         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
24938         definition...
24939         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
24940         (csloww2): ... from here.
24942         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
24943         instead of structures.
24944         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
24945         (POLYNOMIAL): Likewise.
24946         (TAYLOR_SLOW): Likewise.
24947         (__sin): Likewise.
24948         (__cos): Likewise.
24949         (slow1): Likewise.
24950         (slow2): Likewise.
24951         (sloww): Likewise.
24952         (sloww1); Likewise.
24953         (sloww2): Likewise.
24954         (bsloww1): Likewise.
24955         (bsloww2): Likewise.
24956         (cslow2): Likewise.
24957         (csloww): Likewise.
24958         (csloww1): Likewise.
24959         (csloww2): Likewise.
24961 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
24963         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
24964         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
24965         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
24966         * malloc/hooks.c (realloc_check): Likewise.
24968         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
24969         * malloc/arena.c: Remove PER_THREAD conditional.
24970         [!PER_THREAD]: Remove code.
24971         (ptmalloc_unlock_all2): Likewise.
24972         (ptmalloc_init): Likewise.
24973         (_int_new_arena): Likewise.
24974         (arena_get2): Likewise.
24975         * malloc/hooks.c (__malloc_get_state): Likewise.
24976         (__malloc_set_state): Likewise.
24977         * malloc/malloc.c: Likewise.
24978         (struct malloc_state): Likewise.
24979         (struct malloc_par): Likewise.
24980         (__libc_realloc): Likewise.
24981         (__libc_mallopt): Likewise.
24983 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24985         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
24987 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
24989         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
24990         macro to a function.  Check for zero perturb_byte.
24991         (_int_malloc, _int_free): Remove zero perturb_byte checks.
24993         * malloc/malloc.c: (force_reg): Remove.
24994         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
24995         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
24996         force_reg by atomic_forced_read.
24997         * malloc/arena.c (ptmalloc_init): Likewise.
24998         * malloc/hooks.c (top_check): Likewise.
25000 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25002         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25004 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
25006         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25008 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
25010         * math/auto-libm-test-in: Add tests of lgamma.
25011         * math/auto-libm-test-out: Regenerated.
25012         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
25013         (M_LOG_2_SQRT_PIl): Likewise.
25014         (lgamma_test_data): Use AUTO_TESTS_f_f1.
25015         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25016         mpfr_f_f1.
25017         (func_calc_desc): Add mpfr_f_f1 union field.
25018         (ARGS1): New macro.
25019         (ARGS2): Likewise.
25020         (ARGS3): Likewise.
25021         (ARGS4): Likewise.
25022         (RET1): Likewise.
25023         (RET2): Likewise.
25024         (CALC): Likewise.
25025         (FUNC): Likewise.
25026         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
25027         (test_functions): Add lgamma.
25028         (calc_generic_results): Handle mpfr_f_f1.
25029         * sysdeps/i386/fpu/libm-test-ulps: Update.
25030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25032 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25034         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
25035         __mpn_add_n for PowerPC64/POWER7.
25036         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
25037         __mpn_sub_n for PowerPC64/POWER7.
25039         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
25040         __mpn_addmul_1 for PowerPC64.
25041         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
25042         __mpn_submul_1 for PowerPC64.
25043         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
25044         for PowerPC64.
25045         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
25046         for PowerPC64.
25048 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
25050         [BZ #15089]
25051         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
25053 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25055         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
25057         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
25058         add multiarch folders.
25059         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
25060         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
25061         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
25062         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
25063         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
25064         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
25065         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
25066         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
25067         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
25068         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
25069         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
25070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
25071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
25072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
25073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
25074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
25075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
25077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
25078         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
25079         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
25080         New file.
25081         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
25082         New file.
25083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
25084         multiarch __ieee754_hypot for PowerPC32.
25085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
25086         New file.
25087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
25088         New file.
25089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
25090         multiarch __ieee754_hypotf for PowerPC32.
25092         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
25093         long_double_symbol only if __logbl is defined.
25094         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
25095         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
25096         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
25097         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
25098         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
25099         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
25100         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
25101         path for implementation.
25102         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
25103         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
25104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
25105         logb, and logbl multiarch implementations for PowerPC32.
25106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
25107         file.
25108         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
25109         file.
25110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
25111         multiarch logb for PowerPC32.
25112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
25113         file.
25114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
25115         file.
25116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
25117         multiarch logbf for PowerPC32.
25118         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
25119         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
25120         file.
25121         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
25122         multiarch logbl implementation for PowerPC32.
25124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
25125         and modff multiarch implementations.
25126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
25127         New file.
25128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
25129         New file.
25130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
25131         multiarch modf for PowerPC32.
25132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
25133         New file.
25134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
25135         New file.
25136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
25137         multiarch modff for PowerPC32.
25139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
25140         and lrintf multiarch implementations.
25141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
25142         New file.
25143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
25144         New file.
25145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
25146         multiarch lrint for PowerPC32.
25147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
25148         file: multiarch lrintf for PowerPC32.
25150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
25151         and lroundf multiarch implementations.
25152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
25153         New file.
25154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
25155         New file.
25156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
25157         New file.
25158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
25159         multiarch lround for PowerPC32.
25160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
25161         file: multiarch lroundf for PowerPC32.
25163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
25164         copysign and copysignf multiarch implementations.
25165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
25166         New file.
25167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
25168         New file.
25169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
25170         file: multiarch copysign for PowerPC32.
25171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
25172         file: multiarch copysignf for PowerPC32.
25174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
25175         and truncf multiarch implementations.
25176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
25177         New file.
25178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
25179         file.
25180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
25181         multiarch trunc for PowerPC32.
25182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
25183         New file.
25184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
25185         New file.
25186         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
25187         multiarch truncf for PowerPC32.
25189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
25190         and roundf multiarch implementations.
25191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
25192         New file.
25193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
25194         file.
25195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
25196         multiarch round for PowerPC32.
25197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
25198         New file.
25199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
25200         New file.
25201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
25202         multiarch roundf for PowerPC32.
25204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
25205         and floorf multiarch implementations.
25206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
25207         New file.
25208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
25209         file.
25210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
25211         multiarch floor for PowerPC32.
25212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
25213         New file.
25214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
25215         New file.
25216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
25217         multiarch floorf for PowerPC32.
25219         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
25220         and ceilf multiarch implementations.
25221         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
25222         New file.
25223         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
25224         file.
25225         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
25226         multiarch ceil for PowerPC32.
25227         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
25228         New file.
25229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
25230         file.
25231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
25232         multiarch ceilf for PowerPC32.
25234         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
25235         is defined.
25236         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
25237         FINITEF is defined.
25238         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
25239         and finitef multiarch implementations.
25240         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
25241         New file.
25242         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
25243         file.
25244         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
25245         multiarch finite for PowerPC32.
25246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
25247         New file.
25248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
25249         file: multiarch finitef for PowerPC32.
25251         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
25252         and isinff multiarch implementations.
25253         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
25254         file.
25255         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
25256         file.
25257         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
25258         multiarch isinf for PowerPC32.
25259         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
25260         New file.
25261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
25262         multiarch isinff for PowerPC32.
25264         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
25265         alias when __isnan is defined.
25266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
25267         and isnanf multiarch implementations.
25268         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
25269         file.
25270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
25271         file.
25272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
25273         file.
25274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
25275         file.
25276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
25277         multiarch isnan for PowerPC32.
25278         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
25279         New file.
25280         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
25281         New file.
25282         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
25283         multiarch isnanf for PowerPC32.
25285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
25286         and sqrtf multiarch implementations.
25287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
25288         file.
25289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
25290         file.
25291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
25292         multiarch sqrt for PowerPC32.
25293         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
25294         file.
25295         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
25296         file.
25297         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
25298         multiarch sqrtf for PowerPC32.
25300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
25301         and llroundf multiarch implementations.
25302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
25303         New file.
25304         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
25305         New file.
25306         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
25307         New file.
25308         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
25309         file: multiarch llround for PowerPC32.
25310         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
25311         file: multiarch llroundf for PowerPC32.
25313         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
25314         multiarch PowerPC32 fpu implementations.
25315         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
25316         New file.
25317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
25318         New file.
25319         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
25320         multiarch llrint for PowerPC32.
25321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
25322         New file.
25323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
25324         New file.
25325         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
25326         file.
25328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
25330         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
25331         file.
25332         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
25333         file.
25334         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
25335         file.
25336         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
25337         multiarch wordcopy for PPC32.
25338         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
25339         wordcopy objects.
25340         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25341         (__libc_ifunc_impl_list): Likewise.
25342         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
25343         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
25344         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
25345         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
25346         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
25347         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
25349         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
25350         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
25351         file.
25352         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
25353         file.
25354         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
25355         file.
25356         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
25357         multiarch wcscpy for PPC32.
25358         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
25359         multiarch objects.
25360         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25361         (__libc_ifunc_impl_list): Likewise.
25362         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
25363         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
25364         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
25365         sysdeps/powerpc/power6/wcscpy.c.
25367         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
25368         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
25369         file.
25370         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
25371         file.
25372         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
25373         file.
25374         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
25375         multiarch wcsrchr for PPC32.
25376         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
25377         multiarch objects.
25378         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25379         (__libc_ifunc_impl_list): Likewise.
25380         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
25381         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
25382         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
25383         sysdeps/powerpc/power6/wcsrchr.c.
25385         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
25386         file.
25387         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
25388         file.
25389         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
25390         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
25391         multiarch wcschr for PPc32.
25392         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
25393         multiarch objects.
25394         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25395         (__libc_ifunc_impl_list): Likewise.
25396         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
25397         * sysdeps/powerpc/power6/wcschr.c: ... to here.
25398         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
25399         sysdeps/powerpc/power6/wcschr.c.
25401         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
25402         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
25403         file.
25404         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
25405         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
25406         file: multiarch strchr for PPC32.
25407         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
25408         multiarch objects.
25409         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25410         (__libc_ifunc_impl_list): Likewise.
25412         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
25413         name.
25414         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
25415         file.
25416         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
25417         file.
25418         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
25419         multiarch strchrnul for PPC32.
25420         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
25421         multiarch objects.
25422         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25423         (__libc_ifunc_impl_list): Likewise.
25425         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
25426         file.
25427         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
25428         multiarch strncasecmp for PPC32.
25429         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
25430         file.
25431         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
25432         multiarch strncasecmp_l for PPC32.
25433         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
25434         strncasecmp multiarch objects.
25435         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25436         (__libc_ifunc_impl_list): Likewise.
25438         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
25439         file.
25440         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
25441         multiarch strncasecmp for PPC32.
25442         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
25443         New file.
25444         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
25445         multiarch strcasecmp_l for PPC32.
25446         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
25447         multiarch objects.
25448         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25449         (__libc_ifunc_impl_list): Likewise.
25451         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
25452         file.
25453         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
25454         file.
25455         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
25456         multiarch strncmp for PPC32.
25457         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
25458         multiarch objects.
25459         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25460         (__libc_ifunc_impl_list): Likewise.
25462         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
25463         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
25464         file.
25465         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
25466         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
25467         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
25468         multiarch objects.
25469         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25470         (__libc_ifunc_impl_list): Likewise.
25472         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
25473         file.
25474         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
25475         file.
25476         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
25477         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
25478         multiarch objects.
25479         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25480         (__libc_ifunc_impl_list): Likewise.
25482         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
25483         file.
25484         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
25485         file.
25486         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
25487         multiarch rawmemchr for PPC32.
25488         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
25489         multiarch objects.
25490         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25491         (__libc_ifunc_impl_list): Likewise.
25493         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
25494         file.
25495         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
25496         file.
25497         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
25498         file: memrchr multiarch for PPC32.
25499         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
25500         multiarch objects.
25501         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25502         (__libc_ifunc_impl_list): Likewise.
25504         * string/memchr.c (__memchr): Using macro to redefine symbol name.
25505         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
25506         file.
25507         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
25508         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
25509         multiarch memchr for PPC32.
25510         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
25511         multiarch objects.
25512         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25513         (__libc_ifunc_impl_list): Likewise.
25515         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
25516         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
25517         file.
25518         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
25519         file.
25520         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
25521         file: multiarch mempcpy for PPC32.
25522         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
25523         multiarch objects.
25524         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25525         (__libc_ifunc_impl_list): Likewise.
25527         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
25528         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
25529         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
25530         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
25531         multiarch bzero for PPC32.
25532         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
25533         file.
25534         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
25535         file.
25536         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
25537         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
25538         file: multiarch memset for PPC32.
25539         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
25540         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
25541         memset multiarch objects.
25542         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25543         (__libc_ifunc_impl_list): Likewise.
25545         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
25546         file.
25547         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
25548         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
25549         memcmp for PPC32.
25550         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
25551         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
25552         multiarch objects.
25553         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25554         (__libc_ifunc_impl_list): Likewise.
25556         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
25557         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
25558         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
25559         file.
25560         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
25561         file.
25562         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
25563         file.
25564         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
25565         multiarch memcpy for PPC32.
25566         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
25567         multiarch objects.
25568         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25569         (__libc_ifunc_impl_list): Likewise.
25571         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
25572         support multiarch for POWER/PPC32.
25573         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
25574         Likewise.
25575         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
25576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
25577         Implies file to make multiarch folder appers before the fpu and
25578         default folder for power4 configuration.
25580 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25582         * scripts/bench.pl: Append volatile keyword to type.
25584 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25586         * sysdeps/sh/sotruss-lib.c: New file.
25587         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
25589 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25591         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25593 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
25595         [BZ #6810]
25596         * math/w_tgamma.c: Include <errno.h>.
25597         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
25598         * math/w_tgammaf.c: Include <errno.h>.
25599         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
25600         * math/w_tgammal.c: Include <errno.h>.
25601         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
25602         * math/auto-libm-test-in: Do not allow missing errno on tgamma
25603         underflow.  Add more tgamma tests.
25604         * math/auto-libm-test-out: Regenerated.
25605         * sysdeps/i386/fpu/libm-test-ulps: Update.
25606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25608         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
25609         sin, sinh, tan, tanh, tgamma, y0 and y1.
25610         * math/auto-libm-test-out: Regenerated.
25611         * math/libm-test.inc (TEST_COND_x86_64): New macro.
25612         (TEST_COND_x86): Likewise.
25613         (M_E2l): Remove macro.
25614         (M_E3l): Likewise.
25615         (M_2_SQRT_PIl): Likewise.
25616         (M_SQRT_PIl): Likewise.
25617         (M_1_DIV_El): Likewise.
25618         (log_test_data): Use AUTO_TESTS_f_f.
25619         (log10_test_data): Likewise.
25620         (log1p_test_data): Likewise.
25621         (log2_test_data): Likewise.
25622         (sin_test_data): Likewise.
25623         (sin_tonearest_test_data): Likewise.
25624         (sin_towardzero_test_data): Likewise.
25625         (sin_downward_test_data): Likewise.
25626         (sin_upward_test_data): Likewise.
25627         (sinh_test_data): Likewise.
25628         (sinh_tonearest_test_data): Likewise.
25629         (sinh_towardzero_test_data): Likewise.
25630         (sinh_downward_test_data): Likewise.
25631         (sinh_upward_test_data): Likewise.
25632         (tan_test_data): Likewise.
25633         (tan_tonearest_test_data): Likewise.
25634         (tan_towardzero_test_data): Likewise.
25635         (tan_downward_test_data): Likewise.
25636         (tan_upward_test_data): Likewise.
25637         (tanh_test_data): Likewise.
25638         (tgamma_test_data): Likewise.
25639         (y0_test_data): Likewise.
25640         (y1_test_data): Likewise.
25641         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
25642         (special_real_inputs): Add pi/4.
25643         * sysdeps/i386/fpu/libm-test-ulps: Update.
25644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25646 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25648         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
25649         "longjmp_target" static probes.
25650         (__longjmp): Rename to __longjmp_symbol.
25651         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25652         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
25653         on which longjmp to generate.
25654         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
25655         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
25656         probe.
25657         (__sigsetjmp): Rename to __sigsetjmp_symbol.
25658         (__sigjmp_save): Rename to __sigjmp_save_symbol.
25659         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
25660         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
25661         and __sigjmp_save_symbol based on which sigsetjmp to generated.
25662         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
25663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
25664         __longjmp_symbol based on which __longjmp to generate.
25665         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
25666         probe.
25667         (setjmp): Rename to setjmp_symbol.
25668         (__sigsetjmp): Rename to __sigsetjmp_symbol.
25669         (_setjmp): Rename to _setjmp_symbol.
25670         (__sigsetjmp): Rename to __sigsetjmp_symbol.
25671         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
25672         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
25673         which setjmp to generate.
25674         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
25675         "longjmp_target" static probes.
25677 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25679         * benchtests/README: Add note about output arguments.
25680         * benchtests/bench-sincos.c: Remove file.
25681         * benchtests/sincos-inputs: New file.
25682         * scripts/bench.pl: Identify output arguments and define
25683         static variables for them.
25685         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
25687         [BZ #15941]
25688         * Makefile (INSTALL): Add install-plain.texi as the primary
25689         dependency.
25690         * manual/install-plain.texi: New file.
25691         * manual/install.texi: Include node directive only for
25692         non-plaintext output.
25694 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
25696         * stdlib/longlong.h: Update from GCC.
25698         [BZ #6807]
25699         [BZ #15901]
25700         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
25701         * math/w_j0f.c (y0f): Likewise.
25702         * math/w_j0l.c (__y0l): Likewise.
25703         * math/w_j1.c (y1): Likewise.
25704         * math/w_j1f.c (y1f): Likewise.
25705         * math/w_j1l.c (__y1l): Likewise
25706         * math/w_jn.c (yn): Likewise.
25707         * math/w_jnf.c (ynf): Likewise.
25708         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
25709         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
25710         value for Bessel function domain errors outside _SVID_ mode.
25711         Adjust sign of return value for yn (negative integer, 0).
25712         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
25713         by zero in return for negative x and set sign appropriately for
25714         negative n.
25715         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
25716         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25717         * math/libm-test.inc (y0_test_data): Add more tests and adjust
25718         expectations in error cases.
25719         (y1_test_data): Likewise.
25720         (yn_test_data): Likewise.
25721         * sysdeps/i386/fpu/libm-test-ulps: Update.
25722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25724 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25726         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
25727         "64" to "64-v1".  Add "64-v2".
25728         (abi-64-options): Rename to ...
25729         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
25730         (abi-64-condition): Rename to ...
25731         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
25732         (abi-64-ld-soname): Rename to ...
25733         (abi-64-v1-ld-soname): ... this.
25734         (abi-64-v2-options): Define.
25735         (abi-64-v2-condition): Likewise.
25736         (abi-64-v2-ld-soname): Likewise.
25737         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
25738         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
25739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
25740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
25741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
25743 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25744             Alan Modra  <amodra@gmail.com>
25746         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
25747         New versions for use with the ELFv2 ABI.
25748         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
25749         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
25750         declaration.
25751         (struct La_ppc64v2_retval): Likewise.
25752         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
25753         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
25754         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
25755         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
25756         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
25757         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
25758         Do not save or restore CR.
25759         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
25760         (_dl_profile_resolve): Do no save or restore CR.  Support extended
25761         return values for ELFv2 ABI.  Fix location of FPR return registers.
25762         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
25763         updated values for _CALL_ELF == 2.
25764         (La_regs, La_retval, int_retval): Likewise.
25766 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25768         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
25769         (FRAME_MIN_SIZE_PARM): Likewise.
25770         (FRAME_BACKCHAIN): Likewise.
25771         (FRAME_CR_SAVE): Likewise.
25772         (FRAME_LR_SAVE): Likewise.
25773         (FRAME_TOC_SAVE): Likewise.
25774         (FRAME_PARM_SAVE): Likewise.
25775         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
25776         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
25777         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
25778         (call_mcount_parm_offset): New macro.
25779         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
25780         (PROF): Use symbolic stack frame offsets.
25781         (TAIL_CALL_SYSCALL_ERROR): Likewise.
25782         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
25783         Redefine in terms of FRAME_MIN_SIZE.
25784         (_dl_runtime_resolve): Use symbolic stack frame offsets.
25785         (_dl_profile_resolve): Likewise.  Update comment.
25786         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
25787         symbols stack frame offsets.
25788         (__sigsetjmp): Likewise.
25789         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
25790         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
25791         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
25792         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
25794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
25795         (FRAME_BACKCHAIN): Remove.
25796         (FRAME_CR_SAVE): Likewise.
25797         (FRAME_LR_SAVE): Likewise.
25798         (FRAME_COMPILER_DW): Likewise.
25799         (FRAME_LINKER_DW): Likewise.
25800         (FRAME_TOC_SAVE): Likewise.
25801         (FRAME_PARM_SAVE): Likewise.
25802         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
25803         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
25804         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
25805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
25806         (CHECK_SP): Use symbolic stack frame offsets.
25807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
25808         zone" instead of caller's parameter save area for temp storage.
25809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25810         Likewise.  Also, use symbolic stack frame offsets.
25811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
25812         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
25813         our own stack frame instead of the caller's.
25814         (__socket): Use symbolic stack frame offsets.
25816 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25817             Alan Modra  <amodra@gmail.com>
25819         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
25820         Define.
25821         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
25822         (PPC64_LOCAL_ENTRY_OFFSET): Define.
25823         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
25824         New function.
25825         (elf_machine_fixup_plt): Call it.
25826         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
25827         reloc arguments.
25828         (elf_machine_rela): Update call to elf_machine_plt_conflict.
25829         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
25830         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
25831         r2 before calling target.
25833 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25834             Alan Modra  <amodra@gmail.com>
25836         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
25837         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
25838         versions of macros to support ELFv2 ABI.
25839         (LOCALENTRY): New macro.
25840         (ENTRY, EALIGN): Use it.
25841         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
25842         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
25843         fall through into ENTRY entry point.
25844         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
25845         Only define if _CALL_ELF != 2.
25847         (elf_machine_matches_host): Verify ABI version matches.
25848         (RTLD_START): Use LOCALENTRY.
25849         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
25850         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
25851         (PLT_ENTRY_WORDS): New macro.
25852         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
25853         (elf_machine_runtime_setup): Support ELFv2 ABI.
25854         (elf_machine_fixup_plt): Likewise.
25855         (elf_machine_plt_conflict): Likewise.
25856         (resolve_ifunc): Likewise.
25857         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
25858         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
25859         Likewise.
25860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
25861         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
25862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25863         (makecontext): Support ELFv2 ABI.
25864         * elf/elf.h (EF_PPC64_ABI): Define.
25866 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25868         * sysdeps/powerpc/powerpc64/sysdep.h
25869         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
25870         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
25871         (ENTRY) [ASSEMBLER]: ... but instead here ...
25872         (EALIGN) [ASSEMBLER]: ... and here.
25873         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
25874         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
25875         (ENTRY_2) [!ASSEMBLER]: Use it.
25876         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
25877         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
25878         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
25879         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
25880         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
25881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
25882         Use PPC64_LOAD_FUNCPTR.
25884         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
25886 2013-12-04  Alan Modra  <amodra@gmail.com>
25888         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
25889         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
25890         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
25891         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
25893         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
25894         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
25895         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
25896         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
25897         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
25898         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
25900 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25903         (__makecontext): Fix incorrect CFI when backtracing out of
25904         context created via makecontext.
25905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
25906         (__setcontext): Fix incorrect CFI during switch to new context.
25907         (__novec_setcontext): Likewise.
25909 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
25911         [BZ #4772]
25912         * time/strptime_l.c (__strptime_internal): Allow modifiers
25913         in strptime.
25914         * time/tst-strptime.c (day_tests): Add testcase.
25916 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25918         * scripts/bench.pl: Skip over blank lines.
25920 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
25922         [BZ #926]
25923         * manual/time.texi (Calendar Time): Clarify what timezone functions
25924         use.
25926 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25928         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25930 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
25932         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
25933         implementation.
25934         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
25935         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
25936         * debug/memset_chk.c (__memset_chk): Likewise.
25937         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
25938         * debug/strncpy_chk.c: Likewise.
25940 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
25942         [BZ #15268]
25943         [BZ #15425]
25944         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
25945         (__ieee754_exp): For possibly underflowing results, check size of
25946         result and force underflow exception if required.
25947         * math/auto-libm-test-in: Add more tests of exp.
25948         * math/auto-libm-test-out: Regenerated.
25949         * sysdeps/i386/fpu/libm-test-ulps: Update.
25950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25952         [BZ #16283]
25953         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
25954         * math/w_exp2f.c (__exp2f): Likewise.
25955         * math/w_exp2l.c (__exp2l): Likewise.
25956         * math/auto-libm-test-in: Do not allow missing errno on exp2
25957         underflow.
25958         * math/auto-libm-test-out: Regenerated.
25960 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
25962         [BZ #16274]
25963         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
25964         handle filename validation.
25965         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
25966         (do_open): Delete.
25968 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
25970         [BZ #6786]
25971         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
25972         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
25973         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
25974         <float.h>.
25975         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
25976         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
25977         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25978         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
25979         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25980         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
25981         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25982         * math/auto-libm-test-in: Don't allow missing errno from erfc.
25983         Add more erfc tests.
25984         * math/auto-libm-test-out: Regenerated.
25985         * sysdeps/i386/fpu/libm-test-ulps: Update.
25986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25988         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
25989         exp2, expm1, j0 and j1.
25990         * math/auto-libm-test-out: Regenerated.
25991         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
25992         (erfc_test_data): Likewise.
25993         (exp_test_data): Likewise.
25994         (exp_tonearest_test_data): Likewise.
25995         (exp_towardzero_test_data): Likewise.
25996         (exp_downward_test_data): Likewise.
25997         (exp_upward_test_data): Likewise.
25998         (exp10_test_data): Likewise.
25999         (exp2_test_data): Likewise.
26000         (expm1_test_data): Likewise.
26001         (j0_test_data): Likewise.
26002         (j1_test_data): Likewise.
26003         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
26004         (input_flag_type): Add flag_xfail_rounding.
26005         (input_flags): Add xfail-rounding.
26006         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
26007         (output_for_one_input_case): Handle flag_xfail_rounding.
26008         * sysdeps/i386/fpu/libm-test-ulps: Update.
26009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26011 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
26013         [BZ #16289]
26014         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
26015         division by 0.
26017 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
26019         [BZ #16195]
26020         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
26021         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
26022         (STAP_PROBE0): New macro.
26023         (STAP_PROBE1): Likewise.
26024         (STAP_PROBE2): Likewise.
26025         (STAP_PROBE3): Likewise.
26026         (STAP_PROBE4): Likewise.
26028 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
26030         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
26032 2013-12-02  Steve Ellcey  <sellcey@mips.com>
26034         * benchtests/Makefile (bench): Add sqrt.
26035         (LDLIBS-bench-sqrt): New.
26036         * benchtests/sqrt-input: New.
26038 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
26040         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
26041         (GAIH_EAI): Likewise.
26042         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
26043         (gaih_inet): Likewise.
26044         (getaddrinfo): Don't use GAIH_EAI.
26046         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
26047         (struct gaih): Remove definition.
26049 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26051         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
26052         Use HERRNOP directly.
26054 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26056         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26058 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
26060         * math/gen-auto-libm-tests.c (test_functions): Add more
26061         single-argument functions.
26062         (special_fill_pi_2): New function.
26063         (special_fill_minus_pi_2): Likewise.
26064         (special_fill_pi_6): Likewise.
26065         (special_fill_minus_pi_6): Likewise.
26066         (special_fill_pi_3): Likewise.
26067         (special_fill_2pi_3): Likewise.
26068         (special_fill_e): Likewise.
26069         (special_fill_1_e): Likewise.
26070         (special_fill_e_minus_1): Likewise.
26071         (special_real_inputs): Add more special inputs.
26072         (output_for_one_input_case): Do not require ERANGE on underflow to
26073         zero if round-to-nearest result does not underflow to zero, unless
26074         exact results required.
26075         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
26076         atan, atanh, cbrt, cos and cosh.
26077         * math/auto-libm-test-out: Regenerated.
26078         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
26079         (acos_tonearest_test_data): Likewise.
26080         (acos_towardzero_test_data): Likewise.
26081         (acos_downward_test_data): Likewise.
26082         (acos_upward_test_data): Likewise.
26083         (acosh_test_data): Likewise.
26084         (asin_test_data): Likewise.
26085         (asin_tonearest_test_data): Likewise.
26086         (asin_towardzero_test_data): Likewise.
26087         (asin_upward_test_data): Likewise.
26088         (asinh_test_data): Likewise.
26089         (atan_test_data): Likewise.
26090         (atanh_test_data): Likewise.
26091         (cbrt_test_data): Likewise.
26092         (cos_test_data): Likewise.
26093         (cos_tonearest_test_data): Likewise.
26094         (cos_towardzero_test_data): Likewise.
26095         (cos_downward_test_data): Likewise.
26096         (cos_upward_test_data): Likewise.
26097         (cosh_test_data): Likewise.
26098         (cosh_tonearest_test_data): Likewise.
26099         (cosh_towardzero_test_data): Likewise.
26100         (cosh_downward_test_data): Likewise.
26101         (cosh_upward_test_data): Likewise.
26102         * sysdeps/i386/fpu/libm-test-ulps: Update.
26103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26105 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
26107         [BZ #6787]
26108         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
26109         * math/w_exp10f.c (__exp10f): Likewise.
26110         * math/w_exp10l.c (__exp10l): Likewise.
26111         * math/libm-test.inc (exp10_test_data): Add more tests and expect
26112         errno settings in existing tests.
26114         [BZ #14032]
26115         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
26116         precision control set to double precision.
26117         * sysdeps/i386/fpu/w_sqrt.c: New file.
26118         * math/auto-libm-test-in: Add more tests.
26119         * math/auto-libm-test-out: Update.
26121         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
26122         (sqrt_test_tonearest): New function.
26123         (sqrt_towardzero_test_data): New variable.
26124         (sqrt_test_towardzero): New function.
26125         (sqrt_downward_test_data): New variable.
26126         (sqrt_test_downward): New function.
26127         (sqrt_upward_test_data): New variable.
26128         (sqrt_test_upward): New function.
26129         (main): Call the new functions.
26131         * math/gen-auto-libm-tests.c: New file.
26132         * math/auto-libm-test-in: Likewise.
26133         * math/auto-libm-test-out: New generated file.
26134         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
26135         variables.
26136         (%beautify): Add generated representations of zero.
26137         (top level): Set $auto_input and call parse_auto_input.
26138         (beautify): Remove trailing "f" from hex float constants.
26139         (parse_args): Handle XFAIL_TEST.
26140         (convert_condition): New function.
26141         (or_value): Likewise.
26142         (or_cond_value): Likewise.
26143         (generate_testfile): Handle AUTO_TESTS_* lines.
26144         (parse_auto_input): New function.
26145         * math/libm-test.inc (XFAIL_TEST): New macro.
26146         (ERRNO_UNCHANGED): Update value.
26147         (ERRNO_EDOM): Likewise.
26148         (ERRNO_ERANGE): Likewise.
26149         (IGNORE_RESULT): Likewise.
26150         (TEST_COND_flt_32): New macro.
26151         (TEST_COND_dbl_64): Likewise.
26152         (TEST_COND_ldbl_96_intel): Likewise.
26153         (TEST_COND_ldbl_96_m68k): Likewise.
26154         (TEST_COND_ldbl_128): Likewise.
26155         (TEST_COND_ldbl_128ibm): Likewise.
26156         (TEST_COND_long32): Likewise.
26157         (TEST_COND_long64): Likewise.
26158         (TEST_COND_before_rounding): Likewise.
26159         (TEST_COND_after_rounding): Likewise.
26160         (enable_test): Handle XFAIL_TEST flag.
26161         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
26162         with finite results.
26163         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
26164         auto-libm-test-out.
26166 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26167             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26169         [BZ #16214]
26170         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
26171         __tls_get_addr_internal instead of __tls_get_offset in order to
26172         avoid GOT pointer dependency.  Make rtld export
26173         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
26174         __tls_get_addr since we are a __tls_get_offset platform.
26175         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
26176         GOT pointer being set up before.
26177         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
26179 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
26181         * manual/math.texi (Errors in Math Functions): Document accuracy
26182         goals.
26184         [BZ #15004]
26185         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
26186         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
26187         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26188         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26189         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26190         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26191         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26192         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26193         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26194         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26195         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26196         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26197         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26198         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26199         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26200         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26202         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
26203         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
26204         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
26205         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
26206         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
26207         Likewise.
26208         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
26209         Likewise.
26210         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
26211         Likewise.
26212         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
26213         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
26214         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
26215         atomic-feupdateenv and flt-rounds.
26216         * sysdeps/powerpc/nofpu/Versions (libc): Add
26217         __atomic_feholdexcept, __atomic_feclearexcept,
26218         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
26219         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
26220         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
26221         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
26222         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
26223         here.
26224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
26225         Update.
26227         * manual/arith.texi (FP Exceptions): Document that exceptions may
26228         not be raised when matherr is used.
26229         (Math Error Reporting): Document overflow in directed rounding
26230         modes.  Document that errno may not be set when finite values are
26231         returned on overflow.  Document intent to set errno on underflow
26232         only for underflow to zero.
26234         [BZ #16271]
26235         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
26236         round-to-nearest then adjust result for other rounding modes.
26237         * include/fenv.h (fegetround): Use libm_hidden_proto.
26238         * math/fegetround.c (fegetround): Use libm_hidden_def.
26239         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
26240         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
26241         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
26242         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
26243         Likewise.
26244         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
26245         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26246         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
26247         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
26249 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26251         [BZ #16077]
26252         * nss/Versions (libnss_files): Add
26253         _nss_files_gethostbyname3_r.
26254         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
26255         New function.
26256         (HOST_DB_LOOKUP): Remove macro.
26257         (_nss_files_gethostbyname_r): Implement function without the
26258         HOST_DB_LOOKUP macro.
26259         (_nss_files_gethostbyname2_r): Likewise.
26261 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
26263         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
26265 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
26267         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
26268         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
26269         warning.
26271 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26273         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
26274         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
26275         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
26276         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
26277         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
26278         __fe_nomask_env_priv and attribute_hidden.
26279         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
26280         (libc_feupdateenv_test_ppc): Likewise.
26281         (libc_feresetround_ppc): Likewise.
26282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26283         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
26284         compat_symbol macro.
26285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26286         (__fe_nomask_env): Likewise.
26287         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
26289 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
26291         * string/Makefile: Remove ifunc tests.
26292         * string/test-string.h: Define TEST_IFUNC.
26293         * string/test-bcopy-ifunc.c: Remove.
26294         * string/test-bzero-ifunc.c: Likewise.
26295         * string/test-memccpy-ifunc.c: Likewise.
26296         * string/test-memchr-ifunc.c: Likewise.
26297         * string/test-memcmp-ifunc.c: Likewise.
26298         * string/test-memcpy-ifunc.c: Likewise.
26299         * string/test-memmem-ifunc.c: Likewise.
26300         * string/test-memmove-ifunc.c: Likewise.
26301         * string/test-mempcpy-ifunc.c: Likewise.
26302         * string/test-memrchr-ifunc.c: Likewise.
26303         * string/test-memset-ifunc.c: Likewise.
26304         * string/test-rawmemchr-ifunc.c: Likewise.
26305         * string/test-stpcpy-ifunc.c: Likewise.
26306         * string/test-stpncpy-ifunc.c: Likewise.
26307         * string/test-strcasecmp-ifunc.c: Likewise.
26308         * string/test-strcasestr-ifunc.c: Likewise.
26309         * string/test-strcat-ifunc.c: Likewise.
26310         * string/test-strchr-ifunc.c: Likewise.
26311         * string/test-strchrnul-ifunc.c: Likewise.
26312         * string/test-strcmp-ifunc.c: Likewise.
26313         * string/test-strcpy-ifunc.c: Likewise.
26314         * string/test-strcspn-ifunc.c: Likewise.
26315         * string/test-strlen-ifunc.c: Likewise.
26316         * string/test-strncasecmp-ifunc.c: Likewise.
26317         * string/test-strncat-ifunc.c: Likewise.
26318         * string/test-strncmp-ifunc.c: Likewise.
26319         * string/test-strncpy-ifunc.c: Likewise.
26320         * string/test-strnlen-ifunc.c: Likewise.
26321         * string/test-strpbrk-ifunc.c: Likewise.
26322         * string/test-strrchr-ifunc.c: Likewise.
26323         * string/test-strspn-ifunc.c: Likewise.
26324         * string/test-strstr-ifunc.c: Likewise.
26326 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
26328         * benchtests/Makefile: Remove ifunc tests.
26329         * benchtests/bench-string.h: Define TEST_IFUNC.
26330         * benchtests/bench-bcopy-ifunc.c: Remove.
26331         * benchtests/bench-bzero-ifunc.c: Likewise.
26332         * benchtests/bench-memccpy-ifunc.c: Likewise.
26333         * benchtests/bench-memchr-ifunc.c: Likewise.
26334         * benchtests/bench-memcmp-ifunc.c: Likewise.
26335         * benchtests/bench-memcpy-ifunc.c: Likewise.
26336         * benchtests/bench-memmem-ifunc.c: Likewise.
26337         * benchtests/bench-memmove-ifunc.c: Likewise.
26338         * benchtests/bench-mempcpy-ifunc.c: Likewise.
26339         * benchtests/bench-memrchr-ifunc.c: Likewise.
26340         * benchtests/bench-memset-ifunc.c: Likewise.
26341         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
26342         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
26343         * benchtests/bench-stpcpy-ifunc.c: Likewise.
26344         * benchtests/bench-stpncpy-ifunc.c: Likewise.
26345         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
26346         * benchtests/bench-strcasestr-ifunc.c: Likewise.
26347         * benchtests/bench-strcat-ifunc.c: Likewise.
26348         * benchtests/bench-strchr-ifunc.c: Likewise.
26349         * benchtests/bench-strchrnul-ifunc.c: Likewise.
26350         * benchtests/bench-strcmp-ifunc.c: Likewise.
26351         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
26352         * benchtests/bench-strcpy-ifunc.c: Likewise.
26353         * benchtests/bench-strcspn-ifunc.c: Likewise.
26354         * benchtests/bench-strlen-ifunc.c: Likewise.
26355         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
26356         * benchtests/bench-strncat-ifunc.c: Likewise.
26357         * benchtests/bench-strncmp-ifunc.c: Likewise.
26358         * benchtests/bench-strncpy-ifunc.c: Likewise.
26359         * benchtests/bench-strnlen-ifunc.c: Likewise.
26360         * benchtests/bench-strpbrk-ifunc.c: Likewise.
26361         * benchtests/bench-strrchr-ifunc.c: Likewise.
26362         * benchtests/bench-strsep-ifunc.c: Likewise.
26363         * benchtests/bench-strspn-ifunc.c: Likewise.
26364         * benchtests/bench-strstr-ifunc.c: Likewise.
26366 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
26368         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
26370 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
26372         * resolv/netdb.h: Use __glibc_reserved instead __unused.
26373         * rt/aio.h: Likewise.
26374         * sysdeps/gnu/bits/utmp.h: Likewise.
26375         * sysdeps/gnu/bits/utmpx.h: Likewise.
26376         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26377         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
26378         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
26379         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
26380         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
26381         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
26382         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
26383         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
26384         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
26385         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
26386         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
26387         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
26388         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
26389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
26390         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26391         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
26392         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
26393         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
26394         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
26395         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
26396         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
26397         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
26398         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
26399         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26400         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
26401         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26402         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
26403         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
26404         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
26405         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
26406         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
26407         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
26408         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
26409         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
26410         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
26411         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
26412         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
26413         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
26414         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
26415         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
26416         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
26417         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
26419 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
26421         [BZ #16245]
26422         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
26423         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
26425 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
26427         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
26428         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
26429         Likewise.
26431 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26433         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
26434         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
26435         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
26436         (__fesetround): Remove define.
26437         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
26438         rounding and exceptions handling.
26439         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
26440         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
26441         (__fe_nomask_env): Likewise.
26442         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
26443         __fegetround instead of fegetround.
26444         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
26445         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
26447 2013-11-21  Roland McGrath  <roland@hack.frob.com>
26449         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
26450         it's there.
26452         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
26454 2013-11-21  Meador Inge  <meadori@codesourcery.com>
26456         [BZ #11157]
26457         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
26458         (encrypt_r): Likewise.
26459         * malloc/obstack.h (obstack_free): Likewise.
26460         * posix/unistd.h (encrypt): Likewise.
26462 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
26464         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
26465         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
26466         DL_CALL_DT_FINI() that call the functions directly.
26467         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
26468         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
26469         * elf/dl-fini.c: Likewise.
26471 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
26473         * malloc/hooks.c (memalign_check): Add alignment rounding.
26474         * malloc/malloc.c (_mid_memalign): New function.
26475         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
26476         Implement by calling _mid_memalign.
26477         * manual/probes.texi (Memory Allocation Probes): Remove
26478         memory_valloc_retry and memory_pvalloc_retry.
26480 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26482         * locale/programs/locarchive.c (open_archive): Add const
26483         qualifier to ARCHIVEFNAME and copy default fname to
26484         DEFAULT_FNAME.
26486         [BZ #15601]
26487         * libio/tst-widetext.input: Rename Oriya to Odia.
26488         * locale/iso-639.def: Likewise.
26490         * manual/probes.texi (Mathematical Function Probes): Add
26491         documentation for sin, cos, asin and acos probes.
26492         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
26493         (__sin32): Add slowasin probe.
26494         (__cos32): Add slowacos probe.
26495         (__mpsin): Add slowsin probe.
26496         (__mpcos): Add slowcos probe.
26498 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
26500         [BZ #15483]
26501         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
26502         thread-local __sim_exceptions_thread and global
26503         __sim_exceptions_global.
26504         (__sim_disabled_exceptions): Change to thread-local
26505         __sim_disabled_exceptions_thread and global
26506         __sim_disabled_exceptions_global.
26507         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
26508         and global __sim_round_mode_global.
26509         (__simulate_exceptions): Use thread-local floating-point state and
26510         set global state from it as needed.
26511         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
26512         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
26513         __sim_round_mode_thread.
26514         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
26515         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
26516         and global __sim_exceptions_global.
26517         (__sim_disabled_exceptions): Change to thread-local
26518         __sim_disabled_exceptions_thread and global
26519         __sim_disabled_exceptions_global.
26520         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
26521         and global __sim_round_mode_global.
26522         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
26523         (SIM_SET_GLOBAL): Likewise.
26524         * sysdeps/powerpc/soft-fp/sfp-machine.h
26525         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
26526         __sim_round_mode_thread.
26527         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
26528         __sim_disabled_exceptions_thread.
26529         (__sim_exceptions): Change to __sim_exceptions_thread.
26530         (__sim_disabled_exceptions): Change to
26531         __sim_disabled_exceptions_thread.
26532         (__sim_round_mode): Change to __sim_round_mode_thread.
26533         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
26534         thread-local floating-point state and set global state from it as
26535         needed.
26536         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
26537         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
26538         (__sim_disabled_exceptions): Remove extern declaration.
26539         (feenableexcept): Use thread-local floating-point state and set
26540         global state from it as needed.
26541         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
26542         extern declaration.
26543         (__sim_disabled_exceptions): Likewise.
26544         (__sim_round_mode): Likewise.
26545         (__fegetenv): Use thread-local floating-point state.
26546         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
26547         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
26548         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
26549         floating-point state and set global state from it as needed.
26550         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
26551         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
26552         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
26553         Likewise.
26554         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
26555         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
26556         Likewise.
26557         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
26558         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
26559         Use __sim_round_mode_thread.
26560         * math/test-fenv-tls.c: New file.
26561         * math/Makefile (tests): Add test-fenv-tls.
26562         ($(objpfx)test-fenv-tls): Depend on
26563         $(common-objpfx)nptl/libpthread.so.
26565 2013-11-19  Andreas Schwab  <schwab@suse.de>
26567         * locale/programs/locale.c (show_info): Decode wordarray elements.
26568         * locale/categories.def (LC_MONETARY): Add element for
26569         _NL_MONETARY_CRNCYSTR.
26570         * locale/C-monetary.c (conversion_rate): New variable.
26571         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
26572         element.
26574 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
26576         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
26577         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
26579 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
26581         * elf/Makefile (tst-auxv): New test.
26582         * elf/tst-auxv.c: New
26583         * elf/rtld.c (dl_main): Adjust AT_EXECFN
26585 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
26587         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
26588         (hidden_proto): Caller changed.
26589         (hidden_tls_proto): New macro.
26590         (libc_hidden_tls_proto): Likewise.
26591         (rtld_hidden_tls_proto): Likewise.
26592         (libm_hidden_tls_proto): Likewise.
26593         (libresolv_hidden_tls_proto): Likewise.
26594         (librt_hidden_tls_proto): Likewise.
26595         (libdl_hidden_tls_proto): Likewise.
26596         (libnss_files_hidden_tls_proto): Likewise.
26597         (libnsl_hidden_tls_proto): Likewise.
26598         (libnss_nisplus_hidden_tls_proto): Likewise.
26599         (libutil_hidden_tls_proto): Likewise.
26601 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
26603         [BZ #10253]
26604         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
26605         (decompose_rpath): Defer expansion to fillin_rpath.
26606         (_dl_init_paths): Pass linkmap to fillin_rpath.
26608 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26610         * benchtests/Makefile: Add strsep.
26611         * benchtests/bench-strsep.c: New file: strsep benchtest.
26612         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
26614 2013-11-18  Andreas Schwab  <schwab@suse.de>
26616         * locale/programs/locale.c (show_info) [case byte]: Check for
26617         '\377' instead of '\177'.
26618         * locale/C-monetary.c (not_available): Always use "\377".
26619         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
26620         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
26621         detect unavailable sign_posn locale elements.
26622         * locale/localeconv.c (__localeconv): For grouping and
26623         mon_grouping handle "\177" and "\377" like no grouping.
26624         (INT_ELEM): New macro.  Use it to set all numeric members.
26625         * locale/programs/ld-monetary.c (monetary_read)
26626         <tok_mon_grouping>: Normalize single -1 to the empty string.
26627         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
26628         Likewise.
26630 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
26632         [BZ #16055]
26633         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
26634         when we match (nil).
26635         * stdio-common/tst-sscanf.c (struct test): Add testcase.
26637 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
26639         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
26640         (NO_TEST_INLINE): Update value.
26641         (ERRNO_UNCHANGED): Likewise.
26642         (ERRNO_EDOM): Likewise.
26643         (ERRNO_ERANGE): Likewise.
26644         (IGNORE_RESULT): Likewise.
26645         (check_float_internal): Check signs of NaN results if
26646         TEST_NAN_SIGN used.
26647         (check_complex): Pass TEST_NAN_SIGN flag through to second
26648         check_float_internal call.
26649         (copysign_test_data): Add tests with quiet NaNs as second
26650         argument.  Use TEST_NAN_SIGN.
26651         (fabs_test_data): Add test of negative quiet NaN argument.  Use
26652         TEST_NAN_SIGN.
26653         (signbit_test_data): Add tests of quiet NaN argument.
26654         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
26656         * math/gen-libm-test.pl (show_exceptions): Take extra argument
26657         $ignore_result.
26658         (parse_args): Handle function results specified as IGNORE.
26659         * math/libm-test.inc (IGNORE_RESULT): New macro.
26660         (check_float_internal): Do not check numerical result if flag
26661         IGNORE_RESULT set.
26662         (check_complex): Pass through IGNORE_RESULT to second
26663         check_float_internal call.
26664         (check_int): Do not check numerical result if flag IGNORE_RESULT
26665         set.
26666         (check_long): Likewise.
26667         (check_bool): Likewise.
26668         (check_longlong): Likewise.
26669         (lrint_test_data): Add tests of infinite and NaN arguments.
26670         (lrint_tonearest_test_data): Likewise.
26671         (lrint_towardzero_test_data): Likewise.
26672         (lrint_downward_test_data): Likewise.
26673         (lrint_upward_test_data): Likewise.
26674         (llrint_test_data): Likewise.
26675         (llrint_tonearest_test_data): Likewise.
26676         (llrint_towardzero_test_data): Likewise.
26677         (llrint_downward_test_data): Likewise.
26678         (llrint_upward_test_data): Likewise.
26679         (lround_test_data): Likewise.
26680         (llround_test_data): Likewise.
26682         * math/libm-test.inc (NO_TEST_INLINE): New macro.
26683         (ERRNO_UNCHANGED): Update value.
26684         (ERRNO_EDOM): Likewise.
26685         (ERRNO_ERANGE): Likewise.
26686         (NO_TEST_INLINE_FLOAT): New macro.
26687         (NO_TEST_INLINE_DOUBLE): Likewise.
26688         (enable_test): New function.
26689         (RUN_TEST_f_f): Check enable_test before running test.
26690         (RUN_TEST_2_f): Likewise.
26691         (RUN_TEST_fff_f): Likewise.
26692         (RUN_TEST_c_f): Likewise.
26693         (RUN_TEST_f_f1): Likewise.
26694         (RUN_TEST_fF_f1): Likewise.
26695         (RUN_TEST_fI_f1): Likewise.
26696         (RUN_TEST_ffI_f1): Likewise.
26697         (RUN_TEST_c_c): Likewise.
26698         (RUN_TEST_cc_c): Likewise.
26699         (RUN_TEST_f_i): Likewise.
26700         (RUN_TEST_f_i_tg): Likewise.
26701         (RUN_TEST_ff_i_tg): Likewise.
26702         (RUN_TEST_f_b): Likewise.
26703         (RUN_TEST_f_b_tg): Likewise.
26704         (RUN_TEST_f_l): Likewise.
26705         (RUN_TEST_f_L): Likewise.
26706         (RUN_TEST_fFF_11): Likewise.
26707         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
26708         conditionals.
26709         (cosh_test_data): Likewise.
26710         (exp_test_data): Likewise.
26711         (expm1_test_data): Likewise.
26712         (hypot_test_data): Likewise.
26713         (pow_test_data): Likewise.
26714         (sinh_test_data): Likewise.
26715         (tanh_test_data): Likewise.
26716         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
26717         flags argument.
26719         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
26720         tests with quiet NaN input and output.
26721         (acosh_test_data): Likewise.
26722         (asin_test_data): Likewise.
26723         (asinh_test_data): Likewise.
26724         (atan_test_data): Likewise.
26725         (atanh_test_data): Likewise.
26726         (atan2_test_data): Likewise.
26727         (cbrt_test_data): Likewise.
26728         (cos_test_data): Likewise.
26729         (cosh_test_data): Likewise.
26730         (erf_test_data): Likewise.
26731         (erfc_test_data): Likewise.
26732         (exp_test_data): Likewise.
26733         (exp10_test_data): Likewise.
26734         (exp2_test_data): Likewise.
26735         (expm1_test_data): Likewise.
26736         (hypot_test_data): Likewise.
26737         (j0_test_data): Likewise.
26738         (j1_test_data): Likewise.
26739         (jn_test_data): Likewise.
26740         (lgamma_test_data): Likewise.
26741         (log_test_data): Likewise.
26742         (log10_test_data): Likewise.
26743         (log1p_test_data): Likewise.
26744         (log2_test_data): Likewise.
26745         (pow_test_data): Likewise.
26746         (scalb_test_data): Likewise.
26747         (sin_test_data): Likewise.
26748         (sincos_test_data): Likewise.
26749         (sinh_test_data): Likewise.
26750         (tan_test_data): Likewise.
26751         (tanh_test_data): Likewise.
26752         (tgamma_test_data): Likewise.
26753         (y0_test_data): Likewise.
26754         (y1_test_data): Likewise.
26755         (yn_test_data): Likewise.
26757         [BZ #16167]
26758         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
26759         argument being NaN and avoid computations with second argument in
26760         that case.
26761         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26762         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
26763         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
26765 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
26767         * locale/iso-639.def: Add Chitwani Tharu (the).
26769 2013-11-14  Andreas Schwab  <schwab@suse.de>
26771         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
26772         word instead of empty string.
26774 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26777         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
26778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26779         (__fe_nomask_env): Likewise.
26781 2013-11-13  Steve Ellcey  <sellcey@mips.com>
26783         * benchtests/bench-timing.h: Include time.h.
26785 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
26787         [BZ #15997]
26788         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
26789         to 3.4.0 for x32.
26790         * sysdeps/unix/sysv/linux/configure: Regenerated.
26792 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
26794         [BZ #16151]
26795         * stdlib/strtod_l.c (round_and_return): Do not consider
26796         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
26797         exponent one less than half the least subnormal exponent.
26798         * stdlib/test-strtod-round-data: Add more tests.
26799         * stdlib/tst-strtod-round.c (tests): Regenerated.
26801 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26803         [BZ #14143]
26804         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
26805         (__fe_mask_env): Likewise.
26806         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
26807         libm_hidden_proto and add function prototype.
26808         (__fe_mask_env): Add function prototype.
26809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26810         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
26811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26812         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
26813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26814         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
26816 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26818         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
26819         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
26821 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26823         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
26824         of htab_find_slot().
26826 2013-11-11  David S. Miller  <davem@davemloft.net>
26828         [BZ #16150]
26829         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
26830         symbol in the non-vis3 case in static builds.
26831         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
26832         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
26833         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
26834         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
26836 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
26838         [BZ #387]
26839         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
26840         it is empty.
26842 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26844         * benchtests/Makefile: Add bench-strtod.
26845         * benchtests/bench-strtod.c: New file: strtod benchtest
26847 2013-11-11  Andreas Schwab  <schwab@suse.de>
26849         [BZ #16153]
26850         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
26851         terminating NUL in key length.
26853 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26855         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
26856         Add artificial ODP entry for vDSO symbol for PPC64.
26857         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
26858         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
26860 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
26862         [BZ #15374]
26863         * nss/getent.c (services_keys): Recognize services starting with digit.
26865 2013-11-06  David S. Miller  <davem@davemloft.net>
26867         [BZ #15985]
26868         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
26869         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
26871 2013-11-06  Will Newton  <will.newton@linaro.org>
26873         * manual/memory.texi (Malloc Examples): Remove register
26874         keyword from examples.
26876 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
26878         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
26880 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
26882         [BZ #6981]
26883         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
26884         depending on [__GCC_IEC_559 > 0].
26885         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
26886         depending on [__GCC_IEC_559_COMPLEX > 0].
26888 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
26890         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
26891         to iso-639.def.
26893 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
26895         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
26897 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
26899         [BZ #16112]
26900         * malloc/malloc (malloc_info): Do not handle first bin as
26901         special case.
26903 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
26905         * locale/iso-639.def: Add Central Nahuatl (nhn).
26907 2013-11-01  Bruno Haible  <bruno@clisp.org>
26909         [BZ #7003]
26910         * manual/math.texi (BSD Random): Specify range upper bound as
26911         in POSIX.
26913 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
26915         * locale/iso-639.def: Add Meadow Mari (mhr).
26917 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
26919         [BZ #14752], [BZ #15763]
26920         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
26921         Validate name.
26922         * rt/tst_shm.c: Add test for escaping directory.
26924 2013-10-31  Andreas Schwab  <schwab@suse.de>
26926         [BZ #15917]
26927         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
26928         followed by 'x' as part of digit sequence.
26929         * stdio-common/tst-sscanf.c (double_tests2): New tests.
26931 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
26933         [BZ #16037]
26934         * configure.ac: allow GNU Make 4.0 and greater.
26935         * configure: Regenerated.
26937 2013-10-30  Will Newton  <will.newton@linaro.org>
26939         [BZ #16038]
26940         * malloc/hooks.c (memalign_check): Limit alignment to the
26941         maximum representable power of two.
26942         * malloc/malloc.c (__libc_memalign): Likewise.
26943         * malloc/tst-memalign.c (do_test): Add test for very
26944         large alignment values.
26945         * malloc/tst-posix_memalign.c (do_test): Likewise.
26947 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
26949         [BZ #11087]
26950         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
26951         (munmap_chunk): Likewise.
26952         (mremap_chunk): Likewise.
26954 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
26956         [BZ #15799]
26957         * stdlib/div.c (div): Remove obsolete code.
26958         * stdlib/ldiv.c (ldiv): Likewise.
26959         * stdlib/lldiv.c (lldiv): Likewise.
26961 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26963         [BZ #16071]
26964         * nss/nss_files/files-XXX.c (get_contents_ret): New
26965         enumerator.
26966         (get_contents): New function.
26967         (internal_getent): Use it.  Expand size of LINEBUFLEN.
26969 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
26971         * configure.in: Moved to ...
26972         * configure.ac: ... here. Change reference to configure.in
26973         to configure.ac.
26974         * sysdeps/arm/preconfigure.ac: ... here.
26975         configure.in to configure.ac.
26976         * sysdeps/gnu/configure.in: Moved to ...
26977         * sysdeps/gnu/configure.ac: ... here.
26978         * sysdeps/i386/configure.in: Moved to ...
26979         * sysdeps/i386/configure.ac: ... here.
26980         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
26981         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
26982         * sysdeps/mach/configure.in: Moved to ...
26983         * sysdeps/mach/configure.ac: ... here.
26984         * sysdeps/mach/hurd/configure.in: Moved to ...
26985         * sysdeps/mach/hurd/configure.ac: ... here.
26986         * sysdeps/powerpc/configure.in: Moved to ...
26987         * sysdeps/powerpc/configure.ac: ... here.
26988         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
26989         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
26990         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
26991         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
26992         * sysdeps/s390/s390-32/configure.in: Moved to ...
26993         * sysdeps/s390/s390-32/configure.ac: ... here.
26994         * sysdeps/s390/s390-64/configure.in: Moved to ...
26995         * sysdeps/s390/s390-64/configure.ac: ... here.
26996         * sysdeps/sh/configure.in: Moved to ...
26997         * sysdeps/sh/configure.ac: ... here.
26998         * sysdeps/sparc/configure.in: Moved to ...
26999         * sysdeps/sparc/configure.ac: ... here.
27000         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
27001         * sysdeps/unix/sysv/linux/configure.ac: ... here.
27002         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
27003         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
27004         * sysdeps/x86_64/configure.in: Moved to ...
27005         * sysdeps/x86_64/configure.ac: ... here.
27006         * sysdeps/x86_64/preconfigure.in: Moved to ...
27007         * sysdeps/x86_64/preconfigure.ac: ... here.
27008         * aclocal.m4: Change reference to configure.in to configure.ac.
27009         * config.h.in: Likewise.
27010         * manual/install.texi: Likewise.
27011         * manual/maint.texi: Likewise.
27012         * Makefile: Likewise.
27013         * malloc/Makefile: Likewise.
27014         * nscd/Makefile: Likewise.
27015         * Makeconfig: Change reference to configure.in and
27016         preconfigure.in to configure.ac and preconfigure.ac
27017         respectively.
27018         * INSTALL: Regenerated.
27019         * configure: Likewise.
27020         * sysdeps/gnu/configure: Likewise.
27021         * sysdeps/i386/configure: Likewise.
27022         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
27023         * sysdeps/mach/configure: Likewise.
27024         * sysdeps/mach/hurd/configure: Likewise.
27025         * sysdeps/powerpc/configure: Likewise.
27026         * sysdeps/powerpc/powerpc32/configure: Likewise.
27027         * sysdeps/powerpc/powerpc64/configure: Likewise.
27028         * sysdeps/s390/s390-32/configure: Likewise.
27029         * sysdeps/s390/s390-64/configure: Likewise.
27030         * sysdeps/sh/configure: Likewise.
27031         * sysdeps/sparc/configure: Likewise.
27032         * sysdeps/unix/sysv/linux/configure: Likewise.
27033         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
27034         * sysdeps/x86_64/configure: Likewise.
27035         * sysdeps/x86_64/preconfigure: Likewise.
27037 2013-10-29  Andreas Schwab  <schwab@suse.de>
27039         * stdio-common/Makefile (tst-swscanf-ENV): Define.
27041 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27043         * benchtests/pow-inputs: Add new inputs.
27045         * benchtests/exp-inputs: Add new inputs.
27047         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
27048         conditional check for return value.
27049         (__cos32): Likewise.
27051 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27053         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
27054         to provide a boost for large inputs with word alignment.
27055         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
27056         implementation based on optimized PPC64 strcpy.
27057         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
27058         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
27059         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
27060         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
27062 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
27064         [BZ #2801]
27065         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
27067 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
27069         [BZ #14876]
27070         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
27071         * time/tst-strptime.c (day_tests): Add testcase.
27073 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
27075         [BZ #14029]
27076         * manual/pattern.texi: Acknowledge that fnmatch can fail.
27078 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
27080         [BZ #16074]
27081         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
27082         MAP_FAILED on error.
27084 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27086         [BZ #16072]
27087         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
27088         heap for large requests.
27090 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
27092         [BZ #9954]
27093         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
27094         result if the result has no associated interface.
27095         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
27096         interface for all 127.X.Y.Z addresses.
27098 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
27100         * locale/iso-639.def: Add Ligurian (lij)
27102 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
27104         [BZ #15825]
27105         * sunrpc/rpc_main.c: Document rpcgen -5.
27107 2013-10-19  Michael Stahl  <mstahl@redhat.com>
27109         * elf/rtld.c (do_preload): Print the reason why preloading failed.
27111 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
27113         [BZ #10278]
27114         * posix/glob.c: Match only directories when trailing slash is present.
27115         * posix/tst-gnuglob.c (my_opendir): Do not open files.
27116         (main): Add testcase.
27118 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
27120         [BZ #15670]
27121         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
27123 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
27125         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
27126         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
27127         AUTH_DES and cindex for FIPS 140-2.
27128         (DES Encryption): Add cindex FIPS 46-3.
27130         * locale/locarchive.h (struct locarhandle): Add fname.
27131         * locale/programs/localedef.c (main): Pass ARGV[remaining]
27132         if an optional argument was specified to --list-archive,
27133         otherwise NULL.
27134         * locale/programs/locarchive.c (show_archive_content): Take new
27135         argument fname and pass it via ah.fname to open_archive.
27136         * locale/programs/localedef.h: Update decl.
27137         (open_archive): If AH->fname is non-null, open that file
27138         rather than the default file name, and don't ignore ENOENT.
27139         (create_archive): Set AH.fname to NULL.
27140         (delete_locales_from_archive): Likewise.
27141         (add_locales_to_archive): Likewise.
27142         * locale/programs/locfile.c (write_all_categories): Likewise.
27144 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
27145             Aldy Hernandez  <aldyh@redhat.com>
27147         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
27148         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
27149         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
27150         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
27151         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
27152         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
27153         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
27154         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
27155         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
27156         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
27157         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
27158         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
27159         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
27160         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
27161         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
27162         Likewise.
27163         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
27164         Likewise.
27165         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
27166         Likewise.
27167         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
27168         Likewise.
27169         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
27170         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
27171         Likewise.
27172         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
27173         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
27174         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
27175         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
27176         Likewise.
27177         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
27178         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
27179         * sysdeps/powerpc/preconfigure: Likewise.
27180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
27181         Likewise.
27182         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
27183         Replace contents of file by #include of <fenv_libc.h>.
27184         * sysdeps/powerpc/soft-fp/sfp-machine.h
27185         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
27186         and <sys/prctl.h>.
27187         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
27188         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
27189         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
27190         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
27191         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
27192         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
27193         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
27194         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
27195         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
27196         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
27197         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
27198         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
27199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
27200         Allow copysignl PLT reference to be missing.
27202 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
27203             Joseph Myers  <joseph@codesourcery.com
27205         [BZ #15948]
27206         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
27207         single character.
27208         (add_to_tablewc): Assert sequence of wide characters is nonempty.
27210 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27212         * elf/tst-tls-dlinfo.c: Don't include tls.h.
27213         * elf/tst-tls1.c: Likewise.
27214         * elf/tst-tls10.h: Likewise.
27215         * elf/tst-tls14.c: Likewise.
27216         * elf/tst-tls2.c: Likewise.
27217         * elf/tst-tls3.c: Likewise.
27218         * elf/tst-tls4.c: Likewise.
27219         * elf/tst-tls5.c: Likewise.
27220         * elf/tst-tls6.c: Likewise.
27221         * elf/tst-tls7.c: Likewise.
27222         * elf/tst-tls8.c: Likewise.
27223         * elf/tst-tls9.c: Likewise.
27224         * elf/tst-tlsmod1.c: Likewise.
27225         * elf/tst-tlsmod13.c: Likewise.
27226         * elf/tst-tlsmod13a.c: Likewise.
27227         * elf/tst-tlsmod14a.c: Likewise.
27228         * elf/tst-tlsmod16a.c: Likewise.
27229         * elf/tst-tlsmod16b.c: Likewise.
27230         * elf/tst-tlsmod2.c: Likewise.
27231         * elf/tst-tlsmod3.c: Likewise.
27232         * elf/tst-tlsmod4.c: Likewise.
27233         * elf/tst-tlsmod5.c: Likewise.
27234         * elf/tst-tlsmod6.c: Likewise.
27236 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
27238         [BZ #12486]
27239         * malloc/malloc.c: remove checks for statistics.
27241 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
27243         [BZ #15277]
27244         * inet/inet_net.c (inet_network): Detect additional invalid strings.
27245         * inet/tst-network.c: Add testcase.
27247 2013-10-17  Andreas Schwab  <schwab@suse.de>
27249         [BZ #15218]
27250         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
27251         to determine canonical name.
27253 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
27255         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
27256         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
27257         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27258         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27259         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27260         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27261         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27262         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27263         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27264         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27265         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27266         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27267         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27268         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27269         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27270         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27271         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27272         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27273         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27274         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27275         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27276         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27277         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27278         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
27279         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
27280         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27281         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27282         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
27283         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27284         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
27285         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27286         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27287         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27288         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27289         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27290         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27291         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27292         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27293         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27294         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27295         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27296         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27297         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27298         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27299         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27300         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27301         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27302         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27303         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27304         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27305         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27306         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27307         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27308         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27309         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27310         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27311         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27312         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27314 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
27316         [BZ #16041]
27317         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
27318         make result into a quiet NaN.
27320 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
27322         * soft-fp/adddf3.c: Fix horizontal whitespace.
27323         * soft-fp/addsf3.c: Likewise.
27324         * soft-fp/addtf3.c: Likewise.
27325         * soft-fp/divdf3.c: Likewise.
27326         * soft-fp/divsf3.c: Likewise.
27327         * soft-fp/divtf3.c: Likewise.
27328         * soft-fp/double.h: Likewise.
27329         * soft-fp/eqdf2.c: Likewise.
27330         * soft-fp/eqsf2.c: Likewise.
27331         * soft-fp/eqtf2.c: Likewise.
27332         * soft-fp/extenddftf2.c: Likewise.
27333         * soft-fp/extended.h: Likewise.
27334         * soft-fp/extendsfdf2.c: Likewise.
27335         * soft-fp/extendsftf2.c: Likewise.
27336         * soft-fp/extendxftf2.c: Likewise.
27337         * soft-fp/fixdfdi.c: Likewise.
27338         * soft-fp/fixdfsi.c: Likewise.
27339         * soft-fp/fixdfti.c: Likewise.
27340         * soft-fp/fixsfdi.c: Likewise.
27341         * soft-fp/fixsfsi.c: Likewise.
27342         * soft-fp/fixsfti.c: Likewise.
27343         * soft-fp/fixtfdi.c: Likewise.
27344         * soft-fp/fixtfsi.c: Likewise.
27345         * soft-fp/fixtfti.c: Likewise.
27346         * soft-fp/fixunsdfdi.c: Likewise.
27347         * soft-fp/fixunsdfsi.c: Likewise.
27348         * soft-fp/fixunsdfti.c: Likewise.
27349         * soft-fp/fixunssfdi.c: Likewise.
27350         * soft-fp/fixunssfsi.c: Likewise.
27351         * soft-fp/fixunssfti.c: Likewise.
27352         * soft-fp/fixunstfdi.c: Likewise.
27353         * soft-fp/fixunstfsi.c: Likewise.
27354         * soft-fp/fixunstfti.c: Likewise.
27355         * soft-fp/floatdidf.c: Likewise.
27356         * soft-fp/floatdisf.c: Likewise.
27357         * soft-fp/floatditf.c: Likewise.
27358         * soft-fp/floatsidf.c: Likewise.
27359         * soft-fp/floatsisf.c: Likewise.
27360         * soft-fp/floatsitf.c: Likewise.
27361         * soft-fp/floattidf.c: Likewise.
27362         * soft-fp/floattisf.c: Likewise.
27363         * soft-fp/floattitf.c: Likewise.
27364         * soft-fp/floatundidf.c: Likewise.
27365         * soft-fp/floatundisf.c: Likewise.
27366         * soft-fp/floatunditf.c: Likewise.
27367         * soft-fp/floatunsidf.c: Likewise.
27368         * soft-fp/floatunsisf.c: Likewise.
27369         * soft-fp/floatunsitf.c: Likewise.
27370         * soft-fp/floatuntidf.c: Likewise.
27371         * soft-fp/floatuntisf.c: Likewise.
27372         * soft-fp/floatuntitf.c: Likewise.
27373         * soft-fp/fmadf4.c: Likewise.
27374         * soft-fp/fmasf4.c: Likewise.
27375         * soft-fp/fmatf4.c: Likewise.
27376         * soft-fp/gedf2.c: Likewise.
27377         * soft-fp/gesf2.c: Likewise.
27378         * soft-fp/getf2.c: Likewise.
27379         * soft-fp/ledf2.c: Likewise.
27380         * soft-fp/lesf2.c: Likewise.
27381         * soft-fp/letf2.c: Likewise.
27382         * soft-fp/muldf3.c: Likewise.
27383         * soft-fp/mulsf3.c: Likewise.
27384         * soft-fp/multf3.c: Likewise.
27385         * soft-fp/negdf2.c: Likewise.
27386         * soft-fp/negsf2.c: Likewise.
27387         * soft-fp/negtf2.c: Likewise.
27388         * soft-fp/op-1.h: Likewise.
27389         * soft-fp/op-2.h: Likewise.
27390         * soft-fp/op-4.h: Likewise.
27391         * soft-fp/op-8.h: Likewise.
27392         * soft-fp/op-common.h: Likewise.
27393         * soft-fp/quad.h: Likewise.
27394         * soft-fp/single.h: Likewise.
27395         * soft-fp/soft-fp.h: Likewise.
27396         * soft-fp/sqrtdf2.c: Likewise.
27397         * soft-fp/sqrtsf2.c: Likewise.
27398         * soft-fp/sqrttf2.c: Likewise.
27399         * soft-fp/subdf3.c: Likewise.
27400         * soft-fp/subsf3.c: Likewise.
27401         * soft-fp/subtf3.c: Likewise.
27402         * soft-fp/truncdfsf2.c: Likewise.
27403         * soft-fp/trunctfdf2.c: Likewise.
27404         * soft-fp/trunctfsf2.c: Likewise.
27405         * soft-fp/trunctfxf2.c: Likewise.
27406         * soft-fp/unorddf2.c: Likewise.
27407         * soft-fp/unordsf2.c: Likewise.
27408         * soft-fp/unordtf2.c: Likewise.
27410 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
27412         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
27413         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
27415 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
27417         * elf/dl-libc.c: Clear initfini list after freeing.
27419 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
27421         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
27422         * soft-fp/addsf3.c: Likewise.
27423         * soft-fp/addtf3.c: Likewise.
27424         * soft-fp/divdf3.c: Likewise.
27425         * soft-fp/divsf3.c: Likewise.
27426         * soft-fp/divtf3.c: Likewise.
27427         * soft-fp/double.h: Likewise.
27428         * soft-fp/eqdf2.c: Likewise.
27429         * soft-fp/eqsf2.c: Likewise.
27430         * soft-fp/eqtf2.c: Likewise.
27431         * soft-fp/extenddftf2.c: Likewise.
27432         * soft-fp/extended.h: Likewise.
27433         * soft-fp/extendsfdf2.c: Likewise.
27434         * soft-fp/extendsftf2.c: Likewise.
27435         * soft-fp/extendxftf2.c: Likewise.
27436         * soft-fp/fixdfdi.c: Likewise.
27437         * soft-fp/fixdfsi.c: Likewise.
27438         * soft-fp/fixdfti.c: Likewise.
27439         * soft-fp/fixsfdi.c: Likewise.
27440         * soft-fp/fixsfsi.c: Likewise.
27441         * soft-fp/fixsfti.c: Likewise.
27442         * soft-fp/fixtfdi.c: Likewise.
27443         * soft-fp/fixtfsi.c: Likewise.
27444         * soft-fp/fixtfti.c: Likewise.
27445         * soft-fp/fixunsdfdi.c: Likewise.
27446         * soft-fp/fixunsdfsi.c: Likewise.
27447         * soft-fp/fixunsdfti.c: Likewise.
27448         * soft-fp/fixunssfdi.c: Likewise.
27449         * soft-fp/fixunssfsi.c: Likewise.
27450         * soft-fp/fixunssfti.c: Likewise.
27451         * soft-fp/fixunstfdi.c: Likewise.
27452         * soft-fp/fixunstfsi.c: Likewise.
27453         * soft-fp/fixunstfti.c: Likewise.
27454         * soft-fp/floatdidf.c: Likewise.
27455         * soft-fp/floatdisf.c: Likewise.
27456         * soft-fp/floatditf.c: Likewise.
27457         * soft-fp/floatsidf.c: Likewise.
27458         * soft-fp/floatsisf.c: Likewise.
27459         * soft-fp/floatsitf.c: Likewise.
27460         * soft-fp/floattidf.c: Likewise.
27461         * soft-fp/floattisf.c: Likewise.
27462         * soft-fp/floattitf.c: Likewise.
27463         * soft-fp/floatundidf.c: Likewise.
27464         * soft-fp/floatundisf.c: Likewise.
27465         * soft-fp/floatunsidf.c: Likewise.
27466         * soft-fp/floatunsisf.c: Likewise.
27467         * soft-fp/floatuntidf.c: Likewise.
27468         * soft-fp/floatuntisf.c: Likewise.
27469         * soft-fp/floatuntitf.c: Likewise.
27470         * soft-fp/fmadf4.c: Likewise.
27471         * soft-fp/fmasf4.c: Likewise.
27472         * soft-fp/fmatf4.c: Likewise.
27473         * soft-fp/gedf2.c: Likewise.
27474         * soft-fp/gesf2.c: Likewise.
27475         * soft-fp/getf2.c: Likewise.
27476         * soft-fp/ledf2.c: Likewise.
27477         * soft-fp/lesf2.c: Likewise.
27478         * soft-fp/letf2.c: Likewise.
27479         * soft-fp/muldf3.c: Likewise.
27480         * soft-fp/mulsf3.c: Likewise.
27481         * soft-fp/multf3.c: Likewise.
27482         * soft-fp/negdf2.c: Likewise.
27483         * soft-fp/negsf2.c: Likewise.
27484         * soft-fp/negtf2.c: Likewise.
27485         * soft-fp/op-1.h: Likewise.
27486         * soft-fp/op-2.h: Likewise.
27487         * soft-fp/op-4.h: Likewise.
27488         * soft-fp/op-8.h: Likewise.
27489         * soft-fp/op-common.h: Likewise.
27490         * soft-fp/quad.h: Likewise.
27491         * soft-fp/single.h: Likewise.
27492         * soft-fp/soft-fp.h: Likewise.
27493         * soft-fp/sqrtdf2.c: Likewise.
27494         * soft-fp/sqrtsf2.c: Likewise.
27495         * soft-fp/sqrttf2.c: Likewise.
27496         * soft-fp/subdf3.c: Likewise.
27497         * soft-fp/subsf3.c: Likewise.
27498         * soft-fp/subtf3.c: Likewise.
27499         * soft-fp/truncdfsf2.c: Likewise.
27500         * soft-fp/trunctfdf2.c: Likewise.
27501         * soft-fp/trunctfsf2.c: Likewise.
27502         * soft-fp/trunctfxf2.c: Likewise.
27503         * soft-fp/unorddf2.c: Likewise.
27504         * soft-fp/unordsf2.c: Likewise.
27505         * soft-fp/unordtf2.c: Likewise.
27507 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
27509         [BZ #15672]
27510         * misc/error.c (error_tail): Fix possible buffer overflow.
27512 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
27514         [BZ #13028]
27515         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
27516         address.
27518 2013-10-14  P. J. McDermott  <pj@pehjota.net>
27520         [BZ #832]
27521         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
27522         testing pipefail option.
27524 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
27526         * soft-fp/double.h: Indent preprocessor directives inside #if.
27527         * soft-fp/extended.h: Likewise.
27528         * soft-fp/op-2.h: Likewise.
27529         * soft-fp/op-4.h: Likewise.
27530         * soft-fp/op-common.h: Likewise.
27531         * soft-fp/quad.h: Likewise.
27532         * soft-fp/single.h: Likewise.
27533         * soft-fp/soft-fp.h: Likewise.
27535 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
27537         * iconv/iconv_prog.c: Fix typos.
27538         * stdio-common/psiginfo-data.h: Likewise.
27540 2013-10-12   Reuben Thomas <rrt@sc3d.org>
27542         [BZ #15764]
27543         * locale/setlocale.c: Fix typo.
27545 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
27547         [BZ #16036]
27548         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
27549         signaling NaN arguments.
27550         * soft-fp/unordsf2.c (__unordsf2): Likewise.
27551         * soft-fp/unordtf2.c (__unordtf2): Likewise.
27553         [BZ #14910]
27554         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
27555         unordered operands.
27556         * soft-fp/gesf2.c (__gesf2): Likewise.
27557         * soft-fp/getf2.c (__getf2): Likewise.
27558         * soft-fp/ledf2.c (__ledf2): Likewise.
27559         * soft-fp/lesf2.c (__lesf2): Likewise.
27560         * soft-fp/letf2.c (__letf2): Likewise.
27562         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
27563         * soft-fp/eqsf2.c (__eqsf2): Likewise.
27564         * soft-fp/eqtf2.c (__eqtf2): Likewise.
27565         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
27566         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
27567         * soft-fp/fixdfti.c (__fixdfti): Likewise.
27568         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
27569         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
27570         * soft-fp/fixsfti.c (__fixsfti): Likewise.
27571         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
27572         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
27573         * soft-fp/fixtfti.c (__fixtfti): Likewise.
27574         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
27575         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
27576         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
27577         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
27578         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
27579         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
27580         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
27581         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
27582         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
27583         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
27584         * soft-fp/floatdisf.c (__floatdisf): Likewise.
27585         * soft-fp/floatsisf.c (__floatsisf): Likewise.
27586         * soft-fp/floattidf.c (__floattidf): Likewise.
27587         * soft-fp/floattisf.c (__floattisf): Likewise.
27588         * soft-fp/floattitf.c (__floattitf): Likewise.
27589         * soft-fp/floatundidf.c (__floatundidf): Likewise.
27590         * soft-fp/floatundisf.c (__floatundisf): Likewise.
27591         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
27592         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
27593         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
27594         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
27595         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
27596         * soft-fp/gesf2.c (__gesf2): Likewise.
27597         * soft-fp/getf2.c (__getf2): Likewise.
27598         * soft-fp/ledf2.c (__ledf2): Likewise.
27599         * soft-fp/lesf2.c (__lesf2): Likewise.
27600         * soft-fp/letf2.c (__letf2): Likewise.
27602         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
27603         Undefine and redefine.
27604         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
27605         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
27606         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
27607         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
27608         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27609         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
27610         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27611         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
27612         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27613         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
27614         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27615         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
27616         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27617         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
27618         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27620         [BZ #16032]
27621         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
27622         without decrementing exponent if mantissa >= that for the
27623         denominator, not >.
27624         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
27625         denominator, not >.  Decrement exponent in < case instead of
27626         incrementing in >= case.
27627         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
27628         without decrementing exponent if mantissa >= that for the
27629         denominator, not >.
27631         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
27632         computing saturated result for unsigned overflow.
27634 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27635             Jeff Law  <law@redhat.com>
27637         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
27638         (atan2Mp): Add systemtap probe marker.
27639         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
27640         (__ieee754_log): Add systemtap probe marker.
27641         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
27642         (atanMp): Add systemtap probe marker.
27643         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
27644         (tanMp): Add systemtap probe marker.
27645         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
27646         (__slowexp): Add systemtap probe marker.
27647         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
27648         (__slowpow): Add systemtap probe marker.
27649         * manual/probes.texi: Document probes.
27651 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
27653         [BZ #15362]
27654         * libio/fileops.c (_IO_new_file_write): Return count of bytes
27655         written.
27656         (_IO_new_file_xsputn): Don't return EOF if nothing has been
27657         written.
27658         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
27659         written to buffer but not flushed.
27660         * libio/iofwrite_u.c:  Likewise.
27661         * libio/iopadn.c:  Return bytes returned even if EOF was
27662         encountered.
27663         * libio/iowpadn.c:  Likewise.
27664         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
27665         if _IO_padn does not write the whole buffer.
27666         [!COMPILE_WPRINTF] (PAD): Likewise.
27668 2013-10-10  David S. Miller  <davem@davemloft.net>
27670         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
27671         directory block.
27673 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
27675         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
27676         instead of FSF address.
27677         * soft-fp/fixdfti.c: Likewise.
27678         * soft-fp/fixsfti.c: Likewise.
27679         * soft-fp/fixtfti.c: Likewise.
27680         * soft-fp/fixunsdfti.c: Likewise.
27681         * soft-fp/fixunssfti.c: Likewise.
27682         * soft-fp/fixunstfti.c: Likewise.
27683         * soft-fp/floattidf.c: Likewise.
27684         * soft-fp/floattisf.c: Likewise.
27685         * soft-fp/floattitf.c: Likewise.
27686         * soft-fp/floatuntidf.c: Likewise.
27687         * soft-fp/floatuntisf.c: Likewise.
27688         * soft-fp/floatuntitf.c: Likewise.
27689         * soft-fp/trunctfxf2.c: Likewise.
27691         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
27692         * soft-fp/fixdfti.c: Likewise.
27693         * soft-fp/fixsfti.c: Likewise.
27694         * soft-fp/fixtfti.c: Likewise.
27695         * soft-fp/fixunsdfti.c: Likewise.
27696         * soft-fp/fixunssfti.c: Likewise.
27697         * soft-fp/fixunstfti.c: Likewise.
27698         * soft-fp/floattidf.c: Likewise.
27699         * soft-fp/floattisf.c: Likewise.
27700         * soft-fp/floattitf.c: Likewise.
27701         * soft-fp/floatuntidf.c: Likewise.
27702         * soft-fp/floatuntisf.c: Likewise.
27703         * soft-fp/floatuntitf.c: Likewise.
27704         * soft-fp/trunctfxf2.c: Likewise.
27706 2013-10-10  David S. Miller  <davem@davemloft.net>
27708         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27710 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
27712         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
27713         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
27714         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
27715         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
27716         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
27717         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
27718         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
27720         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
27721         for NaNs before doing comparisons on argument.
27722         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
27723         Likewise.
27725 2013-10-10  Will Newton  <will.newton@linaro.org>
27727         * malloc/hooks.c (memalign_check): Ensure the value of bytes
27728         passed to _int_memalign does not overflow.
27730 2013-10-10  Torvald Riegel  <triegel@redhat.com>
27732         * scripts/bench.pl: Add include-sources directive.
27733         * benchtests/README: Update documentation.
27735 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
27737         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
27738         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
27739         instead of FP_INIT_ROUNDMODE.
27740         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
27741         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
27743         [BZ #16034]
27744         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
27745         copy class of input value.
27746         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
27747         not handle exceptions.
27748         * soft-fp/negsf2.c (__negsf2): Likewise.
27749         * soft-fp/negtf2.c (__negtf2): Likewise.
27750         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
27752 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
27754         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
27755         semicolon.  From Linux kernel.
27757 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
27759         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
27761 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
27763         [BZ #156]
27764         * manual/socket.texi: Added statement about buffer
27765         for gethostbyname2_r.
27767 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
27769         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
27770         Use .p2align directive instead, throughout.
27771         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27772         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
27773         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
27774         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27775         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27776         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
27777         * sysdeps/x86_64/strchr.S: Likewise.
27778         * sysdeps/x86_64/strrchr.S: Likewise.
27780 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27782         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
27784         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
27786         * sysdeps/generic/math_private.h (__mpsin1): Remove
27787         declaration.
27788         (__mpcos1): Likewise.
27789         (__mpsin): New argument __range_reduce.
27790         (__mpcos): Likewise.
27791         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27792         (slow): Use __mpsin and __mpcos.
27793         (slow1): Likewise.
27794         (slow2): Likewise.
27795         (sloww): Likewise.
27796         (sloww1): Likewise.
27797         (sloww2): Likewise.
27798         (bsloww): Likewise.
27799         (bsloww1): Likewise.
27800         (bsloww2): Likewise.
27801         (cslow2): Likewise.
27802         (csloww): Likewise.
27803         (csloww1): Likewise.
27804         (csloww2): Likewise.
27805         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
27806         range_reduce.  Merge in __mpsin1.
27807         (__mpcos): Likewise.
27808         (__mpsin1): Remove.
27809         (__mpcos1): Likewise.
27811 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
27813         * locale/loadlocale.c (_nl_intern_locale_data): Use
27814         LOCFILE_ALIGNED_P.
27815         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
27816         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
27817         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
27818         obstack data is appropriately aligned.
27819         (obstack_int32_grow_fast): Likewise.
27820         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
27821         * locale/programs/locfile.c (add_locale_uint32): Likewise.
27822         (add_locale_uint32_array): Likewise.
27824 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
27826         * benchtests/Makefile: Remove ARGLIST and RET variables.
27827         ($(objpfx)bench-%.c): Pass only function name to the script.
27828         * benchtests/README: Update documentation.
27829         * benchtests/acos-inputs: Add new directives.
27830         * benchtests/acosh-inputs: Likewise.
27831         * benchtests/asin-inputs: Likewise.
27832         * benchtests/asinh-inputs: Likewise.
27833         * benchtests/atan-inputs: Likewise.
27834         * benchtests/atanh-inputs: Likewise.
27835         * benchtests/cos-inputs: Likewise.
27836         * benchtests/cosh-inputs: Likewise.
27837         * benchtests/exp-inputs: Likewise.
27838         * benchtests/log-inputs: Likewise.
27839         * benchtests/pow-inputs: Likewise.
27840         * benchtests/rint-inputs: Likewise.
27841         * benchtests/sin-inputs: Likewise.
27842         * benchtests/sinh-inputs: Likewise.
27843         * benchtests/tan-inputs: Likewise.
27844         * benchtests/tanh-inputs: Likewise.
27845         * scripts/bench.pl: Add support for new directives.
27847 2013-10-07  Alan Modra  <amodra@gmail.com>
27849         * README: Fix careless merge.
27851 2013-10-05  Alan Modra  <amodra@gmail.com>
27853         * NEWS: Mention powerpc64le support and bugs fixed.
27854         * README: Both big-endian and little-endian powerpc64 supported.
27856 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27858         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
27859         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
27860         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
27861         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
27863 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
27865         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
27866         match prototype.
27868 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
27870         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
27871         Move -mhard-float appending from
27872         ports/sysdeps/powerpc/powerpc32/Makefile.
27873         [$(with-fp) = yes] (ASFLAGS): Likewise.
27874         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
27875         * sysdeps/powerpc/nofpu: Move directory from
27876         ports/sysdeps/powerpc/nofpu.
27877         * sysdeps/powerpc/soft-fp: Move directory from
27878         ports/sysdeps/powerpc/soft-fp.
27879         * sysdeps/powerpc/powerpc32/405: Move directory from
27880         ports/sysdeps/powerpc/powerpc32/405.
27881         * sysdeps/powerpc/powerpc32/440: Move directory from
27882         ports/sysdeps/powerpc/powerpc32/440.
27883         * sysdeps/powerpc/powerpc32/464: Move directory from
27884         ports/sysdeps/powerpc/powerpc32/464.
27885         * sysdeps/powerpc/powerpc32/476: Move directory from
27886         ports/sysdeps/powerpc/powerpc32/476.
27887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
27888         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
27889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
27890         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
27891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
27892         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
27893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
27894         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
27895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
27896         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
27897         * README: Update for powerpc-*-linux-gnu software floating point
27898         support in libc.
27900         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
27901         case to powerpc/powerpc32*.
27902         * sysdeps/unix/sysv/linux/configure: Regenerated.
27904         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
27905         (_FPU_MASK_OM): Define as 0x04.
27906         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
27907         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
27908         0x00c10080.
27909         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
27910         0x0000003c.
27911         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
27913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
27914         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
27915         getcontext_e500.
27916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
27917         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
27918         setcontext_e500.
27919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
27920         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
27921         and setcontext_e500.
27923 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
27925         * locale/iso-3166.def: Update iso-1366.def and related occurrences
27927 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27929         * manual/threads.texi (Default Thread Attributes): Fix typo.
27931 2013-10-04  Will Newton  <will.newton@linaro.org>
27933         * malloc/Makefile: Add tst-memalign.
27934         * malloc/tst-memalign.c: New file.
27936         * malloc/tst-posix_memalign.c: Add comments.
27937         (do_test): Add comments and call free on all potentially
27938         allocated pointers. Add space after cast.
27940         * malloc/tst-pvalloc.c: Add comments.
27941         (do_test): Add comments and call free on all potentially
27942         allocated pointers. Remove duplicate check for NULL pointer.
27943         Add space after cast.
27945         * malloc/tst-valloc.c: Add comments.
27946         (do_test): Add comments and call free on all potentially
27947         allocated pointers. Remove duplicate check for NULL pointer.
27948         Add space after cast.
27950 2013-10-04  Alan Modra  <amodra@gmail.com>
27952         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27953         Use stdint types in rather than __attribute__((mode())).
27954         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27956 2013-10-04  Alan Modra  <amodra@gmail.com>
27958         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27959         Correct handling of unaligned relocs for little-endian.
27960         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27962 2013-10-04  Alan Modra  <amodra@gmail.com>
27964         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
27965         * configure: Regenerate.
27966         * nptl/shlib-versions: Powerpc*le starts at 2.18.
27967         * shlib-versions: Likewise.
27969 2013-10-04  Alan Modra  <amodra@gmail.com>
27971         * string/tester.c (test_memrchr): Increment reported test cycle.
27973 2013-10-04  Alan Modra  <amodra@gmail.com>
27975         * string/test-memcpy.c (do_one_test): When reporting errors, print
27976         string address and don't overrun end of string.
27978 2013-10-04  Alan Modra  <amodra@gmail.com>
27980         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
27981         insrdi.  Make better use of reg selection to speed exit slightly.
27982         Schedule entry path a little better.  Remove useless "are we done"
27983         checks on entry to main loop.  Handle wrapping around zero address.
27984         Correct main loop count.  Handle single left-over word from main
27985         loop inline rather than by using loop_small.  Remove extra word
27986         case in loop_small caused by wrong loop count.  Add little-endian
27987         support.
27988         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
27989         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
27990         cache hint.
27991         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
27992         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
27993         support.  Avoid rlwimi.
27994         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
27996 2013-10-04  Alan Modra  <amodra@gmail.com>
27998         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
27999         insrdi.  Formatting.
28000         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
28001         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28002         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
28003         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
28004         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
28005         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
28007 2013-10-04  Alan Modra  <amodra@gmail.com>
28009         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
28010         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28011         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
28012         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
28013         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28014         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28015         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28016         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28017         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
28018         use of regs.  Use power7 mtocrf.  Tidy function tails.
28020 2013-10-04  Alan Modra  <amodra@gmail.com>
28022         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
28023         Formatting.  Consistently use rXXX register defines or rN defines.
28024         Use early exit labels that avoid restoring unused non-volatile regs.
28025         Make cr field use more consistent with rWORDn compares.  Rename
28026         regs used as shift registers for unaligned loop, using rN defines
28027         for short lifetime/multiple use regs.
28028         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28029         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
28030         addi 1,1,64 to pop stack frame.  Simplify return value code.
28031         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28033 2013-10-04  Alan Modra  <amodra@gmail.com>
28035         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
28036         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
28037         rather than rlwimi.
28038         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
28039         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
28040         little-endian support.  Correct typos.
28041         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
28042         rather than rlwimi.
28043         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
28044         in loop and entry code to keep "and." results.
28045         (strchr): Add little-endian support.  Comment.  Move cntlzd
28046         earlier in tail.
28047         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
28049 2013-10-04  Alan Modra  <amodra@gmail.com>
28051         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
28052         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
28053         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
28054         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
28056 2013-10-04  Alan Modra  <amodra@gmail.com>
28058         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
28059         (rTMP): Define as r11.
28060         (strcmp): Add little-endian support.  Optimise tail.
28061         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
28062         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28063         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28064         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28065         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28066         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28067         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28069 2013-10-04  Alan Modra  <amodra@gmail.com>
28071         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
28072         little-endian support.  Remove unnecessary "are we done" tests.
28073         Handle "s" wrapping around zero and extremely large "size".
28074         Correct main loop count.  Handle single left-over word from main
28075         loop inline rather than by using small_loop.  Correct comments.
28076         Delete "zero" tail, use "end_max" instead.
28077         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
28079 2013-10-04  Alan Modra  <amodra@gmail.com>
28081         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
28082         support.  Don't branch over align.
28083         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
28084         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
28085         support.  Rearrange tmp reg use to suit.  Comment.
28086         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
28088 2013-10-04  Alan Modra  <amodra@gmail.com>
28090         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
28092 2013-10-04  Alan Modra  <amodra@gmail.com>
28094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
28095         conditional form of branch and link when obtaining pc.
28096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
28098 2013-10-04  Alan Modra  <amodra@gmail.com>
28100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
28101         HIWORD/LOWORD.
28102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
28103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
28105 2013-10-04  Alan Modra  <amodra@gmail.com>
28107         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
28108         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
28109         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
28110         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
28111         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
28112         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28113         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
28114         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28115         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
28116         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
28118 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28119             Alistair Popple <alistair@ozlabs.au.ibm.com>
28120             Alan Modra <amodra@gmail.com>
28122         [BZ #15723]
28123         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
28124         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
28125         _dl_hwcap access for little-endian.
28126         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
28127         destroy vmx regs when saving unaligned.
28128         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
28129         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
28130         destroy vmx regs when saving unaligned.
28132 2013-10-04  Alan Modra  <amodra@gmail.com>
28134         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
28135         Don't use a union to pack hi/low value.
28137 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28139         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
28140         for little-endian.
28141         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
28142         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
28143         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28144         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
28145         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
28147 2013-10-04  Alan Modra  <amodra@gmail.com>
28149         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
28150         constants to usual value for .cst8 section, and remove redundant
28151         high address load.
28152         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
28153         constant for 0x1p52.  Load little-endian words of double from
28154         correct stack offsets.
28156 2013-10-04  Alan Modra  <amodra@gmail.com>
28158         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
28159         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
28160         words of double from correct stack offsets.
28161         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
28162         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
28163         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
28164         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
28165         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
28166         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
28167         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
28168         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
28169         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
28170         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
28171         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
28172         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
28173         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28174         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28175         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28176         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
28177         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
28179 2013-10-04  Alan Modra  <amodra@gmail.com>
28181         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
28182         64-bit int/double union.
28183         (_FPU_SETCW): Likewise.
28184         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
28185         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
28187 2013-10-04  Alan Modra  <amodra@gmail.com>
28189         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
28190         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
28192 2013-10-04  Alan Modra  <amodra@gmail.com>
28194         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
28195         use vector int constants.
28196         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
28198 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28200         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
28201         array with long long.
28202         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
28203         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
28204         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
28205         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
28206         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
28207         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
28208         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
28209         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
28210         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
28211         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
28212         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
28213         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
28214         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
28216 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28218         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
28219         (__signbit): Likewise.  Correct for little-endian.
28220         (__signbitl): Call __signbit.
28221         (lrint): Correct for little-endian.
28222         (lrintf): Call lrint.
28224 2013-10-04  Alan Modra  <amodra@gmail.com>
28226         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
28227         union 32-bit int array member with 64-bit int array.
28228         (t515, tm256): Double rather than long double.
28229         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
28231 2013-10-04  Alan Modra  <amodra@gmail.com>
28233         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
28234         Delete.
28235         (IEEE854_LONG_DOUBLE_BIAS): Delete.
28236         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
28237         version of math_ldbl.h.
28239 2013-10-04  Alan Modra  <amodra@gmail.com>
28241         [BZ #15734], [BZ #15735]
28242         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
28243         all uses of ieee875 long double macros and unions.  Simplify test
28244         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
28245         ldbl_extract_mantissa value for ix,iy exponents.  Properly
28246         normalize after ldbl_extract_mantissa, and don't add hidden bit
28247         already handled.  Don't treat low word of ieee854 mantissa like
28248         low word of IBM long double and mask off bit when testing for
28249         zero.
28250         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
28251         all uses of ieee875 long double macros and unions.  Simplify tests
28252         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
28253         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
28254         two1022, instead use their values.  Recognise that tests for large
28255         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
28256         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
28257         Rewrite all uses of ieee875 long double macros and unions.  Simplify
28258         test for 0.0L and nan.  Correct negation.
28259         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
28260         ieee875 long double macros and unions.  Correct output for large
28261         magnitude x.  Correct absolute value calculation.
28262         (__erfcl): Likewise.
28263         * math/libm-test.inc: Add tests for errors discovered in IBM long
28264         double versions of fmodl, remainderl, erfl and erfcl.
28266 2013-10-04  Alan Modra  <amodra@gmail.com>
28268         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
28269         all uses of ieee854 long double macros and unions.  Simplify tests
28270         for long doubles that are fully specified by the high double.
28271         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
28272         Likewise.
28273         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
28274         Remove dead code too.
28275         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
28276         (__ieee754_ynl): Likewise.
28277         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
28278         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
28279         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
28280         Remove dead code too.
28281         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
28282         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
28283         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
28284         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
28285         Simplify.
28286         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
28287         Simplify.
28288         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
28289         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
28290         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
28291         Comment on variable precision.
28292         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
28293         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28294         Likewise.
28295         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
28296         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28297         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28298         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
28299         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
28301 2013-10-04  Alan Modra  <amodra@gmail.com>
28303         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
28304         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
28305         all uses of ieee854 long double macros and unions.
28306         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
28307         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
28308         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
28309         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
28310         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
28311         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
28312         Likewise.
28313         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
28314         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28315         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
28316         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28317         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
28318         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
28319         Simplify sign and nan test too.
28320         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
28321         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
28322         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
28323         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
28324         Likewise.
28325         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
28326         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
28327         Likewise.
28328         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28329         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
28330         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
28331         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
28332         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
28333         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
28335 2013-10-04  Alan Modra  <amodra@gmail.com>
28337         * stdio-common/printf_size.c (__printf_size): Don't use
28338         union ieee854_long_double in fpnum union.
28339         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
28340         signbit macro to retrieve sign from long double.
28341         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
28342         retrieve sign from long double.
28343         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
28344         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
28345         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
28346         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28347         * math/test-misc.c (main): Don't use union ieee854_long_double.
28349 2013-10-04  Alan Modra  <amodra@gmail.com>
28351         [BZ #15680]
28352         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
28353         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
28354         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
28355         calculation.  Remove unnecessary test for denormal exponent.
28356         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
28357         Correct handling of denormals.  Avoid undefined shift behaviour.
28358         Correct normalisation of low mantissa when low double is denormal.
28359         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
28360         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
28361         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
28362         Correct normalisation of low mantissa.  Test for overflow of high
28363         mantissa and normalise.
28364         (ldbl_nearbyint): Use more readable constant for two52.
28365         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
28366         (__mpn_construct_long_double): Fix test for overflow of high
28367         mantissa and correct normalisation.  Avoid undefined shift.
28369 2013-10-04  Alan Modra  <amodra@gmail.com>
28371         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
28372         (union ibm_extended_long_double): Define as an array of ieee754_double.
28373         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
28374         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
28375         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
28376         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
28377         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28378         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
28379         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28380         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28381         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28382         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
28383         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28385 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
28387         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
28388         page size instead of calling getpagesize.
28390         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
28391         (LOCFILE_ALIGN_MASK): Likewise.
28392         (LOCFILE_ALIGN_UP): Likewise.
28393         (LOCFILE_ALIGNED_P): Likewise.
28394         * locale/programs/ld-collate.c (collate_output): Use the new
28395         macros instead of __alignof__ (int32_t).
28396         * locale/weight.h (findidx): Likewise.
28398 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
28400         [BZ #431]
28401         * manual/string.texi: Fix strncat and wcsncat.
28403 2013-10-03  Brooks Moses  <bmoses@google.com>
28405         [BZ #15915]
28406         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
28407         * Makerules: ...here, and adjust associated comments.
28409 2013-10-02  Will Newton  <will.newton@linaro.org>
28411         * malloc/Makefile: Add tst-pvalloc.
28412         * malloc/tst-pvalloc.c: New file.
28414 2013-10-02  Will Newton  <will.newton@linaro.org>
28416         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
28417         improve test coverage.
28419 2013-10-02  Will Newton  <will.newton@linaro.org>
28421         * malloc/Makefile: Add tst-posix_memalign.
28422         * malloc/tst-posix_memalign.c: New file.
28424 2013-10-01  Eric Blake  <eblake@redhat.com>
28426         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
28427         Use __THROWNL rather than __THROW on static functions.
28429 2013-09-30  Petr Machata  <pmachata@redhat.com>
28431         * elf/elf.h (R_AARCH64_ABS16): New macro.
28432         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
28433         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
28434         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
28435         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
28436         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
28437         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
28438         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
28439         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
28440         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
28441         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
28442         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
28443         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
28444         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
28445         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
28446         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
28447         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
28448         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
28449         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
28450         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
28451         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
28452         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
28453         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
28454         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
28455         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
28456         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
28457         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
28458         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
28459         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
28460         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
28461         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
28462         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
28463         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
28464         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
28465         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
28466         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
28467         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
28468         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
28469         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
28470         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
28471         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
28472         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
28473         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
28474         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
28475         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
28476         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
28477         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
28478         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
28479         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
28480         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
28481         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
28482         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
28483         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
28484         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
28485         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
28486         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
28487         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
28488         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
28489         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
28490         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
28491         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
28492         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
28493         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
28494         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
28495         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
28496         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
28497         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
28498         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
28499         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
28500         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
28501         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
28502         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
28503         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
28504         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
28505         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
28506         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
28507         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
28508         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
28509         (R_AARCH64_TLSDESC_LDR): Likewise.
28510         (R_AARCH64_TLSDESC_ADD): Likewise.
28511         (R_AARCH64_TLSDESC_CALL): Likewise.
28513 2013-09-30  Andreas Schwab  <schwab@suse.de>
28515         [BZ #15048]
28516         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
28517         the nss database lookup.
28518         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28519         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28521 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
28523         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
28525 2013-09-28  P. J. McDermott  <pj@pehjota.net>
28527         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
28528         ${Bash-specific parameter/pattern/string} parameter expansion.
28529         * sysdeps/unix/make-syscalls.sh: Likewise.
28531 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28533         * sysdeps/sh/stackguard-macros.h: New file.
28535 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
28537         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
28538         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
28539         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
28540         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
28541         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28542         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
28544 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28546         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
28547         Fix thread ID register.
28549 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
28551         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
28552         [POSIX || UNIX98]: Require rather than permitting all symbols from
28553         <time.h>.
28554         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
28555         element of struct sched_param.
28556         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
28557         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
28558         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
28559         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
28560         constant.
28562 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
28564         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
28565         argument calculation.
28567 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
28569         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
28570         Expect macro.
28571         [POSIX] (pthread_attr_t): Do not require type.
28572         [POSIX] (pthread_cond_t): Likewise.
28573         [POSIX] (pthread_condattr_t): Likewise.
28574         [POSIX] (pthread_key_t): Likewise.
28575         [POSIX] (pthread_mutex_t): Likewise.
28576         [POSIX] (pthread_mutexattr_t): Likewise.
28577         [POSIX] (pthread_once_t): Likewise.
28578         [POSIX] (pthread_t): Likewise.
28579         [POSIX-based standards] (pthread_atfork): Expect function.
28581 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
28582             Richard Sandiford  <richard@codesourcery.com>
28584         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
28585         (swap_endianness_p): New extern variable.
28586         (set_big_endian): New inline function.
28587         (maybe_swap_uint32): Likewise.
28588         (maybe_swap_uint32_array): Likewise.
28589         (maybe_swap_uint32_obstack): Likewise.
28590         * locale/programs/locfile.c: Include <stdbool.h>.
28591         (swap_endianness_p): New variable.
28592         (add_locale_uint32): Call maybe_swap_uint32.
28593         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
28594         (write_locale_data): Call maybe_swap_uint32_array.
28595         * locale/programs/ld-collate.c (obstack_int32_grow): Call
28596         maybe_swap_uint32.
28597         (obstack_int32_grow_fast): Likewise.
28598         (output_weightwc): Call maybe_swap_uint32_obstack.
28599         (collate_output): Likewise.
28600         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
28601         (OPT_LITTLE_ENDIAN): Likewise.
28602         (options): Add --little-endian and --big-endian options.
28603         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
28604         * locale/programs/locarchive.c: Include "locfile.h".
28605         (GET): New macro.
28606         (SET): Likewise.
28607         (INC): Likewise.
28608         (create_archive): Use the new macros to access fields of
28609         structures directly mapped from or written to locale archives.
28610         (oldlocrecentcmp): Likewise.
28611         (enlarge_archive): Likewise.
28612         (insert_name): Likewise.
28613         (add_alias): Likewise.
28614         (add_locale): Likewise.
28615         (delete_locales_from_archive): Likewise.
28616         (show_archive_content): Likewise.
28617         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
28618         locale data.
28620 2013-09-24  Roland McGrath  <roland@hack.frob.com>
28622         * manual/freemanuals.texi: Updated from (newly) canonical copy at
28623         http://www.gnu.org/doc/freemanuals.texi.
28624         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
28626 2013-09-24  Will Newton  <will.newton@linaro.org>
28628         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
28629         macro.
28631 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
28633         * locale/hashval.h (compute_hashval): Interpret bytes of key as
28634         unsigned char.
28636 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
28638         * manual/threads.texi (POSIX Threads): Fix a typo.
28640 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
28642         [BZ #14547]
28643         * string/tst-strcoll-overflow.c: New test case.
28644         * string/Makefile (xtests): Add tst-strcoll-overflow.
28645         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
28646         cache if string sizes may cause integer overflow.
28648         [BZ #14547]
28649         * string/strcoll_l.c (coll_seq): New members rule, idx,
28650         save_idx and back_us.
28651         (get_next_seq_nocache): New function.
28652         (do_compare_nocache): New function.
28653         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
28654         when malloc fails.
28656 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
28658         [BZ #15754]
28659         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
28660         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
28661         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
28663         [BZ #15754]
28664         * elf/Makefile (tests): Add tst-ptrguard1.
28665         (tests-static): Add tst-ptrguard1-static.
28666         (tst-ptrguard1-ARGS): Define.
28667         (tst-ptrguard1-static-ARGS): Define.
28668         * elf/tst-ptrguard1.c: New file.
28669         * elf/tst-ptrguard1-static.c: New file.
28670         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
28671         * sysdeps/i386/stackguard-macros.h: Likewise.
28672         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28673         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28674         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28675         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28676         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28677         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28679 2013-09-23  Hector Marco  <hecmargi@upv.es>
28680             Ismael Ripoll  <iripoll@disca.upv.es>
28681             Carlos O'Donell  <carlos@redhat.com>
28683         [BZ #15754]
28684         * sysdeps/generic/stackguard-macros.h: Define
28685         __pointer_chk_guard_local and POINTER_CHK_GUARD.
28686         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
28687         Define __pointer_chk_guard_local.
28688         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
28689         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
28691 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
28693         [BZ #15859]
28694         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
28696 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
28698         * include/string.h (__ffs): Declare as hidden.
28699         * string/ffs.c (__ffs): Define as hidden.
28700         * sysdeps/i386/ffs.c (__ffs): Likewise.
28701         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
28702         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
28703         * sysdeps/s390/ffs.c (__ffs): Likewise.
28704         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
28706 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
28708         * NEWS: Mention malloc probes.
28710         * malloc/arena.c (new_heap): New memory_heap_new probe.
28711         (grow_heap): New memory_heap_more probe.
28712         (shrink_heap): New memory_heap_less probe.
28713         (heap_trim): New memory_heap_free probe.
28714         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
28715         (systrim): New memory_sbrk_less probe.
28716         * manual/probes.texi: Document them.
28718         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
28719         * manual/probes.texi: Document it.
28721         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
28722         (__libc_realloc): Add memory_realloc_retry probe.
28723         (__libc_memalign): Add memory_memalign_retry probe.
28724         (__libc_valloc): Add memory_valloc_retry probe.
28725         (__libc_pvalloc): Add memory_pvalloc_retry probe.
28726         (__libc_calloc): Add memory_calloc_retry probe.
28727         * manual/probes.texi: Document them.
28729         * malloc/arena.c (get_free_list): Add probe
28730         memory_arena_reuse_free_list.
28731         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
28732         and memory_arena_reuse.
28733         (arena_get2) [!PER_THREAD]: Likewise.
28734         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
28735         memory_arena_reuse_realloc.
28736         * manual/probes.texi: Document them.
28738         * malloc/malloc.c (__libc_free): Add
28739         memory_mallopt_free_dyn_thresholds probe.
28740         (__libc_mallopt): Add multiple memory_mallopt probes.
28741         * manual/probes.texi: Document them.
28743         * malloc/malloc.c: Include stap-probe.h.
28744         (__libc_mallopt): Add memory_mallopt probe.
28745         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
28746         * manual/probes.texi: New.
28747         * manual/Makefile (chapters): Add probes.
28748         * manual/threads.texi: Set next node.
28750 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
28752         [BZ #15963, #13985]
28753         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
28754         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
28755         Add `Chinese' to `nan' entry name.
28757 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28759         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
28760         (POLYNOMIAL): Likewise.
28761         (TAYLOR_SINCOS): Likewise.
28762         (TAYLOR_SLOW): Likewise.
28763         (__sin): Use TAYLOR_SINCOS.
28764         (__cos): Likewise.
28765         (slow): Use TAYLOR_SLOW.
28766         (sloww): Likewise.
28767         (bsloww): Likewise.
28768         (csloww): Likewise.
28770 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28772         * stdlib/strtod_l.c: Fix buffer overrun.
28774 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28776         * benchtests/Makefile (bench): Add sincos.
28777         * benchtests/bench-sincos.c: New file.
28779         * math/libm-test.inc (cos_test_data): New test inputs.
28780         (sin_test_data): Likewise.
28782         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
28783         macro.
28784         (__sin): Use it.
28785         (__cos): Likewise.
28786         (slow1): Likewise.
28787         (slow2): Likewise.
28788         (sloww1): Likewise.
28789         (sloww2): Likewise.
28790         (bsloww1): Likewise.
28791         (bsloww2): Likewise.
28792         (cslow2): Likewise.
28793         (csloww1): Likewise.
28794         (csloww2): Likewise.
28796         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
28797         function.
28798         (__sin): Use it.
28799         (__cos): Likewise.
28801         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
28802         gotos.
28803         (__cos): Likewise.
28805 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
28807         * config.h.in (HAVE_MIPS_NAN2008): New macro.
28808         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
28809         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
28810         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
28811         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
28812         * elf/cache.c (print_entry): Handle the new cache flags.
28814 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
28815             Aldy Hernandez  <aldyh@redhat.com>
28817         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
28818         Change condition to [_SOFT_FLOAT].
28819         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
28820         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
28821         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
28822         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
28823         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
28824         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
28825         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
28826         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
28827         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
28828         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
28829         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
28830         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
28831         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
28832         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
28833         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
28834         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
28835         declaration.
28837 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
28839         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
28840         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
28841         (__longjmp): Use LOAD_GP to load saved GPRs.
28842         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
28843         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
28844         (__sigsetjmp): Use SAVE_GP to save GPRs.
28846         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
28847         Do not append -msoft-float.
28848         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
28850 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28852         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
28854 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
28856         [BZ #15966]
28857         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
28858         (_FPU_GETCW): Use initial "__" on variable and field names but not
28859         on macro parameter name.
28860         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
28861         parentheses around reference to macro parameter.
28863 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
28865         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
28866         prototype.
28867         (ctype_startup): Use uint32_t in cast and sizeof for
28868         ctype->charnames.
28870 2013-09-11  Jia Liu  <proljc@gmail.com>
28872         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
28873         __daddr_t_defined.
28874         [__FreeBSD__]: Likewise.
28876 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
28878         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
28879         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
28880         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
28881         (strchr): Remove __strchr_sse42 ifunc selection.
28882         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
28883         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
28885 2013-09-11  Will Newton  <will.newton@linaro.org>
28887         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
28888         parameter to RES. Remove hardcoded 1000 value.
28889         * benchtests/bench-skeleton.c (main): Pass RES parameter
28890         to TIMING_INIT and multiply result by 1000.
28892 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28894         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28896 2013-09-11  Andreas Schwab  <schwab@suse.de>
28898         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
28899         if not defined.
28900         (O_TMPFILE) [__USE_GNU]: Define.
28901         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
28902         Define.
28904 2013-09-11  Will Newton  <will.newton@linaro.org>
28906         [BZ #15857]
28907         * malloc/malloc.c (__libc_memalign): Check the value of bytes
28908         does not overflow.
28910 2013-09-11  Will Newton  <will.newton@linaro.org>
28912         [BZ #15856]
28913         * malloc/malloc.c (__libc_valloc): Check the value of bytes
28914         does not overflow.
28916 2013-09-11  Will Newton  <will.newton@linaro.org>
28918         [BZ #15855]
28919         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
28920         does not overflow.
28922 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
28924         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
28925         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28926         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28927         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28928         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28930 2013-09-10  Allan McRae  <allan@archlinux.org>
28932         [BZ #15748]
28933         * manual/arith.texi (Parsing of Floats): Clarify
28934         cross-reference.
28936         [BZ #15849]
28937         * manual/install.texi (Running make install): Mention
28938         --enable-pt-chown.
28939         * INSTALL: Regenerated.
28941 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
28943         * csu/init-first.c (_init): Remove the !SHARED condition around
28944         FPU control word initialization.
28945         * elf/dl-support.c (_dl_fpu_control): New variable.
28946         (_dl_aux_init) <AT_FPUCW>: Initialize it.
28947         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
28948         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
28949         * math/test-fpucw-static.c: New file.
28950         * math/test-fpucw-ieee.c: New file.
28951         * math/test-fpucw-ieee-static.c: New file.
28952         * math/Makefile (tests): Add `test-fpucw-ieee' and
28953         `$(tests-static)'.
28954         (tests-static): New variable.
28955         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
28956         dependency to...
28957         [($(build-shared),yes)]
28958         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
28959         ... this.
28960         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
28961         New dependency.
28963 2013-09-09  Allan McRae  <allan@archlinux.org>
28965         [BZ #15939]
28966         * manual/string.texi (Collation Functions): Fix typo in
28967         strcoll example.
28968         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
28970         [BZ #15893]
28971         * stdlib/isomac.c (get_null_defines): Fix memory leak.
28973         [BZ #15892]
28974         * libio/memstream.c (open_memstream): Fix memory leak.
28975         * libio/wmemstream.c (open_wmemstream): Likewise.
28977         [BZ #15895]
28978         * nscd/netgroupcache.c: Fix nesting of ifdefs.
28980 2013-09-09  Will Newton  <will.newton@linaro.org>
28982         * malloc/Makefile: Add tst-realloc to tests.
28983         * malloc/tst-realloc.c: New file.
28985 2013-09-09  Allan McRae  <allan@archlinux.org>
28987         [BZ #15844]
28988         * COPYING: Update from GNU website to fix FSF address.
28989         * COPYING.LIB: Likewise.
28991 2013-09-06  David S. Miller  <davem@davemloft.net>
28993         * po/zh_TW.po: Update Chinese (traditional) translation from
28994         translation project.
28996 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
28997             Joseph Myers  <joseph@codesourcery.com>
28999         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
29000         "localeinfo.h".
29001         (obstack_chunk_alloc): New macro.
29002         (obstack_chunk_free): Likewise.
29003         (record_offset): New function.
29004         (init_locale_data): Likewise.
29005         (align_locale_data): Likewise.
29006         (add_locale_empty): Likewise.
29007         (add_locale_raw_data): Likewise.
29008         (add_locale_raw_obstack): Likewise.
29009         (add_locale_string): Likewise.
29010         (add_locale_wstring): Likewise.
29011         (add_locale_uint32): Likewise.
29012         (add_locale_uint32_array): Likewise.
29013         (add_locale_char): Likewise.
29014         (start_locale_structure): Likewise.
29015         (end_locale_structure): Likewise.
29016         (start_locale_prelude): Likewise.
29017         (end_locale_prelude): Likewise.
29018         (write_locale_data): Take locale_file structure rather than an
29019         iovec.
29020         * locale/programs/locfile.h: Include "obstack.h".
29021         (struct locale_file): Change to store locale file contents instead
29022         of header.
29023         (init_locale_data): New prototype.
29024         (align_locale_data): Likewise.
29025         (add_locale_empty): Likewise.
29026         (add_locale_raw_data): Likewise.
29027         (add_locale_raw_obstack): Likewise.
29028         (add_locale_string): Likewise.
29029         (add_locale_wstring): Likewise.
29030         (add_locale_uint32): Likewise.
29031         (add_locale_uint32_array): Likewise.
29032         (add_locale_char): Likewise.
29033         (start_locale_structure): Likewise.
29034         (end_locale_structure): Likewise.
29035         (start_locale_prelude): Likewise.
29036         (end_locale_prelude): Likewise.
29037         (write_locale_data): Update prototype.
29038         * locale/programs/3level.h (struct TABLE): Remove result field.
29039         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
29040         Use new locale_file interface.
29041         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
29042         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
29043         * locale/programs/ld-address.c (address_output): Use new
29044         locale_file interface.
29045         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
29046         NO_ADD_LOCALE.
29047         (collate_finish): Don't call collseq_table_finalize.
29048         (collate_output): Use new locale_file interface.
29049         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
29050         in file.
29051         (NO_FINALIZE): Change to NO_ADD_LOCALE.
29052         (TABLE): Move defines earlier in file.
29053         (ELEMENT): Likewise.
29054         (DEFAULT): Likewise.
29055         (wctrans_table_add): Move macro and inline function earlier in
29056         file.
29057         (struct wctype_table): Move type earlier in file.
29058         (add_locale_wctype_table): New static prototype.
29059         (struct locale_ctype_t): Use logical types instead of struct iovec
29060         pointers for members.
29061         (ctype_output): Use new locale_file interface.
29062         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
29063         new locale_file interface.
29064         (allocate_arrays): Update for use of new locale_file interface.
29065         * locale/programs/ld-identification.c (identification_output): Use
29066         new locale_file interface.
29067         * locale/programs/ld-measurement.c (measurement_output): Likewise.
29068         * locale/programs/ld-messages.c (messages_output): Likewise.
29069         * locale/programs/ld-monetary.c (monetary_output): Likewise.
29070         * locale/programs/ld-name.c (name_output): Likewise.
29071         * locale/programs/ld-numeric.c (numeric_output): Likewise.
29072         * locale/programs/ld-paper.c (paper_output): Likewise.
29073         * locale/programs/ld-telephone.c (telephone_output): Likewise.
29074         * locale/programs/ld-time.c (time_output): Likewise.
29076 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29078         * benchtests/Makefile: Add memrchr benchmark.
29079         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
29080         benchmark as memrchr.
29081         * benchtests/bench-memrchr-ifunc.c: New file.
29082         * benchtests/bench-memrchr.c: New file.
29084 2013-09-06   Will Newton  <will.newton@linaro.org>
29086         * benchtests/Makefile (string-bench): Add memcpy.
29088 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
29089             Cong Wang  <amwang@redhat.com>
29091         [BZ #15850]
29092         * sysdeps/unix/sysv/linux/bits/in.h
29093         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
29094         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
29095         before __USE_KERNEL_IPV6_DEFS uses.
29096         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
29097         IPPROTO_BEETPH.
29098         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
29099         sockaddr_in6, or ipv6_mreq.
29101 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29103         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
29104         memory access for final bytes in some large inputs.
29105         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
29107 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29109         * string/test-memrchr.c: New file.
29110         * string/test-memrchr-ifunc.c: New file.
29111         * string/Makefile: Add new memrchr testcase.
29113 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
29115         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
29116         fanotify_init returns EPERM.
29118 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
29120         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
29121         errors.
29122         (top level): Treat second token from macro or constant entries for
29123         allowed headers as allowed.
29124         * include/complex.h: Condition internal declarations on
29125         [!_ISOMAC].
29126         * include/fenv.h: Condition include of <stdbool.h> and internal
29127         declarations on [!_ISOMAC].
29129 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
29131         [BZ #15923]
29132         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
29134 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
29136         * configure.in (--enable-versioning): Remove configure option.
29137         (libc_cv_asm_symver_directive): Remove configure test.
29138         (libc_cv_ld_version_script_option): Likewise.
29139         (VERSIONING): Remove variable and AC_SUBST.
29140         (DO_VERSIONING): Remove AC_DEFINE.
29141         * configure: Regenerated.
29142         * config.h.in (DO_VERSIONING): Remove macro.
29143         * Makerules [$(versioning) = yes]: Change conditionals to
29144         [$(build-shared) = yes].
29145         * config.make.in (versioning): Remove variable.
29146         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
29147         [$(build-shared) = yes].
29148         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
29149         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
29150         * elf/Makefile [$(versioning) = yes]: Change conditionals to
29151         [$(build-shared) = yes].
29152         * extra-lib.mk [$(versioning) = yes]: Likewise.
29153         * hurd/Makefile [$(versioning) = yes]: Likewise.
29154         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
29155         [SHARED].
29156         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
29157         [SHARED].
29158         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
29159         [SHARED && !NO_HIDDEN].
29160         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
29161         [SHARED].
29162         [SHARED && DO_VERSIONING]: Likewise..
29163         * libio/Makefile [$(versioning) = yes]: Change conditionals to
29164         [$(build-shared) = yes].
29165         * manual/install.texi (--disable-versioning): Remove
29166         documentation.
29167         * INSTALL: Regenerated.
29168         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
29169         to [SHARED].
29170         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
29171         [$(build-shared) = yes].
29172         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
29173         * sysdeps/i386/i686/multiarch/strstr-c.c
29174         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
29175         [SHARED && !NO_HIDDEN].
29176         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
29177         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
29178         * sysdeps/powerpc/powerpc32/dl-machine.c
29179         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
29180         * sysdeps/powerpc/powerpc32/sysdep.h
29181         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
29182         to [SHARED && PIC && !NO_HIDDEN].
29183         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
29184         conditional to [SHARED].
29186 2013-09-04   Will Newton  <will.newton@linaro.org>
29188         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
29189         * benchtests/bench-string.h: Include bench-timing.h instead
29190         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
29191         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
29192         call to HP_TIMING_DIFF_INIT.
29193         * benchtests/bench-memccpy.c: Use bench-timing.h macros
29194         instead of hp-timing.h macros.
29195         * benchtests/bench-memchr.c: Likewise.
29196         * benchtests/bench-memcmp.c: Likewise.
29197         * benchtests/bench-memcpy.c: Likewise.
29198         * benchtests/bench-memmem.c: Likewise.
29199         * benchtests/bench-memmove.c: Likewise.
29200         * benchtests/bench-memset.c: Likewise.
29201         * benchtests/bench-rawmemchr.c: Likewise.
29202         * benchtests/bench-strcasecmp.c: Likewise.
29203         * benchtests/bench-strcasestr.c: Likewise.
29204         * benchtests/bench-strcat.c: Likewise.
29205         * benchtests/bench-strchr.c: Likewise.
29206         * benchtests/bench-strcmp.c: Likewise.
29207         * benchtests/bench-strcpy.c: Likewise.
29208         * benchtests/bench-strcpy_chk.c: Likewise.
29209         * benchtests/bench-strlen.c: Likewise.
29210         * benchtests/bench-strncasecmp.c: Likewise.
29211         * benchtests/bench-strncat.c: Likewise.
29212         * benchtests/bench-strncmp.c: Likewise.
29213         * benchtests/bench-strncpy.c: Likewise.
29214         * benchtests/bench-strnlen.c: Likewise.
29215         * benchtests/bench-strpbrk.c: Likewise.
29216         * benchtests/bench-strrchr.c: Likewise.
29217         * benchtests/bench-strspn.c: Likewise.
29218         * benchtests/bench-strstr.c: Likewise.
29220 2013-09-04  Will Newton  <will.newton@linaro.org>
29222         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
29224 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
29226         [BZ #15427]
29227         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
29228         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
29229         * math/libm-test.inc (lgamma_test_data): Add more tests.
29230         * sysdeps/i386/fpu/libm-test-ulps: Update.
29231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29233 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
29235         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
29236         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29237         Add ifunc.
29238         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29239         Add strcmp-sse2-unaligned
29240         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
29242 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
29244         * Versions.def (libc): Add GLIBC_2.19.
29246 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
29248         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
29249         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
29251 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
29253         [BZ #14155]
29254         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
29255         intermediate calculations in recurrence.
29256         (__ieee754_ynf): Likewise.
29257         * math/libm-test.inc (jn_test_data): Do not allow spurious
29258         underflow exception.  Add more tests.
29259         (yn_test_data): Add more tests.
29260         * sysdeps/i386/fpu/libm-test-ulps: Update.
29261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29263 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
29265         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
29267 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
29269         * csu/init-first.c: Fix then/than typos.
29270         * locale/programs/ld-collate.c: Likewise.
29271         * locale/programs/linereader.h: Likewise.
29272         * manual/charset.texi: Likewise.
29273         * manual/filesys.texi: Likewise.
29274         * manual/stdio.texi: Likewise.
29275         * manual/string.texi: Likewise.
29276         * stdlib/fmtmsg.c: Likewise.
29277         * sysdeps/i386/stpncpy.S: Likewise.
29278         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29279         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
29280         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29281         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29283 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
29285         * elf/dl-open.c: Fix typos.
29286         * iconvdata/gbbig5.c: Likewise.
29287         * iconvdata/iso-2022-jp.c: Likewise.
29288         * iconv/gconv_int.h: Likewise.
29289         * iconv/loop.c: Likewise.
29290         * nis/rpcsvc/nis.h: Likewise.
29291         * resolv/ns_name.c: Likewise.
29292         * stdio-common/vfscanf.c: Likewise.
29293         * streams/stropts.h: Likewise.
29294         * sunrpc/rpc_thread.c: Likewise.
29295         * sysdeps/i386/strpbrk.S: Likewise.
29296         * sysdeps/ieee754/k_standard.c: Likewise.
29297         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29298         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29299         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
29300         * sysdeps/mach/hurd/profil.c: Likewise.
29301         * sysdeps/s390/dl-procinfo.h: Likewise.
29302         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
29303         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
29304         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
29305         * sysdeps/x86_64/dl-trampoline.S: Likewise.
29306         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29308 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
29310         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
29311         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
29313 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
29315         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
29316         aix specific files.
29317         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
29318         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
29319         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
29320         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
29321         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
29322         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
29323         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
29324         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
29326 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
29327             Roland McGrath  <roland@hack.frob.com>
29329         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
29330         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
29332 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29334         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
29335         __executable_start symbol instead of _start.
29337 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
29339         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
29340         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
29341         Move macros to...
29342         * sysdeps/gnu/ldsodefs.h: ... this new file.
29344         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
29345         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
29346         instead of ELFOSABI_LINUX.
29348         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
29349         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
29350         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
29351         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
29352         Likewise.
29353         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
29354         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
29355         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
29356         Likewise.
29357         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
29358         (ibm_extended_long_double): Add ieee_nan member.
29359         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
29360         (do_test): New function.
29362         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
29363         TEST_TRUNC.
29364         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
29365         functions, renamed from truncdfsf_test, trunctfsf_test,
29366         trunctfdf_test.
29367         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
29368         functions.
29369         (do_test): Run all these.
29371 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
29373         * argp/argp-help.c: Fix typos.
29374         * argp/argp-parse.c: Likewise.
29375         * debug/backtracesyms.c: Likewise.
29376         * elf/elf.h: Likewise.
29377         * malloc/malloc.c: Likewise.
29378         * nis/nis_print.c: Likewise.
29379         * resolv/res_comp.c: Likewise.
29380         * stdlib/stdlib.h: Likewise.
29381         * sunrpc/clnt_tcp.c: Likewise.
29382         * sunrpc/clnt_udp.c: Likewise.
29383         * sunrpc/clnt_unix.c: Likewise.
29384         * sysdeps/unix/bsd/ptsname.c: Likewise.
29385         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
29386         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
29387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
29388         Likewise.
29389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
29390         Likewise.
29391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
29392         Likewise.
29393         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
29395 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29397         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
29398         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29400 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
29402         [BZ #15897]
29403         * dlfcn/Makefile (tests): Add bug-dl-leaf.
29404         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
29405         ($(objpfx)bug-dl-leaf): New rule.
29406         ($(objpfx)bug-dl-leaf.so): Likewise.
29407         ($(objpfx)bug-dl-leaf.out): Likewise.
29408         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
29409         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
29410         * dlfcn/bug-dl-leaf.c: New test.
29411         * dlfcn/bug-dl-leaf-lib.c: Likewise.
29412         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
29413         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
29414         (dlclose): Likewise.
29415         (dlmopen): Likewise.
29417 2013-08-27  Roland McGrath  <roland@hack.frob.com>
29419         * include/netdb.h [!_ISOMAC]:
29420         Don't include <tls.h>.
29421         (h_errno, __libc_h_errno): Move declaration and macros out of
29422         [_LIBC_REENTRANT].
29424         * include/resolv.h [_RESOLV_H_]:
29425         Don't include <tls.h>.
29426         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
29427         * resolv/res_libc.c: Don't include <tls.h>.
29428         (_res): Use __attribute__ ((nocommon)) in place of
29429         __attribute__ ((section (".bss"))).
29431         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
29432         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
29434         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
29436         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
29437         only under [SIOCGIFCONF && SIOCGIFNETMASK].
29439         * resolv/res_mkquery.c: Include <sys/time.h>.
29441         * inet/ifreq.c: Moved to ...
29442         * sysdeps/unix/ifreq.c: ... here.
29443         * inet/ifreq.c: New file, true stub version.
29445         * socket/sa_len.c: New file.
29446         * socket/Makefile (aux): Add it.
29447         * sysdeps/unix/sysv/linux/Makefile
29448         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
29449         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
29450         and #include <socket/sa_len.c>.
29451         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
29452         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
29454         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
29455         * bits/socket.h: ... here.
29457         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
29458         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
29459         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
29461 2013-08-27  Andreas Schwab  <schwab@suse.de>
29463         [BZ #15736]
29464         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
29465         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
29466         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
29467         * string/test-strcasecmp.c (test_main): Run tests in several
29468         locales.
29469         * string/test-strncasecmp.c (test_main): Likewise.
29471         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
29472         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
29473         to __strcasecmp_nonascii and __strncasecmp_nonascii.
29474         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
29475         (__strncasecmp_ssse3) [PIC]: Likewise.
29477 2013-08-26  Roland McGrath  <roland@hack.frob.com>
29479         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
29481         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
29482         instead of explicitly declaring xdecrypt.
29483         * nis/nss_nis/nis-publickey.c: Likewise.
29485 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29487         [BZ #15890]
29488         * nscd/aicache.c: Include res_hconf.h.
29489         (addhstaiX): Initialize res_hconf.
29491 2013-08-26  Andreas Schwab  <schwab@suse.de>
29493         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
29494         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
29496 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29498         * nscd/aicache.c (addhstaiX): Fix indentation.
29500 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
29502         * configure.ac: Quote $build_pt_chown test.
29503         * configure: Regenerated.
29505 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
29507         [BZ #15532]
29508         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
29509         * math/s_cexpf.c (__cexpf): Likewise.
29510         * math/s_cexpl.c (__cexpl): Likewise.
29511         * math/libm-test.inc (cexp_test_data): Correct expected return
29512         value for NaN + i0.  Add another test.
29514 2013-08-22  David S. Miller  <davem@davemloft.net>
29516         * po/ca.po: Update Catalan translation from translation project.
29517         * po/uk.po: Add Ukrainian translations from translation project.
29519 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
29521         [BZ #15797]
29522         * math/s_fdim.c (__fdim): Check for infinite arguments if result
29523         is infinite, not alongside NaN test.
29524         * math/s_fdimf.c (__fdimf): Likewise.
29525         * math/s_fdiml.c (__fdiml): Likewise.
29526         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
29527         errno is unchanged.
29529 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
29531         * argp/argp-help.c: Fix typos.
29532         * crypt/speeds.c: Likewise.
29533         * csu/check_fds.c: Likewise.
29534         * elf/dl-load.c: Likewise.
29535         * elf/dl-open.c: Likewise.
29536         * elf/reldep3.c: Likewise.
29537         * elf/reldep.c: Likewise.
29538         * elf/sprof.c: Likewise.
29539         * iconv/iconv_charmap.c: Likewise.
29540         * iconv/skeleton.c: Likewise.
29541         * iconv/strtab.c: Likewise.
29542         * io/lockf64.c: Likewise.
29543         * libio/libioP.h: Likewise.
29544         * resolv/gai_notify.c: Likewise.
29545         * resolv/ns_name.c: Likewise.
29546         * resolv/ns_samedomain.c: Likewise.
29547         * resolv/res_send.c: Likewise.
29548         * stdlib/random.c: Likewise.
29549         * sunrpc/rpc/xdr.h: Likewise.
29550         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
29551         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29552         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29553         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29554         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29555         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29556         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29557         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29558         * sysdeps/mach/hurd/check_fds.c: Likewise.
29559         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
29560         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
29561         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29562         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
29563         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
29564         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
29565         * sysdeps/pthread/aio_notify.c: Likewise.
29566         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
29567         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
29568         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
29569         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29570         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
29572 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29574         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
29575         version if bit_Slow_SSE4_2 is set.
29576         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29577         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29579 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29581         [BZ #15867]
29582         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
29583         trampoline stack frame information.
29584         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
29585         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
29586         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
29587         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
29588         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
29589         * sysdeps/unix/sysv/linux/powerpc/init-first.c
29590         (_libc_vdso_platform_setup): Initialize the signal trampolines.
29591         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
29592         sa_flags value.
29593         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
29594         interrupting a syscall and set with option SA_SIGINFO.
29596 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
29598         [BZ #15531]
29599         * math/s_cproj.c (__cproj): Only return an infinity if one part of
29600         argument is infinite.
29601         * math/s_cprojf.c (__cprojf): Likewise.
29602         * math/s_cprojl.c (__cprojl): Likewise.
29603         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
29604         * math/libm-test.inc (cproj_test_data): Add more tests.
29606         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
29608         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
29609         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
29610         size.  Use __ffs to determine corresponding shift.
29612 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
29613             Roland McGrath  <roland@hack.frob.com>
29615         * Makefile (INSTALL): Remove trailing blank lines from output of
29616         makeinfo.
29618 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29620         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
29621         Align 32 bit compat elf_greg to 8 bytes.
29623 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
29625         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
29627 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29629         * string/strcoll_l.c (coll_seq): New structure.
29630         (get_next_seq_cached): New function.
29631         (get_next_seq): New function.
29632         (do_compare): New function.
29633         (STRCOLL): Use GNU style definition.  Simplify implementation
29634         by using get_next_seq, get_next_seq_cached and do_compare.
29636 2013-08-16  Florian Weimer  <fweimer@redhat.com>
29638         [BZ #14699]
29639         CVE-2013-4237
29640         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
29641         member.
29642         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
29643         member.
29644         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
29645         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
29646         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
29647         conditional.
29648         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
29649         GETDENTS_64BIT_ALIGNED.
29650         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29651         * manual/filesys.texi (Reading/Closing Directory): Document
29652         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
29653         strongly.
29654         * manual/conf.texi (Limits for Files): Add portability note to
29655         NAME_MAX, PATH_MAX.
29656         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
29658 2013-08-13  Andreas Schwab  <schwab@suse.de>
29660         [BZ #15749]
29661         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
29662         of fabs.
29663         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
29664         LDBL_MAX_EXP >= 16384]: Add tests for it.
29666 2013-08-12  David S. Miller  <davem@davemloft.net>
29668         * version.h (RELEASE): Set to "development".
29669         (VERSION): Set to "2.18.90".
29670         * NEWS: Add 2.19 section.
29672 2013-08-03  David S. Miller  <davem@davemloft.net>
29674         * po/ko.po: Update Korean translation from translation project.
29676 2013-08-01  David S. Miller  <davem@davemloft.net>
29678         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
29679         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
29680         Bilka.
29682 2013-07-30  David S. Miller  <davem@davemloft.net>
29684         * po/fr.po: Update French translation from translation project.
29686 2013-07-28  David S. Miller  <davem@davemloft.net>
29688         * po/cs.po: Update Czech translation from translation project.
29690         * po/sv.po: Update Swedish translation from translation project.
29692 2013-07-27  David S. Miller  <davem@davemloft.net>
29694         * po/eo.po: Update Esperanto translation from translation project.
29696         * po/vi.po: Update Vietnamese translation from translation project.
29698         * po/de.po: Update German translation from translation project.
29700 2013-07-26  David S. Miller  <davem@davemloft.net>
29702         * po/bg.po: Update Bulgarian translation from translation project.
29704         * po/nl.po: Update Dutch translation from translation project.
29705         * po/pl.po: Update Polish translation from translation project.
29706         * po/ru.po: Update Russian translation from translation project.
29708 2013-07-24  David S. Miller  <davem@davemloft.net>
29710         * po/libc.pot: Update.
29712 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29714         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
29715         variable page size.
29716         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
29717         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
29718         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
29720 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29722         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
29724 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29725             Andreas Schwab  <schwab@suse.de>
29726             Roland McGrath  <roland@hack.frob.com>
29727             Joseph Myers  <joseph@codesourcery.com>
29728             Carlos O'Donell  <carlos@redhat.com>
29730         [BZ #15755]
29731         * config.h.in: Define HAVE_PT_CHOWN.
29732         * config.make.in (build-pt-chown): New variable.
29733         * configure.in (--enable-pt_chown): New configure option.
29734         * configure: Regenerate.
29735         * login/Makefile: Include Makeconfig.  Build pt_chown only if
29736         build-pt-chown is enabled.
29737         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
29738         pt_chown to fix pty ownership.
29739         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
29740         CLOSE_ALL_FDS.
29741         * manual/install.texi (Configuring and compiling): Mention
29742         --enable-pt_chown. Add @findex for grantpt.
29743         * INSTALL: Regenerate.
29745 2013-07-20  David S. Miller  <davem@davemloft.net>
29747         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
29748         difference between 32-bit and 64-bit.
29750 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
29752         [BZ #15711]
29753         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
29754         Avoid system header dependency with -ffreestanding.
29755         ($(objpfx)bits/syscall%d): Likewise.
29757 2013-07-13  David S. Miller  <davem@davemloft.net>
29759         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
29760         underflows from atanl/atan2l due to bug 15319.
29761         (casinh_test_data): Likewise.
29763 2013-07-07  David S. Miller  <davem@davemloft.net>
29765         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
29767 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
29769         * sysdeps/i386/fpu/libm-test-ulps: Update.
29770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29772 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29774         * configure.in (--enable-lock-elision): Fix message text.
29775         * INSTALL: Regenerate.
29776         * configure: Regenerate.
29778 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29780         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29782 2013-07-03  Andreas Jaeger  <aj@suse.de>
29784         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
29785         define.
29786         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
29787         (ptrace_peeksiginfo_args): Add.
29788         (__ptrace_peeksiginfo_flags): Add.
29789         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29790         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29791         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29793 2013-07-03  Allan McRae  <allan@archlinux.org>
29795         * sysdeps/i386/fpu/libm-test-ulps: Update.
29797 2013-07-02  David S. Miller  <davem@davemloft.net>
29799         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29801 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
29803         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29805 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
29807         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
29808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29810 2013-07-02  Andi Kleen <ak@linux.intel.com>
29812         * config.h.in (ENABLE_LOCK_ELISION): Add.
29813         * configure.in (--enable-lock-elision): Add option.
29814         * manual/install.texi: Document --enable lock elision.
29815         * configure: Regenerate
29816         * INSTALL: Regenerate.
29818 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
29820         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
29821         SSE4.2 strcasecmp for libc.a.
29822         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
29824 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
29826         [BZ #13304]
29827         * soft-fp/op-common.h (_FP_FMA): New macro.
29828         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
29829         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
29830         (_FP_MUL_MEAT_1_imm): ... here.
29831         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
29832         (_FP_MUL_MEAT_1_wide): ... here.
29833         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
29834         (_FP_MUL_MEAT_1_hard): ... here.
29835         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
29836         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
29837         (_FP_MUL_MEAT_2_wide): ... here.
29838         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
29839         (_FP_MUL_MEAT_2_wide_3mul): ... here.
29840         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
29841         (_FP_MUL_MEAT_2_gmp): ... here.
29842         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
29843         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
29844         (_FP_MUL_MEAT_4_wide): ... here.
29845         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
29846         (_FP_MUL_MEAT_4_gmp): ... here.
29847         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
29848         (_FP_WFRACBITS_DW_S): Likewise.
29849         (_FP_WFRACXBITS_DW_S): Likewise.
29850         (_FP_HIGHBIT_DW_S): Likewise.
29851         (FP_FMA_S): Likewise.
29852         (_FP_FRAC_HIGH_DW_S): Likewise.
29853         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
29854         (_FP_WFRACBITS_DW_D): Likewise.
29855         (_FP_WFRACXBITS_DW_D): Likewise.
29856         (_FP_HIGHBIT_DW_D): Likewise.
29857         (FP_FMA_D): Likewise.
29858         (_FP_FRAC_HIGH_DW_D): Likewise.
29859         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
29860         (_FP_WFRACBITS_DW_E): Likewise.
29861         (_FP_WFRACXBITS_DW_E): Likewise.
29862         (_FP_HIGHBIT_DW_E): Likewise.
29863         (FP_FMA_E): Likewise.
29864         (_FP_FRAC_HIGH_DW_E): Likewise.
29865         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
29866         (_FP_WFRACBITS_DW_Q): Likewise.
29867         (_FP_WFRACXBITS_DW_Q): Likewise.
29868         (_FP_HIGHBIT_DW_Q): Likewise.
29869         (FP_FMA_Q): Likewise.
29870         (_FP_FRAC_HIGH_DW_Q): Likewise.
29871         * soft-fp/fmasf4.c: New file.
29872         * soft-fp/fmadf4.c: Likewise.
29873         * soft-fp/fmatf4.c: Likewise.
29875 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29877         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
29878         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
29879         Silvermont.
29880         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
29881         macro.
29882         (index_Slow_SSE4_2): Likewise.
29883         (index_Prefer_PMINUB_for_stringop): Likewise.
29884         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
29885         bit_Slow_SSE4_2 is set.
29886         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29887         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29889 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29891         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
29892         rtld_global._dl_hwcap2.
29893         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
29894         POWER8.
29895         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
29896         POWER8 feature descriptions defined in _dl_hwcap2.
29897         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
29898         string handling for POWER8 feature bits.
29899         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
29900         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
29901         _dl_powerpc_cap_flags.
29902         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
29903         * sysdeps/powerpc/rtld-global-offsets.sym
29904         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
29905         _dl_hwcap2 in the rtld_global_ro structure.
29907 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29909         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
29910         hardware capabilities in support of AT_HWCAP2.
29911         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
29912         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
29913         GLRO(dl_hwcap2).
29914         (_dl_show_auxv): Add support for calling _dl_procinfo to display
29915         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
29916         explicitly the unknown a_type display mechanism is used.
29917         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
29918         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
29919         struct member.
29920         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
29921         to macro prototype for AT_HWCAP2 support.
29922         * sysdeps/i386/dl-procinfo.h: Likewise.
29923         * sysdeps/s390/dl-procinfo.h: Likewise.
29924         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
29925         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
29926         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
29927         return -1 for unknown a_type display fallback.
29928         * sysdeps/sparc/dl-procinfo.h: Likewise.
29929         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
29930         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
29932 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
29934         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
29935         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
29937 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
29939         [BZ #12492]
29940         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
29941         mprotect making __stack_prot writable.
29943 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
29944             Joseph Myers  <joseph@codesourcery.com>
29946         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
29947         as being properly aligned.
29949 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
29951         * dlfcn/modstatic5.c: New file.
29952         * dlfcn/tststatic5.c: New file.
29953         * dlfcn/Makefile (tests): Add tststatic5.
29954         (tests-static): Likewise.
29955         (modules-names): Add modstatic5.
29956         (tststatic5-ENV): New variable.
29957         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
29959         [BZ #15022]
29960         * elf/dl-support.c (_dl_main_map): New variable.
29961         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
29962         (_dl_nns, _dl_load_adds): Set to 1.
29963         (_dl_initial_searchlist): Refer to _dl_main_map.
29964         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
29965         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
29966         call to _dl_get_origin.
29967         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
29968         around call_map.
29969         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
29970         * dlfcn/modstatic3.c: New file.
29971         * dlfcn/tststatic3.c: New file.
29972         * dlfcn/tststatic4.c: New file.
29973         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
29974         (tests-static): Likewise.
29975         (modules-names): Add modstatic3.
29976         (tststatic3-ENV, tststatic4-ENV): New variables.
29977         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
29978         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
29980 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
29982         * configure.in (CC): Require GCC version 4.4 or later.
29983         * configure: Regenerated.
29984         * manual/install.texi (Tools for Compilation): Update GCC version
29985         requirement.
29986         * INSTALL: Regenerated.
29988 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29990         [BZ #15674]
29991         * string/test-memcmp.c (check2): New.
29992         (main): Call check2.
29994         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
29996 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
29998         [BZ #15022]
29999         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
30000         over to...
30001         (dl_open_worker) [!SHARED]: ... here.
30003 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30005         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
30007 2013-06-25  Richard Henderson  <rth@redhat.com>
30009         * locale/programs/locarchive.c: Include <libc-internal.h>
30011 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
30013         * manual/texinfo.tex: Update to version 2013-06-21.17, with
30014         trailing whitespace removed.
30016 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
30018         [BZ #10283]
30019         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
30020         * locale/programs/locarchive.c: Include libc-mmap.h.
30021         (prepare_address_space): Take two new outputs (the mmap base and len).
30022         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
30023         values.
30024         (create_archive): Declare new mmap base and len values for
30025         prepare_address_space, and store the result in ah.
30026         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
30027         (enlarge_archive): If ah->mmap_base is not NULL, use that and
30028         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30029         Declare new mmap base and len values for
30030         prepare_address_space, and store the result in new_ah.
30031         (open_archive): Declare new mmap base and len values for
30032         prepare_address_space, and store the result in ah.
30033         (close_archive): If ah->mmap_base is not NULL, use that and
30034         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30035         * sysdeps/generic/libc-mmap.h: New file.
30037 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
30039         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
30040         (ALIGN_UP): Likewise.
30041         (PTR_ALIGN_DOWN): Likewise.
30042         (PTR_ALIGN_UP): Likewise.
30044 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30046         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
30047         entry mapped to PPC_PLATFORM_POWER8.
30048         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
30049         POWER8.
30050         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
30051         (_dl_string_platform): Add case for exporting platform position for
30052         POWER8.
30053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
30054         search path to sysdeps/powerpc/powerpc32/power8 directory.
30055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
30056         search path to sysdeps/powerpc/powerpc64/power8 directory.
30057         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
30058         power7 directories.
30059         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
30060         power7 directories.
30062 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30064         * INSTALL: Regenerate.
30066         * nscd/connections.c (nscd_init): Fix comment.
30068 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
30070         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
30072         [BZ #15667]
30073         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
30074         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
30076 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
30078         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
30079         DL_DST_REQ_STATIC.
30080         (DL_DST_REQ_STATIC): Remove macro.
30082 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
30084         [BZ #7006]
30085         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
30086         with a shift of 0 bits.
30088 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
30090         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
30091         $(tststatic-ENV).
30093 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30095         [BZ #15655]
30096         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
30098 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30100         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
30101         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
30102         accepts -fno-tree-loop-distribute-patterns.
30103         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
30104         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
30105         recursive call.
30106         * string/memset.c (memset): Likewise.
30107         * string/test-memmove.c (simple_memmove): Disable loop transformation
30108         to library calls.
30109         * string/test-memset.c (simple_memset): Likewise.
30110         * benchtests/bench-memmove.c (simple_memmove): Likewise.
30111         * benchtests/bench-memset.c (simple_memset): Likewise.
30112         * configure: Regenerated.
30114 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
30116         * math/test-misc.c (main): Ignore fesetround failure when failures
30117         of subsequent rounding tests would be ignored.
30119         [BZ #15654]
30120         * math/fedisblxcpt.c (fedisableexcept): Return 0.
30121         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
30122         * math/fegetenv.c (__fegetenv): Return 0.
30123         * math/fegetexcept.c (fegetexcept): Return 0.
30124         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
30125         FE_TONEAREST.
30126         * math/feholdexcpt.c (feholdexcept): Return 0.
30127         * math/fesetenv.c (__fesetenv): Return 0.
30128         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
30129         argument FE_TONEAREST.
30130         * math/feupdateenv.c (__feupdateenv): Return 0.
30131         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
30133 2013-06-18  Roland McGrath  <roland@hack.frob.com>
30135         * elf/rtld-Rules (rtld-compile-command.S): New variable.
30136         (rtld-compile-command.s, rtld-compile-command.c): New variables.
30137         ($(objpfx)rtld-%.os rules): Use them.
30139 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30141         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
30142         fields.
30144 2013-06-17  Roland McGrath  <roland@hack.frob.com>
30146         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
30147         length of target pattern, then descending length of dependency pattern.
30148         * configure.in (AWK): Require gawk 3.1.2 or newer.
30149         * manual/install.texi (Tools for Compilation): Say that we do.
30150         * configure: Regenerated.
30152         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
30153         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
30154         * scripts/sysd-rules.awk: ... this new script.
30155         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
30156         than a glob-style pattern.
30158 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
30160         * math/test-misc.c (main): Do not treat incorrectly rounded
30161         conversions as failure unless ROUNDING_TESTS passes.
30163 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
30165         [BZ #15631]
30166         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
30167         restore exception state around main square root computation, then
30168         check for inexactness explicitly.
30170         * math/libm-test.inc (fma_test_data): Add another test.
30172 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30174         * manual/threads.texi (Non-POSIX Extensions): New document
30175         node.  Document pthread_getattr_default_np and
30176         pthread_setattr_default_np.
30178         * Versions.def (libpthread): Add GLIBC_2.18.
30179         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
30180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30181         Likewise.
30182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30183         Likewise.
30184         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30185         Likewise.
30186         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30187         Likewise.
30188         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
30189         Likewise.
30190         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30191         Likewise.
30192         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30193         Likewise.
30194         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30195         Likewise.
30196         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30197         Likewise.
30199 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30201         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30202         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
30204 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30205             H.J. Lu  <hjl.tools@gmail.com>
30207         [BZ #15627]
30208         * sysdeps/x86_64/rtld-memset.c: Remove file.
30209         * sysdeps/x86_64/rtld-memset.S: New file.
30211 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
30213         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
30214         (test_in_one_mode): Take arguments for whether the rounding mode
30215         is supported for each floating-point type.
30216         (do_test): Pass new arguments to test_in_one_mode using
30217         ROUNDING_TESTS.
30219 2013-06-13  Roland McGrath  <roland@hack.frob.com>
30221         * posix/tst-waitid.c (do_test): Distinguish different instances of
30222         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
30223         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
30224         before entering the kernel for waitpid.
30226 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30228         * NEWS: Fix note on clock function precision.  Text by Roland
30229         McGrath.
30231 2013-06-13  Roland McGrath  <roland@hack.frob.com>
30233         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
30234         it into place only when and if the sanity check passes.
30236 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
30238         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
30239         output for whether conversion result is exact.  Take argument
30240         indicating whether type is IBM long double.
30241         (round_for_all): Change need_exact field to ibm_ld.
30242         * stdlib/tst-strtod-round.c (struct exactness): New type.
30243         (struct test): Change bool ld_ok field to struct exactness exact.
30244         (TEST): Update all definitions for change to field.
30245         (tests): Regenerate array contents.
30246         (test_in_one_mode): Take pointer to new field instead of old ld_ok
30247         field value.  Check for IBM long double here.
30248         (do_test): Update calls to test_in_one_mode.
30250 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30252         [BZ #12515]
30253         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
30254         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
30256 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30258         [BZ #15605]
30259         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
30260         generated by the compiler on loop optimizations.
30261         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
30262         general definitions.
30264 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
30266         * math/bug-nextafter.c: Include <math-tests.h>.
30267         (main): Only test for exceptions if EXCEPTION_TESTS is true for
30268         the relevant type.
30269         * math/bug-nexttoward.c: Include <math-tests.h>.
30270         (main): Only test for exceptions if EXCEPTION_TESTS is true for
30271         the relevant type.
30272         * math/test-misc.c: Include <math-tests.h>.
30273         (main): Only test for exceptions if EXCEPTION_TESTS is true for
30274         the relevant type.
30276 2013-06-12  Andreas Jaeger  <aj@suse.de>
30278         * po/ia.po: Update Interlingua translation from translation
30279         project.
30281 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30283         * include/fenv.h: Include stdbool.h.
30284         (struct rm_ctx): New structure.
30285         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
30286         Define macro.
30287         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
30288         (SET_RESTORE_ROUNDF): Likewise.
30289         (SET_RESTORE_ROUNDL): Likewise.
30290         (SET_RESTORE_ROUND_NOEX): Likewise.
30291         (SET_RESTORE_ROUND_NOEXF): Likewise.
30292         (SET_RESTORE_ROUND_NOEXL): Likewise.
30293         (SET_RESTORE_ROUND_53BIT): Likewise.
30294         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
30295         (libc_feresetround_noexf_ctx): Likewise.
30296         (libc_feresetround_noexl_ctx): Likewise.
30297         (libc_feholdsetround_53bit_ctx): Likewise.
30298         (libc_feresetround_53bit_ctx): Likewise.
30299         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
30300         (libc_feholdexcept_setround_sse_ctx): New function.
30301         (libc_fesetenv_sse_ctx): Likewise.
30302         (libc_feupdateenv_sse_ctx): Likewise.
30303         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
30304         (libc_feholdexcept_setround_387_ctx): Likewise.
30305         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
30306         (libc_feholdsetround_387_prec_ctx): Likewise.
30307         (libc_feholdsetround_387_ctx): Likewise.
30308         (libc_feholdsetround_387_53bit_ctx): Likewise.
30309         (libc_feholdsetround_sse_ctx): Likewise.
30310         (libc_feresetround_sse_ctx): Likewise.
30311         (libc_feresetround_387_ctx): Likewise.
30312         (libc_feupdateenv_387_ctx): Likewise.
30313         (libc_feholdexcept_setroundf_ctx): Define macro.
30314         (libc_fesetenvf_ctx): Likewise.
30315         (libc_feupdateenvf_ctx): Likewise.
30316         (libc_feholdsetroundf_ctx): Likewise.
30317         (libc_feresetroundf_ctx): Likewise.
30318         (libc_feholdexcept_setround_ctx): Likewise.
30319         (libc_fesetenv_ctx): Likewise.
30320         (libc_feupdateenv_ctx): Likewise.
30321         (libc_feholdsetround_ctx): Likewise.
30322         (libc_feresetround_ctx): Likewise.
30323         (libc_feholdexcept_setroundl_ctx): Likewise.
30324         (libc_feupdateenvl_ctx): Likewise.
30325         (libc_feholdsetroundl_ctx): Likewise.
30326         (libc_feresetroundl_ctx): Likewise.
30327         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
30328         (libc_feresetround_53bit_ctx): Likewise.
30330 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30332         * locale/iso-639.def: Convert to UTF-8.
30334 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
30336         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
30337         (EXCEPTION_TESTS_double): Likewise.
30338         (EXCEPTION_TESTS_long_double): Likewise.
30339         (EXCEPTION_TESTS): Likewise.
30340         * math/libm-test.inc (test_exceptions): Only test exceptions if
30341         EXCEPTION_TESTS (FLOAT).
30343 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30345         * benchtests/Makefile (string-bench): Add strcpy_chk and
30346         stpcpy_chk.
30347         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
30348         * benchtests/bench-stpcpy_chk.c: New file.
30349         * benchtests/bench-strcpy_chk-ifunc.c: New file.
30350         * benchtests/bench-strcpy_chk.c: New file.
30351         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
30352         code.
30353         (do_test): Likewise.
30355 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30357         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
30358         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
30359         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
30360         with tabs where appropriate.
30361         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
30362         dl-procinfo.h.
30363         [PPC_PLATFORM_PPC440]: Likewise.
30364         [PPC_PLATFORM_PPC464]: Likewise.
30365         [PPC_PLATFORM_PPC476]: Likewise.
30366         (_dl_string_platform): Add support for detecting ppc405, ppc440,
30367         ppc464, and ppc476 platform strings merging from ports/
30368         dl-procinfo.h.
30370 2013-06-11  Andreas Schwab  <schwab@suse.de>
30372         [BZ #14991]
30373         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
30374         (from_ucs4_idx): Regenerate.
30375         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
30376         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
30377         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
30378         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
30379         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
30380         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
30381         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
30382         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
30383         from FROM_LOOP and TO_LOOP specific macros.
30384         (BODY): Handle combining characters.
30385         * iconvdata/BIG5HKSCS.irreversible: Update.
30386         * iconvdata/BIG5HKSCS.precomposed: New file.
30387         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
30388         characters.
30389         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
30391 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30393         * include/sys/time.h: Fix indentation and add copyright header.
30395         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
30396         (do_test): Likewise.
30397         * string/test-memchr.c (do_one_test): Likewise.
30398         (do_test): Likewise.
30399         * string/test-memcmp.c (do_one_test): Likewise.
30400         (do_test): Likewise.
30401         * string/test-memcpy.c (do_one_test): Likewise.
30402         (do_test): Likewise.
30403         * string/test-memmem.c (do_one_test): Likewise.
30404         (do_test): Likewise.
30405         (do_random_tests): Likewise.
30406         * string/test-memmove.c (do_one_test): Likewise.
30407         (do_test): Likewise.
30408         * string/test-memset.c (do_one_test): Likewise.
30409         (do_test): Likewise.
30410         * string/test-rawmemchr.c (do_one_test): Likewise.
30411         (do_test): Likewise.
30412         * string/test-strcasecmp.c (do_one_test): Likewise.
30413         (do_test): Likewise.
30414         * string/test-strcasestr.c (do_one_test): Likewise.
30415         (do_test): Likewise.
30416         * string/test-strcat.c (do_one_test): Likewise.
30417         (do_test): Likewise.
30418         * string/test-strchr.c (do_one_test): Likewise.
30419         (do_test): Likewise.
30420         * string/test-strcmp.c (do_one_test): Likewise.
30421         (do_test): Likewise.
30422         * string/test-strcpy.c (do_one_test): Likewise.
30423         (do_test): Likewise.
30424         * string/test-string.h: Likewise.
30425         (test_init): Likewise.
30426         * string/test-strlen.c (do_one_test): Likewise.
30427         (do_test): Likewise.
30428         * string/test-strncasecmp.c (do_one_test): Likewise.
30429         (do_test): Likewise.
30430         * string/test-strncat.c (do_one_test): Likewise.
30431         (do_test): Likewise.
30432         * string/test-strncmp.c (do_one_test): Likewise.
30433         (do_test_limit): Likewise.
30434         (do_test): Likewise.
30435         * string/test-strncpy.c (do_one_test): Likewise.
30436         (do_test): Likewise.
30437         * string/test-strnlen.c (do_one_test): Likewise.
30438         (do_test): Likewise.
30439         * string/test-strpbrk.c (do_one_test): Likewise.
30440         (do_test): Likewise.
30441         * string/test-strrchr.c (do_one_test): Likewise.
30442         (do_test): Likewise.
30443         * string/test-strspn.c (do_one_test): Likewise.
30444         (do_test): Likewise.
30445         * string/test-strstr.c (do_one_test): Likewise.
30446         (do_test): Likewise.
30448         * benchtests/Makefile (string-bench): Add string benchmarks.
30449         * benchtests/bench-bcopy-ifunc.c: New file.
30450         * benchtests/bench-bcopy.c: New file.
30451         * benchtests/bench-bzero-ifunc.c: New file.
30452         * benchtests/bench-bzero.c: New file.
30453         * benchtests/bench-memccpy-ifunc.c: New file.
30454         * benchtests/bench-memccpy.c: New file.
30455         * benchtests/bench-memchr-ifunc.c: New file.
30456         * benchtests/bench-memchr.c: New file.
30457         * benchtests/bench-memcmp-ifunc.c: New file.
30458         * benchtests/bench-memcmp.c: New file.
30459         * benchtests/bench-memmem-ifunc.c: New file.
30460         * benchtests/bench-memmem.c: New file.
30461         * benchtests/bench-memmove-ifunc.c: New file.
30462         * benchtests/bench-memmove.c: New file.
30463         * benchtests/bench-mempcpy-ifunc.c: New file.
30464         * benchtests/bench-mempcpy.c: New file.
30465         * benchtests/bench-memset-ifunc.c: New file.
30466         * benchtests/bench-memset.c: New file.
30467         * benchtests/bench-rawmemchr-ifunc.c: New file.
30468         * benchtests/bench-rawmemchr.c: New file.
30469         * benchtests/bench-stpcpy-ifunc.c: New file.
30470         * benchtests/bench-stpcpy.c: New file.
30471         * benchtests/bench-stpncpy-ifunc.c: New file.
30472         * benchtests/bench-stpncpy.c: New file.
30473         * benchtests/bench-strcasecmp-ifunc.c: New file.
30474         * benchtests/bench-strcasecmp.c: New file.
30475         * benchtests/bench-strcasestr-ifunc.c: New file.
30476         * benchtests/bench-strcasestr.c: New file.
30477         * benchtests/bench-strcat-ifunc.c: New file.
30478         * benchtests/bench-strcat.c: New file.
30479         * benchtests/bench-strchr-ifunc.c: New file.
30480         * benchtests/bench-strchr.c: New file.
30481         * benchtests/bench-strchrnul-ifunc.c: New file.
30482         * benchtests/bench-strchrnul.c: New file.
30483         * benchtests/bench-strcmp-ifunc.c: New file.
30484         * benchtests/bench-strcmp.c: New file.
30485         * benchtests/bench-strcpy-ifunc.c: New file.
30486         * benchtests/bench-strcpy.c: New file.
30487         * benchtests/bench-strcspn-ifunc.c: New file.
30488         * benchtests/bench-strcspn.c: New file.
30489         * benchtests/bench-strlen-ifunc.c: New file.
30490         * benchtests/bench-strlen.c: New file.
30491         * benchtests/bench-strncasecmp-ifunc.c: New file.
30492         * benchtests/bench-strncasecmp.c: New file.
30493         * benchtests/bench-strncat-ifunc.c: New file.
30494         * benchtests/bench-strncat.c: New file.
30495         * benchtests/bench-strncmp-ifunc.c: New file.
30496         * benchtests/bench-strncmp.c: New file.
30497         * benchtests/bench-strncpy-ifunc.c: New file.
30498         * benchtests/bench-strncpy.c: New file.
30499         * benchtests/bench-strnlen-ifunc.c: New file.
30500         * benchtests/bench-strnlen.c: New file.
30501         * benchtests/bench-strpbrk-ifunc.c: New file.
30502         * benchtests/bench-strpbrk.c: New file.
30503         * benchtests/bench-strrchr-ifunc.c: New file.
30504         * benchtests/bench-strrchr.c: New file.
30505         * benchtests/bench-strspn-ifunc.c: New file.
30506         * benchtests/bench-strspn.c: New file.
30507         * benchtests/bench-strstr-ifunc.c: New file.
30508         * benchtests/bench-strstr.c: New file.
30510         * benchtests/Makefile: Disable parallel execution of targets.
30511         (string-bench): Add memcpy.
30512         (benchset): New variable to store a list of benchmark sets.
30513         (bench-func): Renamed from bench.
30514         (bench-set): New target.
30515         (bench): Depend on bench-func and bench-set.
30516         * benchtests/README: Add section on benchmark sets.
30517         * benchtests/bench-memcpy-ifunc.c: New file.
30518         * benchtests/bench-memcpy.c: New file.
30519         * benchtests/bench-string.h: New file.
30521 2013-06-11  Andreas Schwab  <schwab@suse.de>
30523         [BZ #15577]
30524         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
30525         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
30526         values in the triple.
30527         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
30528         terminator in the group key.
30530 2013-06-11  Andreas Jaeger  <aj@suse.de>
30532         * po/zh_TW.po: Update Chinese (traditional) translation from
30533         translation project.
30535 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30537         * include/time.h (__clock_gettime): Add libc_hidden_proto.
30538         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
30539         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
30540         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30541         (clock_getcpuclockid): Likewise.
30542         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
30543         Add weak_alias and libc_hidden_def.
30544         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
30545         * rt/clock_gettime.c (clock_gettime): Rename to
30546         __clock_gettime.  Add weak_alias and libc_hidden_def.
30547         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
30548         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
30549         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
30550         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
30551         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
30552         Likewise.
30553         * rt/clock_settime.c (clock_settime): Rename to
30554         __clock_settime.  Add weak_alias and libc_hidden_def.
30555         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
30557 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
30559         * mach/err_boot.sub: Remove trailing whitespace.
30560         * mach/err_ipc.sub: Likewise.
30561         * mach/err_mach.sub: Likewise.
30563         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
30564         (ROUNDING_TESTS_double): Likewise.
30565         (ROUNDING_TESTS_long_double): Likewise.
30566         (ROUNDING_TESTS): Likewise.
30567         * math/libm-test.inc: Include <math-tests.h>.
30568         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
30569         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
30570         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
30571         (IF_ROUND_INIT_FE_UPWARD): Likewise.
30573 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30575         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
30576         of assigning.
30578 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
30580         * sysdeps/gnu/errlist.awk: Do not generate space at end of
30581         otherwise empty TRANS lines.
30582         * sysdeps/gnu/errlist.c: Regenerated.
30584         * catgets/gencat.c (error_print): Use (void) in function
30585         definition.
30586         * crypt/crypt_util.c (__init_des): Likewise.
30587         * crypt/speeds.c (Stop): Likewise.
30588         (main): Likewise.
30589         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
30590         * inet/ruserpass.c (token): Likewise.
30591         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
30592         * intl/localealias.c (extend_alias_table): Likewise.
30593         * intl/plural-exp.c (init_germanic_plural): Likewise.
30594         * libio/fcloseall.c (__fcloseall): Likewise.
30595         * libio/genops.c (_IO_flush_all): Likewise.
30596         (_IO_flush_all_linebuffered): Likewise.
30597         (_IO_cleanup): Likewise.
30598         (_IO_iter_begin): Likewise.
30599         (_IO_iter_end): Likewise.
30600         (_IO_list_lock): Likewise.
30601         (_IO_list_unlock): Likewise.
30602         (_IO_list_resetlock): Likewise.
30603         * libio/getchar.c (getchar): Likewise.
30604         * libio/getchar_u.c (getchar_unlocked): Likewise.
30605         * libio/getwchar.c (getwchar): Likewise.
30606         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
30607         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
30608         * login/getpt.c (__getpt): Likewise.
30609         * login/tst-utmp.c (main): Likewise.
30610         * malloc/hooks.c (__malloc_check_init): Likewise.
30611         * malloc/malloc.c (__malloc_stats): Likewise.
30612         * malloc/mtrace.c (tr_break): Likewise.
30613         (mtrace): Likewise.
30614         (muntrace): Likewise.
30615         * misc/fstab.c (endfsent): Likewise.
30616         * misc/getclktck.c (__getclktck): Likewise.
30617         * misc/getdtsz.c (__getdtablesize): Likewise.
30618         * misc/gethostid.c (gethostid): Likewise.
30619         * misc/getpagesize.c (__getpagesize): Likewise.
30620         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
30621         (__get_nprocs): Likewise.
30622         (__get_phys_pages): Likewise.
30623         (__get_avphys_pages): Likewise.
30624         * misc/getttyent.c (getttyent): Likewise.
30625         (setttyent): Likewise.
30626         (endttyent): Likewise.
30627         * misc/getusershell.c (getusershell): Likewise.
30628         (endusershell): Likewise.
30629         (setusershell): Likewise.
30630         (initshells): Likewise.
30631         * misc/hsearch.c (__hdestroy): Likewise.
30632         * misc/sync.c (sync): Likewise.
30633         * misc/syslog.c (closelog_internal): Likewise.
30634         (closelog): Likewise.
30635         * misc/ttyslot.c (ttyslot): Likewise.
30636         * misc/vhangup.c (vhangup): Likewise.
30637         * posix/fork.c (__fork): Likewise.
30638         * posix/getegid.c (__getegid): Likewise.
30639         * posix/geteuid.c (__geteuid): Likewise.
30640         * posix/getgid.c (__getgid): Likewise.
30641         * posix/getpid.c (__getpid): Likewise.
30642         * posix/getppid.c (__getppid): Likewise.
30643         * posix/getuid.c (__getuid): Likewise.
30644         * posix/pause.c (pause): Likewise.
30645         * posix/setpgrp.c (setpgrp): Likewise.
30646         * posix/setsid.c (__setsid): Likewise.
30647         * posix/test-vfork.c (noop): Likewise.
30648         * resolv/gethnamaddr.c (_endhtent): Likewise.
30649         (_gethtent): Likewise.
30650         (ht_endhostent): Likewise.
30651         (gethostent): Likewise.
30652         (dns_service): Likewise.
30653         * stdlib/drand48.c (drand48): Likewise.
30654         * stdlib/lrand48.c (lrand48): Likewise.
30655         * stdlib/mrand48.c (mrand48): Likewise.
30656         * stdlib/rand.c (rand): Likewise.
30657         * stdlib/random.c (__random): Likewise.
30658         * stdlib/setenv.c (clearenv): Likewise.
30659         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
30660         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
30661         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
30662         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
30663         (__get_nprocs): Likewise.
30664         (__get_phys_pages): Likewise.
30665         (__get_avphys_pages): Likewise.
30666         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
30667         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
30668         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
30669         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
30670         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
30671         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
30672         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
30673         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
30674         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
30675         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
30676         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
30677         * sysdeps/mach/hurd/sync.c (sync): Likewise.
30678         * sysdeps/posix/clock.c (clock): Likewise.
30679         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
30680         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
30681         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
30682         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
30683         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
30684         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30685         (__get_nprocs_conf): Likewise.
30686         (__get_phys_pages): Likewise.
30687         (__get_avphys_pages): Likewise.
30688         * time/clock.c (clock): Likewise.
30689         * time/tzset.c (__tzname_max): Likewise.
30691 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
30693         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
30694         (__bswap_32): Do not use "register".
30695         * crypt/crypt.c (_ufc_doit_r): Likewise.
30696         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
30697         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
30698         * gmon/gmon.c (__monstartup): Likewise.
30699         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
30700         * hurd/hurdmalloc.c (more_memory): Likewise.
30701         (malloc): Likewise.
30702         (free): Likewise.
30703         (realloc): Likewise.
30704         (malloc_fork_prepare): Likewise.
30705         (malloc_fork_parent): Likewise.
30706         (malloc_fork_child): Likewise.
30707         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
30708         (_svcauth_des): Likewise.
30709         * inet/inet_lnaof.c (inet_lnaof): Likewise.
30710         * inet/inet_net.c (inet_network): Likewise.
30711         * inet/inet_netof.c (inet_netof): Likewise.
30712         * inet/rcmd.c (__validuser2_sa): Likewise.
30713         * io/fts.c (fts_open): Likewise.
30714         (fts_load): Likewise.
30715         (fts_close): Likewise.
30716         (fts_read): Likewise.
30717         (fts_children): Likewise.
30718         (fts_build): Likewise.
30719         (fts_stat): Likewise.
30720         (fts_sort): Likewise.
30721         (fts_alloc): Likewise.
30722         (fts_lfree): Likewise.
30723         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
30724         (_IO_file_xsgetn): Likewise.
30725         (_IO_file_xsgetn_mmap): Likewise.
30726         * libio/iofopncook.c (_IO_cookie_read): Likewise.
30727         (_IO_cookie_write): Likewise.
30728         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
30729         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
30730         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
30731         * malloc/obstack.c (_obstack_begin): Likewise.
30732         (_obstack_begin_1): Likewise.
30733         (_obstack_newchunk): Likewise.
30734         (_obstack_allocated_p): Likewise.
30735         (obstack_free): Likewise.
30736         (_obstack_memory_used): Likewise.
30737         * misc/getttyent.c (getttynam): Likewise.
30738         (getttyent): Likewise.
30739         (skip): Likewise.
30740         (value): Likewise.
30741         * misc/getusershell.c (initshells): Likewise.
30742         * misc/syslog.c (__vsyslog_chk): Likewise.
30743         * misc/ttyslot.c (ttyslot): Likewise.
30744         * nis/nis_hash.c (__nis_hash): Likewise.
30745         * posix/fnmatch_loop.c (FCT): Likewise.
30746         * posix/getconf.c (print_all): Likewise.
30747         (main): Likewise.
30748         * posix/getopt.c (exchange): Likewise.
30749         * posix/glob.c (globfree): Likewise.
30750         (prefix_array): Likewise.
30751         (__glob_pattern_type): Likewise.
30752         * resolv/arpa/nameser.h (NS_GET16): Likewise.
30753         (NS_GET32): Likewise.
30754         (NS_PUT16): Likewise.
30755         (NS_PUT32): Likewise.
30756         * resolv/gethnamaddr.c (getanswer): Likewise.
30757         (gethostbyname2): Likewise.
30758         (gethostbyaddr): Likewise.
30759         (_gethtent): Likewise.
30760         (_gethtbyname2): Likewise.
30761         (_gethtbyaddr): Likewise.
30762         * resolv/ns_print.c (dst_s_get_int16): Likewise.
30763         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
30764         * resolv/res_init.c (__res_vinit): Likewise.
30765         (net_mask): Likewise.
30766         * resolv/res_mkquery.c (outchar): Likewise.
30767         (PRINT): Likewise.
30768         * stdio-common/printf_fp.c (outchar): Likewise.
30769         (PRINT): Likewise.
30770         * stdio-common/printf_fphex.c (outchar): Likewise.
30771         (PRINT): Likewise.
30772         * stdio-common/printf_size.c (outchar): Likewise.
30773         (PRINT): Likewise.
30774         * stdio-common/test_rdwr.c (main): Likewise.
30775         * stdio-common/tfformat.c (matches): Likewise.
30776         * stdio-common/vfprintf.c (outchar): Likewise.
30777         (printf_unknown): Likewise.
30778         (buffered_vfprintf): Likewise.
30779         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
30780         * stdio-common/xbug.c (AppendToBuffer): Likewise.
30781         (ReadFile): Likewise.
30782         * stdlib/qsort.c (SWAP): Likewise.
30783         (_quicksort): Likewise.
30784         * stdlib/setenv.c (__add_to_environ): Likewise.
30785         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
30786         * stdlib/strtol_l.c (__strtol_l): Likewise.
30787         * stdlib/tst-strtod.c (main): Likewise.
30788         * stdlib/tst-strtol.c (main): Likewise.
30789         * stdlib/tst-strtoll.c (main): Likewise.
30790         * string/bits/string2.h (__strcmp_cc): Likewise.
30791         (__strcmp_cg): Likewise.
30792         (__strcspn_c1): Likewise.
30793         (__strcspn_c2): Likewise.
30794         (__strcspn_c3): Likewise.
30795         (__strspn_c1): Likewise.
30796         (__strspn_c2): Likewise.
30797         (__strspn_c3): Likewise.
30798         (__strsep_1c): Likewise.
30799         (__strsep_2c): Likewise.
30800         (__strsep_3c): Likewise.
30801         * string/memccpy.c (__memccpy): Likewise.
30802         * string/stpcpy.c (__stpcpy): Likewise.
30803         * string/strcmp.c (strcmp): Likewise.
30804         * string/strrchr.c (strrchr): Likewise.
30805         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
30806         Likewise.
30807         * sysdeps/mach/hurd/getcwd.c
30808         (_hurd_canonicalize_directory_name_internal): Likewise.
30809         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
30810         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
30811         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
30812         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
30813         Likewise, in both definitions.
30814         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
30815         definitions.
30816         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
30817         64] (__bswap_64): Likewise.
30818         * time/test_time.c (main): Likewise.
30819         * time/tzfile.c (__tzfile_read): Likewise.
30820         (__tzfile_compute): Likewise.
30821         * time/tzset.c (__tzset_parse_tz): Likewise.
30822         (tzset_internal): Likewise.
30823         (compute_change): Likewise.
30824         * wcsmbs/wcscat.c (__wcscat): Likewise.
30825         * wcsmbs/wcschr.c (wcschr): Likewise.
30826         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
30827         * wcsmbs/wcscspn.c (wcscspn): Likewise.
30828         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
30829         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
30830         * wcsmbs/wcsspn.c (wcsspn): Likewise.
30831         * wcsmbs/wcsstr.c (wcsstr): Likewise.
30832         * wcsmbs/wmemchr.c (wmemchr): Likewise.
30833         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
30834         * wcsmbs/wmemset.c (wmemset): Likewise.
30836 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
30838         * scripts/config.guess: Update to version 2013-05-16.
30839         * scripts/config.sub: Update to version 2013-04-24.
30840         * scripts/install-sh: Update to version 2011-11-20.07.
30841         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
30842         * scripts/move-if-change: Update to version 2012-01-06 07:23.
30844 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
30846         * debug/fgetws_u_chk.c: Fix leading whitespaces.
30847         * elf/sln.c: Likewise.
30848         * hurd/hurd/ioctl.h: Likewise.
30849         * hurd/hurdmalloc.c: Likewise.
30850         * hurd/xattr.c: Likewise.
30851         * include/shlib-compat.h: Likewise.
30852         * inet/ruserpass.c: Likewise.
30853         * libio/iofgets_u.c: Likewise.
30854         * libio/iofgetws_u.c: Likewise.
30855         * locale/programs/ld-identification.c: Likewise.
30856         * locale/programs/ld-time.c: Likewise.
30857         * mach/msg-destroy.c: Likewise.
30858         * nss/nss_files/files-netgrp.c: Likewise.
30859         * resolv/res_data.c: Likewise.
30860         * soft-fp/op-1.h: Likewise.
30861         * soft-fp/op-2.h: Likewise.
30862         * soft-fp/op-4.h: Likewise.
30863         * soft-fp/op-common.h: Likewise.
30864         * stdio-common/printf_fphex.c: Likewise.
30865         * stdlib/strtod_l.c: Likewise.
30866         * sunrpc/rpc/clnt.h: Likewise.
30867         * sysdeps/generic/framestate.c: Likewise.
30868         * sysdeps/i386/bsd-_setjmp.S: Likewise.
30869         * sysdeps/i386/bsd-setjmp.S: Likewise.
30870         * sysdeps/i386/__longjmp.S: Likewise.
30871         * sysdeps/i386/setjmp.S: Likewise.
30872         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30873         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30874         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30875         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30876         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30877         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
30878         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30879         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30880         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30881         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
30882         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
30883         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
30884         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
30885         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
30886         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
30887         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30888         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
30889         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
30890         * sysdeps/ieee754/support.c: Likewise.
30891         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
30892         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
30893         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
30894         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
30895         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
30896         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
30897         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
30898         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
30899         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
30900         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
30901         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
30902         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
30903         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
30904         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
30905         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
30906         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
30907         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
30910 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
30912         * posix/transbug.c: Remove executable mode.
30914 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
30916         * crypt/speeds.c: Remove trailing whitespace.
30917         * dlfcn/default.c: Likewise.
30918         * elf/ifuncdep2.c: Likewise.
30919         * elf/ifuncmain1.c: Likewise.
30920         * elf/ifuncmain1vis.c: Likewise.
30921         * elf/testobj.h: Likewise.
30922         * elf/tst-stackguard1.c: Likewise.
30923         * gmon/sys/gmon.h: Likewise.
30924         * hurd/hurdmsg.c: Likewise.
30925         * hurd/new-fd.c: Likewise.
30926         * hurd/ports-get.c: Likewise.
30927         * iconvdata/ibm1008_420.c: Likewise.
30928         * inet/tst-getni1.c: Likewise.
30929         * inet/tst-getni2.c: Likewise.
30930         * libio/ioungetc.c: Likewise.
30931         * libio/wfiledoalloc.c: Likewise.
30932         * manual/libm-err-tab.pl: Likewise.
30933         * math/w_dremf.c: Likewise.
30934         * misc/ftruncate.c: Likewise.
30935         * posix/bug-glob2.c: Likewise.
30936         * posix/tst-pcre.c: Likewise.
30937         * posix/wait4.c: Likewise.
30938         * resolv/README: Likewise.
30939         * resolv/res_debug.h: Likewise.
30940         * resolv/tst-inet_ntop.c: Likewise.
30941         * setjmp/bug269-setjmp.c: Likewise.
30942         * soft-fp/extended.h: Likewise.
30943         * soft-fp/op-1.h: Likewise.
30944         * soft-fp/op-2.h: Likewise.
30945         * soft-fp/op-4.h: Likewise.
30946         * soft-fp/op-8.h: Likewise.
30947         * soft-fp/testit.c: Likewise.
30948         * stdio-common/bug16.c: Likewise.
30949         * stdlib/random.c: Likewise.
30950         * sunrpc/rpcsvc/rquota.x: Likewise.
30951         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
30952         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30953         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30954         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30955         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30956         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30957         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30958         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30959         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30960         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30961         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30962         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
30963         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30964         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
30965         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30966         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
30967         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
30968         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30969         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
30970         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30971         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30972         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30973         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
30974         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
30975         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
30976         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
30977         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30978         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30979         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30980         * sysdeps/ieee754/s_lib_version.c: Likewise.
30981         * sysdeps/mach/hurd/check_fds.c: Likewise.
30982         * sysdeps/mach/hurd/getsockname.c: Likewise.
30983         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
30984         * sysdeps/mach/hurd/recvfrom.c: Likewise.
30985         * sysdeps/powerpc/bits/link.h: Likewise.
30986         * sysdeps/powerpc/dl-procinfo.c: Likewise.
30987         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
30988         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
30989         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
30990         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
30991         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
30992         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
30993         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
30994         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
30995         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
30996         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
30997         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
30998         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
30999         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31000         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31001         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31002         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
31003         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
31004         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31005         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31006         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31007         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
31008         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31009         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
31010         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
31011         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
31012         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
31013         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31014         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31015         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
31016         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
31017         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
31018         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31019         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31020         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
31021         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31022         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
31023         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
31024         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
31025         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
31026         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
31027         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
31028         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
31029         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
31030         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
31031         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
31032         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
31033         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
31034         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
31035         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
31036         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31037         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31038         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31039         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31040         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
31041         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
31042         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
31043         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31044         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
31045         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
31046         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
31047         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
31048         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
31049         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31050         * sysdeps/powerpc/sysdep.h: Likewise.
31051         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31052         * sysdeps/s390/s390-64/sub_n.S: Likewise.
31053         * sysdeps/sh/dl-trampoline.S: Likewise.
31054         * sysdeps/sh/memset.S: Likewise.
31055         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
31056         * sysdeps/sh/strlen.S: Likewise.
31057         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
31058         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
31059         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
31060         * sysdeps/sparc/sparc32/rem.S: Likewise.
31061         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
31062         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
31063         * sysdeps/sparc/sparc32/strchr.S: Likewise.
31064         * sysdeps/sparc/sparc32/udiv.S: Likewise.
31065         * sysdeps/sparc/sparc32/urem.S: Likewise.
31066         * sysdeps/sparc/sparc64/add_n.S: Likewise.
31067         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31068         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
31069         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
31070         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
31071         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
31072         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
31073         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
31074         * sysdeps/unix/bsd/times.c: Likewise.
31075         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
31076         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
31077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
31078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
31079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
31080         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
31081         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
31082         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
31083         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
31084         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
31085         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
31086         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31087         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
31088         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
31089         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31090         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
31091         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31092         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
31093         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
31094         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
31095         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
31096         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
31097         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
31098         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
31099         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
31100         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
31101         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
31102         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31103         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
31104         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
31105         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
31106         * sysdeps/x86_64/strcspn.S: Likewise.
31108 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31110         * locale/C-translit.h: Revert #include <stdint.h> because this is a
31111         generated file.  Regenerate properly from gen-translit.pl.
31112         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
31113         locale/C-translit.h.
31115 2013-06-05  Andreas Schwab  <schwab@suse.de>
31117         [BZ #15100]
31118         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
31119         week as 6 instead of -1.
31120         * time/tst-strptime.c (day_tests): Add test case.
31122 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31124         * sysdeps/generic/math_private.h
31125         (libc_feholdexcept_setround_53bit): Replace with
31126         libc_feholdsetround_53bit.
31127         (libc_feupdateenv_53bit): Replace with
31128         libc_feresetround_53bit.
31129         (SET_RESTORE_ROUND_53BIT): Adjust.
31131 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
31133         * string/test-strchrnul.c: Add copyright header.
31135         * posix/tst-getaddrinfo4.c: Increase test timeout.
31137 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
31139         [BZ #15536]
31140         * math/libm-test.inc (MAX_EXP): Remove
31141         (MIN_EXP): Define.
31142         (ulp): Use MIN_EXP - MANT_DIG.
31143         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
31145 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
31147         * po/be.po: Revert last change.
31148         * po/zh_CN.po: Likewise.
31149         * po/header.pot: Likewise.
31151 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
31153         * Makefile ($(common-objpfx)linkobj/libc.so): Define
31154         link-libc-deps to empty as target-specific variable.
31155         * Makerules (link-libc-args): New variable.
31156         (libc-for-link): Likewise.
31157         (link-libc-deps): Likewise.
31158         (lib%.so): Depend on $(link-libc-deps).  Link with
31159         $(link-libc-args).
31160         (build-module): Link with $(link-libc-args).
31161         (build-module-asneeded): Likewise.
31162         (build-module-helper-objlist): Filter out $(link-libc-deps) from
31163         list of objects.
31164         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
31165         target-specific variable.
31166         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
31167         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
31168         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
31169         libc.
31170         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
31171         libc and ld.so.
31172         ($(objpfx)libpcprofile.so): Likewise.
31173         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
31174         libc_nonshared.a.
31175         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
31176         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
31177         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
31178         $(link-libc-deps).
31179         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
31180         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
31181         * login/Makefile ($(objpfx)libutil.so): Likewise.
31182         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
31183         * math/Makefile ($(objpfx)libm.so): Likewise.
31184         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
31185         $(objpfx)libnsl.so): Define libc-for-link as target-specific
31186         variable instead of depending directly on libc.
31187         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
31188         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
31189         $(link-libc-deps).
31190         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
31191         libc.
31192         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
31193         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
31194         ($(objpfx)libanl.so): Likewise.
31195         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
31196         ld.so.
31197         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
31198         $(link-libc-deps).
31199         * sysdeps/i386/fpu/Makefile: Remove file.
31200         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
31201         ($(objpfx)libm.so): Remove dependency on ld.so.
31203 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
31205         [BZ # 15553]
31206         * nis/yp_xdr.c (XDRMAXNAME): Define.
31207         (XDRMAXRECORD): Define.
31208         (xdr_domainname): Use XDRMAXNAME.
31209         (xdr_mapname): Likewise.
31210         (xdr_peername): Likewise.
31211         (xdr_keydat): Use XDRMAXRECORD.
31212         (xdr_valdat): Likewise.
31214 2013-05-30  Jeff Law  <law@redhat.com>
31216         [BZ #14256]
31217         * manual/errno.texi (ESTALE): Update to account for more than
31218         just NFS file systems.
31219         * sysdeps/gnu/errlist.c: Regenerated.
31221 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31223         [BZ #15465]
31224         * elf/Makefile (tests): Add tst-null-argv.
31225         (modules-names):  Add tst-null-argv-lib.
31226         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
31227         (tst-null-argv-ENV): Set environment for tst-null-argv.
31228         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
31229         (RTLD_PROGNAME): New macro.
31230         * elf/tst-null-argv.c: New test case.
31231         * elf/tst-null-argv-lib.c: Library for test case.
31232         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
31233         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
31234         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
31235         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
31236         * elf/dl-init.c (call_init): Likewise.
31237         (_dl_init): Likewise.
31238         * elf/dl-load.c (print_search_path): Likewise.
31239         (_dl_map_object): Likewise.
31240         * elf/dl-lookup.c (do_lookup_x): Likewise.
31241         (add_dependency): Likewise.
31242         (_dl_lookup_symbol_x): Likewise.
31243         (_dl_debug_bindings): Likewise.
31244         * elf/dl-open.c (_dl_show_scope): Likewise.
31245         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
31246         * elf/dl-version.c (match_symbol): Likewise.
31247         (_dl_check_map_versions): Likewise.
31248         * elf/rtld.c (dl_main): Likewise.
31249         (print_unresolved): Use RTLD_PROGNAME.
31250         (print_missing_version): Likewise.
31251         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
31252         (elf_machine_rela): Likewise.
31253         * sysdeps/powerpc/powerpc32/dl-machine.c
31254         (__process_machine_rela): Likewise.
31255         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31256         Likewise.
31257         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31258         Likewise.
31259         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
31260         Likewise.
31261         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31262         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
31263         Likewise.
31264         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
31265         Likewise.
31266         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31268 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
31270         * po/be.po: Add descriptive title.
31271         * po/zh_CN.po: Likewise.
31272         * po/header.pot: Likewise.
31274 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
31276         * locale/programs/locarchive.c (create_archive): Inlucde fname in
31277         error message.
31278         (enlarge_archive): Likewise.
31280 2013-05-28  Ben North  <ben@redfrontdoor.org>
31282         * manual/arith.texi (frexp): It is the magnitude of the return
31283         value which lies in [0.5, 1), not the return value itself.
31285 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31287         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31289 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
31291         * stdio-common/bug26.c (main): Correct fscanf template.
31293         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
31294         declare _dl_skip_args.
31296         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
31297         Don't declare.
31299         * manual/platform.texi: Add missing @end deftypefun.
31301 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
31303         [BZ #15529]
31304         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
31305         bit of mantissa of 2^16382.
31306         * math/libm-test.inc (hypot_test_data): Add more tests.
31308         * math/libm-test.inc: Add drem and pow10 to list of tested
31309         functions.
31310         (pow10_test): New function.
31311         (drem_test): Likewise.
31312         (drem_test_tonearest): Likewise.
31313         (drem_test_towardzero): Likewise.
31314         (drem_test_downward): Likewise.
31315         (drem_test_upward): Likewise.
31316         (main): Call the new functions.
31318         * math/libm-test.inc (finite_test_data): Remove.
31319         (finite_test): Run tests from isfinite_test_data.
31320         (gamma_test_data): Remove.
31321         (gamma_test): Run tests from lgamma_test_data.
31322         * sysdeps/i386/fpu/libm-test-ulps: Update.
31323         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31325 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31327         * manual/platform.texi: Add PowerPC PPR function set documentation.
31328         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
31329         implementation.
31331 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
31333         * math/libm-test.inc (MAX_EXP): Define.
31334         (ULPDIFF): Define.
31335         (ulp): New function.
31336         (check_float_internal): Use ULPDIFF.
31337         (cpow_test): Disable failing test.
31338         (check_ulp): Test ulp() implemetnation.
31339         (main): Call check_ulp before starting tests.
31341 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
31343         * math/gen-libm-test.pl (generate_testfile): Do not handle
31344         START_DATA and END_DATA.
31345         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
31346         END_DATA.
31347         (acos_tonearest_test_data): Likewise.
31348         (acos_towardzero_test_data): Likewise.
31349         (acos_downward_test_data): Likewise.
31350         (acos_upward_test_data): Likewise.
31351         (acosh_test_data): Likewise.
31352         (asin_test_data): Likewise.
31353         (asin_tonearest_test_data): Likewise.
31354         (asin_towardzero_test_data): Likewise.
31355         (asin_downward_test_data): Likewise.
31356         (asin_upward_test_data): Likewise.
31357         (asinh_test_data): Likewise.
31358         (atan_test_data): Likewise.
31359         (atanh_test_data): Likewise.
31360         (atan2_test_data): Likewise.
31361         (cabs_test_data): Likewise.
31362         (cacos_test_data): Likewise.
31363         (cacosh_test_data): Likewise.
31364         (carg_test_data): Likewise.
31365         (casin_test_data): Likewise.
31366         (casinh_test_data): Likewise.
31367         (catan_test_data): Likewise.
31368         (catanh_test_data): Likewise.
31369         (cbrt_test_data): Likewise.
31370         (ccos_test_data): Likewise.
31371         (ccosh_test_data): Likewise.
31372         (ceil_test_data): Likewise.
31373         (cexp_test_data): Likewise.
31374         (cimag_test_data): Likewise.
31375         (clog_test_data): Likewise.
31376         (clog10_test_data): Likewise.
31377         (conj_test_data): Likewise.
31378         (copysign_test_data): Likewise.
31379         (cos_test_data): Likewise.
31380         (cos_tonearest_test_data): Likewise.
31381         (cos_towardzero_test_data): Likewise.
31382         (cos_downward_test_data): Likewise.
31383         (cos_upward_test_data): Likewise.
31384         (cosh_test_data): Likewise.
31385         (cosh_tonearest_test_data): Likewise.
31386         (cosh_towardzero_test_data): Likewise.
31387         (cosh_downward_test_data): Likewise.
31388         (cosh_upward_test_data): Likewise.
31389         (cpow_test_data): Likewise.
31390         (cproj_test_data): Likewise.
31391         (creal_test_data): Likewise.
31392         (csin_test_data): Likewise.
31393         (csinh_test_data): Likewise.
31394         (csqrt_test_data): Likewise.
31395         (ctan_test_data): Likewise.
31396         (ctan_tonearest_test_data): Likewise.
31397         (ctan_towardzero_test_data): Likewise.
31398         (ctan_downward_test_data): Likewise.
31399         (ctan_upward_test_data): Likewise.
31400         (ctanh_test_data): Likewise.
31401         (ctanh_tonearest_test_data): Likewise.
31402         (ctanh_towardzero_test_data): Likewise.
31403         (ctanh_downward_test_data): Likewise.
31404         (ctanh_upward_test_data): Likewise.
31405         (erf_test_data): Likewise.
31406         (erfc_test_data): Likewise.
31407         (exp_test_data): Likewise.
31408         (exp_tonearest_test_data): Likewise.
31409         (exp_towardzero_test_data): Likewise.
31410         (exp_downward_test_data): Likewise.
31411         (exp_upward_test_data): Likewise.
31412         (exp10_test_data): Likewise.
31413         (exp2_test_data): Likewise.
31414         (expm1_test_data): Likewise.
31415         (fabs_test_data): Likewise.
31416         (fdim_test_data): Likewise.
31417         (finite_test_data): Likewise.
31418         (floor_test_data): Likewise.
31419         (fma_test_data): Likewise.
31420         (fma_towardzero_test_data): Likewise.
31421         (fma_downward_test_data): Likewise.
31422         (fma_upward_test_data): Likewise.
31423         (fmax_test_data): Likewise.
31424         (fmin_test_data): Likewise.
31425         (fmod_test_data): Likewise.
31426         (fpclassify_test_data): Likewise.
31427         (frexp_test_data): Likewise.
31428         (gamma_test_data): Likewise.
31429         (hypot_test_data): Likewise.
31430         (ilogb_test_data): Likewise.
31431         (isfinite_test_data): Likewise.
31432         (isgreater_test_data): Likewise.
31433         (isgreaterequal_test_data): Likewise.
31434         (isinf_test_data): Likewise.
31435         (isless_test_data): Likewise.
31436         (islessequal_test_data): Likewise.
31437         (islessgreater_test_data): Likewise.
31438         (isnan_test_data): Likewise.
31439         (isnormal_test_data): Likewise.
31440         (issignaling_test_data): Likewise.
31441         (isunordered_test_data): Likewise.
31442         (j0_test_data): Likewise.
31443         (j1_test_data): Likewise.
31444         (jn_test_data): Likewise.
31445         (ldexp_test_data): Likewise.
31446         (lgamma_test_data): Likewise.
31447         (lrint_test_data): Likewise.
31448         (lrint_tonearest_test_data): Likewise.
31449         (lrint_towardzero_test_data): Likewise.
31450         (lrint_downward_test_data): Likewise.
31451         (lrint_upward_test_data): Likewise.
31452         (llrint_test_data): Likewise.
31453         (llrint_tonearest_test_data): Likewise.
31454         (llrint_towardzero_test_data): Likewise.
31455         (llrint_downward_test_data): Likewise.
31456         (llrint_upward_test_data): Likewise.
31457         (log_test_data): Likewise.
31458         (log10_test_data): Likewise.
31459         (log1p_test_data): Likewise.
31460         (log2_test_data): Likewise.
31461         (logb_test_data): Likewise.
31462         (logb_downward_test_data): Likewise.
31463         (lround_test_data): Likewise.
31464         (llround_test_data): Likewise.
31465         (modf_test_data): Likewise.
31466         (nearbyint_test_data): Likewise.
31467         (nextafter_test_data): Likewise.
31468         (nexttoward_test_data): Likewise.
31469         (pow_test_data): Likewise.
31470         (pow_tonearest_test_data): Likewise.
31471         (pow_towardzero_test_data): Likewise.
31472         (pow_downward_test_data): Likewise.
31473         (pow_upward_test_data): Likewise.
31474         (remainder_test_data): Likewise.
31475         (remainder_tonearest_test_data): Likewise.
31476         (remainder_towardzero_test_data): Likewise.
31477         (remainder_downward_test_data): Likewise.
31478         (remainder_upward_test_data): Likewise.
31479         (remquo_test_data): Likewise.
31480         (rint_test_data): Likewise.
31481         (rint_tonearest_test_data): Likewise.
31482         (rint_towardzero_test_data): Likewise.
31483         (rint_downward_test_data): Likewise.
31484         (rint_upward_test_data): Likewise.
31485         (round_test_data): Likewise.
31486         (scalb_test_data): Likewise.
31487         (scalbn_test_data): Likewise.
31488         (scalbln_test_data): Likewise.
31489         (signbit_test_data): Likewise.
31490         (sin_test_data): Likewise.
31491         (sin_tonearest_test_data): Likewise.
31492         (sin_towardzero_test_data): Likewise.
31493         (sin_downward_test_data): Likewise.
31494         (sin_upward_test_data): Likewise.
31495         (sincos_test_data): Likewise.
31496         (sinh_test_data): Likewise.
31497         (sinh_tonearest_test_data): Likewise.
31498         (sinh_towardzero_test_data): Likewise.
31499         (sinh_downward_test_data): Likewise.
31500         (sinh_upward_test_data): Likewise.
31501         (sqrt_test_data): Likewise.
31502         (tan_test_data): Likewise.
31503         (tan_tonearest_test_data): Likewise.
31504         (tan_towardzero_test_data): Likewise.
31505         (tan_downward_test_data): Likewise.
31506         (tan_upward_test_data): Likewise.
31507         (tanh_test_data): Likewise.
31508         (tgamma_test_data): Likewise.
31509         (trunc_test_data): Likewise.
31510         (y0_test_data): Likewise.
31511         (y1_test_data): Likewise.
31512         (yn_test_data): Likewise.
31513         (significand_test_data): Likewise.
31515         * math/gen-libm-test.pl (@functions): Remove variable.
31516         (generate_testfile): Don't handle START and END lines.
31517         * math/libm-test.inc (START): New macro.
31518         (END): Likewise.
31519         (END_COMPLEX): Likewise.
31520         (acos_test): Use END macro without arguments.
31521         (acos_test_tonearest): Likewise.
31522         (acos_test_towardzero): Likewise.
31523         (acos_test_downward): Likewise.
31524         (acos_test_upward): Likewise.
31525         (acosh_test): Likewise.
31526         (asin_test): Likewise.
31527         (asin_test_tonearest): Likewise.
31528         (asin_test_towardzero): Likewise.
31529         (asin_test_downward): Likewise.
31530         (asin_test_upward): Likewise.
31531         (asinh_test): Likewise.
31532         (atan_test): Likewise.
31533         (atanh_test): Likewise.
31534         (atan2_test): Likewise.
31535         (cabs_test): Likewise.
31536         (cacos_test): Use END_COMPLEX macro without arguments.
31537         (cacosh_test): Likewise.
31538         (carg_test): Use END macro without arguments.
31539         (casin_test): Use END_COMPLEX macro without arguments.
31540         (casinh_test): Likewise.
31541         (catan_test): Likewise.
31542         (catanh_test): Likewise.
31543         (cbrt_test): Use END macro without arguments.
31544         (ccos_test): Use END_COMPLEX macro without arguments.
31545         (ccosh_test): Likewise.
31546         (ceil_test): Use END macro without arguments.
31547         (cexp_test): Use END_COMPLEX macro without arguments.
31548         (cimag_test): Use END macro without arguments.
31549         (clog_test): Use END_COMPLEX macro without arguments.
31550         (clog10_test): Likewise.
31551         (conj_test): Likewise.
31552         (copysign_test): Use END macro without arguments.
31553         (cos_test): Likewise.
31554         (cos_test_tonearest): Likewise.
31555         (cos_test_towardzero): Likewise.
31556         (cos_test_downward): Likewise.
31557         (cos_test_upward): Likewise.
31558         (cosh_test): Likewise.
31559         (cosh_test_tonearest): Likewise.
31560         (cosh_test_towardzero): Likewise.
31561         (cosh_test_downward): Likewise.
31562         (cosh_test_upward): Likewise.
31563         (cpow_test): Use END_COMPLEX macro without arguments.
31564         (cproj_test): Likewise.
31565         (creal_test): Use END macro without arguments.
31566         (csin_test): Use END_COMPLEX macro without arguments.
31567         (csinh_test): Likewise.
31568         (csqrt_test): Likewise.
31569         (ctan_test): Likewise.
31570         (ctan_test_tonearest): Likewise.
31571         (ctan_test_towardzero): Likewise.
31572         (ctan_test_downward): Likewise.
31573         (ctan_test_upward): Likewise.
31574         (ctanh_test): Likewise.
31575         (ctanh_test_tonearest): Likewise.
31576         (ctanh_test_towardzero): Likewise.
31577         (ctanh_test_downward): Likewise.
31578         (ctanh_test_upward): Likewise.
31579         (erf_test): Use END macro without arguments.
31580         (erfc_test): Likewise.
31581         (exp_test): Likewise.
31582         (exp_test_tonearest): Likewise.
31583         (exp_test_towardzero): Likewise.
31584         (exp_test_downward): Likewise.
31585         (exp_test_upward): Likewise.
31586         (exp10_test): Likewise.
31587         (exp2_test): Likewise.
31588         (expm1_test): Likewise.
31589         (fabs_test): Likewise.
31590         (fdim_test): Likewise.
31591         (finite_test): Likewise.
31592         (floor_test): Likewise.
31593         (fma_test): Likewise.
31594         (fma_test_towardzero): Likewise.
31595         (fma_test_downward): Likewise.
31596         (fma_test_upward): Likewise.
31597         (fmax_test): Likewise.
31598         (fmin_test): Likewise.
31599         (fmod_test): Likewise.
31600         (fpclassify_test): Likewise.
31601         (frexp_test): Likewise.
31602         (gamma_test): Likewise.
31603         (hypot_test): Likewise.
31604         (ilogb_test): Likewise.
31605         (isfinite_test): Likewise.
31606         (isgreater_test): Likewise.
31607         (isgreaterequal_test): Likewise.
31608         (isinf_test): Likewise.
31609         (isless_test): Likewise.
31610         (islessequal_test): Likewise.
31611         (islessgreater_test): Likewise.
31612         (isnan_test): Likewise.
31613         (isnormal_test): Likewise.
31614         (issignaling_test): Likewise.
31615         (isunordered_test): Likewise.
31616         (j0_test): Likewise.
31617         (j1_test): Likewise.
31618         (jn_test): Likewise.
31619         (ldexp_test): Likewise.
31620         (lgamma_test): Likewise.
31621         (lrint_test): Likewise.
31622         (lrint_test_tonearest): Likewise.
31623         (lrint_test_towardzero): Likewise.
31624         (lrint_test_downward): Likewise.
31625         (lrint_test_upward): Likewise.
31626         (llrint_test): Likewise.
31627         (llrint_test_tonearest): Likewise.
31628         (llrint_test_towardzero): Likewise.
31629         (llrint_test_downward): Likewise.
31630         (llrint_test_upward): Likewise.
31631         (log_test): Likewise.
31632         (log10_test): Likewise.
31633         (log1p_test): Likewise.
31634         (log2_test): Likewise.
31635         (logb_test): Likewise.
31636         (logb_test_downward): Likewise.
31637         (lround_test): Likewise.
31638         (llround_test): Likewise.
31639         (modf_test): Likewise.
31640         (nearbyint_test): Likewise.
31641         (nextafter_test): Likewise.
31642         (nexttoward_test): Likewise.
31643         (pow_test): Likewise.
31644         (pow_test_tonearest): Likewise.
31645         (pow_test_towardzero): Likewise.
31646         (pow_test_downward): Likewise.
31647         (pow_test_upward): Likewise.
31648         (remainder_test): Likewise.
31649         (remainder_test_tonearest): Likewise.
31650         (remainder_test_towardzero): Likewise.
31651         (remainder_test_downward): Likewise.
31652         (remainder_test_upward): Likewise.
31653         (remquo_test): Likewise.
31654         (rint_test): Likewise.
31655         (rint_test_tonearest): Likewise.
31656         (rint_test_towardzero): Likewise.
31657         (rint_test_downward): Likewise.
31658         (rint_test_upward): Likewise.
31659         (round_test): Likewise.
31660         (scalb_test): Likewise.
31661         (scalbn_test): Likewise.
31662         (scalbln_test): Likewise.
31663         (signbit_test): Likewise.
31664         (sin_test): Likewise.
31665         (sin_test_tonearest): Likewise.
31666         (sin_test_towardzero): Likewise.
31667         (sin_test_downward): Likewise.
31668         (sin_test_upward): Likewise.
31669         (sincos_test): Likewise.
31670         (sinh_test): Likewise.
31671         (sinh_test_tonearest): Likewise.
31672         (sinh_test_towardzero): Likewise.
31673         (sinh_test_downward): Likewise.
31674         (sinh_test_upward): Likewise.
31675         (sqrt_test): Likewise.
31676         (tan_test): Likewise.
31677         (tan_test_tonearest): Likewise.
31678         (tan_test_towardzero): Likewise.
31679         (tan_test_downward): Likewise.
31680         (tan_test_upward): Likewise.
31681         (tanh_test): Likewise.
31682         (tgamma_test): Likewise.
31683         (trunc_test): Likewise.
31684         (y0_test): Likewise.
31685         (y1_test): Likewise.
31686         (yn_test): Likewise.
31687         (significand_test): Likewise.
31689 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
31691         [BZ #15381]
31692         * libio/genops.c (_IO_no_init): Initialize wide struct info.
31694 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
31696         [BZ #14894]
31697         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
31698         __ppc_mdoio and __ppc_mdoom.
31699         * manual/platform.texi: Document new functions __ppc_yield,
31700         __ppc_mdoio and __ppc_mdoom.
31702 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
31704         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
31705         (main): Mention "tls" pseudo-hwcap is legacy.
31706         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
31708 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
31710         * math/gen-libm-test.pl (parse_args): Output only string of
31711         arguments as text for test name, not full call or descriptions of
31712         tests for extra outputs.
31713         (generate_testfile): Do not pass function name to parse_args.
31714         Generate this_func variable from START.
31715         * math/libm-test.inc (struct test_f_f_data): Rename test_name
31716         field to arg_str.
31717         (struct test_ff_f_data): Likewise.
31718         (test_ff_f_data_nexttoward): Likewise.
31719         (struct test_fi_f_data): Likewise.
31720         (struct test_fl_f_data): Likewise.
31721         (struct test_if_f_data): Likewise.
31722         (struct test_fff_f_data): Likewise.
31723         (struct test_c_f_data): Likewise.
31724         (struct test_f_f1_data): Likewise.  Remove field extra_name.
31725         (struct test_fF_f1_data): Likewise.
31726         (struct test_ffI_f1_data): Likewise.
31727         (struct test_c_c_data): Rename test_name field to arg_str.
31728         (struct test_cc_c_data): Likewise.
31729         (struct test_f_i_data): Likewise.
31730         (struct test_ff_i_data): Likewise.
31731         (struct test_f_l_data): Likewise.
31732         (struct test_f_L_data): Likewise.
31733         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
31734         and extra2_name.
31735         (COMMON_TEST_SETUP): New macro.
31736         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
31737         (COMMON_TEST_CLEANUP): Likewise.
31738         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
31739         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
31740         macros.
31741         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
31742         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
31743         macros.
31744         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
31745         (RUN_TEST_fff_f): Take argument string.  Call new setup and
31746         cleanup macros.
31747         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
31748         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
31749         macros.
31750         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
31751         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
31752         macros.
31753         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
31754         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
31755         cleanup macros.
31756         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
31757         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
31758         cleanup macros.
31759         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
31760         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
31761         cleanup macros.
31762         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
31763         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
31764         macros.
31765         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
31766         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
31767         macros.
31768         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
31769         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
31770         macros.
31771         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
31772         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
31773         cleanup macros.
31774         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
31775         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
31776         cleanup macros.
31777         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
31778         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
31779         macros.
31780         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
31781         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
31782         cleanup macros.
31783         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
31784         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
31785         macros.
31786         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
31787         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
31788         macros.
31789         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
31790         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
31791         cleanup macros.
31792         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
31794 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
31796         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
31797         to _sifields.sigfault.
31798         (si_addr_lsb): Define new macro.
31799         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
31800         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31801         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
31803 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
31805         [BZ #15441]
31806         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
31807         returns -1.
31808         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
31809         null return -1.
31810         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
31811         loading the domain.
31813 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
31815         * math/gen-libm-test.pl (parse_args): Do not include expected
31816         result in test name.
31817         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
31818         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31819         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31820         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31821         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31824 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
31826         * benchtests/Makefile: Sort function entries.
31828         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
31829         tanh, asinh, acosh, atanh.
31830         * benchtests/acos-inputs: New file.
31831         * benchtests/acosh-inputs: New file.
31832         * benchtests/asin-inputs: New file.
31833         * benchtests/asinh-inputs: New file.
31834         * benchtests/atanh-inputs: New file.
31835         * benchtests/cosh-inputs: New file.
31836         * benchtests/log-inputs: New file.
31837         * benchtests/sinh-inputs: New file.
31838         * benchtests/tanh-inputs: New file.
31840 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
31842         [BZ #15339]
31843         * posix/tst-getaddrinfo4.c: New test.
31844         * posix/Makefile (tests): Add it.
31846 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31848         [BZ #15339]
31849         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
31850         when no services were used.
31851         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
31852         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
31854 2013-05-21  Andreas Schwab  <schwab@suse.de>
31856         [BZ #15014]
31857         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
31858         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
31859         successful.
31860         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
31861         redundant variable declarations and reallocation of buffer when
31862         parsing as IPv6 address.  Always set NSS status when called from
31863         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
31864         buffer too small.  Correct computation of needed size.
31865         * nss/Makefile (tests): Add test-digits-dots.
31866         * nss/test-digits-dots.c: New test.
31868 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31870         * benchtests/Makefile: Remove instructions for adding
31871         benchmark tests.
31872         * benchtests/README: New file to explain how to execute and
31873         enhance the benchmark tests.
31875 2013-05-21  Andreas Schwab  <schwab@suse.de>
31877         [BZ #15493]
31878         * setjmp/Makefile (tests): Add tst-sigsetjmp.
31879         * setjmp/tst-sigsetjmp.c: New test.
31881 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
31883         * sysdeps/x86_64/memset.S (memset): New implementation.
31884         (__bzero): Likewise.
31885         (__memset_tail): New function.
31887 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
31889         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
31890         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
31891         __memcpy_sse2_unaligned ifunc selection.
31892         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31893         Add memcpy-sse2-unaligned.S.
31894         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31895         Add: __memcpy_sse2_unaligned.
31897 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
31899         [BZ #15490]
31900         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31901         math_force_eval before restoring floating-point envrionment.
31902         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
31903         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
31904         Likewise.
31905         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
31906         <math_private.h>.
31907         (__nearbyintl): Use math_force_eval before restoring
31908         floating-point environment.
31909         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
31911         * math/gen-libm-test.pl (special_functions): Remove.
31912         (parse_args): Don't handle TEST_extra.  Handle functions with no
31913         return value.
31914         * math/libm-test.inc (struct test_sincos_data): Replace with
31915         struct test_fFF_11_data.
31916         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
31917         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
31918         (sincos_test_data): Change element type to struct
31919         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
31920         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
31921         RUN_TEST_LOOP_sincos.
31922         * math/README.libm-test: Don't mention special handling of
31923         individual functions.
31924         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
31925         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31926         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31927         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31928         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31931         * math/gen-libm-test.pl (get_variable): Remove function.
31932         (parse_args): Don't show pointer parameters to call in test
31933         names.  Use "extra output N" in test names for extra outputs
31934         rather than naming variables.
31936 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
31938         [BZ #15488]
31939         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
31940         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
31941         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
31942         double tests.
31943         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
31944         disable.
31945         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
31946         check_long_double.
31948         * math/gen-libm-test.pl (@tests): Remove variable.
31949         ($count): Likewise.
31950         (new_test): Remove function.
31951         (show_exceptions): New function.
31952         (special_functions): Use show_exceptions instead of new_test.
31953         (parse_args): Likewise.
31954         (generate_testfile): Pass only function name in generated call to
31955         print_max_error or print_complex_max_error.
31956         (get_ulps): Do not handle complex tests specially.
31957         (output_test): Rename to ...
31958         (get_all_ulps_for_test): ... this.  Return a string rather than
31959         printing to a file.  Require ulps to be present.
31960         (output_ulps): Generate arrays rather than #defines.
31961         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
31962         (struct ulp_data): New type.
31963         (BUILD_COMPLEX_ULP): Remove macro.
31964         (compare_ulp_data): New function.
31965         (find_ulps): Likewise.
31966         (find_test_ulps): Likewise.
31967         (find_function_ulps): Likewise.
31968         (find_complex_function_ulps): Likewise.
31969         (print_max_error): Determine allowed ulps using
31970         find_function_ulps.
31971         (print_complex_max_error): Determine allowed ulps using
31972         find_complex_function_ulps.
31973         (check_float_internal): Determine max ulps using find_test_ulps.
31974         (check_float): Do not take max_ulp parameter.  Update call to
31975         check_float_internal.
31976         (check_complex): Likewise.
31977         (check_int): Do not take max_ulp parameter.
31978         (check_long): Likewise.
31979         (check_bool): Likewise.
31980         (check_longlong): Likewise.
31981         (struct test_f_f_data): Remove max_ulp field.
31982         (struct test_ff_f_data): Likewise.
31983         (struct test_ff_f_data_nexttoward): Likewise.
31984         (struct test_fi_f_data): Likewise.
31985         (struct test_fl_f_data): Likewise.
31986         (struct test_if_f_data): Likewise.
31987         (struct test_fff_f_data): Likewise.
31988         (struct test_c_f_data): Likewise.
31989         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
31990         (struct test_fF_f1_data): Likewise.
31991         (struct test_ffI_f1_data): Likewise.
31992         (struct test_c_c_data): Remove max_ulp field.
31993         (struct test_cc_c_data): Likewise.
31994         (struct test_f_i_data): Likewise.
31995         (struct test_ff_i_data): Likewise.
31996         (struct test_f_l_data): Likewise.
31997         (struct test_f_L_data): Likewise.
31998         (struct test_sincos_data): Likewise.
31999         (RUN_TEST_f_f): Do not handle ulps.
32000         (RUN_TEST_LOOP_f_f): Likewise.
32001         (RUN_TEST_2_f): Likewise.
32002         (RUN_TEST_LOOP_2_f): Likewise.
32003         (RUN_TEST_fff_f): Likewise.
32004         (RUN_TEST_LOOP_fff_f): Likewise.
32005         (RUN_TEST_c_f): Likewise.
32006         (RUN_TEST_LOOP_c_f): Likewise.
32007         (RUN_TEST_f_f1): Likewise.
32008         (RUN_TEST_LOOP_f_f1): Likewise.
32009         (RUN_TEST_fF_f1): Likewise.
32010         (RUN_TEST_LOOP_fF_f1): Likewise.
32011         (RUN_TEST_fI_f1): Likewise.
32012         (RUN_TEST_LOOP_fI_f1): Likewise.
32013         (RUN_TEST_ffI_f1): Likewise.
32014         (RUN_TEST_LOOP_ffI_f1): Likewise.
32015         (RUN_TEST_c_c): Likewise.
32016         (RUN_TEST_LOOP_c_c): Likewise.
32017         (RUN_TEST_cc_c): Likewise.
32018         (RUN_TEST_LOOP_cc_c): Likewise.
32019         (RUN_TEST_f_i): Likewise.
32020         (RUN_TEST_LOOP_f_i): Likewise.
32021         (RUN_TEST_f_i_tg): Likewise.
32022         (RUN_TEST_LOOP_f_i_tg): Likewise.
32023         (RUN_TEST_ff_i_tg): Likewise.
32024         (RUN_TEST_LOOP_ff_i_tg): Likewise.
32025         (RUN_TEST_f_b): Likewise.
32026         (RUN_TEST_LOOP_f_b): Likewise.
32027         (RUN_TEST_f_b_tg): Likewise.
32028         (RUN_TEST_LOOP_f_b_tg): Likewise.
32029         (RUN_TEST_f_l): Likewise.
32030         (RUN_TEST_LOOP_f_l): Likewise.
32031         (RUN_TEST_f_L): Likewise.
32032         (RUN_TEST_LOOP_f_L): Likewise.
32033         (RUN_TEST_sincos): Likewise.
32034         (RUN_TEST_LOOP_sincos): Likewise.
32036 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
32038         [BZ #15480]
32039         [BZ #15485]
32040         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
32041         main case of finite arguments, set rounding mode to FE_TONEAREST
32042         and discard exceptions.
32043         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
32044         exceptions.
32045         (remainder_tonearest_test_data): New variable.
32046         (remainder_test_tonearest): New function.
32047         (remainder_towardzero_test_data): New variable.
32048         (remainder_test_towardzero): New function.
32049         (remainder_downward_test_data): New variable.
32050         (remainder_test_downward): New function.
32051         (remainder_upward_test_data): New variable.
32052         (remainder_test_upward): New function.
32053         (main): Call the new test functions.
32055         * math/libm-test.inc (struct test_f_f1_data): Remove field
32056         extra_init.
32057         (struct test_fF_f1_data): Likewise.
32058         (struct test_ffI_f1_data): Likewise.
32059         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
32060         based on value of EXTRA_EXPECTED.
32061         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
32062         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
32063         EXTRA_VAR based on value of EXTRA_EXPECTED.
32064         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
32065         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
32066         EXTRA_VAR based on value of EXTRA_EXPECTED.
32067         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
32068         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
32069         EXTRA_VAR based on value of EXTRA_EXPECTED.
32070         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
32071         * math/gen-libm-test.pl (parse_args): Don't output initializers
32072         for extra output values.
32074         * math/libm-test.inc (check_int): Expect result to be exactly
32075         equal to expected value and do not handle ulps.
32076         (check_long): Likewise.
32077         (check_longlong): Likewise.
32079         * math/libm-test.inc (ceil_test_data): Test for "inexact"
32080         exceptions.
32081         (cimag_test_data): Likewise.
32082         (conj_test_data): Likewise.
32083         (copysign_test_data): Likewise.
32084         (cproj_test_data): Likewise.
32085         (creal_test_data): Likewise.
32086         (fabs_test_data): Likewise.
32087         (fdim_test_data): Likewise.
32088         (finite_test_data): Likewise.
32089         (floor_test_data): Likewise.
32090         (fmax_test_data): Likewise.
32091         (fmin_test_data): Likewise.
32092         (fmod_test_data): Likewise.
32093         (fpclassify_test_data): Likewise.
32094         (frexp_test_data): Likewise.
32095         (ilogb_test_data): Likewise.
32096         (isfinite_test_data): Likewise.
32097         (isgreater_test_data): Likewise.
32098         (isgreaterequal_test_data): Likewise.
32099         (isinf_test_data): Likewise.
32100         (isless_test_data): Likewise.
32101         (islessequal_test_data): Likewise.
32102         (islessgreater_test_data): Likewise.
32103         (isnan_test_data): Likewise.
32104         (isnormal_test_data): Likewise.
32105         (issignaling_test_data): Likewise.
32106         (isunordered_test_data): Likewise.
32107         (ldexp_test_data): Likewise.
32108         (lrint_test_data): Likewise.
32109         (lrint_test_data) [TEST_FLOAT]: Disable one test.
32110         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
32111         (lrint_tonearest_test_data): Test for "inexact" exceptions.
32112         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
32113         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
32114         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
32115         test input.
32116         (lrint_towardzero_test_data): Test for "inexact" exceptions.
32117         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
32118         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
32119         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
32120         that test input.
32121         (lrint_downward_test_data): Test for "inexact" exceptions.
32122         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
32123         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
32124         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
32125         test input.
32126         (lrint_upward_test_data): Test for "inexact" exceptions.
32127         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
32128         test input.
32129         (llrint_test_data): Test for "inexact" exceptions.
32130         (llrint_test_data) [TEST_FLOAT]: Disable one test.
32131         (llrint_tonearest_test_data): Test for "inexact" exceptions.
32132         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
32133         (llrint_towardzero_test_data): Test for "inexact" exceptions.
32134         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
32135         (llrint_downward_test_data): Test for "inexact" exceptions.
32136         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
32137         (llrint_upward_test_data): Test for "inexact" exceptions.
32138         (logb_test_data): Likewise.
32139         (logb_downward_test_data): Likewise.
32140         (nextafter_test_data): Likewise.
32141         (nexttoward_test_data): Likewise.
32142         (remainder_test_data): Likewise.
32143         (remquo_test_data): Likewise.
32144         (scalbn_test_data): Likewise.
32145         (scalbln_test_data): Likewise.
32146         (signbit_test_data): Likewise.
32147         (sqrt_test_data): Likewise.
32148         (significand_test_data): Likewise.
32150 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
32152         [BZ #15424]
32153         * benchtests/bench-modf.c (struct args): Mark arg0 as
32154         volatile.
32155         * scripts/bench.pl: Mark members of struct args as volatile.
32157 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32159         [BZ # 15497]
32160         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
32161         negative infinity on POWER6 or lower.
32162         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
32164 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
32166         [BZ #15442]
32167         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
32168         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
32169         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
32170         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
32171         (_FP_SETQNAN): New macro.
32172         (_FP_SETQNAN_SEMIRAW): Likewise.
32173         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
32174         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
32175         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
32176         (FP_EXTEND): Use _FP_FRAC_SNANP.
32177         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
32178         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
32179         into account.
32180         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32181         New macro.
32182         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32183         Likewise.
32185 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
32187         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
32188         with DIVIDE_BY_ZERO_EXCEPTION.
32189         (gamma_test_data): Likewise.
32190         (lgamma_test_data): Likewise.
32191         (log_test_data): Likewise.
32192         (log10_test_data): Likewise.
32193         (log2_test_data): Likewise.
32194         (tgamma_test_data): Likewise.
32196         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
32197         (acos_test_tonearest): Likewise.
32198         (acos_test_towardzero): Likewise.
32199         (acos_test_downward): Likewise.
32200         (acos_test_upward): Likewise.
32201         (acosh_test): Likewise.
32202         (asin_test): Likewise.
32203         (asin_test_tonearest): Likewise.
32204         (asin_test_towardzero): Likewise.
32205         (asin_test_downward): Likewise.
32206         (asin_test_upward): Likewise.
32207         (asinh_test): Likewise.
32208         (atan_test): Likewise.
32209         (atanh_test): Likewise.
32210         (atan2_test): Likewise.
32211         (cabs_test): Likewise.
32212         (cacos_test): Likewise.
32213         (cacosh_test): Likewise.
32214         (casin_test): Likewise.
32215         (casinh_test): Likewise.
32216         (catan_test): Likewise.
32217         (catanh_test): Likewise.
32218         (cbrt_test): Likewise.
32219         (ccos_test): Likewise.
32220         (ccosh_test): Likewise.
32221         (cexp_test): Likewise.
32222         (clog_test): Likewise.
32223         (clog10_test): Likewise.
32224         (cos_test): Likewise.
32225         (cos_test_tonearest): Likewise.
32226         (cos_test_towardzero): Likewise.
32227         (cos_test_downward): Likewise.
32228         (cos_test_upward): Likewise.
32229         (cosh_test): Likewise.
32230         (cosh_test_tonearest): Likewise.
32231         (cosh_test_towardzero): Likewise.
32232         (cosh_test_downward): Likewise.
32233         (cosh_test_upward): Likewise.
32234         (cpow_test): Likewise.
32235         (csin_test): Likewise.
32236         (csinh_test): Likewise.
32237         (csqrt_test): Likewise.
32238         (ctan_test): Likewise.
32239         (ctan_test_tonearest): Likewise.
32240         (ctan_test_towardzero): Likewise.
32241         (ctan_test_downward): Likewise.
32242         (ctan_test_upward): Likewise.
32243         (ctanh_test): Likewise.
32244         (ctanh_test_tonearest): Likewise.
32245         (ctanh_test_towardzero): Likewise.
32246         (ctanh_test_downward): Likewise.
32247         (ctanh_test_upward): Likewise.
32248         (erf_test): Likewise.
32249         (erfc_test): Likewise.
32250         (exp_test): Likewise.
32251         (exp_test_tonearest): Likewise.
32252         (exp_test_towardzero): Likewise.
32253         (exp_test_downward): Likewise.
32254         (exp_test_upward): Likewise.
32255         (exp10_test): Likewise.
32256         (exp2_test): Likewise.
32257         (expm1_test): Likewise.
32258         (fmod_test): Likewise.
32259         (gamma_test): Likewise.
32260         (hypot_test): Likewise.
32261         (j0_test): Likewise.
32262         (j1_test): Likewise.
32263         (jn_test): Likewise.
32264         (lgamma_test): Likewise.
32265         (log_test): Likewise.
32266         (log10_test): Likewise.
32267         (log1p_test): Likewise.
32268         (log2_test): Likewise.
32269         (logb_test_downward): Likewise.
32270         (pow_test): Likewise.
32271         (pow_test_tonearest): Likewise.
32272         (pow_test_towardzero): Likewise.
32273         (pow_test_downward): Likewise.
32274         (pow_test_upward): Likewise.
32275         (remainder_test): Likewise.
32276         (remquo_test): Likewise.
32277         (sin_test): Likewise.
32278         (sin_test_tonearest): Likewise.
32279         (sin_test_towardzero): Likewise.
32280         (sin_test_downward): Likewise.
32281         (sin_test_upward): Likewise.
32282         (sincos_test): Likewise.
32283         (sinh_test): Likewise.
32284         (sinh_test_tonearest): Likewise.
32285         (sinh_test_towardzero): Likewise.
32286         (sinh_test_downward): Likewise.
32287         (sinh_test_upward): Likewise.
32288         (sqrt_test): Likewise.
32289         (tan_test): Likewise.
32290         (tan_test_tonearest): Likewise.
32291         (tan_test_towardzero): Likewise.
32292         (tan_test_downward): Likewise.
32293         (tan_test_upward): Likewise.
32294         (tanh_test): Likewise.
32295         (tgamma_test): Likewise.
32296         (y0_test): Likewise.
32297         (y1_test): Likewise.
32298         (yn_test): Likewise.
32300         * math/gen-libm-test.pl (adjust_arg): Remove function.
32301         (special_function): Remove argument $in_func.  Only handle
32302         generating output for tables of tests, not inside functions.
32303         (parse_args): Likewise.
32304         (generate_testfile): Remove variable $in_func.  Update call to
32305         parse_args.
32306         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
32307         (MINUS_ZERO_INIT): Rename macro to minus_zero.
32308         (PLUS_INFTY_INIT): Rename macro to plus_infty.
32309         (MINUS_INFTY_INIT): Rename macro to minus_infty.
32310         (QNAN_VALUE_INIT): Rename macro to qnan_value.
32311         (MAX_VALUE_INIT): Rename macro to max_value.
32312         (MIN_VALUE_INIT): Rename macro to min_value.
32313         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
32314         (plus_zero): Remove variable.
32315         (minus_zero): Likewise.
32316         (plus_infty): Likewise.
32317         (minus_infty): Likewise.
32318         (qnan_value): Likewise.
32319         (max_value): Likewise.
32320         (min_value): Likewise.
32321         (min_subnorm_value): Likewise.
32323 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32325         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
32326         uint64_t or uint32_t usage.
32327         * crypt/sha256-block.c: Likewise.
32328         * crypt/sha256-crypt.c: Likewise.
32329         * crypt/sha256.c: Likewise.
32330         * crypt/sha512-block.c: Likewise.
32331         * crypt/sha512-crypt.c: Likewise.
32332         * crypt/sha512.c: Likewise.
32333         * debug/backtrace-tst.c: Likewise.
32334         * debug/pcprofiledump.c: Likewise.
32335         * elf/cache.c: Likewise.
32336         * elf/dl-cache.c: Likewise.
32337         * elf/dl-misc.c: Likewise.
32338         * elf/dl-profile.c: Likewise.
32339         * elf/dl-support.c: Likewise.
32340         * elf/ldconfig.c: Likewise.
32341         * elf/sprof.c: Likewise.
32342         * iconv/dummy-repertoire.c: Likewise.
32343         * iconv/iconv_charmap.c: Likewise.
32344         * iconv/skeleton.c: Likewise.
32345         * iconvdata/8bit-generic.c: Likewise.
32346         * iconvdata/cp737.h: Likewise.
32347         * iconvdata/cp775.h: Likewise.
32348         * iconvdata/ibm1008.h: Likewise.
32349         * iconvdata/ibm1025.h: Likewise.
32350         * iconvdata/ibm1046.h: Likewise.
32351         * iconvdata/ibm1097.h: Likewise.
32352         * iconvdata/ibm1112.h: Likewise.
32353         * iconvdata/ibm1122.h: Likewise.
32354         * iconvdata/ibm1123.h: Likewise.
32355         * iconvdata/ibm1124.h: Likewise.
32356         * iconvdata/ibm1129.h: Likewise.
32357         * iconvdata/ibm1130.h: Likewise.
32358         * iconvdata/ibm1132.h: Likewise.
32359         * iconvdata/ibm1133.h: Likewise.
32360         * iconvdata/ibm1137.h: Likewise.
32361         * iconvdata/ibm1140.h: Likewise.
32362         * iconvdata/ibm1141.h: Likewise.
32363         * iconvdata/ibm1142.h: Likewise.
32364         * iconvdata/ibm1143.h: Likewise.
32365         * iconvdata/ibm1144.h: Likewise.
32366         * iconvdata/ibm1145.h: Likewise.
32367         * iconvdata/ibm1146.h: Likewise.
32368         * iconvdata/ibm1147.h: Likewise.
32369         * iconvdata/ibm1148.h: Likewise.
32370         * iconvdata/ibm1149.h: Likewise.
32371         * iconvdata/ibm1153.h: Likewise.
32372         * iconvdata/ibm1154.h: Likewise.
32373         * iconvdata/ibm1155.h: Likewise.
32374         * iconvdata/ibm1156.h: Likewise.
32375         * iconvdata/ibm1157.h: Likewise.
32376         * iconvdata/ibm1158.h: Likewise.
32377         * iconvdata/ibm1160.h: Likewise.
32378         * iconvdata/ibm1161.h: Likewise.
32379         * iconvdata/ibm1162.h: Likewise.
32380         * iconvdata/ibm1163.h: Likewise.
32381         * iconvdata/ibm1164.h: Likewise.
32382         * iconvdata/ibm1166.h: Likewise.
32383         * iconvdata/ibm1167.h: Likewise.
32384         * iconvdata/ibm12712.h: Likewise.
32385         * iconvdata/ibm1390.h: Likewise.
32386         * iconvdata/ibm1399.h: Likewise.
32387         * iconvdata/ibm16804.h: Likewise.
32388         * iconvdata/ibm4517.h: Likewise.
32389         * iconvdata/ibm4899.h: Likewise.
32390         * iconvdata/ibm4909.h: Likewise.
32391         * iconvdata/ibm4971.h: Likewise.
32392         * iconvdata/ibm5347.h: Likewise.
32393         * iconvdata/ibm803.h: Likewise.
32394         * iconvdata/ibm856.h: Likewise.
32395         * iconvdata/ibm901.h: Likewise.
32396         * iconvdata/ibm902.h: Likewise.
32397         * iconvdata/ibm9030.h: Likewise.
32398         * iconvdata/ibm9066.h: Likewise.
32399         * iconvdata/ibm921.h: Likewise.
32400         * iconvdata/ibm922.h: Likewise.
32401         * iconvdata/ibm9448.h: Likewise.
32402         * iconvdata/isiri-3342.h: Likewise.
32403         * iconvdata/jis0201.h: Likewise.
32404         * include/link.h: Likewise.
32405         * include/netdb.h: Likewise.
32406         * inet/check_native.c: Likewise.
32407         * inet/check_pf.c: Likewise.
32408         * inet/getipv4sourcefilter.c: Likewise.
32409         * inet/getnameinfo.c: Likewise.
32410         * inet/getsourcefilter.c: Likewise.
32411         * inet/htonl.c: Likewise.
32412         * inet/setipv4sourcefilter.c: Likewise.
32413         * inet/setsourcefilter.c: Likewise.
32414         * inet/test-inet6_opt.c: Likewise.
32415         * inet/tst-network.c: Likewise.
32416         * locale/C-collate.c: Likewise.
32417         * locale/C-ctype.c: Likewise.
32418         * locale/C-time.c: Likewise.
32419         * locale/C-translit.h: Likewise.
32420         * locale/loadarchive.c: Likewise.
32421         * locale/programs/3level.h: Likewise.
32422         * locale/programs/charmap.c: Likewise.
32423         * locale/programs/charmap.h: Likewise.
32424         * locale/programs/ld-address.c: Likewise.
32425         * locale/programs/ld-collate.c: Likewise.
32426         * locale/programs/ld-ctype.c: Likewise.
32427         * locale/programs/ld-identification.c: Likewise.
32428         * locale/programs/ld-measurement.c: Likewise.
32429         * locale/programs/ld-messages.c: Likewise.
32430         * locale/programs/ld-monetary.c: Likewise.
32431         * locale/programs/ld-name.c: Likewise.
32432         * locale/programs/ld-numeric.c: Likewise.
32433         * locale/programs/ld-paper.c: Likewise.
32434         * locale/programs/ld-telephone.c: Likewise.
32435         * locale/programs/ld-time.c: Likewise.
32436         * locale/programs/linereader.c: Likewise.
32437         * locale/programs/locale.c: Likewise.
32438         * locale/programs/locarchive.c: Likewise.
32439         * locale/programs/locfile.h: Likewise.
32440         * locale/programs/repertoire.c: Likewise.
32441         * locale/programs/simple-hash.c: Likewise.
32442         * locale/programs/simple-hash.h: Likewise.
32443         * malloc/memusage.c: Likewise.
32444         * malloc/memusagestat.c: Likewise.
32445         * nis/nis_defaults.c: Likewise.
32446         * nis/nis_hash.c: Likewise.
32447         * nis/nis_print.c: Likewise.
32448         * nis/nis_xdr.c: Likewise.
32449         * nscd/connections.c: Likewise.
32450         * nscd/hstcache.c: Likewise.
32451         * nscd/nscd_gethst_r.c: Likewise.
32452         * nscd/nscd_getserv_r.c: Likewise.
32453         * nscd/nscd_helper.c: Likewise.
32454         * nscd/servicescache.c: Likewise.
32455         * nss/makedb.c: Likewise.
32456         * nss/nss_db/db-XXX.c: Likewise.
32457         * nss/nss_db/db-initgroups.c: Likewise.
32458         * nss/nss_db/db-netgrp.c: Likewise.
32459         * nss/nss_files/files-network.c: Likewise.
32460         * nss/nss_files/files-parse.c: Likewise.
32461         * posix/bug-regex5.c: Likewise.
32462         * posix/fnmatch_loop.c: Likewise.
32463         * posix/regcomp.c: Likewise.
32464         * posix/regexec.c: Likewise.
32465         * posix/tst-rfc3484-2.c: Likewise.
32466         * posix/tst-rfc3484-3.c: Likewise.
32467         * posix/tst-rfc3484.c: Likewise.
32468         * resolv/nss_dns/dns-canon.c: Likewise.
32469         * resolv/nss_dns/dns-network.c: Likewise.
32470         * resolv/res_init.c: Likewise.
32471         * resolv/res_mkquery.c: Likewise.
32472         * resolv/tst-aton.c: Likewise.
32473         * stdlib/cxa_atexit.c: Likewise.
32474         * stdlib/cxa_finalize.c: Likewise.
32475         * stdlib/gen-fpioconst.c: Likewise.
32476         * stdlib/strtol_l.c: Likewise.
32477         * string/tst-endian.c: Likewise.
32478         * sunrpc/auth_des.c: Likewise.
32479         * sunrpc/clnt_udp.c: Likewise.
32480         * sunrpc/rtime.c: Likewise.
32481         * sunrpc/svcauth_des.c: Likewise.
32482         * sunrpc/xdr.c: Likewise.
32483         * sunrpc/xdr_intXX_t.c: Likewise.
32484         * sunrpc/xdr_rec.c: Likewise.
32485         * sysdeps/generic/ldconfig.h: Likewise.
32486         * sysdeps/generic/ldsodefs.h: Likewise.
32487         * sysdeps/generic/memusage.h: Likewise.
32488         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
32489         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
32490         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
32491         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
32492         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32493         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32494         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
32495         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
32496         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32497         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32498         * sysdeps/posix/getaddrinfo.c: Likewise.
32499         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32500         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32501         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32502         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32503         * sysdeps/powerpc/test-gettimebase.c: Likewise.
32504         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
32505         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
32506         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
32507         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
32508         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
32509         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
32510         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
32511         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
32512         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
32513         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
32514         * sysdeps/x86_64/dl-tls.h: Likewise.
32515         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
32516         * time/alt_digit.c: Likewise.
32517         * time/era.c: Likewise.
32518         * wcsmbs/tst-c16c32-1.c: Likewise.
32520 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
32522         * math/libm-test.inc (struct test_sincos_data): New type.
32523         (RUN_TEST_LOOP_sincos): New macro.
32524         (sincos_test_data): New variable.
32525         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
32527 2013-05-16  Richard Henderson  <rth@redhat.com>
32529         * math/atest-exp2.c (LIMB64): New macro.
32530         (CONSTSZ): New macro.
32531         (mp_exp1, mp_exp_m1, mp_log2): New variables.
32532         (hexdig): Move ...
32533         (print_mpn_fp): ... to function scope.
32534         (read_mpn_hex): Remove.
32535         (get_log2): Remove.
32536         (exp2_mpn): Use mp_log2.
32537         (main): Use mp_exp1.
32539 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
32541         * math/libm-test.inc: Remove comment about not testing "inexact"
32542         exceptions.
32543         (INEXACT_EXCEPTION): New macro.
32544         (NO_INEXACT_EXCEPTION): Likewise.
32545         (INVALID_EXCEPTION_OK): Update value.
32546         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32547         (OVERFLOW_EXCEPTION_OK): Likewise.
32548         (UNDERFLOW_EXCEPTION_OK): Likewise.
32549         (IGNORE_ZERO_INF_SIGN): Likewise.
32550         (ERRNO_UNCHANGED): Likewise.
32551         (ERRNO_EDOM): Likewise.
32552         (ERRNO_ERANGE): Likewise.
32553         (test_exceptions): Handle testing "inexact" exceptions.
32554         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
32555         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
32556         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
32557         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
32558         INEXACT_EXCEPTION.
32559         (rint_towardzero_test_data): Likewise.
32560         (rint_downward_test_data): Likewise.
32561         (rint_upward_test_data): Likewise.
32563         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
32564         with OVERFLOW_EXCEPTION.
32565         (exp10_test_data): Likewise.
32566         (exp2_test_data): Likewise.
32567         (expm1_test_data): Likewise.
32568         (lgamma_test_data): Likewise.
32569         (pow_test_data): Likewise.
32570         (tgamma_test_data): Likewise.
32571         (yn_test_data): Remove duplicate test of overflow.
32573         * math/libm-test.inc (struct test_cc_c_data): New type.
32574         (RUN_TEST_LOOP_cc_c): New macro.
32575         (cpow_test_data): New variable.
32576         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
32578         * math/libm-test.inc (struct test_f_L_data): New type.
32579         (RUN_TEST_LOOP_f_L): New macro.
32580         (llrint_test_data): New variable.
32581         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
32582         (llrint_tonearest_test_data): New variable.
32583         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
32584         (llrint_towardzero_test_data): New variable.
32585         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
32586         (llrint_downward_test_data): New variable.
32587         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
32588         (llrint_upward_test_data): New variable.
32589         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
32590         (llround_test_data): New variable.
32591         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
32593 2013-05-13  Peter Collingbourne  <pcc@google.com>
32595         * math/atest-exp2.c (get_log2): Remove const attribute.
32597 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
32599         * math/libm-test.inc (struct test_f_l_data): New type.
32600         (RUN_TEST_LOOP_f_l): New macro.
32601         (lrint_test_data): New variable.
32602         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
32603         (lrint_tonearest_test_data): New variable.
32604         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
32605         (lrint_towardzero_test_data): New variable.
32606         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
32607         (lrint_downward_test_data): New variable.
32608         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
32609         (lrint_upward_test_data): New variable.
32610         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
32611         (lround_test_data): New variable.
32612         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
32614 2013-05-15  Peter Collingbourne  <pcc@google.com>
32616         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
32617         (EXTRACT_WORDS64) Use where appropriate.
32618         (INSERT_WORDS64) Likewise.
32620         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
32621         constraints with x constraints.
32622         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
32624         * malloc/obstack.c (_obstack_compat): Add initializer.
32626 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
32628         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
32629         si_trapno and add si_addr_lsb to _sifields.sigfault.
32630         (si_trapno): Remove macro.
32631         (si_addr_lsb): Define new macro.
32632         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
32634 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
32636         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
32637         instead of TEST_f_l.
32638         (llrint_test_tonearest): Likewise.
32639         (llrint_test_towardzero): Likewise.
32640         (llrint_test_downward): Likewise.
32641         (llrint_test_upward): Likewise.
32642         (llround_test): Likewise.
32644         * math/libm-test.inc (struct test_f_i_data): Add comment.
32645         (RUN_TEST_LOOP_f_b): New macro.
32646         (RUN_TEST_LOOP_f_b_tg): Likewise.
32647         (finite_test_data): New variable.
32648         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
32649         (isfinite_test_data): New variable.
32650         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32651         (isinf_test_data): New variable.
32652         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32653         (isnan_test_data): New variable.
32654         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32655         (isnormal_test_data): New variable.
32656         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32657         (issignaling_test_data): New variable.
32658         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32659         (signbit_test_data): New variable.
32660         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32662         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
32663         with INVALID_EXCEPTION.
32664         (acosh_test_data): Likewise.
32665         (asin_test_data): Likewise.
32666         (atanh_test_data): Likewise.
32667         (fmod_test_data): Likewise.
32668         (log_test_data): Likewise.
32669         (log10_test_data): Likewise.
32670         (log2_test_data): Likewise.
32671         (pow_test_data): Likewise.
32672         (sqrt_test_data): Likewise.
32673         (y0_test_data): Likewise.
32674         (y1_test_data): Likewise.
32675         (yn_test_data): Likewise.
32677         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
32678         function contents.
32680         * math/libm-test.inc (struct test_ff_i_data): New type.
32681         (RUN_TEST_LOOP_ff_i_tg): New macro.
32682         (isgreater_test_data): New variable.
32683         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32684         (isgreaterequal_test_data): New variable.
32685         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32686         (isless_test_data): New variable.
32687         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32688         (islessequal_test_data): New variable.
32689         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32690         (islessgreater_test_data): New variable.
32691         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32692         (isunordered_test_data): New variable.
32693         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32695 2013-05-14  David S. Miller  <davem@davemloft.net>
32697         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32699 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
32701         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
32703         * math/libm-test.inc (struct test_fF_f1_data): Change type of
32704         extra_test to int.
32705         (struct test_f_i_data): Change type of max_ulp to int.
32707         * math/libm-test.inc (test_ffI_f1_data): New type.
32708         (RUN_TEST_LOOP_ffI_f1): New macro.
32709         (remquo_test_data): New variable.
32710         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
32712         * setjmp/tst-setjmp-fp.c: New file.
32713         * setjmp/Makefile (tests): Add tst-setjmp-fp.
32714         (link-libm): New variable.
32715         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
32717         * math/libm-test.inc (struct test_f_i_data): New type.
32718         (RUN_TEST_LOOP_f_i): New macro.
32719         (RUN_TEST_LOOP_f_i_tg): Likewise.
32720         (fpclassify_test_data): New variable.
32721         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
32722         (ilogb_test_data): New variable.
32723         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
32725         * math/libm-test.inc (scalbln_test): Correct function name in END
32726         call.
32728         * math/libm-test.inc (struct test_f_f1_data): Add comment.
32729         (RUN_TEST_LOOP_fI_f1): New macro.
32730         (frexp_test_data): New variable.
32731         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
32733         * math/libm-test.inc (struct test_fF_f1_data): New type.
32734         (RUN_TEST_LOOP_fF_f1): New macro.
32735         (modf_test_data): New variable.
32736         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
32738         * math/libm-test.inc (struct test_f_f1_data): New type.
32739         (RUN_TEST_LOOP_f_f1): New macro.
32740         (gamma_test_data): New variable.
32741         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
32742         (lgamma_test_data): New variable.
32743         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
32745 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
32747         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
32748         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
32749         (main): Comment "tls" pseudo-hwcap.
32751 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
32753         * math/libm-test.inc (struct test_fl_f_data): New type.
32754         (RUN_TEST_LOOP_fl_f): New variable.
32755         (scalbln_test_data): New variable.
32756         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
32758         * math/libm-test.inc (struct test_fi_f_data): New type.
32759         (RUN_TEST_LOOP_fi_f): New macro.
32760         (ldexp_test_data): New variable.
32761         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
32762         (scalbn_test_data): New variable.
32763         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
32765         * math/libm-test.inc (struct test_c_f_data): New type.
32766         (RUN_TEST_LOOP_c_f): New macro.
32767         (cabs_test_data): New variable.
32768         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
32769         (carg_test_data): New variable.
32770         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
32771         (cimag_test_data): New variable.
32772         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
32773         (creal_test_data): New variable.
32774         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
32776         * math/libm-test.inc (struct test_if_f_data): New type.
32777         (RUN_TEST_LOOP_if_f): New macro.
32778         (jn_test_data): New variable.
32779         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
32780         (yn_test_data): New variable.
32781         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
32783         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
32785 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32787         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
32788         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
32790 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32792         * benchtests/Makefile (CPPFLAGS-nonlib): Add
32793         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
32794         (bench-deps): Add bench-timing.h.
32795         * benchtests-bench-skeleton.c: Include bench-timing.h.
32796         (main): Use TIMING_* macros instead of clock_gettime.
32797         * benchtests/bench-timing.h: New file.
32799         [BZ #14582]
32800         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
32801         Renamed from _LIB_VERSION.
32802         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
32804 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
32806         * math/libm-test.inc (struct test_fff_f_data): New type.
32807         (RUN_TEST_LOOP_fff_f): New macro.
32808         (fma_test_data): New variable.
32809         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
32810         (fma_towardzero_test_data): New variable.
32811         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
32812         (fma_downward_test_data): New variable.
32813         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
32814         (fma_upward_test_data): New variable.
32815         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
32817         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
32818         (struct test_c_c_data): New type.
32819         (RUN_TEST_LOOP_c_c): New macro.
32820         (cacos_test_data): New variable.
32821         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
32822         (cacosh_test_data): New variable.
32823         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
32824         (casin_test_data): New variable.
32825         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
32826         (casinh_test_data): New variable.
32827         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
32828         (catan_test_data): New variable.
32829         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
32830         (catanh_test_data): New variable.
32831         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
32832         (ccos_test_data): New variable.
32833         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
32834         (ccosh_test_data): New variable.
32835         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
32836         (cexp_test_data): New variable.
32837         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
32838         (clog_test_data): New variable.
32839         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
32840         (clog10_test_data): New variable.
32841         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
32842         (conj_test_data): New variable.
32843         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
32844         (cproj_test_data): New variable.
32845         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
32846         (csin_test_data): New variable.
32847         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
32848         (csinh_test_data): New variable.
32849         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
32850         (csqrt_test_data): New variable.
32851         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
32852         (ctan_test_data): New variable.
32853         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
32854         (ctan_tonearest_test_data): New variable.
32855         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
32856         (ctan_towardzero_test_data): New variable.
32857         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
32858         (ctan_downward_test_data): New variable.
32859         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
32860         (ctan_upward_test_data): New variable.
32861         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
32862         (ctanh_test_data): New variable.
32863         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
32864         (ctanh_tonearest_test_data): New variable.
32865         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
32866         (ctanh_towardzero_test_data): New variable.
32867         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
32868         (ctanh_downward_test_data): New variable.
32869         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
32870         (ctanh_upward_test_data): New variable.
32871         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
32872         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
32873         of BUILD_COMPLEX.
32875         * math/libm-test.inc (struct test_ff_f_data): New type.
32876         (struct test_ff_f_data_nexttoward): Likewise.
32877         (RUN_TEST_LOOP_2_f): New macro.
32878         (RUN_TEST_LOOP_ff_f): Likewise.
32879         (atan2_test_data): New variable.
32880         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
32881         (copysign_test_data): New variable.
32882         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
32883         (fdim_test_data): New variable.
32884         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
32885         (fmax_test_data): New variable.
32886         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
32887         (fmin_test_data): New variable.
32888         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
32889         (fmod_test_data): New variable.
32890         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
32891         (hypot_test_data): New variable.
32892         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
32893         (nextafter_test_data): New variable.
32894         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
32895         (nexttoward_test_data): New variable.
32896         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
32897         (pow_test_data): New variable.
32898         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
32899         (pow_tonearest_test_data): New variable.
32900         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
32901         (pow_towardzero_test_data): New variable.
32902         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
32903         (pow_downward_test_data): New variable.
32904         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
32905         (pow_upward_test_data): New variable.
32906         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
32907         (remainder_test_data): New variable.
32908         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
32909         (scalb_test_data): New variable.
32910         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
32911         * sysdeps/i386/fpu/libm-test-ulps: Update.
32913 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
32915         * math/libm-test.inc (fma_test): Use max_value instead of local
32916         variable fltmax.
32917         (nextafter_test): Likewise.
32919         * math/libm-test.inc (acos_towardzero_test_data): New variable.
32920         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32921         (acos_downward_test_data): New variable.
32922         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32923         (acos_upward_test_data): New variable.
32924         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32925         (acosh_test_data): New variable.
32926         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
32927         (asin_test_data): New variable.
32928         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
32929         (asin_tonearest_test_data): New variable.
32930         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32931         (asin_towardzero_test_data): New variable.
32932         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32933         (asin_downward_test_data): New variable.
32934         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32935         (asin_upward_test_data): New variable.
32936         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32937         (asinh_test_data): New variable.
32938         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
32939         (atan_test_data): New variable.
32940         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
32941         (atanh_test_data): New variable.
32942         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
32943         (cbrt_test_data): New variable.
32944         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
32945         (ceil_test_data): New variable.
32946         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
32947         (cos_test_data): New variable.
32948         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
32949         (cos_tonearest_test_data): New variable.
32950         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32951         (cos_towardzero_test_data): New variable.
32952         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32953         (cos_downward_test_data): New variable.
32954         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32955         (cos_upward_test_data): New variable.
32956         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32957         (cosh_test_data): New variable.
32958         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
32959         (cosh_tonearest_test_data): New variable.
32960         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32961         (cosh_towardzero_test_data): New variable.
32962         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32963         (cosh_downward_test_data): New variable.
32964         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32965         (cosh_upward_test_data): New variable.
32966         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32967         (erf_test_data): New variable.
32968         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
32969         (erfc_test_data): New variable.
32970         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
32971         (exp_test_data): New variable.
32972         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
32973         (exp_tonearest_test_data): New variable.
32974         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32975         (exp_towardzero_test_data): New variable.
32976         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32977         (exp_downward_test_data): New variable.
32978         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32979         (exp_upward_test_data): New variable.
32980         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32981         (exp10_test_data): New variable.
32982         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
32983         (exp2_test_data): New variable.
32984         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
32985         (expm1_test_data): New variable.
32986         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
32987         (fabs_test_data): New variable.
32988         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
32989         (floor_test_data): New variable.
32990         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
32991         (j0_test_data): New variable.
32992         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
32993         (j1_test_data): New variable.
32994         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
32995         (log_test_data): New variable.
32996         (log_test): Run tests with RUN_TEST_LOOP_f_f.
32997         (log10_test_data): New variable.
32998         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
32999         (log1p_test_data): New variable.
33000         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
33001         (log2_test_data): New variable.
33002         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
33003         (logb_test_data): New variable.
33004         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
33005         (logb_downward_test_data): New variable.
33006         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33007         (nearbyint_test_data): New variable.
33008         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
33009         (rint_test_data): New variable.
33010         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
33011         (rint_tonearest_test_data): New variable.
33012         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33013         (rint_towardzero_test_data): New variable.
33014         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33015         (rint_downward_test_data): New variable.
33016         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33017         (rint_upward_test_data): New variable.
33018         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33019         (round_test_data): New variable.
33020         (round_test): Run tests with RUN_TEST_LOOP_f_f.
33021         (sin_test_data): New variable.
33022         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
33023         (sin_tonearest_test_data): New variable.
33024         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33025         (sin_towardzero_test_data): New variable.
33026         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33027         (sin_downward_test_data): New variable.
33028         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33029         (sin_upward_test_data): New variable.
33030         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33031         (sinh_test_data): New variable.
33032         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
33033         (sinh_tonearest_test_data): New variable.
33034         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33035         (sinh_towardzero_test_data): New variable.
33036         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33037         (sinh_downward_test_data): New variable.
33038         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33039         (sinh_upward_test_data): New variable.
33040         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33041         (sqrt_test_data): New variable.
33042         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
33043         (tan_test_data): New variable.
33044         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
33045         (tan_tonearest_test_data): New variable.
33046         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33047         (tan_towardzero_test_data): New variable.
33048         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33049         (tan_downward_test_data): New variable.
33050         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33051         (tan_upward_test_data): New variable.
33052         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33053         (tanh_test_data): New variable.
33054         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
33055         (tgamma_test_data): New variable.
33056         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
33057         (trunc_test_data): New variable.
33058         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
33059         (y0_test_data): New variable.
33060         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
33061         (y1_test_data): New variable.
33062         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
33063         (significand_test_data): New variable.
33064         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
33066 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
33068         [BZ #12387]
33069         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
33071 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
33073         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
33075 2013-05-10  Andreas Jaeger  <aj@suse.de>
33077         [BZ #15448]
33078         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
33079         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
33081 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
33083         * math/gen-libm-test.pl (adjust_arg): New function.
33084         (special_functions): Handle generating output in both functions
33085         and arrays.
33086         (parse_args): Likewise.
33087         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
33088         $in_func argument to parse_args.
33089         * math/libm-test.inc (struct test_f_f_data): New type.
33090         (IF_ROUND_INIT_): New macro.
33091         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
33092         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
33093         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
33094         (IF_ROUND_INIT_FE_UPWARD): Likewise.
33095         (ROUND_RESTORE_): Likewise.
33096         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
33097         (ROUND_RESTORE_FE_TONEAREST): Likewise.
33098         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
33099         (ROUND_RESTORE_FE_UPWARD): Likewise.
33100         (RUN_TEST_LOOP_f_f): New macro.
33101         (acos_test_data): New variable.
33102         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
33103         (acos_tonearest_test_data): New variable.
33104         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33106 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33108         * benchtests/bench-skeleton.c (startup): Fix coding style.
33110 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
33112         [BZ #6809]
33113         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
33114         negative infinity argument.
33115         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
33116         negative infinity argument.
33117         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
33118         negative infinity argument.
33119         * math/libm-test.inc (tgamma_test): Expect errno to be set for
33120         domain errors.
33122 2013-05-10  Florian Weimer  <fweimer@redhat.com>
33124         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
33125         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
33126         * iconv/iconv_prog.c (main): Likewise.
33127         * locale/programs/charmap-dir.c (charmap_readdir)
33128         (fopen_uncompressed): Likewise.
33129         * locale/programs/locfile.c (siblings_uncached)
33130         (write_locale_data): Use lstat64 instead of lstat.
33131         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
33132         stat.
33134 2013-05-10  Andreas Jaeger  <aj@suse.de>
33136         [BZ #15395]
33137         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
33138         localization.
33139         Include <locale.h>.
33141 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
33143         * elf/dl-close.c (_dl_close_worker): Add comments.
33145 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
33147         [BZ #15359]
33148         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
33149         high part of pi/2.
33150         (__ieee754_rem_pio2l): Update comments.
33152         [BZ #15429]
33153         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
33154         high part of pi/2.
33155         (__ieee754_rem_pio2l): Update comments.
33157         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
33158         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
33160         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
33161         M_PI_4l.
33163         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
33164         (M_PI_34_LOG10El): Likewise.
33165         (M_PI2_LOG10El): Likewise.
33166         (M_PI4_LOG10El): Likewise.
33167         (M_PI_LOG10El): Likewise.
33169 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33171         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33173 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
33175         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
33176         (MINUS_ZERO_INIT): Likewise.
33177         (PLUS_INFTY_INIT): Likewise.
33178         (MINUS_INFTY_INIT): Likewise.
33179         (QNAN_VALUE_INIT): Likewise.
33180         (MAX_VALUE_INIT): Likewise.
33181         (MIN_VALUE_INIT): Likewise.
33182         (MIN_SUBNORM_VALUE_INIT): Likewise.
33183         (plus_zero): Initialize with PLUS_ZERO_INIT.
33184         (minus_zero): Initialize with MINUS_ZERO_INIT.
33185         (plus_infty): Initialize with PLUS_INFTY_INIT.
33186         (minus_infty): Initialize with MINUS_INFTY_INIT.
33187         (qnan_value): Initialize with QNAN_VALUE_INIT.
33188         (max_value): Initialize with MAX_VALUE_INIT.
33189         (min_value): Initialize with MIN_VALUE_INIT.
33190         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
33192         * math/libm-test.inc (RUN_TEST_if_f): New macro.
33193         (jn_test): Use TEST_if_f instead of TEST_ff_f.
33194         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
33195         (yn_test): Use TEST_if_f instead of TEST_ff_f.
33197         * math/libm-test.inc (RUN_TEST_f_f): New macro.
33198         (RUN_TEST_2_f): Likewise.
33199         (RUN_TEST_ff_f): Likewise.
33200         (RUN_TEST_fi_f): Likewise.
33201         (RUN_TEST_fl_f): Likewise.
33202         (RUN_TEST_fff_f): Likewise.
33203         (RUN_TEST_c_f): Likewise.
33204         (RUN_TEST_f_f1): Likewise.
33205         (RUN_TEST_fF_f1): Likewise.
33206         (RUN_TEST_fI_f1): Likewise.
33207         (RUN_TEST_ffI_f1): Likewise.
33208         (RUN_TEST_c_c): Likewise.
33209         (RUN_TEST_cc_c): Likewise.
33210         (RUN_TEST_f_i): Likewise.
33211         (RUN_TEST_f_i_tg): Likewise.
33212         (RUN_TEST_ff_i_tg): Likewise.
33213         (RUN_TEST_f_b): Likewise.
33214         (RUN_TEST_f_b_tg): Likewise.
33215         (RUN_TEST_f_l): Likewise.
33216         (RUN_TEST_f_L): Likewise.
33217         (RUN_TEST_sincos): Likewise.
33218         * math/gen-libm-test.pl (new_test): Take new argument to indicate
33219         whether to show exceptions.  Do not include ");\n" in return
33220         value.
33221         (special_functions): Output call to RUN_TEST_sincos instead of
33222         check_float calls.  Update calls to new_test.
33223         (parse_args): Output call to single RUN_TEST_* macro instead of
33224         check_* calls and other assignments.  Update calls to new_test.
33226         [BZ #2546]
33227         [BZ #2560]
33228         [BZ #5159]
33229         [BZ #15426]
33230         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
33231         input to result for tgamma overflow.
33232         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
33233         (gamma_coeff): New variable.
33234         (NCOEFF): New macro.
33235         (gamma_positive): New function.
33236         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
33237         underflow here.  Use gamma_positive instead of exp (lgamma) for
33238         other arguments.
33239         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
33240         (gamma_coeff): New variable.
33241         (NCOEFF): New macro.
33242         (gammaf_positive): New function.
33243         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
33244         underflow here.  Use gamma_positive instead of exp (lgamma) for
33245         other arguments.
33246         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
33247         (gamma_coeff): New variable.
33248         (NCOEFF): New macro.
33249         (gammal_positive): New function.
33250         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
33251         underflow here.  Use gamma_positive instead of exp (lgamma) for
33252         other arguments.
33253         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
33254         (gamma_coeff): New variable.
33255         (NCOEFF): New macro.
33256         (gammal_positive): New function.
33257         (__ieee754_gammal_r): Handle positive infinity, overflow and
33258         underflow here.  Handle NaN the same as positive infinity.  Remove
33259         check x < 0xffffffff for negative integers.  Use gamma_positive
33260         instead of exp (lgamma) for other arguments.
33261         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
33262         (gamma_coeff): New variable.
33263         (NCOEFF): New macro.
33264         (gammal_positive): New function.
33265         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
33266         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
33267         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
33268         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
33269         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
33270         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
33271         * sysdeps/generic/math_private.h (__gamma_productf): New
33272         prototype.
33273         (__gamma_product): Likewise.
33274         (__gamma_productl): Likewise.
33275         * math/Makefile (libm-calls): Add gamma_product.
33276         * math/libm-test.inc (tgamma_test): Add more tests.
33277         * sysdeps/i386/fpu/libm-test-ulps: Update.
33278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33280 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
33282         * benchtests/bench-skeleton.c (main): Preheat CPU.
33284 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
33286         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
33288 2013-05-07  Roland McGrath  <roland@hack.frob.com>
33290         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
33291         and _dl_skip_args_internal.
33293 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
33295         * manual/message.texi (Message Translation): Talk about users.
33296         Message to key mapping impacts design.
33298 2013-05-06  Roland McGrath  <roland@hack.frob.com>
33300         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
33302         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
33304         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
33305         * sysdeps/wordsize-64/glob64.c: ... here.
33307         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
33308         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
33309         New macros.
33311         * debug/getlogin_r_chk.c: Moved to ...
33312         * login/getlogin_r_chk.c: ... here.
33313         * debug/Makefile (routines): Move getlogin_r_chk to ...
33314         * login/Makefile (routines): ... here.
33315         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
33316         * login/Versions (libc: GLIBC_2.4): ... here.
33318         * io/poll.c (__poll): Renamed from poll.
33319         Add libc_hidden_def.
33320         (poll): Define as weak alias.
33322         * debug/ptsname_r_chk.c: Moved to ...
33323         * login/ptsname_r_chk.c: ... here.
33324         * debug/Makefile (routines): Move ptsname_r_chk to ...
33325         * login/Makefile (routines): ... here.
33326         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
33327         * login/Versions (libc: GLIBC_2.4): ... here.
33329         * posix/getlogin.c: Moved to ...
33330         * login/getlogin.c: ... here.
33331         * posix/getlogin_r.c: Moved to ...
33332         * login/getlogin_r.c: ... here.
33333         * posix/getlogin_r.c: Moved to ...
33334         * login/getlogin_r.c: ... here.
33335         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
33336         * login/Makefile (routines): ... here.
33337         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
33338         * login/Versions (libc: GLIBC_2.0): ... here.
33340         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
33341         (setrlimit): Define as weak alias.
33343         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
33344         Call __ names for open, ftruncate, and close.
33345         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
33346         (truncate): Define as weak alias.
33348 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
33350         * math/gen-libm-test.pl (parse_args): Initialize x before each
33351         test of frexp, modf and remquo.
33353         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
33354         test signgam value.
33356 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33358         [BZ #15418]
33359         [BZ #15419]
33360         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
33361         internal tests.
33362         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33364 2013-05-06  Roland McGrath  <roland@hack.frob.com>
33366         * elf/dl-writev.h: New file.
33367         * elf/dl-misc.c: Include it.
33368         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
33369         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
33371 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
33373         * math/libm-test.inc (noXFails): Remove variable.
33374         (noXPasses): Likewise.
33375         (BUILD_COMPLEX_INT): Remove macro.
33376         (print_screen): Remove xfail argument.
33377         (print_screen_max_error): Likewise.
33378         (update_stats): Likewise.
33379         (print_max_error): Likewise.  Update calls to other affected
33380         functions.
33381         (print_complex_max_error): Likewise.
33382         (test_single_exception): Update calls to print_screen.
33383         (test_single_errno): Likewise.
33384         (check_float_internal): Remove xfail argument.  Update calls to
33385         other affected functions.
33386         (check_float): Likewise.
33387         (check_complex): Likewise.
33388         (check_int): Likewise.
33389         (check_long): Likewise.
33390         (check_bool): Likewise.
33391         (check_longlong): Likewise.
33392         (main): Don't print noXFails and noXPasses.
33393         * math/gen-libm-test.pl (top level): Don't mention expected
33394         failure handling in comment.
33395         (new_test): Don't handle expected failures.
33396         (parse_args): Don't mention expected failure handling in comment.
33397         (generate_testfile): Don't handle expected failures.
33398         (parse_ulps): Likewise.
33399         (print_ulps_file): Likewise.
33400         (get_failure): Remove function.
33401         (output_test): Don't handle expected failures.
33402         * make/README.libm-test: Don't mention expected failure handling.
33404         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
33405         (minus_zero): Likewise.
33406         (plus_infty): Likewise.
33407         (minus_infty): Likewise.
33408         (qnan_value): Likewise.
33409         (max_value): Likewise.
33410         (min_value): Likewise.
33411         (min_subnorm_value): Likewise.
33412         (initialize): Do not initialize those variables dynamically.
33414 2013-05-03  Roland McGrath  <roland@hack.frob.com>
33416         * io/open.c (__open_2): Moved to ...
33417         * io/open_2.c: ... this new file.
33418         * io/open64.c (__open64_2): Moved to ...
33419         * io/open64_2.c: ... this new file.
33420         * io/openat.c (__openat_2): Moved to ...
33421         * io/openat_2.c: ... this new file.
33422         * io/openat64.c (__openat64_2): Moved to ...
33423         * io/openat64_2.c: ... this new file.
33424         * io/Makefile (routines): Add them.
33425         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
33426         * sysdeps/unix/sysv/linux/open_2.c: File removed.
33427         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
33428         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
33429         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
33430         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
33431         (__openat64): Add hidden_ver.
33432         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
33433         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
33435         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
33436         Separately conditionalize setting of GLRO(dl_sysinfo) so
33437         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
33438         as well, but the actual setting is only under [NEED_DL_SYSINFO].
33440 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33442         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
33443         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
33444         definition.
33445         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
33446         * sysdeps/unix/sysv/linux/powerpc/init-first.c
33447         (_libc_vdso_platform_setup): Add __vdso_time initialization.
33448         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
33449         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
33451 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
33453         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
33454         test signgam value.
33456         * math/libm-test.inc (hypot_test): Do not use
33457         IGNORE_ZERO_INF_SIGN.
33459 2013-05-03  Andreas Jaeger  <aj@suse.de>
33461         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
33462         Linux 3.9.
33463         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
33464         (PF_MAX): Adjust for VSOCK change.
33466 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33468         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33470 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
33472         [BZ #15264]
33473         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
33474         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
33475         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
33477 2013-05-02  David S. Miller  <davem@davemloft.net>
33479         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33481 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
33483         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
33485 2013-05-01  Roland McGrath  <roland@hack.frob.com>
33487         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
33489 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
33491         [BZ #14952]
33492         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
33493         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
33494         Use __attribute__ ((__gnu_inline__)).
33495         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
33496         Don't use __attribute__ ((__gnu_inline__)).
33498 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
33500         [BZ #15423]
33501         * math/s_catan.c (__catan): Handle small real or imaginary part of
33502         input specially to avoid spurious underflow.
33503         * math/s_catanf.c (__catanf): Likewise.
33504         * math/s_catanh.c (__catanh): Likewise.
33505         * math/s_catanhf.c (__catanhf): Likewise.
33506         * math/s_catanhl.c (__catanhl): Likewise.
33507         * math/s_catanl.c (__catanl): Likewise.
33508         * math/libm-test.inc (catan_test): Add more tests.
33509         (catanh_test): Likewise.
33510         * sysdeps/i386/fpu/libm-test-ulps: Update.
33511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33513 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33515         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33517 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
33519         [BZ #15416]
33520         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
33521         accurately for denominator in atan2.
33522         * math/s_catanf.c (__catanf): Likewise.
33523         * math/s_catanh.c (__catanh): Likewise.
33524         * math/s_catanhf.c (__catanhf): Likewise.
33525         * math/s_catanhl.c (__catanhl): Likewise.
33526         * math/s_catanl.c (__catanl): Likewise.
33527         * math/libm-test.inc (catan_test): Add more tests.
33528         (catanh_test): Likewise.
33529         * sysdeps/i386/fpu/libm-test-ulps: Update.
33530         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33532 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33534         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
33536         * benchtests/Makefile (bench): Remove slow benchmarks.
33537         * benchtests/atan-inputs: Add slow benchmark inputs.
33538         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
33539         (BENCH_FUNC): Accept variant offset.
33540         (VARIANT): Define.
33541         * benchtests/bench-skeleton.c (main): Run benchmark for each
33542         variant.
33543         * benchtests/cos-inputs: Add slow benchmark inputs.
33544         * benchtests/exp-inputs: Likewise.
33545         * benchtests/pow-inputs: Likewise.
33546         * benchtests/sin-inputs: Likewise.
33547         * benchtests/slowatan-inputs: Remove.
33548         * benchtests/slowatan.c: Remove.
33549         * benchtests/slowcos-inputs: Remove.
33550         * benchtests/slowcos.c: Remove.
33551         * benchtests/slowexp-inputs: Remove.
33552         * benchtests/slowexp.c: Remove.
33553         * benchtests/slowpow-inputs: Remove.
33554         * benchtests/slowpow.c: Remove.
33555         * benchtests/slowsin-inputs: Remove.
33556         * benchtests/slowsin.c: Remove.
33557         * benchtests/slowtan-inputs: Remove.
33558         * benchtests/slowtan.c: Remove.
33559         * benchtests/tan-inputs: Add slow benchmark inputs.
33560         * scripts/bench.pl: Parse comments and directives.
33562         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
33563         in CPPFLAGS.
33564         ($(objpfx)bench-%.c): Remove *-ITER.
33565         * benchtests/bench-modf.c: Remove definition of ITER.
33566         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
33567         (main): Loop for DURATION seconds instead of fixed number of
33568         iterations.
33569         * scripts/bench.pl: Don't expect iterations in parameters.
33571 2013-04-29  Roland McGrath  <roland@hack.frob.com>
33573         * io/fchdir.c (__fchdir): Renamed from fchdir.
33574         (fchdir): Define as weak alias.
33576 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
33578         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
33579         (ERRNO_EDOM): Likewise.
33580         (ERRNO_ERANGE): Likewise.
33581         (noErrnoTests): New variable.
33582         (init_max_error): Set errno to 0.
33583         (test_single_errno): New function.
33584         (test_errno): Likewise.
33585         (check_float_internal): Call test_errno.  Set errno to 0.
33586         (check_complex): Refer to errno tests in comment.
33587         (check_int): Call test_errno.  Set errno to 0.
33588         (check_long): Likewise.
33589         (check_bool): Likewise.
33590         (check_longlong): Likewise.
33591         (cos_test): Use ERRNO_* flags for errno tests instead of
33592         check_int.
33593         (expm1_test): Likewise.
33594         (fmod_test): Likewise.
33595         (ilogb_test): Likewise.
33596         (lgamma_test): Likewise.
33597         (pow_test): Likewise.
33598         (remainder_test): Likewise.
33599         (sin_test): Likewise.
33600         (tan_test): Likewise.
33601         (yn_test): Likewise.
33602         (initialize): Set errno to 0.
33603         (main): Print number of errno tests.
33604         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
33606 2013-04-29  Andreas Jaeger  <aj@suse.de>
33608         [BZ #15084]
33609         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
33610         and RES_USEVC.
33612         [BZ #15085]
33613         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
33614         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
33615         unimplemented.
33617         [BZ #15380]
33618         * stdlib/random.c (__initstate): Return NULL if
33619         __initstate fails.
33621         [BZ #15086]
33622         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
33623         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
33624         RES_SNGLKUPREOP.
33626 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33628         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33630 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
33632         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
33633         of individual tests.
33634         (casin_test): Likewise.
33635         (casinh_test): Likewise.
33637 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
33639         [BZ #15409]
33640         * math/s_catan.c (__catan): Handle arguments with large real or
33641         imaginary part separately without squaring.
33642         * math/s_catanf.c (__catanf): Likewise.
33643         * math/s_catanh.c (__catanh): Likewise.
33644         * math/s_catanhf.c (__catanhf): Likewise.
33645         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33646         and redefine.
33647         (__catanhl): Handle arguments with large real or imaginary part
33648         separately without squaring.
33649         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33650         and redefine.
33651         (__catanl): Handle arguments with large real or imaginary part
33652         separately without squaring.
33653         * math/libm-test.inc (catan_test): Add more tests.
33654         (catanh_test): Likewise.
33655         * sysdeps/i386/fpu/libm-test-ulps: Update.
33656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33658 2013-04-27  Andreas Jaeger  <aj@suse.de>
33660         [BZ #15007]
33661         * stdlib/stdlib.h: Update guards for qecvt.
33662         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
33663         <stdlib.h>.
33665 2013-04-27  Allan McRae  <allan@archlinux.org>
33667         * sysdeps/i386/fpu/libm-test-ulps: Update.
33669 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
33671         [BZ #15406]
33672         * math/s_catan.c: Include <float.h>.
33673         (__catan): Ensure underflow exception occurs for underflowed
33674         result.
33675         * math/s_catanf.c: Include <float.h>.
33676         (__catanf): Ensure underflow exception occurs for underflowed
33677         result.
33678         * math/s_catanh.c: Include <float.h>.
33679         (__catanh): Ensure underflow exception occurs for underflowed
33680         result.
33681         * math/s_catanhf.c: Include <float.h>.
33682         (__catanhf): Ensure underflow exception occurs for underflowed
33683         result.
33684         * math/s_catanhl.c: Include <float.h>.
33685         (__catanhl): Ensure underflow exception occurs for underflowed
33686         result.
33687         * math/s_catanl.c: Include <float.h>.
33688         (__catanl): Ensure underflow exception occurs for underflowed
33689         result.
33690         * math/libm-test.inc (catan_test): Add more tests.
33691         (catanh_test): Likewise.
33693         [BZ #15405]
33694         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
33695         underflowed result.
33696         * math/s_ccoshf.c (__ccoshf): Likewise.
33697         * math/s_ccoshl.c (__ccoshl): Likewise.
33698         * math/s_csin.c (__csin): Likewise.
33699         * math/s_csinf.c (__csinf): Likewise.
33700         * math/s_csinh.c (__csinh): Likewise.
33701         * math/s_csinhf.c (__csinhf): Likewise.
33702         * math/s_csinhl.c (__csinhl): Likewise.
33703         * math/s_csinl.c (__csinl): Likewise.
33704         * math/libm-test.inc (ccos_test): Add more tests.
33705         (ccosh_test): Likewise.
33706         (csin_test): Likewise.
33707         (csinh_test): Likewise.
33709 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33711         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
33712         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
33713         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
33714         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
33715         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
33716         powerpc/power5+/fpu folders.
33717         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
33720 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
33722         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33724 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
33726         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
33727         additions to variable.
33728         [$(config-machine) = x86_64] (modules-names): Likewise.
33729         ($(objpfx)tst-audit3): Remove dependency.
33730         ($(objpfx)tst-audit3.out): Likewise.
33731         ($(objpfx)tst-audit4): Likewise.
33732         ($(objpfx)tst-audit4.out): Likewise.
33733         ($(objpfx)tst-audit5): Likewise.
33734         ($(objpfx)tst-audit5.out): Likewise.
33735         ($(objpfx)tst-audit6): Likewise.
33736         ($(objpfx)tst-audit6.out): Likewise.
33737         ($(objpfx)tst-audit7): Likewise.
33738         ($(objpfx)tst-audit7.out): Likewise.
33739         (tst-audit3-ENV): Remove variable.
33740         (tst-audit4-ENV): Likewise.
33741         (tst-audit5-ENV): Likewise.
33742         (tst-audit6-ENV): Likewise.
33743         (tst-audit7-ENV): Likewise.
33744         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
33745         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
33746         addition to variable.
33747         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
33748         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
33749         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
33750         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
33751         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
33752         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
33753         tst-audit3, tst-audit4 and tst-audit5.
33754         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
33755         tst-audit6 and tst-audit7.
33756         [$(subdir) = elf] (modules-names): Add audit modules for those
33757         tests.
33758         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
33759         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
33760         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
33761         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
33762         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
33763         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
33764         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
33765         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
33766         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
33767         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
33768         [$(subdir) = elf] (tst-audit3-ENV): New variable.
33769         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
33770         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
33771         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
33772         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
33773         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
33774         Likewise.
33775         [$(subdir) = elf && $(config-cflags-avx) = yes]
33776         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
33777         [$(subdir) = elf && $(config-cflags-avx) = yes]
33778         (CFLAGS-tst-auditmod4a.c): Likewise.
33779         [$(subdir) = elf && $(config-cflags-avx) = yes]
33780         (CFLAGS-tst-auditmod4b.c): Likewise.
33781         [$(subdir) = elf && $(config-cflags-avx) = yes]
33782         (CFLAGS-tst-auditmod6b.c): Likewise.
33783         [$(subdir) = elf && $(config-cflags-avx) = yes]
33784         (CFLAGS-tst-auditmod6c.c): Likewise.
33785         [$(subdir) = elf && $(config-cflags-avx) = yes]
33786         (CFLAGS-tst-auditmod7b.c): Likewise.
33787         * elf/tst-audit3.c: Move to ...
33788         * sysdeps/x86_64/tst-audit3.c: ... here.
33789         * elf/tst-audit4.c: Move to ...
33790         * sysdeps/x86_64/tst-audit4.c: ... here.
33791         * elf/tst-audit5.c: Move to ...
33792         * sysdeps/x86_64/tst-audit5.c: ... here.
33793         * elf/tst-audit6.c: Move to ...
33794         * sysdeps/x86_64/tst-audit6.c: ... here.
33795         * elf/tst-audit7.c: Move to ...
33796         * sysdeps/x86_64/tst-audit7.c: ... here.
33797         * elf/tst-auditmod3a.c: Move to ...
33798         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
33799         * elf/tst-auditmod3b.c: Move to ...
33800         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
33801         * elf/tst-auditmod4a.c: Move to ...
33802         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
33803         * elf/tst-auditmod4b.c: Move to ...
33804         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
33805         * elf/tst-auditmod5a.c: Move to ...
33806         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
33807         * elf/tst-auditmod5b.c: Move to ...
33808         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
33809         * elf/tst-auditmod6a.c: Move to ...
33810         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
33811         * elf/tst-auditmod6b.c: Move to ...
33812         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
33813         * elf/tst-auditmod6c.c: Move to ...
33814         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
33815         * elf/tst-auditmod7a.c: Move to ...
33816         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
33817         * elf/tst-auditmod7b.c: Move to ...
33818         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
33820 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
33822         [BZ #15366]
33823         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
33824         define unconditionally.
33825         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
33826         define unconditionally.
33827         (INT8_C, INT16_C, etc.): Likewise.
33829 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
33831         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
33832         __ehdr_start with hidden visibility.
33834         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
33836 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
33838         * math/libm-test.inc (cos_test): Use accurate hex constants.
33839         (sincost_test): Likewise.
33841 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
33843         * math/libm-test.inc (catan_test): Add more tests.
33844         (catanh_test): Likewise.
33846         * math/s_catanf.c (__catanf): Use suffixed floating-point
33847         constants.
33848         * math/s_catanhf.c (__catanhf): Likewise.
33849         * math/s_catanhl.c (__catanhl): Likewise.
33850         * math/s_catanl.c (__catanl): Likewise.
33852         [BZ #15394]
33853         * math/s_catan.c (__catan): Calculate imaginary part of result
33854         with log1p not log unless computing log of number close to 0.
33855         * math/s_catanf.c (__catanf): Likewise.
33856         * math/s_catanl.c (__catanl): Likewise.
33857         * math/s_catanh.c (__catanh): Calculate real part of result with
33858         log1p not log unless computing log of number close to 0.
33859         * math/s_catanhf.c (__catanhf): Likewise.
33860         * math/s_catanhl.c (__catanhl): Likewise.
33861         * math/libm-test.inc (catan_test): Add more tests.
33862         (catanh_test): Likewise.
33863         * sysdeps/i386/fpu/libm-test-ulps: Update.
33864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33866 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33868         * benchtests/Makefile: Mention files in which fast and slow
33869         paths of math functions are implemented.
33871 2013-04-23  Roland McGrath  <roland@hack.frob.com>
33873         * sysdeps/posix/timespec_get.c: New file.
33875 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33877         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
33878         POWER.
33879         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
33880         for POWER.
33881         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
33882         powerpc/power5/fpu folders.
33883         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
33884         * benchtests/Makefile: Add modf testcase.
33885         * benchtests/bench-modf.c: New file: Benchmark test for mo
33887 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
33889         [BZ #14888]
33890         * time/Makefile (tests): Add tst-strptime-whitespace.
33891         * time/strptime_l.c (get_number): Use ISSPACE.
33892         (__strptime_internal): Likewise.
33893         * time/tst-strptime-whitespace.c: New test case.
33895 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
33897         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
33898         member.
33899         (_nss_files_init): Set it here.
33901 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
33903         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
33904         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
33905         unsigned.
33907 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
33909         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
33911 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33913         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
33914         size just once.
33916 2013-04-21  David S. Miller  <davem@davemloft.net>
33918         * po/ru.po: Update Russion translation from translation project.
33920 2013-04-17  Adam Conrad  <adconrad@0c3.net>
33922         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
33923         and setfsgid.
33925 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
33927         * configure.in: Remove i386 configure warning. Remove i386 case.
33928         * configure: Regenerate.
33929         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
33930         Add example to error message.
33931         * sysdeps/i386/configure: Regenerate.
33933 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
33935         * benchtests/Makefile (bench): Add cos, tan, slowcos and
33936         slowtan.
33937         * benchtests/cos-inputs: New file.
33938         * benchtests/slowcos-inputs: New file.
33939         * benchtests/slowcos.c: New file.
33940         * benchtests/slowtan-inputs: New file.
33941         * benchtests/slowtan.c: New file.
33942         * benchtests/tan-inputs: New file.
33944 2013-04-16  Roland McGrath  <roland@hack.frob.com>
33946         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
33947         considered kosher.
33949 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33951         * benchtests/Makefile: Include cppflags-iterator.mk to add
33952         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
33954         * Makefile.in (bench-clean): New target.
33955         * benchtests/Makefile (bench-clean): Likewise.
33957 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
33959         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
33961 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
33963         * stdio-common/tstdiomisc.c: Fix coding-style violation.
33965 2013-04-15  Andreas Schwab  <schwab@suse.de>
33967         * nscd/grpcache.c (cache_addgr): Properly check for short write.
33968         * nscd/initgrcache.c (addinitgroupsX): Likewise.
33969         * nscd/pwdcache.c (cache_addpw): Likewise.
33970         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
33971         more than recsize.
33973 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33975         * benchtests/Makefile (bench): Write all output to
33976         bench-out.tmp together.
33978 2013-04-15  Andreas Schwab  <schwab@suse.de>
33980         * nscd/nscd.c (main): Don't fork again after closing files.
33982 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33984         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
33986         * benchtests/Rules (bench-deps): Collect dependencies into a
33987         single variable.  Add Makefile to dependencies.
33988         ($(objpfx)bench-%.c): Depend on bench-deps.
33990 2013-04-12  Roland McGrath  <roland@hack.frob.com>
33991             Xavier Roche  <roche+kml2@exalead.com>
33993         [BZ #15361]
33994         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
33995         just that it's a file descriptor.
33996         * manual/llio.texi (Synchronizing AIO Operations): Update description
33997         for EBADF error from aio_fsync.
33999 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
34001         * Rules (bench): Move target definition...
34002         * benchtests/Makefile: ... here.
34004 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
34006         * math/libm-test.inc (cos_test): Fix PI/2 test.
34007         (sincos_test): Likewise.
34008         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
34009         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
34011 2013-04-11  Andreas Schwab  <schwab@suse.de>
34013         [BZ #13988]
34014         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
34015         accept exponent character only when digits were seen.
34016         * stdio-common/Makefile (tests): Add bug26.
34017         * stdio-common/bug26.c: New file.
34019         [BZ #14293]
34020         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
34021         non-freeable.
34023 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34025         * Makeconfig (rtld-prefix): Define built linker prefix.
34026         * Rules (run-bench): Use it.
34027         * math/Makefile (run-regen-ulps): Likewise.
34029         * Rules (bench): Remove eval.
34031 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34032             Roland McGrath  <roland@hack.frob.com>
34033             Ondrej Bilka  <neleai@seznam.cz>
34035         [BZ #15346]
34036         * time/getdate.c: Include ctype.h and alloca.h.
34037         (__getdate_r): Trim leading and trailing spaces of input.
34038         * time/tst-getdate.c (tests): Add tests with leading and
34039         trailing spaces.
34041 2013-04-08  Roland McGrath  <roland@hack.frob.com>
34043         [BZ #14280]
34044         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
34045         when computing value.
34047 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34049         * math/README.libm-test (How can I generate "libm-test-ulps"?):
34050         Use testrun.sh to run libm tests.
34052         [BZ #15309]
34053         * elf/dl-open.c (dl_open_worker): memset all of seen array.
34055 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
34057         [BZ #15264]
34058         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
34060 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34062         * Makefile.in (regen-ulps): New target.
34063         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
34064         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
34065         [ifneq (no,$(PERL)] (regen-ulps): New target.
34066         [ifeq (no,$(PERL)] (regen-ulps): New target.
34067         * math/libm-test.inc (ulps_file_name): Define.
34068         (output_dir): New variable.
34069         (options): Add "output-dir" option.
34070         (parse_opt): Handle 'o' case.
34071         (main): If output_dir is non-NULL use it as a prefix
34072         otherwise use "".
34073         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
34075 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34077         [BZ #10060, #10062]
34078         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
34079         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
34080         fail configure if __sync_val_compare_and_swap is not inlined.
34081         * sysdeps/i386/configure: Regenerate.
34082         * configure.in: Build for i686 when configured for i386.
34083         * configure: Regenerate.
34084         * README: Remove i386 reference.
34086 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34088         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
34089         * sysdeps/s390/s390-64/sysdep.h: Likewise.
34091 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
34093         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
34094         (lmsnanval): New variables.
34095         (F): Add conversion tests.
34096         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
34097         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
34099         * stdio-common/tstdiomisc.c (F): Properly collect individual
34100         tests' results.
34102         [BZ #14686, #15336]
34103         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
34104         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
34105         Instead, use input NaN values or generate a qNaN by arithmetic
34106         operation.  Also fix bugs to comply with the standard.
34107         * math/libm-test.inc (remainder_test): Add more tests.
34109         [BZ #15335, #15342]
34110         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
34111         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
34112         input NaN values or generate a qNaN by arithmetic operation.
34114         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
34115         unreachable code.
34117         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
34118         definitions.
34120 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
34122         [BZ #14478]
34123         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
34124         underflowed result.
34125         * math/s_cexpf.c (__cexpf): Likewise.
34126         * math/s_cexpl.c (__cexpl): Likewise.
34127         * math/libm-test.inc (cexp_test): Add more tests.
34129 2013-04-03  Andreas Schwab  <schwab@suse.de>
34131         [BZ #15330]
34132         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
34133         order arrays from heap if bigger than alloca cutoff.
34135 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
34137         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
34138         (SNAN_TESTS_double): Refer to GCC PR56831.
34139         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
34140         GCC PR56828.
34142 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
34144         * Rules (bench): Move bench.out after the run is complete.
34146         * Rules (bench): Echo currently running benchmark.
34148         * benchtests/Makefile (bench): Add atan and slowatan.
34149         * benchtests/atan-inputs: New file.
34150         * benchtests/slowatan-inputs: New file.
34151         * benchtests/slowatan.c: New file.
34153         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
34154         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
34155         its value.
34157         [BZ #15305]
34158         * sysdeps/unix/sysv/linux/kernel-features.h
34159         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
34160         __ASSUME_XFS_RESTRICTED_CHOWN.
34161         * sysdeps/unix/sysv/linux/pathconf.c
34162         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
34163         Save and restore errno.
34165 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
34167         [BZ #15327]
34168         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
34169         arguments using __kernel_casinh.
34170         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
34171         arguments using __kernel_casinhf.
34172         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
34173         arguments using __kernel_casinhl.
34174         * math/libm-test.inc (cacosh_test): Add more tests.
34175         * sysdeps/i386/fpu/libm-test-ulps: Update.
34176         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34178 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34180         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
34181         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
34183         * bench/Makefile (bench): Add sin and slowsin.
34184         * benchtests/sin-inputs: New file.
34185         * benchtests/slowsin-inputs: New file.
34186         * benchtests/slowsin.c: New file.
34188         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
34189         (bench): Add slowexp and slowpow.
34190         (exp-ITER): Increase iterations.
34191         (pow-ITER): Likewise.
34192         * benchtests/exp-inputs: Change input.
34193         * benchtests/pow-inputs: Likewise.
34194         * benchtests/slowexp-inputs: New file.
34195         * benchtests/slowexp.c: New file.
34196         * benchtests/slowpow-inputs: New file.
34197         * benchtests/slowpow.c: New file.
34199 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34201         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
34202         instructions.
34203         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
34204         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
34205         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
34206         * benchtests/Makefile: Add rint benchtest.
34207         * benchtests/rint-inputs: Input for rint benchtest.
34209 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
34211         * Versions.def (libm): Add GLIBC_2.18.
34212         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
34213         hidden libm prototypes.
34214         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
34215         * math/Makefile (libm-calls): Add s_issignaling.
34216         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
34217         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
34218         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
34219         declaration.
34220         * math/math.h [__USE_GNU] (issignaling): New macro.
34221         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
34222         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
34223         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
34224         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
34225         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
34226         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
34227         * manual/arith.texi (issignaling): New section.
34228         * manual/libm-err-tab.pl (@all_functions): Update comment.
34229         * math/gen-libm-test.pl (parse_args): Apply special handling for
34230         issignaling.
34231         * math/libm-test.inc (print_float, issignaling_test): New
34232         functions.
34233         (check_float_internal): Add issignaling checks.
34234         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
34235         default definition.
34236         * sysdeps/powerpc/math-tests.h: New file.
34237         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
34238         tests.
34239         * math/test-snan.c (TEST_FUNC): Likewise.
34241 2013-03-30  David S. Miller  <davem@davemloft.net>
34243         * po/de.po: Update from translation team.
34245 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
34247         [BZ #10357]
34248         * math/k_casinh.c (__kernel_casinh): Handle arguments with
34249         imaginary part less than 1.0 and real part less than 0.5
34250         specially.
34251         * math/k_casinhf.c (__kernel_casinhf): Likewise.
34252         * math/k_casinhl.c (__kernel_casinhl): Likewise.
34253         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
34254         (cacos_test): Add more tests.
34255         (casin_test): Likewise.
34256         (casinh_test): Likewise.
34257         * sysdeps/i386/fpu/libm-test-ulps: Update.
34258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34260 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34262         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
34263         ONE with its value.
34265         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
34266         (__pow_mp): Replace ONE and MONE with their values.
34267         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34268         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
34269         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34270         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
34271         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34272         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34274         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
34276         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
34277         (__pow_mp): Replace ZERO and MZERO with their values.
34278         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
34279         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34280         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34281         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34282         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34283         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
34284         (__sqr): Likewise.
34286         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
34288         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
34290 2013-03-28  Roland McGrath  <roland@hack.frob.com>
34292         * include/stdlib.h [!SHARED] (__call_tls_dtors):
34293         Declare with __attribute__ ((weak)).
34294         * stdlib/exit.c (__libc_atexit) [!SHARED]:
34295         Call __call_tls_dtors only if it's not NULL.
34297 2013-03-28  Roland McGrath  <roland@hack.frob.com>
34299         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
34300         didn't do it already, then set _dl_phdr and _dl_phnum based on the
34301         magic __ehdr_start linker symbol if it's defined.
34302         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
34303         them up here if it was already done.
34305         * elf/dl-support.c (_dl_phdr): Make pointer to const.
34306         (_dl_aux_init): Use const in cast when setting it.
34307         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
34308         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
34309         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
34311         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
34312         Declare them here.
34313         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
34314         * csu/libc-tls.c: Nor here.
34315         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
34317         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
34318         (__libc_message): Never call vsyslog.
34320 2013-03-28  Alan Modra  <amodra@gmail.com>
34322         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
34323         Define as empty.
34324         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
34325         Likewise.
34327 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34329         [BZ #15214]
34330         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
34331         underflow.
34332         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34334 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34336         [BZ #15304]
34337         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
34338         Don't add gid passed as argument.
34340         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
34342 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
34344         [BZ #15307]
34345         * math/k_casinh.c (__kernel_casinh): Handle arguments with
34346         imaginary part between 1.0 and 1.5 and real part less than 0.5
34347         specially.
34348         * math/k_casinhf.c (__kernel_casinhf): Likewise.
34349         * math/k_casinhl.c (__kernel_casinhl): Likewise.
34350         * math/libm-test.inc (cacos_test): Add more tests.
34351         (casin_test): Likewise.
34352         (casinh_test): Likewise.
34353         * sysdeps/i386/fpu/libm-test-ulps: Update.
34354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34356 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34358         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
34359         constants.
34360         (norm): Likewise.
34361         (denorm): Likewise.
34362         (__dbl_mp): Likewise.
34363         (add_magnitudes): Likewise.
34364         (sub_magnitudes): Likewise.
34365         (__add): Likewise.
34366         (__sub): Likewise.
34367         (__mul): Likewise.
34368         (__sqr): Likewise.
34369         (__inv): Likewise.
34370         (__dvd): Likewise.
34372         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
34373         commented code.
34374         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
34375         (__dubcos): Likewise.
34376         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
34377         (__ieee754_acos): Likewise.
34378         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
34379         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
34380         (__exp1): Likewise.
34381         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34382         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34383         (log1): Likewise.
34384         (my_log2): Likewise.
34385         (checkint): Likewise.
34386         * sysdeps/ieee754/dbl-64/e_remainder.c
34387         (__ieee754_remainder): Likewise.
34388         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34389         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
34390         (bsloww): Likewise.
34391         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34393         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
34394         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
34395         MANTISSA_STORE_T to store computations on mantissa.  Use
34396         macros for rounding and division.
34397         (denorm): Likewise.
34398         (__dbl_mp): Likewise.
34399         (add_magnitudes): Likewise.
34400         (sub_magnitudes): Likewise.
34401         (__mul): Likewise.
34402         (__sqr): Likewise.
34403         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
34404         powers of two in terms of TWOPOW macro.
34405         (mp_no): Make type of mantissa as MANTISSA_T.
34406         [!RADIXI]: Define RADIXI.
34407         [!TWO52]: Define TWO52.
34408         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
34410 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34412         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
34413         llroundl symbol when building for PPC32.
34415 2013-03-24  Mark H Weaver  <mhw@netris.org>
34417         * manual/arith.texi (Normalization Functions): Fix prototypes for
34418         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
34420 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34422         [BZ #13889]
34423         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
34424         high value to check if expl overflow.
34425         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
34426         to check for underflow and overflow.
34427         * math/libm-test.inc: Add exp test.
34429 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
34431         [BZ #11120]
34432         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
34433         with NOT_IN_libc.
34435 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34437         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
34438         symbol.
34440 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
34442         * math/gen-libm-test.pl (parse_args, special_functions): Properly
34443         wrap blocks consisting of several statements.
34445         * sysdeps/generic/math-tests.h: New file.
34446         * sysdeps/i386/fpu/math-tests.h: Likewise.
34447         * math/test-snan.c: Include it.
34448         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
34450 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
34452         [BZ #15285]
34453         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
34454         (__ieee754_j0l): Do not improve calculations using cos of twice
34455         input for inputs above LDBL_MAX / 2.0L.
34456         (__ieee754_y0l): Likewise.
34457         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
34458         (__ieee754_j1l): Do not improve calculations using cos of twice
34459         input for inputs above LDBL_MAX / 2.0L.
34460         (__ieee754_y1l): Likewise.
34461         * math/libm-test.inc (j0_test): Add another test.
34462         (j1_test): Likewise.
34463         (y0_test): Likewise.
34464         (y1_test): Likewise.
34465         * sysdeps/i386/fpu/libm-test-ulps: Update.
34467 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34469         * Rules ($(objpfx)bench-%.c): Include code from a C source
34470         file.
34472 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
34474         [BZ #15287]
34475         * math/k_casinh.c (__kernel_casinh): Handle arguments with
34476         imaginary part 1.0 and real part less than 0.5 specially.
34477         * math/k_casinhf.c (__kernel_casinhf): Likewise.
34478         * math/k_casinhl.c (__kernel_casinhl): Likewise.
34479         * math/libm-test.inc (cacos_test): Add more tests.
34480         (casin_test): Likewise.
34481         (casinh_test): Likewise.
34482         * sysdeps/i386/fpu/libm-test-ulps: Update.
34483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34485 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34487         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
34488         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
34490 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
34492         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
34493         * config.make.in (config-cflags-sse4): Remove variable.
34494         (config-cflags-avx): Likewise.
34495         (config-cflags-sse2avx): Likewise.
34496         (config-cflags-novzeroupper): Likewise.
34497         (config-asflags-i686): Likewise.
34498         (have-mfma4): Likewise.
34499         (have-as-vis3): Likewise.
34500         (MIG): Likewise.
34501         * configure.in (MIG): Do not AC_SUBST.
34502         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
34503         (libc_cv_cc_sse4): Do not AC_SUBST.
34504         (libc_cv_cc_avx): Likewise.
34505         (libc_cv_cc_sse2avx): Likewise.
34506         (libc_cv_cc_novzeroupper): Likewise.
34507         (libc_cv_cc_fma4): Likewise.
34508         (libc_cv_as_i686): Likewise.
34509         (libc_cv_sparc_as_vis3): Likewise.
34510         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
34511         LIBC_CONFIG_VAR.
34512         (config-asflags-i686): Likewise.
34513         (config-cflags-avx): Likewise.
34514         (config-cflags-sse2avx): Likewise.
34515         (have-mfma4): Likewise.
34516         (config-cflags-novzeroupper): Likewise.
34517         * sysdeps/mach/configure.in (MIG): Likewise.
34518         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
34519         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
34520         LIBC_CONFIG_VAR.
34521         (config-cflags-avx): Likewise.
34522         (config-cflags-sse2avx): Likewise.
34523         (have-mfma4): Likewise.
34524         (config-cflags-novzeroupper): Likewise.
34525         * configure: Regenerated.
34526         * sysdeps/i386/configure: Likewise.
34527         * sysdeps/mach/configure: Likewise.
34528         * sysdeps/sparc/configure: Likewise.
34529         * sysdeps/x86_64/configure: Likewise.
34531 2013-03-20  Roland McGrath  <roland@hack.frob.com>
34533         [BZ #14812]
34534         * locale/programs/localedef.c (options): Put N_ translation marker
34535         on argument names, not just descriptions.
34537 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34539         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
34541 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
34543         [BZ #14176]
34544         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
34546 2013-03-19  Roland McGrath  <roland@hack.frob.com>
34548         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
34549         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
34550         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
34551         [!BEFORE_ABORT] (before_abort): New function.
34552         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
34553         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
34554         (writev_for_fatal): New function.
34555         (WRITEV_FOR_FATAL): New macro; call that.
34556         (backtrace_and_maps): New function.
34557         (BEFORE_ABORT): New macro; call that.
34558         (struct str_list): Type removed.
34559         (__libc_message, __libc_fatal): Functions removed.
34560         Include <sysdeps/posix/libc_fatal.c> instead.
34562 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
34564         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
34565         constants.
34566         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
34567         double constants.
34569 2013-03-19  Andreas Schwab  <schwab@suse.de>
34571         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
34572         * sysdeps/gnu/configure: Regenerate.
34574         * configure.in: Substitute libc_cv_rtlddir.
34575         * configure: Regenerate.
34576         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
34577         * Makeconfig (rtlddir, inst_rtlddir): New variables.
34578         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
34579         * elf/Makefile (install-others, CFLAGS-interp.c)
34580         (ldso_install, common-ldd-rewrite): Likewise.
34581         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
34582         $(inst_slibdir)/$(rtld-installed-name).
34583         * scripts/rellns-sh: Add -p option.
34584         * Makerules (make-shlib-link): Use rellns-sh to get relative name
34585         for source.
34587 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34589         * manual/nptl.texi: Renamed to ...
34590         * manual/threads.texi: ... this.
34591         * manual/Makefile (chapters): Update.
34593 2013-03-18  Roland McGrath  <roland@hack.frob.com>
34595         [BZ #14812]
34596         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
34597         on argument names, not just descriptions.
34598         * malloc/memusagestat.c (options): Likewise.
34599         * nss/getent.c (options): Likewise.
34601 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
34603         [BZ #14812]
34604         * iconv/iconv_prog.c (options): Put N_ translation marker
34605         on argument names, not just descriptions.
34606         * iconv/iconvconfig.c (options): Likewise.
34608 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
34610         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
34611         implementation which is faster on all x86_64 architectures.
34612         Tested on AMD, Intel Nehalem, SNB, IVB.
34613         * sysdeps/x86_64/strnlen.S: Likewise.
34615         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
34616         Remove all multiarch strlen and strnlen versions.
34617         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
34618         Remove strlen and strnlen related parts.
34620         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
34621         Inline strlen part.
34622         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
34624         * sysdeps/x86_64/multiarch/strlen.S: Remove.
34625         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
34626         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
34627         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
34628         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
34629         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
34631 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
34633         * manual/memory.texi (Malloc Tunable Parameters):
34634         Sort parameters alphabetically. Add comments for missing entries.
34636 2013-03-17  David S. Miller  <davem@davemloft.net>
34638         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34640 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
34642         [BZ #15283]
34643         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
34644         for arguments at most half maximum finite value.
34645         * math/libm-test.inc (j0_test): Add more tests.
34646         (j1_test): Likewise.
34647         (y0_test): Likewise.
34648         (y1_test): Likewise.
34649         * sysdeps/i386/fpu/libm-test-ulps: Update.
34650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34652         [BZ #14155]
34653         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
34654         1 / x and functions P and Q for arguments above 0x1p256L.
34655         (__ieee754_y0l): Likewise.
34656         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
34657         (__ieee754_y1l): Likewise.
34658         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
34659         (j1_test): Likewise.
34660         (y0_test): Likewise.
34661         (y1_test): Likewise.
34663 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
34665         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
34666         variable.
34668 2013-03-15  Roland McGrath  <roland@hack.frob.com>
34670         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
34671         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
34672         zero since it's initialized to EXEC_PAGESIZE.
34674         * sysdeps/unix/sysv/linux/ldsodefs.h
34675         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
34676         * sysdeps/generic/ldsodefs.h: ... here.
34678 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
34680         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
34682         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
34683         math/test-snan.c.
34684         * math/test-snan.c: Renamed from
34685         sysdeps/powerpc/fpu/test-powerpc-snan.c.
34686         * math/Makefile (tests): Add test-snan.
34687         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
34688         test-powerpc-snan.
34690         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
34691         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
34692         functions.
34693         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
34694         __builtin_nan family of functions.
34695         * math/libm-test.inc (initialize): Initialize qnan_value with
34696         __builtin_nan family of functions.
34697         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
34698         Remove variables.
34699         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
34700         Remove functions.
34701         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
34702         storage class.  Initialize qNaN_var and sNaN_var with
34703         __builtin_nan and __builtin_nans families of functions,
34704         respectively.
34706         * math/libm-test.inc (acosh_test): Also test with qNaN input.
34707         (sqrt_test): Remove duplicate test with qNaN input.
34708         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
34709         (round_test, signbit_test, significand_test): Note missing +/-Inf
34710         as well as qNaN tests.
34712         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
34713         qNaN_var.  Fix a few strings, too.
34714         * math/libm-test.inc (nan_value): Rename to qnan_value.
34715         * math/gen-libm-test.pl (%beautify): Adjust to that.
34716         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
34717         * math/test-misc.c (main): Likewise.
34718         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
34719         to __qnan_bytes, and __qnan_union, respectively.
34720         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
34721         Likewise.
34722         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
34723         and lqnanval, respectively.
34724         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
34725         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
34726         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
34727         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
34729         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
34730         * math/test-misc.c (main) [__x86_64__]: Enable test for long
34731         doubles.
34733         * math/test-misc.c (main): Fix copy'n'pastos.
34734         * misc/tst-efgcvt.c (special): Likewise.
34736         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
34737         Remove declarations.
34739 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34741         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
34742         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
34743         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
34744         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
34746 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34748         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
34749         macro to return vdso values correctly in IFUNC implementations.
34750         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
34751         Optimization by using IFUNC.
34753 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34754             Richard Henderson  <rth@redhat.com>
34755             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34757         * Makefile.in (bench): New target.
34758         * NEWS: Mention the benchmark framework.
34759         * Rules (bench): Likewise.
34760         (binaries-bench): Generate binaries for functions to
34761         benchmark.
34762         * benchtests/Makefile: New makefile for benchmark tests.
34763         * benchtests/bench-skeleton.c: New skeleton file for benchmark
34764         programs.
34765         * benchtests/exp-inputs: New input file for EXP function.
34766         * benchtests/pow-inputs: New input file for POW function.
34767         * scripts/bench.pl: New script to generate source files for
34768         benchmark programs.
34770 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34772         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
34773         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
34774         computations on mantissa.  Use macros for rounding and
34775         division.
34776         (denorm): Likewise.
34777         (__dbl_mp): Likewise.
34778         (add_magnitudes): Likewise.
34779         (sub_magnitudes): Likewise.
34780         (__mul): Likewise.
34781         (__sqr): Likewise.
34782         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
34783         powers of two in terms of TWOPOW macro.
34784         (mp_no): Make type of mantissa as MANTISSA_T.
34785         [!RADIXI]: Define RADIXI.
34786         [!TWO52]: Define TWO52.
34787         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
34789         * manual/nptl.texi (cindex): Modify threads to pthreads.
34791 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
34793         * sysdeps/x86_64/preconfigure: Regenerated.
34795 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
34797         [BZ #14155]
34798         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
34799         0x1p28 and above.
34800         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
34801         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
34802         0x1p28 and above.
34803         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
34804         * math/libm-test.inc (j0_test): Do not allow one spurious
34805         underflow exception.
34806         (y1_test): Likewise.
34808 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
34810         * manual/Makefile (chapters): Add nptl.
34811         * manual/debug.texi (Debugging Support): Add link to Threads
34812         chapter.
34813         * manual/nptl.texi: New file.
34815         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
34817 2013-03-14  Petr Baudis  <pasky@ucw.cz>
34819         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
34820         for non-NULL pointer before the memory validity test. Pointed
34821         out by Holger Brunck <holger.brunck@keymile.com>.
34823 2013-03-13  Andreas Schwab  <schwab@suse.de>
34825         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
34826         instead of .os.
34828 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
34830         * timezone/zic.c: Update from tzcode 2013b.
34832 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
34834         * manual/install.texi (Configuring and compiling):
34835         Mention i686 and i586.
34836         * INSTALL: Regenerate.
34838 2013-03-12  Roland McGrath  <roland@hack.frob.com>
34840         * sysdeps/init_array/elf-init.c: New file.
34841         * csu/elf-init.c
34842         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
34843         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
34845         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
34846         __gmon_start__ as global, but as static with a .preinit_array pointer.
34847         * sysdeps/init_array/gmon-start.c: New file.  Use that.
34848         * sysdeps/init_array/crti.S: New file, empty except for comments.
34849         * sysdeps/init_array/crtn.S: Likewise.
34851 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
34853         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
34854         definining bcopy.
34855         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34856         Remove Prefer_SSE_for_memop.
34857         * sysdeps/x86_64/multiarch/init-arch.h: Remove
34858         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
34859         HAS_PREFER_SSE_FOR_MEMOP.
34860         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
34861         memset-x86-64.
34862         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34863         Remove bzero, memset ifunc support.
34864         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
34865         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
34866         * sysdeps/x86_64/multiarch/memset.S: Likewise.
34867         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34869 2013-03-11  Andreas Schwab  <schwab@suse.de>
34871         [BZ #15234]
34872         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
34873         by SHLIB_COMPAT.
34874         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
34875         (GLIBC_2.16): Remove pthread_atfork.
34877 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
34879         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
34880         (ptestcases.h): Likewise.
34882 2013-03-08  Roland McGrath  <roland@hack.frob.com>
34884         * Makeconfig ($(common-objpfx)config.status): Depend on
34885         sysdeps/*/preconfigure{,.in} too.
34887 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
34889         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
34890         (__free_hook): Use void * instead of __malloc_ptr_t.
34891         (__malloc_hook): Likewise.
34892         (__realloc_hook): Likewise.
34893         (__memalign_hook): Likewise.
34894         (__after_morecore_hook): Likewise.
34895         * malloc/arena.c (save_malloc_hook): Likewise.
34896         (save_free_hook): Likewise.
34897         * malloc/hooks.c (malloc_hook_ini): Likewise.
34898         (realloc_hook_ini): Likewise.
34899         (memalign_hook_ini): Likewise.
34900         * malloc/malloc.c (malloc_hook_ini): Likewise.
34901         (realloc_hook_ini): Likewise.
34902         (memalign_hook_ini): Likewise.
34903         (__free_hook): Likewise.
34904         (__malloc_hook): Likewise.
34905         (__realloc_hook): Likewise.
34906         (__memalign_hook): Likewise.
34907         (__libc_malloc): Likewise.
34908         (__libc_free): Likewise.
34909         (__libc_realloc): Likewise.
34910         (__libc_memalign): Likewise.
34911         (__libc_valloc): Likewise.
34912         (__libc_pvalloc): Likewise.
34913         (__libc_calloc): Likewise.
34914         (__posix_memalign): Likewise.
34915         * malloc/morecore.c (__sbrk): Likewise.
34916         (__default_morecore): Likewise.
34918         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
34920         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
34921         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
34922         __malloc_ptrdiff_t.
34924         * malloc/malloc.h (__malloc_size_t): Remove macro.
34925         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
34926         __malloc_size_t.
34927         (old_memalign_hook): Likewise.
34928         (old_realloc_hook): Likewise.
34929         (struct hdr): Likewise.
34930         (flood): Likewise.
34931         (mallochook): Likewise.
34932         (memalignhook): Likewise.
34933         (reallochook): Likewise.
34934         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
34935         (tr_old_realloc_hook): Likewise.
34936         (tr_old_memalign_hook): Likewise.
34937         (tr_mallochook): Likewise.
34938         (tr_reallochook): Likewise.
34939         (tr_memalignhook): Likewise.
34941 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34943         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
34944         default_ldbl_pack and using as default implementation.
34945         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
34946         implementation.
34947         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
34948         redundant definition.
34949         (ldbl_insert_mantissa): Likewise.
34950         (ldbl_canonicalize): Likewise.
34951         (ldbl_nearbyint): Likewise.
34952         (ldbl_pack): Rename to ldbl_pack_ppc.
34953         (ldbl_unpack): Rename to ldbl_unpack_ppc.
34954         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
34955         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
34957 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
34959         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
34960         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
34961         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
34962         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
34963         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
34964         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
34965         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
34966         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
34968 2013-03-07  Andreas Jaeger  <aj@suse.de>
34970         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34971         bits/mman-linux.h.
34973 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
34975         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
34976         Include mpa.h and declare __MPEXP.
34977         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
34978         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
34979         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
34980         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
34981         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
34982         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
34983         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
34985         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
34986         (__slowpow): Use long double EXPL and LOGL functions to
34987         compute POW.
34988         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
34989         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
34990         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
34991         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
34992         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
34993         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
34995         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
34996         intermediate variable to calculate exponent.
34997         (__sqr): Likewise.
34998         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
34999         Likewise.
35000         (__sqr): Likewise.
35002         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
35003         [!NO__SQR]: Define __sqr.
35004         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
35005         and NO__SQR.  Remove all code except __mul and __sqr.  Include
35006         sysdeps/ieee754/dbl-64/mpa.c.
35007         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35009         [BZ #12723]
35010         * posix/Makefile (tests): Add tst-pathconf.
35011         * posix/tst-pathconf.c: New test case.
35012         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
35013         _PC_PIPE_BUF.
35014         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
35016 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
35018         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
35020 2013-03-06  Andreas Jaeger  <aj@suse.de>
35022         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
35023         definition via __MAP_ANONYMOUS.
35025         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
35026         it's not part of Linux headers.
35028         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
35029         (MAP_HUGE_MASK): Define.
35031         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35032         Define.
35033         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35034         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35035         Define.
35036         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35037         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35038         Define.
35039         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35040         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
35041         Define.
35042         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35044         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
35045         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
35046         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
35047         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
35048         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
35049         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
35051         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
35052         Handle f2fs.
35054         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35055         Handle f2fs and efivarfs.
35057         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
35058         f2fs.
35060         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
35061         (EFIVARFS_MAGIC): Add.
35062         (F2FS_LINK_MAX): Add.
35064 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
35066         * stdio-common/vfprintf.c: Replace __builtin_expect with
35067         __glibc_unlikely.
35069 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
35071         [BZ #13550]
35072         * sysdeps/generic/bp-sym.h: Remove file.
35073         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
35074         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
35075         <bp-sym.h> and <bp-asm.h>.
35076         (__longjmp): Don't use BP_SYM.
35077         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
35078         and <bp-asm.h>.
35079         (memcpy): Don't use BP_SYM.
35080         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
35081         <bp-sym.h> and <bp-asm.h>.
35082         (memcpy): Don't use BP_SYM.
35083         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
35084         <bp-asm.h>.
35085         (memcpy): Don't use BP_SYM.
35086         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
35087         <bp-asm.h>.
35088         (memset): Don't use BP_SYM.
35089         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35090         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35091         (__bzero): Don't use BP_SYM.
35092         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35093         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35094         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
35095         <bp-sym.h> and <bp-asm.h>.
35096         (memcmp): Don't use BP_SYM.  Remove comment about bounded
35097         pointers.
35098         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
35099         <bp-sym.h> and <bp-asm.h>.
35100         (memcpy): Don't use BP_SYM.
35101         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
35102         <bp-sym.h> and <bp-asm.h>.
35103         (memset): Don't use BP_SYM.
35104         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35105         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35106         (__bzero): Don't use BP_SYM.
35107         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35108         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35109         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
35110         <bp-sym.h> and <bp-asm.h>.
35111         (strncmp): Don't use BP_SYM.  Remove comment about bounded
35112         pointers.
35113         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
35114         <bp-sym.h> and <bp-asm.h>.
35115         (memcpy): Don't use BP_SYM.
35116         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
35117         <bp-sym.h> and <bp-asm.h>.
35118         (memset): Don't use BP_SYM.
35119         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35120         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35121         (__bzero): Don't use BP_SYM.
35122         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35123         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35124         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
35125         <bp-sym.h> and <bp-asm.h>.
35126         (__memchr): Don't use BP_SYM.
35127         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
35128         <bp-sym.h> and <bp-asm.h>.
35129         (memcmp): Don't use BP_SYM.  Remove comment about bounded
35130         pointers.
35131         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
35132         <bp-sym.h> and <bp-asm.h>.
35133         (memcpy): Don't use BP_SYM.
35134         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
35135         <bp-sym.h> and <bp-asm.h>.
35136         (__mempcpy): Don't use BP_SYM.
35137         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
35138         <bp-sym.h> and <bp-asm.h>.
35139         (__memrchr): Don't use BP_SYM.
35140         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
35141         <bp-sym.h> and <bp-asm.h>.
35142         (memset): Don't use BP_SYM.
35143         (__bzero): Likewise.
35144         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
35145         <bp-sym.h> and <bp-asm.h>.
35146         (__rawmemchr): Don't use BP_SYM.
35147         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
35148         <bp-sym.h> and <bp-asm.h>.
35149         (__STRCMP): Don't use BP_SYM.
35150         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
35151         <bp-sym.h> and <bp-asm.h>.
35152         (strchr): Don't use BP_SYM.
35153         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
35154         <bp-sym.h> and <bp-asm.h>.
35155         (__strchrnul): Don't use BP_SYM.
35156         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
35157         <bp-sym.h> and <bp-asm.h>.
35158         (strlen): Don't use BP_SYM.
35159         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
35160         <bp-sym.h> and <bp-asm.h>.
35161         (strncmp): Don't use BP_SYM.  Remove comment about bounded
35162         pointers.
35163         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
35164         <bp-sym.h> and <bp-asm.h>.
35165         (__strnlen): Don't use BP_SYM.
35166         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
35167         <bp-sym.h> and <bp-asm.h>.
35168         (__GI__setjmp): Don't use BP_SYM.
35169         (_setjmp): Likewise.
35170         (__sigsetjmp): Likewise.
35171         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
35172         (L(start_addresses)): Don't use BP_SYM.
35173         (_start): Likewise.
35174         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
35175         <bp-asm.h>.
35176         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
35177         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
35178         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35179         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35180         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
35181         <bp-asm.h>.
35182         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
35183         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
35184         about bounded pointers.
35185         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35186         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35187         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
35188         <bp-asm.h>.
35189         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
35190         about bounded pointers.  Remove GKM FIXME comments.
35191         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35192         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
35193         <bp-asm.h>.
35194         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
35195         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
35196         Remove GKM FIXME comments.
35197         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35198         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35199         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
35200         <bp-asm.h>.
35201         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
35202         about bounded pointers.  Remove GKM FIXME comment.
35203         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
35204         and <bp-asm.h>.
35205         (strncmp): Don't use BP_SYM.  Remove comment about bounded
35206         pointers.
35207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
35208         <bp-sym.h> and <bp-asm.h>.
35209         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
35210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
35211         <bp-sym.h> and <bp-asm.h>.
35212         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
35213         comment.
35215 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
35217         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
35218         call free(NULL).
35220 2013-03-05  David S. Miller  <davem@davemloft.net>
35222         * po/es.po: Update from translation team.
35224 2013-03-05  Andreas Jaeger  <aj@suse.de>
35226         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
35227         <bits/mman-linux.h>.
35228         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35229         is fine.
35230         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
35231         <bits/mman-linux.h> to end of file.
35232         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35233         is fine.
35234         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
35235         <bits/mman-linux.h> to end of file.
35236         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35237         is fine.
35238         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
35239         <bits/mman-linux.h> to end of file.
35241         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
35242         (MCL_CURRENT, MCL_FUTURE): Define here.
35244 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35246         [BZ #15232]
35247         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
35248         attribute_hidden.
35249         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35251 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35253         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
35254         fourth parameter needed for rt_sigprocmask syscall.
35255         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
35256         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
35257         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
35258         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
35259         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
35260         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
35262 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
35264         [BZ #13550]
35265         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
35266         comment about bounded pointers.
35267         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
35268         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
35270 2013-03-04  Andreas Jaeger  <aj@suse.de>
35272         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
35273         common definitions.
35275         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
35276         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
35277         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
35278         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35279         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
35280         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35282 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35284         [BZ #15055]
35285         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
35286         __ieee754_sqrl instead of __sqrl.
35288 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
35290         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
35291         * sysdeps/powerpc/fpu_control.h: ... here.
35292         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
35293         * sysdeps/powerpc/bits/fenvinline.h: ... here.
35294         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
35295         * sysdeps/powerpc/bits/mathinline.h: ... here.
35297 2013-03-01  Roland McGrath  <roland@hack.frob.com>
35299         * elf/dl-hwcaps.c (_dl_important_hwcaps):
35300         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
35301         to just [NEED_DL_SYSINFO_DSO].
35302         * elf/dl-support.c: Likewise.
35303         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
35304         * elf/rtld.c (dl_main): Likewise.
35305         * elf/setup-vdso.h (setup_vdso): Likewise.
35306         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
35307         * sysdeps/unix/sysv/linux/dl-sysdep.c
35308         (_dl_discover_osversion): Likewise.
35310 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
35312         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
35313         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
35315 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
35317         * NEWS: Mention libm performance improvements and non-x86 PI
35318         futex support.
35320         * csu/libc-start.c (__pthread_initialize_minimal): Change
35321         function arguments.
35322         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
35324 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
35326         [BZ #13550]
35327         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
35328         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
35329         <bp-sym.h> and <bp-asm.h>.
35330         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35331         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
35332         and <bp-asm.h>.
35333         (memcpy): Don't use BP_SYM.
35334         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
35335         <bp-asm.h>.
35336         (__mpn_add_n): Don't use BP_SYM.
35337         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
35338         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
35339         and <bp-asm.h>.
35340         (__mpn_addmul_1): Don't use BP_SYM.
35341         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35342         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
35343         <bp-sym.h>.
35344         (_setjmp): Don't use BP_SYM.
35345         (__novmx_setjmp): Likewise.
35346         (__GI__setjmp): Likewise.
35347         (__vmx_setjmp): Likewise.
35348         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
35349         <bp-sym.h>.
35350         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
35351         (__bzero): Don't use BP_SYM.
35352         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35353         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35354         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
35355         <bp-sym.h> and <bp-asm.h>.
35356         (memcpy): Don't use BP_SYM.
35357         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
35358         <bp-sym.h> and <bp-asm.h>.
35359         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35360         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
35361         <bp-sym.h> and <bp-asm.h>.
35362         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35363         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
35364         <bp-asm.h>.
35365         (__mpn_lshift): Don't use BP_SYM.
35366         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35367         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
35368         <bp-asm.h>.
35369         (memset): Don't use BP_SYM.
35370         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35371         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35372         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
35373         <bp-asm.h>.
35374         (__mpn_mul_1): Don't use BP_SYM.
35375         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35376         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
35377         <bp-sym.h> and <bp-asm.h>.
35378         (memcmp): Don't use BP_SYM.
35379         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
35380         <bp-sym.h> and <bp-asm.h>.
35381         (memcpy): Don't use BP_SYM.
35382         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
35383         <bp-sym.h> and <bp-asm.h>.
35384         (memset): Don't use BP_SYM.
35385         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
35386         <bp-sym.h> and <bp-asm.h>.
35387         (strncmp): Don't use BP_SYM.
35388         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
35389         <bp-sym.h> and <bp-asm.h>.
35390         (memcpy): Don't use BP_SYM.
35391         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
35392         <bp-sym.h> and <bp-asm.h>.
35393         (memset): Don't use BP_SYM.
35394         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
35395         <bp-sym.h> and <bp-asm.h>.
35396         (__memchr): Don't use BP_SYM.
35397         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
35398         <bp-sym.h> and <bp-asm.h>.
35399         (memcmp): Don't use BP_SYM.
35400         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
35401         <bp-sym.h> and <bp-asm.h>.
35402         (memcpy): Don't use BP_SYM.
35403         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
35404         <bp-sym.h> and <bp-asm.h>.
35405         (__mempcpy): Don't use BP_SYM.
35406         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
35407         <bp-sym.h> and <bp-asm.h>.
35408         (__memrchr): Don't use BP_SYM.
35409         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
35410         <bp-sym.h> and <bp-asm.h>.
35411         (memset): Don't use BP_SYM.
35412         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
35413         <bp-sym.h> and <bp-asm.h>.
35414         (__rawmemchr): Don't use BP_SYM.
35415         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
35416         <bp-sym.h> and <bp-asm.h>.
35417         (__STRCMP): Don't use BP_SYM.
35418         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
35419         <bp-sym.h> and <bp-asm.h>.
35420         (strchr): Don't use BP_SYM.
35421         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
35422         <bp-sym.h> and <bp-asm.h>.
35423         (__strchrnul): Don't use BP_SYM.
35424         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
35425         <bp-sym.h> and <bp-asm.h>.
35426         (strlen): Don't use BP_SYM.
35427         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
35428         <bp-sym.h> and <bp-asm.h>.
35429         (strncmp): Don't use BP_SYM.
35430         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
35431         <bp-sym.h> and <bp-asm.h>.
35432         (__strnlen): Don't use BP_SYM.
35433         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
35434         <bp-asm.h>.
35435         (__mpn_rshift): Don't use BP_SYM.
35436         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35437         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
35438         <bp-sym.h> and <bp-asm.h>.
35439         (__sigsetjmp): Don't use BP_SYM.
35440         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
35441         (L(start_addresses)): Don't use BP_SYM.
35442         (_start): Likewise.
35443         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
35444         <bp-asm.h>.
35445         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
35446         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35447         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35448         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
35449         <bp-asm.h>.
35450         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
35451         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35452         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35453         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
35454         <bp-asm.h>.
35455         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
35456         comments.
35457         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35458         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
35459         <bp-asm.h>.
35460         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
35461         FIXME comments.
35462         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35463         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35464         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
35465         <bp-asm.h>.
35466         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
35467         comment.
35468         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
35469         and <bp-asm.h>.
35470         (strncmp): Don't use BP_SYM,
35471         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
35472         <bp-asm.h>.
35473         (__mpn_sub_n): Don't use BP_SYM.
35474         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35475         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
35476         and <bp-asm.h>.
35477         (__mpn_submul_1): Don't use BP_SYM.
35478         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
35480         <bp-sym.h> and <bp-asm.h>.
35481         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
35482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
35483         <bp-sym.h> and <bp-asm.h>.
35484         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
35485         comment.
35487 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35489         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
35490         Use ZK to minimize writes to Z.
35491         (sub_magnitudes): Simplify code a bit.
35492         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
35493         Use ZK to minimize writes to Z.
35494         (sub_magnitudes): Simplify code a bit.
35496 2013-02-27  Roland McGrath  <roland@hack.frob.com>
35498         * csu/gmon-start.c: Add special exception to license text.
35500 2013-02-27  Richard Henderson  <rth@redhat.com>
35502         * scripts/config.guess: Update from config.git.
35503         * scripts/config.sub: Likewise.
35505 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35507         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
35509         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
35511         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
35513         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
35515         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
35517 2013-02-26  Roland McGrath  <roland@hack.frob.com>
35519         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
35520         [$(build-shared = yes].
35522 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35524         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
35525         (__mul): Reduce iterations for calculating mantissa.
35527         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
35528         MPTWO.
35529         (__mpranred): Likewise.
35531         [BZ #15160]
35532         * malloc/memusagestat.c (main): Draw graphs for heap and stack
35533         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
35535 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
35537         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
35538         Define __attribute__.
35540 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35542         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
35543         unused.
35544         * posix/regex_internal.h (__attribute): Remove.
35545         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
35546         (re_string_context_at): Likewise.
35547         (bitset_not): Use __attribute__ and mark function as possibly
35548         unused.
35549         (bitset_merge): Likewise.
35550         (bitset_mask): Likewise.
35551         (re_string_char_size_at): Likewise.
35552         (re_string_wchar_at): Likewise.
35553         (re_string_elem_size_at): Likewise.
35555 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35557         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
35558         code.
35559         (cc32): Likewise.
35561         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
35562         (__acr): Likewise.
35563         (__cpy): Likewise.
35564         (norm): Likewise.
35565         (denorm): Likewise.
35566         (__dbl_mp): Likewise.
35567         (add_magnitudes): Likewise.
35568         (sub_magnitudes): Likewise.
35569         (__mul): Likewise.
35570         (__inv): Likewise.
35572         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
35573         style.
35575         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
35576         style.
35578         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
35579         code.
35581         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
35582         up changes with default code.
35583         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
35584         Likewise.
35586 2013-02-24  Allan McRae  <allan@archlinux.org>
35588         * manual/socket.texi (The Internet Namespace): Order menu items
35589         to match that in the file.
35591         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
35592         node listing of the info page menu.
35594 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
35596         [BZ #13550]
35597         * sysdeps/i386/bp-asm.h: Remove file.
35598         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
35599         (PARMS): Do not use macros from bp-asm.h.
35600         (S1): Likewise.
35601         (S2): Likewise.
35602         (SIZE): Likewise.
35603         (__mpn_add_n): Do not use BP_SYM
35604         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
35605         "bp-asm.h".
35606         (PARMS): Do not use macros from bp-asm.h.
35607         (S1): Likewise.
35608         (SIZE): Likewise.
35609         (__mpn_addmul_1): Do not use BP_SYM
35610         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
35611         "bp-asm.h".
35612         (PARMS): Do not use macros from bp-asm.h.
35613         (SIGMSK): Likewise.
35614         (_setjmp): Likewise.  Do not use BP_SYM.
35615         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
35616         "bp-asm.h".
35617         (PARMS): Do not use macros from bp-asm.h.
35618         (SIGMSK): Likewise.
35619         (setjmp): Likewise.  Do not use BP_SYM.
35620         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
35621         "bp-asm.h".
35622         (PARMS): Do not use macros from bp-asm.h.
35623         (__frexp): Do not use BP_SYM.
35624         (frexp): Likewise.
35625         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
35626         "bp-asm.h".
35627         (PARMS): Do not use macros from bp-asm.h.
35628         (__frexpf): Do not use BP_SYM.
35629         (frexpf): Likewise.
35630         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
35631         "bp-asm.h".
35632         (PARMS): Do not use macros from bp-asm.h.
35633         (__frexpl): Do not use BP_SYM.
35634         (frexpl): Likewise.
35635         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
35636         "bp-asm.h".
35637         (PARMS): Do not use macros from bp-asm.h.
35638         (__remquo): Do not use BP_SYM.
35639         (remquo): Likewise.
35640         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
35641         "bp-asm.h".
35642         (PARMS): Do not use macros from bp-asm.h.
35643         (__remquof): Do not use BP_SYM.
35644         (remquof): Likewise.
35645         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
35646         "bp-asm.h".
35647         (PARMS): Do not use macros from bp-asm.h.
35648         (__remquol): Do not use BP_SYM.
35649         (remquol): Likewise.
35650         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
35651         "bp-asm.h".
35652         (PARMS): Do not use macros from bp-asm.h.
35653         (DEST): Likewise.
35654         (SRC): Likewise.
35655         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
35656         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
35657         "bp-asm.h".
35658         (PARMS): Do not use macros from bp-asm.h.
35659         (strlen): Do not use BP_SYM.
35660         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
35661         "bp-asm.h".
35662         (PARMS): Do not use macros from bp-asm.h.
35663         (S1): Likewise.
35664         (S2): Likewise.
35665         (SIZE): Likewise.
35666         (__mpn_add_n): Do not use BP_SYM.
35667         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
35668         "bp-asm.h".
35669         (PARMS): Do not use macros from bp-asm.h.
35670         (S1): Likewise.
35671         (SIZE): Likewise.
35672         (__mpn_addmul_1): Do not use BP_SYM.
35673         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
35674         weak_alias.
35675         (bzero): Likewise.
35676         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
35677         "bp-asm.h".
35678         (PARMS): Do not use macros from bp-asm.h.
35679         (S): Likewise.
35680         (SIZE): Likewise.
35681         (__mpn_lshift): Do not use BP_SYM.
35682         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
35683         "bp-asm.h".
35684         (PARMS): Do not use macros from bp-asm.h.
35685         (DEST): Likewise.
35686         (SRC): Likewise.
35687         (LEN): Likewise.
35688         (memcpy): Likewise.  Do not use BP_SYM.
35689         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
35690         libc_hidden_def and weak_alias.
35691         (mempcpy): Do not use BP_SYM in weak_alias.
35692         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
35693         "bp-asm.h".
35694         (PARMS): Do not use macros from bp-asm.h.
35695         (DEST): Likewise.
35696         (LEN): Likewise.
35697         [!BZERO_P] (CHR): Likewise.
35698         (memset): Likewise.  Do not use BP_SYM.
35699         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
35700         "bp-asm.h".
35701         (PARMS): Do not use macros from bp-asm.h.
35702         (S1): Likewise.
35703         (SIZE): Likewise.
35704         (__mpn_mul_1): Do not use BP_SYM.
35705         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
35706         "bp-asm.h".
35707         (PARMS): Do not use macros from bp-asm.h.
35708         (S): Likewise.
35709         (SIZE): Likewise.
35710         (__mpn_rshift): Do not use BP_SYM.
35711         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
35712         "bp-asm.h".
35713         (PARMS): Do not use macros from bp-asm.h.
35714         (STR): Likewise.
35715         (CHR): Likewise.
35716         (strchr): Likewise.  Do not use BP_SYM.
35717         (index): Do not use BP_SYM in weak_alias.
35718         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
35719         "bp-asm.h".
35720         (PARMS): Do not use macros from bp-asm.h.
35721         (DEST): Likewise.
35722         (SRC): Likewise.
35723         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
35724         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
35725         "bp-asm.h".
35726         (PARMS): Do not use macros from bp-asm.h.
35727         (strlen): Do not use BP_SYM.
35728         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
35729         "bp-asm.h".
35730         (PARMS): Do not use macros from bp-asm.h.
35731         (S1): Likewise.
35732         (S2): Likewise.
35733         (SIZE): Likewise.
35734         (__mpn_sub_n): Do not use BP_SYM.
35735         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
35736         "bp-asm.h".
35737         (PARMS): Do not use macros from bp-asm.h.
35738         (S1): Likewise.
35739         (SIZE): Likewise.
35740         (__mpn_submul_1): Do not use BP_SYM.
35741         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
35742         "bp-asm.h".
35743         (PARMS): Do not use macros from bp-asm.h.
35744         (S1): Likewise.
35745         (S2): Likewise.
35746         (SIZE): Likewise.
35747         (__mpn_add_n): Do not use BP_SYM.
35748         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
35749         weak_alias.
35750         (bzero): Likewise.
35751         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
35752         "bp-asm.h".
35753         (PARMS): Do not use macros from bp-asm.h.
35754         (BLK2): Likewise.
35755         (LEN): Likewise.
35756         (memcmp): Do not use BP_SYM.
35757         (bcmp): Do not use BP_SYM in weak_alias.
35758         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
35759         "bp-asm.h".
35760         (PARMS): Do not use macros from bp-asm.h.
35761         (DEST): Likewise.
35762         (SRC): Likewise.
35763         (LEN): Likewise.
35764         (memcpy): Likewise.  Do not use BP_SYM.
35765         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
35766         "bp-asm.h".
35767         (PARMS): Do not use macros from bp-asm.h.
35768         (DEST): Likewise.
35769         (SRC): Likewise.
35770         (LEN): Likewise.
35771         (memmove): Likewise.  Do not use BP_SYM.
35772         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
35773         "bp-asm.h".
35774         (PARMS): Do not use macros from bp-asm.h.
35775         (DEST): Likewise.
35776         (SRC): Likewise.
35777         (LEN): Likewise.
35778         (__mempcpy): Likewise.  Do not use BP_SYM.
35779         (mempcpy): Do not use BP_SYM in weak_alias.
35780         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
35781         "bp-asm.h".
35782         (PARMS): Do not use macros from bp-asm.h.
35783         (DEST): Likewise.
35784         (LEN): Likewise.
35785         [!BZERO_P] (CHR): Likewise.
35786         (memset): Likewise.  Do not use BP_SYM.
35787         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
35788         "bp-asm.h".
35789         (PARMS): Do not use macros from bp-asm.h.
35790         (STR2): Likewise.
35791         (strcmp): Do not use BP_SYM.
35792         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
35793         "bp-asm.h".
35794         (PARMS): Do not use macros from bp-asm.h.
35795         (STR): Likewise.
35796         (DELIM): Likewise.
35797         [USE_AS_STRTOK_R] (SAVE): Likewise.
35798         (FUNCTION): Likewise.  Do not use BP_SYM.
35799         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
35800         aliases.
35801         (strtok_r): Likewise.
35802         (__GI___strtok_r): Likewise.
35803         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
35804         (PARMS): Do not use macros from bp-asm.h.
35805         (S): Likewise.
35806         (SIZE): Likewise.
35807         (__mpn_lshift): Do not use BP_SYM.
35808         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
35809         (PARMS): Do not use macros from bp-asm.h.
35810         (STR): Likewise.
35811         (CHR): Likewise.
35812         (__memchr): Do not use BP_SYM.
35813         (memchr): Do not use BP_SYM in weak_alias.
35814         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
35815         (PARMS): Do not use macros from bp-asm.h.
35816         (BLK2): Likewise.
35817         (LEN): Likewise.
35818         (memcmp): Do not use BP_SYM.
35819         (bcmp): Do not use BP_SYM in weak_alias.
35820         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
35821         (PARMS): Do not use macros from bp-asm.h.
35822         (S1): Likewise.
35823         (SIZE): Likewise.
35824         (__mpn_mul_1): Do not use BP_SYM.
35825         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
35826         "bp-asm.h".
35827         (PARMS): Do not use macros from bp-asm.h.
35828         (STR): Likewise.
35829         (CHR): Likewise.
35830         (__rawmemchr): Do not use BP_SYM.
35831         (rawmemchr): Do not use BP_SYM in weak_alias.
35832         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
35833         (PARMS): Do not use macros from bp-asm.h.
35834         (S): Likewise.
35835         (SIZE): Likewise.
35836         (__mpn_rshift): Do not use BP_SYM.
35837         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
35838         (PARMS): Do not use macros from bp-asm.h.
35839         (SIGMSK): Likewise.
35840         (__sigsetjmp): Likewise.  Do not use BP_SYM.
35841         * sysdeps/i386/start.S: Do not include "bp-sym.h".
35842         (_start): Do not use BP_SYM.
35843         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
35844         (PARMS): Do not use macros from bp-asm.h.
35845         (DEST): Likewise.
35846         (SRC): Likewise.
35847         (__stpcpy): Likewise.  Do not use BP_SYM.
35848         (stpcpy): Do not use BP_SYM in weak_alias.
35849         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
35850         "bp-asm.h".
35851         (PARMS): Do not use macros from bp-asm.h.
35852         (DEST): Likewise.
35853         (SRC): Likewise.
35854         (LEN): Likewise.
35855         (__stpncpy): Likewise.  Do not use BP_SYM.
35856         (stpncpy): Do not use BP_SYM in weak_alias.
35857         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
35858         (PARMS): Do not use macros from bp-asm.h.
35859         (STR): Likewise.
35860         (CHR): Likewise.
35861         (strchr): Likewise.  Do not use BP_SYM.
35862         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
35863         "bp-asm.h".
35864         (PARMS): Do not use macros from bp-asm.h.
35865         (STR): Likewise.
35866         (CHR): Likewise.
35867         (__strchrnul): Likewise.  Do not use BP_SYM.
35868         (strchrnul): Do not use BP_SYM in weak_alias.
35869         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
35870         "bp-asm.h".
35871         (PARMS): Do not use macros from bp-asm.h.
35872         (STOP): Likewise.
35873         (strcspn): Do not use BP_SYM.
35874         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
35875         "bp-asm.h".
35876         (PARMS): Do not use macros from bp-asm.h.
35877         (STR): Likewise.
35878         (STOP): Likewise.
35879         (strpbrk): Likewise.  Do not use BP_SYM.
35880         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
35881         "bp-asm.h".
35882         (PARMS): Do not use macros from bp-asm.h.
35883         (STR): Likewise.
35884         (CHR): Likewise.
35885         (strrchr): Likewise.  Do not use BP_SYM.
35886         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
35887         (PARMS): Do not use macros from bp-asm.h.
35888         (SKIP): Likewise.
35889         (strspn): Do not use BP_SYM.
35890         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
35891         (PARMS): Do not use macros from bp-asm.h.
35892         (STR): Likewise.
35893         (DELIM): Likewise.
35894         (SAVE): Likewise.
35895         (FUNCTION): Likewise.  Do not use BP_SYM.
35896         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
35897         aliases.
35898         (strtok_r): Likewise.
35899         (__GI___strtok_r): Likewise.
35900         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
35901         (PARMS): Do not use macros from bp-asm.h.
35902         (S1): Likewise.
35903         (S2): Likewise.
35904         (SIZE): Likewise.
35905         (__mpn_sub_n): Do not use BP_SYM.
35906         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
35907         "bp-asm.h".
35908         (PARMS): Do not use macros from bp-asm.h.
35909         (S1): Likewise.
35910         (SIZE): Likewise.
35911         (__mpn_submul_1): Do not use BP_SYM.
35912         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
35913         <bp-sym.h>.
35914         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
35915         and <bp-asm.h>.
35916         (PARMS): Do not use macros from bp-asm.h.
35917         (FLAGS): Likewise.
35918         (PTID): Likewise.
35919         (TLS): Likewise.
35920         (CTID): Likewise.
35921         (__clone): Do not use BP_SYM.
35922         (clone): Do not use BP_SYM in weak_alias.
35923         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
35924         and <bp-asm.h>.
35925         (PARMS): Do not use macros from bp-asm.h.
35926         (LEN): Likewise.
35927         (__mmap64): Do not use BP_SYM.
35928         (mmap64): Do not use BP_SYM in weak_alias.
35929         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
35930         <bp-sym.h> and <bp-asm.h>.
35931         (PARMS): Do not use macros from bp-asm.h.
35932         (__posix_fadvise64_l64): Do not use BP_SYM.
35933         * sysdeps/unix/sysv/linux/i386/semtimedop.S
35934         (PARMS): Do not use macros from bp-asm.h.
35935         (NSOPS): Likewise.
35936         (semtimedop): Do not use BP_SYM.
35937         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
35938         and <bp-asm.h>.
35940 2013-02-21  Allan McRae  <allan@archlinux.org>
35942         * manual/message.texi (Charset conversion in gettext):
35943         Move @end statement to beginning of line.
35945 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35947         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
35948         static.
35949         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
35950         Likewise.
35952         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
35953         (denorm): Likewise.
35954         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
35955         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
35957 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35959         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
35960         tail-call to the resolved function if pltexit isn't needed.
35962 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35964         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
35965         or Y being zero as being unlikely.
35966         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
35967         Likewise.
35969 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
35971         * manual/nss.texi (System Databases and Name Service Switch):
35972         Remove frobnicate @pxref.
35974 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
35976         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
35977         __attribute__ ((unused)) to __attribute__ ((__unused__)).
35979 2013-02-20  Petr Machata  <pmachata@redhat.com>
35981         * elf/elf.h (R_ARM_TARGET1): New macro.
35982         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
35983         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
35984         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
35985         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
35986         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
35987         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
35988         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
35989         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
35990         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
35991         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
35992         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
35993         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
35994         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
35995         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
35996         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
35997         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
35998         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
35999         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
36000         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
36001         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
36002         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
36003         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
36004         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
36005         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
36006         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
36007         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
36008         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
36009         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
36010         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
36011         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
36012         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
36013         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
36014         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
36015         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
36016         (R_ARM_THM_GOT_BREL12): Likewise.
36017         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
36018         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
36019         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
36020         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
36021         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
36022         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
36023         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
36024         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
36025         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
36027 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
36029         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36030         __attribute_used__ to __attribute__ ((unused)).
36032 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
36034         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
36035         powerpc mpa.c.
36036         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
36037         comment formatting.
36038         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
36040 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
36042         [BZ #13550]
36043         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
36044         Remove macro.
36045         (ENTER): Remove both macro definitions.
36046         (LEAVE): Likewise.
36047         (CHECK_BOUNDS_LOW): Likewise.
36048         (CHECK_BOUNDS_HIGH): Likewise.
36049         (CHECK_BOUNDS_BOTH): Likewise.
36050         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
36051         (RETURN_BOUNDED_POINTER): Likewise.
36052         (RETURN_NULL_BOUNDED_POINTER): Likewise.
36053         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
36054         (POP_ERRNO_LOCATION_RETURN): Likewise.
36055         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
36056         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36057         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
36058         macros.
36059         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36060         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
36061         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
36062         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
36063         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
36064         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
36065         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
36066         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
36067         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
36068         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
36069         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
36070         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
36071         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36072         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
36073         removed macros.
36074         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36075         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
36076         macros.
36077         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36078         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
36079         * sysdeps/i386/i586/memset.S (memset): Likewise.
36080         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
36081         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36082         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
36083         macros.
36084         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36085         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
36086         Change uses of L(2) to L(out).
36087         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
36088         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
36089         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
36090         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36091         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
36092         removed macros.
36093         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36094         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
36095         macros.
36096         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36097         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
36098         (RETURN): Do not use macro LEAVE.
36099         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
36100         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
36101         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
36102         * sysdeps/i386/i686/memset.S (memset): Likewise.
36103         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
36104         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
36105         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36106         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
36107         Likewise.
36108         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36109         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
36110         L(1_2) and L(1_3) into L(1).
36111         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
36112         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
36113         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36114         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
36115         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36116         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
36117         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
36118         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36119         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
36120         macros.
36121         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
36122         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36123         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
36124         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
36125         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
36126         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36127         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
36128         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
36129         * sysdeps/i386/strcspn.S (strcspn): Likewise.
36130         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
36131         * sysdeps/i386/strrchr.S (strrchr): Likewise.
36132         * sysdeps/i386/strspn.S (strspn): Likewise.
36133         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
36134         conditional code.
36135         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36136         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
36137         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
36138         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
36139         L(1_3) into L(1_1).
36140         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
36141         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36142         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
36143         macros.
36144         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36146 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
36148         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
36149         macro.
36151 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36153         * math/atest-exp.c (exp_mpn): Remove ROUND.
36154         * math/atest-exp2.c (exp_mpn): Likewise.
36155         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
36157         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
36158         * stdlib/tst-tls-atexit-lib.c: Likewise.
36159         * stdlib/tst-tls-atexit.c: Likewise.
36161 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
36163         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
36164         and __attribute_alloc_size__.
36166 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
36168         * include/programs/xmalloc.h: Change __attribute_alloc_size to
36169         __attribute_alloc_size__.
36170         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
36171         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
36173 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
36175         * include/programs/xmalloc.h: New file.
36176         * catgets/gencat.c: Include it.
36177         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
36178         * elf/pldd.c: Likewise.
36179         * iconv/iconv_charmap.c: Likewise.
36180         * iconv/iconvconfig.c: Likewise.
36181         * iconv/strtab.c: Likewise.
36182         * locale/programs/locale.c: Likewise.
36183         * locale/programs/localedef.h: Likewise.
36184         * locale/programs/simple-hash.c: Likewise.
36185         * nscd/nscd.h: Likewise.
36186         * nss/makedb.c: Likewise.
36187         * sysdeps/generic/ldconfig.h: Likewise.
36189 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36191         * Versions.def: Add GLIBC_2.18.
36192         * include/link.h (struct link_map): New member l_tls_dtor_count.
36193         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
36194         (__call_tls_dtors): Likewise.
36195         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
36196         __cxa_thread_atexit_impl.
36197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36198         Likewise.
36199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36200         Likewise.
36201         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
36202         Likewise.
36203         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
36204         Likewise.
36205         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36206         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
36207         Likewise.
36208         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
36209         Likewise.
36210         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36211         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36212         Likewise.
36213         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
36214         (tests): Add test case tst-tls-atexit.
36215         (modules-names): Add shared library for tst-tls-atexit.
36216         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
36217         (GLIBC_PRIVATE): Add __call_tls_dtors.
36218         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
36219         for libstdc++.
36220         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
36221         * stdlib/tst-tls-atexit.c: New test case.
36222         * stdlib/tst-tls-atexit-lib.c: New test case.
36224         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
36226         * elf/Versions (ld): Add _dl_find_dso_for_object.
36227         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
36228         * elf/dl-open.c (_dl_find_dso_for_object): New function.
36229         (dl_open_worker): Use _dl_find_dso_for_object.
36230         * elf/dl-sym.c (do_sym): Likewise.
36231         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
36233 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36235         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
36236         Syntactic changes only.
36237         (_dl_runtime_profile): Do a tail-call to the resolved function.
36239 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
36241         [BZ #13550]
36242         * sysdeps/x86_64/bp-asm.h: Remove file.
36243         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
36244         <bp-sym.h> and <bp-asm.h>.
36245         (__clone): Do not use BP_SYM.
36246         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
36247         <bp-sym.h> and <bp-asm.h>.
36248         * sysdeps/unix/x86_64/sysdep.S: Likewise.
36249         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
36250         "bp-asm.h".
36251         (_setjmp): Do not use BP_SYM.
36252         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
36253         "bp-asm.h".
36254         (setjmp): Do not use BP_SYM.
36255         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
36256         libc_hidden_def.
36257         (mempcpy): Do not use BP_SYM in weak_alias.
36258         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
36259         "bp-asm.h".
36260         (strchr): Do not use BP_SYM.
36261         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
36262         "bp-asm.h".
36263         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
36264         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
36265         (_start): Do not use BP_SYM.
36266         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
36267         "bp-asm.h".
36268         (strcat): Do not use BP_SYM.
36269         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
36270         "bp-asm.h".
36271         (STRCMP): Do not use BP_SYM.
36272         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
36273         "bp-asm.h".
36274         (STRCPY): Do not use BP_SYM.
36275         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
36276         "bp-asm.h".
36277         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
36278         "bp-asm.h".
36279         (FUNCTION): Do not use BP_SYM.
36280         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
36281         weak_alias.
36282         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
36284 2013-02-17  Andreas Jaeger  <aj@suse.de>
36286         * time/Versions: Sort entries.
36287         * string/Versions: Likewise.
36288         * resolv/Versions: Likewise.
36289         * posix/Versions: Likewise.
36290         * iconv/Versions: Likewise.
36291         * elf/Versions: Likewise.
36292         * wcsmbs/Versions: Likewise.
36294 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36296         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
36297         loop termination condition.
36299         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
36300         variable to calculate EZ.
36301         (__sqr): Likewise.
36303         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
36304         the lower precision input.
36306 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
36308         [BZ #13550]
36309         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
36310         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
36311         (run-via-rtld-prefix): Do not handle %-bp tests.
36312         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
36313         (all-object-suffixes): Remove .ob.
36314         (bppfx): Remove variable.
36315         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
36316         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
36317         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
36318         [$(build-bounded) = yes] (libtype.ob): Likewise.
36319         * Makerules (elide-routines.ob): Remove variable.
36320         (do-tests-clean): Do not handle *-bp.out.
36321         (common-mostlyclean): Do not handle *-bp and *-bp.out.
36322         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
36323         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
36324         (tests): Do not include $(tests-bp.out).
36325         (xtests): Do not include $(xtests-bp.out).
36326         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
36327         [$(build-bounded) = yes] ($(addprefix
36328         $(objpfx),$(binaries-bounded))): Remove rule.
36329         ($(objpfx)%-bp.out): Remove rule.
36330         * config.make.in (build-bounded): Remove variable.
36331         * crypt/Makefile [$(build-bounded) = yes]
36332         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
36333         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
36334         append to variable.
36335         [$(build-bounded) = yes] (install-lib): Likewise.
36336         [$(build-bounded) = yes] (generated): Likewise.
36337         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
36338         Remove rule.
36339         * intl/Makefile [$(build-bounded) = yes]
36340         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
36341         * math/Makefile [$(build-bounded) = yes]
36342         ($(tests:%=$(objpfx)%-bp): Likewise.
36343         * misc/Makefile [$(build-bounded) = yes]
36344         ($(objpfx)tst-tsearch-bp): Likewise.
36345         * nptl/Makeconfig (bounded-thread-library): Remove variable.
36346         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
36347         Remove dependency.
36348         * string/Makefile (o-objects.ob): Remove variable.
36349         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
36350         (CFLAGS-.ob): Remove variable.
36351         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
36352         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
36353         both definitions of variable.
36354         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
36355         (ASFLAGS-.ob): Remove variable.
36357 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
36359         [BZ #13550]
36360         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
36361         Remove __BOUNDED_POINTERS__ from condition.
36362         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
36363         * string/bits/string2.h [!__NO_STRING_INLINES &&
36364         !__BOUNDED_POINTERS__]: Likewise.
36365         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
36366         Likewise.
36367         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
36368         Remove conditional code.
36369         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
36370         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
36371         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
36372         condition.
36374         [BZ #13550]
36375         * csu/libc-start.c: Do not include <bp-sym.h>.
36376         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
36377         * elf/dl-open.c: Do not include <bp-sym.h>.
36378         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
36379         * math/fegetenv.c: Do not include <bp-sym.h>.
36380         (fegetenv): Do not use BP_SYM in versioned symbols.
36381         * nptl/sysdeps/pthread/bits/libc-lockP.h
36382         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
36383         <bp-sym.h>.
36384         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36385         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
36386         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36387         (__pthread_mutex_destroy): Likewise.
36388         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36389         (__pthread_mutex_lock): Likewise.
36390         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36391         (__pthread_mutex_trylock): Likewise.
36392         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36393         (__pthread_mutex_unlock): Likewise.
36394         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36395         (__pthread_mutexattr_init): Likewise.
36396         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36397         (__pthread_mutexattr_destroy): Likewise.
36398         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36399         (__pthread_mutexattr_settype): Likewise.
36400         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36401         (__pthread_rwlock_init): Likewise.
36402         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36403         (__pthread_rwlock_destroy): Likewise.
36404         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36405         (__pthread_rwlock_rdlock): Likewise.
36406         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36407         (__pthread_rwlock_tryrdlock): Likewise.
36408         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36409         (__pthread_rwlock_wrlock): Likewise.
36410         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36411         (__pthread_rwlock_trywrlock): Likewise.
36412         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36413         (__pthread_rwlock_unlock): Likewise.
36414         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36415         (__pthread_key_create): Likewise.
36416         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36417         (__pthread_setspecific): Likewise.
36418         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36419         (__pthread_getspecific): Likewise.
36420         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
36421         Likewise.
36422         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36423         (_pthread_cleanup_push_defer): Likewise.
36424         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36425         (_pthread_cleanup_pop_restore): Likewise.
36426         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36427         (pthread_setcancelstate): Likewise.
36428         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
36429         <bp-sym.h>.
36430         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
36431         (memchr): Do not use BP_SYM in weak_alias.
36432         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
36433         (fegetenv): Do not use BP_SYM in versioned symbols.
36434         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
36435         (fesetenv): Do not use BP_SYM in versioned symbols.
36436         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
36437         (feupdateenv): Do not use BP_SYM in versioned symbols.
36438         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
36439         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
36440         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
36441         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
36442         (open64): Do not use BP_SYM in weak_alias.
36443         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
36444         (fegetenv): Do not use BP_SYM in versioned symbols.
36445         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
36446         (fesetenv): Do not use BP_SYM in versioned symbols.
36447         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
36448         (feupdateenv): Do not use BP_SYM in versioned symbols.
36449         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
36450         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
36451         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
36452         (feraiseexcept): Do not use BP_SYM in versioned symbols.
36453         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
36454         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
36455         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
36456         <bp-sym.h>.
36457         (__libc_start_main): Do not use BP_SYM.
36459 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
36461         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
36462         redundant return line.
36463         (norm): Likewise.
36464         (denorm): Likewise.
36465         (dbl_mp): Likewise.
36466         (sub_magnitudes): Likewise.
36467         (__add): Likewise.
36468         (__sub): Likewise.
36469         (__mul): Likewise.
36470         (__inv): Likewise.
36471         (__dvd): Likewise.
36472         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
36473         (norm): Likewise.
36474         (denorm): Likewise.
36475         (dbl_mp): Likewise.
36476         (sub_magnitudes): Likewise.
36477         (__add): Likewise.
36478         (__sub): Likewise.
36479         (__mul): Likewise.
36480         (__inv): Likewise.
36481         (__dvd): Likewise.
36483         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
36484         instead of __mul.
36485         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36486         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
36487         (cc32): Likewise.
36489         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
36490         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
36491         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
36492         of __mul for squares.
36493         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
36494         function
36495         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
36496         Likewise.
36497         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
36498         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36500 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
36502         [BZ #13550]
36503         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
36504         code.
36505         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
36506         prototype or function definition.  Rename ubp_* variables and
36507         parameters.  Remove argv definitions conditional on
36508         [__BOUNDED_POINTERS__].
36509         * debug/backtrace.c (__backtrace): Do not use __unbounded.
36510         * elf/dl-runtime.c (_dl_fixup): Likewise.
36511         * include/set-hooks.h (RUN_HOOK): Likewise.
36512         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
36513         definition.
36514         * string/strcpy.c (strcpy): Do not use __unbounded.
36515         * sysdeps/generic/frame.h (struct layout): Likewise.
36516         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
36517         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
36518         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
36519         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
36520         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
36521         (__backtrace): Likewise.
36522         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
36523         use __ptrvalue.
36524         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
36525         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
36526         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
36527         Likewise.
36528         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
36529         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
36530         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
36531         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
36532         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
36533         Do not use __unbounded.
36534         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
36535         Rename __unboundedrlimits parameter to rlimits in prototype.
36536         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
36537         Do not use __unbounded.
36538         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
36539         not use __ptrvalue.
36540         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
36541         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
36542         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
36543         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
36544         __ptrvalue or __unbounded.
36545         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
36546         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
36547         use __unbounded.
36548         (__new_msgctl): Do not use __ptrvalue.
36549         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
36550         __unbounded.
36551         (__libc_msgrcv): Do not use __ptrvalue.
36552         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
36553         startup_info): Do not use __unbounded.
36554         (__libc_start_main): Likewise.  Rename ubp_* variables and
36555         parameters.  Remove argv definitions conditional on
36556         [__BOUNDED_POINTERS__].
36557         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
36558         __ptrvalue.
36559         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
36560         use __unbounded.
36561         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
36562         or __ptrvalue.
36563         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
36564         use __unbounded.
36565         (__new_shmctl): Do not use __ptrvalue.
36566         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
36567         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
36568         Likewise.
36569         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
36570         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
36571         (__libc_sigaction): Likewise.
36572         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
36573         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
36574         Likewise.
36575         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
36577 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
36579         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
36581         * string/mempcpy.c: Implement by calling memcpy.
36583 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
36585         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
36587         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
36588         evaluation.
36590         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
36591         values in the mantissa.
36593         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
36594         minimize writes to Z.
36595         (sub_magnitudes): Simplify code a bit.
36597 2013-02-12  Roland McGrath  <roland@hack.frob.com>
36599         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
36600         from the message.  The linker prefixes all warnings with that already.
36602 2013-02-12  Andreas Schwab  <schwab@suse.de>
36604         [BZ #15078]
36605         * posix/regexec.c (extend_buffers): Add parameter min_len.
36606         (check_matching): Pass minimum needed length.
36607         (clean_state_log_if_needed): Likewise.
36608         (get_subexp): Likewise.
36609         * posix/Makefile (tests): Add bug-regex34.
36610         (bug-regex34-ENV): Define.
36611         * posix/bug-regex34.c: New file.
36613         [BZ #11561]
36614         * posix/regcomp.c (parse_bracket_exp): When looking up collating
36615         elements compare against the byte sequence of it, not its name.
36616         * posix/Makefile (tests): Add bug-regex35.
36617         (bug-regex35-ENV): Define.
36618         * posix/bug-regex35.c: New file.
36620 2013-02-11  Tom de Vries  <tom@codesourcery.com>
36622         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
36623         comment.
36624         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
36625         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
36626         (CHECK_EOL): Add undef.
36628 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
36630         * bits/stdlib-bsearch.h: New file.
36631         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
36632         * stdlib/stdlib.h: Likewise.
36634 2013-02-11  Roland McGrath  <roland@hack.frob.com>
36636         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
36637         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
36638         declaration.
36639         * manual/search.texi (Array Search Function): Add missing const in
36640         lfind prototype.
36641         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
36642         declaration to use rlim_t.
36643         (Basic Scheduling Functions): Remove erroneous const from
36644         sched_getparam prototype.  Remove erroneous * from
36645         sched_get_priority_max and sched_get_priority_min prototypes.
36646         (Resource Usage): Fix summary @comment on vtimes to refer to
36647         sys/vtimes.h rather than vtimes.h.
36648         Add missing *s in vtimes prototype.
36649         (Limits on Resources): Fix ulimit prototype to return long int.
36650         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
36651         prototypes to use long int rather than double.
36652         (BSD Random): Fix initstate and setstate to use char *, not void *.
36653         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
36654         prototype to make second argument 'struct aiocb64 *const[]'.
36655         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
36656         (Status of AIO Operations): Remove erroneous const in aio_return and
36657         aio_return64 prototypes.
36658         (Synchronizing I/O): Fix sync prototype to return void.
36659         * manual/startup.texi (Suboptions): Remove an erroneous const in
36660         getsubopt prototype.
36661         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
36662         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
36663         use size_t rather than int.
36664         (Scanning All Users): Likewise for getpwent_r.
36665         (Setting Groups): Add missing const to setgroups prototype.
36666         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
36667         * manual/socket.texi (Host Names): Fix gethostbyaddr and
36668         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
36669         'const void *' rather than 'const char *'.
36670         (Host Address Functions): Likewise for inet_ntop.
36671         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
36672         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
36673         ssize_t for return value.
36674         (Sending Data): Likewise for send, sendto, sendmsg.
36675         (Socket Option Functions): Add a missing const in setsockopt prototype.
36676         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
36677         use wchar_t for the argument.
36678         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
36679         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
36680         take no arguments.
36681         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
36682         double/float/long double for second argument.
36683         Fix return types of significand, significandf, significandl.
36684         * manual/filesys.texi (Setting Permissions): Use mode_t for second
36685         argument in fchmod prototype.
36686         (File Owner): Use uid_t and gid_t in fchown prototype.
36687         (File Times): Add const to utimes, futimes, and lutimes prototypes.
36688         (Making Special Files): Use mode_t and dev_t in mknod prototype.
36689         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
36690         use 'const struct dirent **' as argument types to CMP function pointer
36691         argument.
36692         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
36693         (File Times): Fix summary magic @comment for struct utimbuf and utime
36694         to refer to utime.h, not time.h.
36695         * manual/string.texi (Argz Functions): Add missing const in
36696         argz_extract and argz_next prototypes.
36697         (Finding Tokens in a String): Likewise for basename.
36698         (String/Array Comparison): Fix typo in wcscasecmp prototype.
36699         (Copying and Concatenation): Fix typo in wmemmove prototype.
36700         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
36701         (Signal Stack): Remove erroneous const in sigstack prototype.
36702         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
36703         prototype.
36704         (Simple Calendar Time): Likewise for stime.
36705         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
36706         prototype.
36707         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
36708         say sys/sysctl.h instead.
36709         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
36710         and vsyslog prototypes.
36712 2013-02-11  Tom de Vries  <tom@codesourcery.com>
36714         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
36715         Remove.
36717 2013-02-11  Roland McGrath  <roland@hack.frob.com>
36719         * misc/sys/mman.h: Fix typo in mremap comment.
36721 2013-02-08  Roland McGrath  <roland@hack.frob.com>
36723         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
36724         the '\0' terminator.
36726 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
36728         [BZ #13550]
36729         * debug/segfault.c: Don't include <bp-checks.h>.
36730         * sysdeps/generic/bp-checks.h: Remove file.
36731         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
36732         (__GETDENTS): Don't use CHECK_N.
36733         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
36734         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
36735         (__getgroups): Don't use CHECK_N.
36736         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
36737         (setgroups): Don't use CHECK_N.
36738         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
36739         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
36740         (__libc_msgrcv): Don't use CHECK_N.
36741         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
36742         (__libc_msgsnd): Don't use CHECK_N.
36743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
36744         <bp-checks.h>.
36745         (__libc_pread): Don't use CHECK_N.
36746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
36747         include <bp-checks.h>.
36748         (__libc_pread64): Don't use CHECK_N.
36749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
36750         include <bp-checks.h>.
36751         (__libc_pwrite): Don't use CHECK_N.
36752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
36753         include <bp-checks.h>.
36754         (__libc_pwrite64): Don't use CHECK_N.
36755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
36756         <bp-checks.h>.
36757         (__libc_pread): Don't use CHECK_N.
36758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
36759         include <bp-checks.h>.
36760         (__libc_pread64): Don't use CHECK_N.
36761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
36762         include <bp-checks.h>.
36763         (__libc_pwrite): Don't use CHECK_N.
36764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
36765         include <bp-checks.h>.
36766         (__libc_pwrite64): Don't use CHECK_N.
36767         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
36768         (do_pread): Don't use CHECK_N.
36769         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
36770         (do_pread64): Don't use CHECK_N.
36771         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
36772         (do_pwrite): Don't use CHECK_N.
36773         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
36774         (do_pwrite64): Don't use CHECK_N.
36775         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
36776         (__libc_readv): Don't use CHECK_N.
36777         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
36778         (semop): Don't use CHECK_N.
36779         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
36780         <bp-checks.h>.
36781         (semtimedop): Don't use CHECK_N.
36782         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
36783         (__libc_pread): Don't use CHECK_N.
36784         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
36785         <bp-checks.h>.
36786         (__libc_pread64): Don't use CHECK_N.
36787         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
36788         <bp-checks.h>.
36789         (__libc_pwrite): Don't use CHECK_N.
36790         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
36791         <bp-checks.h>.
36792         (__libc_pwrite64): Don't use CHECK_N.
36793         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
36794         <bp-checks.h>.
36795         (__libc_msgrcv): Don't use CHECK_N.
36796         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
36797         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
36798         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
36799         (__libc_writev): Don't use CHECK_N.
36801 2013-02-08  Roland McGrath  <roland@hack.frob.com>
36803         * string/strcpy.c: Removed unused variable.
36805         * Makeconfig (+sysdep-includes): Define with := rather than =.
36806         Use an existing include/ subdir of each sysdeps dir before it.
36808 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
36810         * nscd/connection.c (register_traced_file): Comment function.
36811         [HAVE_INOTIFY] (union __inev): Define.
36812         [HAVE_INOTIFY] (inotify_check_files): New function.
36813         [HAVE_INOTIFY] (clear_db_cache): Likewise.
36814         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
36815         clear_db_cache.
36816         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
36818 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
36820         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
36821         loaded if not already and that a failure is permanent.
36823 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
36825         [BZ #15006]
36826         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
36827         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
36829 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
36831         [BZ #13550]
36832         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
36833         (CHECK_1_NULL_OK): Likewise.
36834         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
36835         (__fxstat): Do not use CHECK_1.
36836         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
36837         <bp-checks.h>.
36838         (___fxstat64): Do not use CHECK_1.
36839         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
36840         <bp-checks.h>.
36841         (__fxstatat): Do not use CHECK_1.
36842         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
36843         <bp-checks.h>.
36844         (__fxstatat64): Do not use CHECK_1.
36845         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
36846         <bp-checks.h>.
36847         (__fxstat): Do not use CHECK_1.
36848         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
36849         <bp-checks.h>.
36850         (__fxstatat): Do not use CHECK_1.
36851         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36852         <bp-checks.h>.
36853         (__getresgid): Do not use CHECK_1.
36854         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36855         <bp-checks.h>.
36856         (__getresuid): Do not use CHECK_1.
36857         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
36858         <bp-checks.h>.
36859         (__lxstat): Do not use CHECK_1.
36860         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36861         <bp-checks.h>.
36862         (__old_msgctl): Do not use CHECK_1.
36863         (__new_msgctl): Likewise.
36864         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
36865         <bp-checks.h>.
36866         (__new_setrlimit): Do not use CHECK_1.
36867         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
36868         <bp-checks.h>.
36869         (__old_shmctl): Do not use CHECK_1.
36870         (__new_shmctl): Likewise.
36871         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
36872         <bp-checks.h>.
36873         (__xstat): Do not use CHECK_1.
36874         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
36875         (__lxstat): Do not use CHECK_1.
36876         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
36877         <bp-checks.h>.
36878         (___lxstat64): Do not use CHECK_1.
36879         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
36880         (__old_msgctl): Do not use CHECK_1.
36881         (__new_msgctl): Likewise.
36882         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
36883         <bp-checks.h>.
36884         (__gettimeofday): Do not use CHECK_1.
36885         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
36886         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
36887         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
36888         <bp-checks.h>.
36889         (__gettimeofday): Do not use CHECK_1.
36890         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
36891         (__old_shmctl): Do not use CHECK_1_NULL_OK.
36892         (__new_shmctl): Do not use CHECK_1.
36893         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
36894         <bp-checks.h>.
36895         (do_sigtimedwait): Do not use CHECK_1.
36896         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
36897         <bp-checks.h>.
36898         (do_sigwaitinfo): Do not use CHECK_1.
36899         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
36900         <bp-checks.h>.
36901         (msgctl): Do not use CHECK_1.
36902         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
36903         <bp-checks.h>.
36904         (shmctl): Do not use CHECK_1.
36905         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
36906         (ustat): Do not use CHECK_1.
36907         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
36908         <bp-checks.h>.
36909         (__fxstat): Do not use CHECK_1.
36910         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
36911         <bp-checks.h>.
36912         (__fxstatat): Do not use CHECK_1.
36913         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
36914         <bp-checks.h>.
36915         (__lxstat): Do not use CHECK_1.
36916         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
36917         <bp-checks.h>.
36918         (__xstat): Do not use CHECK_1.
36919         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
36920         (__xstat): Do not use CHECK_1.
36921         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
36922         (___xstat64): Do not use CHECK_1.
36924         [BZ #13550]
36925         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
36926         definitions.
36927         (CHECK_BOUNDS_HIGH): Likewise.
36928         * string/strcpy.c: Do not include <bp-checks.h>.
36929         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
36931 2013-02-07  Roland McGrath  <roland@hack.frob.com>
36933         * nscd/nscd-client.h (__nscd_drop_map_ref):
36934         Add __attribute__ ((unused)).
36935         * nis/nss-nisplus.h (niserr2nss): Likewise.
36937         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
36938         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
36940         * csu/libc-tls.c (init_static_tls, init_slotinfo):
36941         Remove inline keyword.
36942         * include/rounding-mode.h (round_away): Likewise.
36943         * libio/wfileops.c (adjust_wide_data): Likewise.
36944         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
36945         (__m128i_strloadu_tolower): Likewise.
36946         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
36947         (__m128i_strloadu_tolower): Likewise.
36948         * time/mktime.c (ydhms_diff): Likewise.
36949         * locale/elem-hash.h (elem_hash): Likewise.
36950         * locale/setlocale.c (setdata): Likewise.
36951         * posix/regex_internal.h (re_string_char_size_at): Likewise.
36952         (re_string_wchar_at): Likewise.
36953         (bitset_not, bitset_merge, bitset_mask): Likewise.
36954         [!(__GNUC__ > 3)] (inline): Remove macro.
36955         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
36956         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
36957         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
36958         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
36959         * string/memcmp.c (memcmp_bytes): Likewise.
36960         * locale/programs/locarchive.c (compute_hashval): Likewise.
36961         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
36962         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
36963         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
36964         * nss/getent.c (print_rpc, print_protocols): Likewise.
36965         (print_passwd, print_group, print_aliases): Likewise.
36966         * nis/nss-nisplus.h (niserr2nss): Likewise.
36967         * nscd/connections.c (restart_p): Likewise.
36968         Change return type to bool.
36970 2013-02-05  Roland McGrath  <roland@hack.frob.com>
36972         * Makeconfig (all-Depend-files): Add existing
36973         $(sorted-subdirs:=/Depend) files.
36974         (all-subdirs): Remove nss.
36975         * sysdeps/unix/inet/Subdirs: Add it here instead.
36976         * hesiod/Depend: New file.
36978         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
36979         instead of calling alloca.
36981         * io/lseek.c (__lseek): Rename to __libc_lseek.
36982         Define __lseek as an alias.
36984         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
36986 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
36988         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
36989         else clause and remove check for non-standard endianness.
36991 2013-02-04  David S. Miller  <davem@davemloft.net>
36993         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36995 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
36997         [BZ #13550]
36998         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
36999         (__ubp_memchr): Remove prototype.
37000         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
37001         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37002         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
37003         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37004         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
37005         Remove alias.
37006         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
37007         (__ubp_memchr): Likewise.
37008         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
37009         (__ubp_memchr): Likewise.
37010         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
37011         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
37012         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
37013         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
37014         CHECK_STRING.
37015         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
37016         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
37017         (__getcwd): Do not use CHECK_STRING.
37018         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
37019         <bp-checks.h>.
37020         (__real_chown): Do not use CHECK_STRING.
37021         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
37022         <bp-checks.h>.
37023         (fchownat): Do not use CHECK_STRING.
37024         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
37025         CHECK_STRING.
37026         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
37027         <bp-checks.h>.
37028         (__lchown): Do not use CHECK_STRING.
37029         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
37030         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
37031         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
37032         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
37033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
37034         include <bp-checks.h>.
37035         (truncate64): Do not use CHECK_STRING.
37036         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
37037         <bp-checks.h>.
37038         (__real_chown): Do not use CHECK_STRING.
37039         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
37040         <bp-checks.h>.
37041         (__lchown): Do not use CHECK_STRING.
37042         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
37043         <bp-checks.h>.
37044         (__chown): Do not use CHECK_STRING.
37045         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
37046         <bp-checks.h>.
37047         (truncate64): Do not use CHECK_STRING.
37048         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
37049         Likewise.
37050         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
37051         (__xmknod): Do not use CHECK_STRING.
37052         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
37053         <bp-checks.h>.
37054         (__xmknodat): Do not use CHECK_STRING.
37055         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
37056         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
37058 2013-02-04  Andreas Schwab  <schwab@suse.de>
37060         [BZ #14142]
37061         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
37062         * include/netdb.h: Likewise for h_errno.
37063         * elf/tst-stackguard1.c: Include <tls.h>.
37065 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
37067         * elf/link.h (struct link_map): Extend the l_addr comment.
37068         * include/link.h (struct link_map): Likewise.
37070 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
37072         [BZ #13550]
37073         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
37074         (BOUNDED_1): Remove macro.
37075         * debug/backtrace.c: Don't include <bp-checks.h>.
37076         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
37077         (__backtrace): Likewise.
37078         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
37079         <bp-checks.h>.
37080         (__backtrace): Don't use BOUNDED_1.
37081         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
37082         <bp-checks.h>.
37083         (__backtrace): Don't use BOUNDED_1.
37084         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
37085         (__backtrace): Don't use BOUNDED_1.
37086         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
37087         (shmat): Don't use BOUNDED_N.
37089 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
37091         [BZ #13550]
37092         * sysdeps/generic/bp-start.h: Remove file.
37093         * csu/libc-start.c: Don't include <bp-start.h>.
37094         (LIBC_START_MAIN): Set up __environ directly instead of using
37095         INIT_ARGV_and_ENVIRON.
37096         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
37097         <bp-start.h>.
37099         [BZ #13550]
37100         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
37101         definitions.
37102         (CHECK_FCNTL): Likewise.
37103         (CHECK_N_PAGES): Likewise.
37105         [BZ #13550]
37106         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
37107         definitions.
37108         (CHECK_SIGSET_NULL_OK): Likewise.
37109         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
37110         <bp-checks.h>.
37111         (sigpending): Don't use CHECK_SIGSET.
37112         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
37113         <bp-checks.h>.
37114         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37115         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
37116         <bp-checks.h>.
37117         (do_sigsuspend): Don't use CHECK_SIGSET.
37118         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
37119         use CHECK_SIGSET.
37120         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
37121         (do_sigwait): Don't use CHECK_SIGSET.
37122         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
37123         use CHECK_SIGSET.
37124         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
37125         include <bp-checks.h>.
37126         (sigpending): Don't use CHECK_SIGSET.
37127         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
37128         include <bp-checks.h>.
37129         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37130         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
37131         <bp-checks.h>.
37132         (sigpending): Don't use CHECK_SIGSET.
37133         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
37134         <bp-checks.h>.
37135         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37137         [BZ #13550]
37138         * sysdeps/generic/bp-semctl.h: Remove file.
37139         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
37140         <bp-checks.h> and <bp-semctl.h>.
37141         (__old_semctl): Don't use CHECK_SEMCTL.
37142         (__new_semctl): Likewise.
37143         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
37144         and <bp-semctl.h>.
37145         (__old_semctl): Don't use CHECK_SEMCTL.
37146         (__new_semctl): Likewise.
37147         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
37148         <bp-checks.h> and <bp-semctl.h>.
37149         (__old_semctl): Don't use CHECK_SEMCTL.
37150         (__new_semctl): Likewise.
37151         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
37152         <bp-checks.h> and <bp-semctl.h>.
37153         (semctl): Don't use CHECK_SEMCTL.
37155         [BZ #13550]
37156         * Makerules (elide-bp-thunks): Remove variable.
37157         (elide-routines.oS): Don't use $(elide-bp-thunks).
37158         (elide-routines.os): Likewise.
37159         (elide-routines.o): Likewise.
37160         (elide-routines.op): Likewise.
37161         (elide-routines.og): Likewise.
37162         (objects): Don't use $(bp-thunks).
37163         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
37164         include.
37165         (common-generated): Do not add s-proto-bp.d.
37166         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
37167         (int): Likewise.
37168         (typ): Likewise.
37169         Do not generate makefile rules for bounded-pointer thunks.
37170         * sysdeps/generic/bp-thunks.h: Remove file.
37171         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
37172         * sysdeps/unix/s-proto-bp.S: Likewise.
37174         [BZ #15062]
37175         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
37176         parts of result separately when argument is not close to line from
37177         -i to i and one part of argument is small.
37178         * math/k_casinhf.c (__kernel_casinhf): Likewise.
37179         * math/k_casinhl.c (__kernel_casinhl): Likewise.
37180         * math/libm-test.inc (cacos_test): Add more tests.
37181         (casin_test): Likewise.
37182         (casinh_test): Likewise.
37183         * sysdeps/i386/fpu/libm-test-ulps: Update.
37184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37186 2013-01-31  David S. Miller  <davem@davemloft.net>
37188         * po/de.po: Update from translation team.
37190 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
37192         * time/tzfile.c: Include stdint.h for SIZE_MAX.
37194 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
37196         * configure.in (_AC_PROG_CC_C89): New definition.
37197         * configure: Regenerate.
37199         * configure.in (AC_PROG_CPP): New definition.
37200         * configure: Regenerate.
37202 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
37204         * debug/tst-backtrace.h: New file.
37205         * debug/tst-backtrace2.c: Include tst-backtrace.h.
37206         (ret): Remove variable.
37207         (x): Likewise.
37208         (FAIL): Remove macro.
37209         (NO_INLINE): Likewise.
37210         (fn1): Use match function instead of strstr.
37211         * debug/tst-backtrace3.c: Include tst-backtrace.h.
37212         (ret): Remove variable.
37213         (x): Likewise.
37214         (FAIL): Remove macro.
37215         (NO_INLINE): Likewise.
37216         (fn): Use match function instead of strstr.
37217         * debug/tst-backtrace4.c: Include tst-backtrace.h.
37218         (ret): Remove variable.
37219         (x): Likewise.
37220         (FAIL): Remove macro.
37221         (NO_INLINE): Likewise.
37222         (handle_signal): Use match function instead of strstr.
37223         * debug/tst-backtrace5.c: Include tst-backtrace.h.
37224         (ret): Remove variable.
37225         (x): Likewise.
37226         (FAIL): Remove macro.
37227         (NO_INLINE): Likewise.
37228         (handle_signal): Use match function instead of strstr.
37230 2013-01-23  Roland McGrath  <roland@hack.frob.com>
37232         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
37234 2013-01-23  David S. Miller  <davem@davemloft.net>
37236         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
37237         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
37238         argument of CAS if possible.
37239         * sysdeps/sparc/sparc64/bits/atomic.h
37240         (__arch_compare_and_exchange_val_32_acq): Likewise.
37241         (__arch_compare_and_exchange_val_64_acq): Likewise.
37243 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
37245         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
37246         * sysdeps/posix/ulimit.c: ... this.
37247         Include <limits.h>.
37248         * sysdeps/unix/bsd/ulimit.c: Remove file.
37250 2013-01-23  Adam Conrad  <adconrad@0c3.net>
37252         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
37253         (LDFLAGS-tst-array5): Likewise.
37255 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
37257         [BZ #15036]
37258         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
37259         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
37260         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
37261         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
37263 2013-01-21  David S. Miller  <davem@davemloft.net>
37265         * sysdeps/sparc/backtrace.c: New file.
37266         * sysdeps/sparc/sparc32/backtrace.h: New file.
37267         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
37268         * sysdeps/sparc/sparc64/backtrace.h: New file.
37269         * sysdeps/sparc/sparc64/backtrace.c: Delete.
37270         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
37271         -funwind-tables.
37273 2013-01-21  Andreas Schwab  <schwab@suse.de>
37275         [BZ #15020]
37276         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
37277         closed its stdout.
37279 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
37281         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
37282         "mpa2.h".
37283         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37285 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
37286             Mark Mitchell  <mark@codesourcery.com>
37287             Tom de Vries  <tom@codesourcery.com>
37288             Paul Pluzhnikov  <ppluzhnikov@google.com>
37290         * debug/tst-backtrace2.c: New file.
37291         * debug/tst-backtrace3.c: Likewise.
37292         * debug/tst-backtrace4.c: Likewise.
37293         * debug/tst-backtrace5.c: Likewise.
37294         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
37295         (CFLAGS-tst-backtrace3.c): Likewise.
37296         (CFLAGS-tst-backtrace4.c): Likewise.
37297         (CFLAGS-tst-backtrace5.c): Likewise.
37298         (LDFLAGS-tst-backtrace2): Likewise.
37299         (LDFLAGS-tst-backtrace3): Likewise.
37300         (LDFLAGS-tst-backtrace4): Likewise.
37301         (LDFLAGS-tst-backtrace5): Likewise.
37302         (tests): Add new tests tst-backtrace2, tst-backtrace3,
37303         tst-backtrace4 and tst-backtrace5.
37305 2013-01-18  Anton Blanchard  <anton@samba.org>
37306             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37308         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
37309         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
37310         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
37311         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
37312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37313         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
37314         "+r" and remove output regs list as redundant.  Add explicit inline
37315         asm to specify register of return val to work around compiler codegen
37316         bug.  Remove (int) cast on return value.  Add return type parameter to
37317         use in macro so that this macro does not truncate return value for
37318         64-bit values.
37319         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
37320         pass to INTERNAL_VSYSCALL_NCS.
37321         (INLINE_VSYSCALL): Add 'long int' as return type to
37322         INTERNAL_VSYSCALL_NCS macro invocation.
37323         (INTERNAL_VSYSCALL): Add 'long int' as return type to
37324         INTERNAL_VSYSCALL_NCS macro invocation.
37325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37327 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37329         [BZ #14496]
37330         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
37331         Fix application of SIMD FP exception mask.
37333         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
37334         mp_no from a power of two.
37335         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
37336         __mpexp_twomm1.  Use __pow_mp.
37338         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
37339         multiplication.
37341 2013-01-17  David S. Miller  <davem@davemloft.net>
37343         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37345 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
37347         [BZ #15023]
37348         * include/complex.h: Condition contents on [!_COMPLEX_H].
37349         (__kernel_casinhf): New prototype.
37350         (__kernel_casinh): Likewise.
37351         (__kernel_casinhl): Likewise.
37352         * math/Makefile (libm_calls): Add k_casinh.
37353         * math/k_casinh.c: New file.
37354         * math/k_casinhf.c: Likewise.
37355         * math/k_casinhl.c: Likewise.
37356         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
37357         finite nonzero arguments.
37358         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
37359         finite nonzero arguments.
37360         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
37361         finite nonzero arguments.
37362         * math/s_casinh.c: Do not include <float.h>.
37363         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
37364         * math/s_casinhf.c: Do not include <float.h>.
37365         (__casinhf): Move code for finite nonzero arguments to
37366         k_casinhf.c.
37367         * math/s_casinhl.c: Do not include <float.h>.
37368         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
37369         redefine.
37370         (__casinhl): Move code for finite nonzero arguments to
37371         k_casinhl.c.
37372         * math/libm-test.inc (cacos_test): Add more tests.
37373         * sysdeps/i386/fpu/libm-test-ulps: Update.
37374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37376 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
37378         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
37379         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
37380         [!HAVE_MREMAP]: Remove [defined linux] case.
37381         * malloc/arena.c: Do not include <malloc-sysdep.h>.
37383 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
37385         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
37387 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
37389         * elf/elf.h (R_386_SIZE32): New relocation.
37390         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
37391         R_386_SIZE32.
37392         (elf_machine_rela): Likewise.
37393         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
37394         R_X86_64_SIZE64 and R_X86_64_SIZE32.
37396 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
37398         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
37399         (FP_FAST_FMA): Do not define.
37400         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
37401         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
37402         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
37403         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
37404         !_SOFT_FLOAT]: Likewise.
37405         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
37406         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
37407         value.
37408         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
37409         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
37410         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
37411         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
37412         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
37413         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
37414         file.
37416 2013-01-16  Andreas Schwab  <schwab@suse.de>
37418         [BZ #14327]
37419         * include/stdlib.h (__mktemp): Add declaration.
37420         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
37421         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
37423 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37425         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
37426         definitions.
37427         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
37428         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
37429         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
37430         definitions here.
37431         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
37432         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
37433         definitions.
37434         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
37435         and ONE.
37436         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
37437         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
37438         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
37439         definitions.
37440         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
37441         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
37442         definitions.
37443         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
37445         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
37447 2013-01-15  David S. Miller  <davem@davemloft.net>
37449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37450         trunc{,f} to libm-sysdep_routes.
37451         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
37453         file.
37454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
37455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
37456         file.
37457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
37458         file.
37459         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
37460         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
37461         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
37462         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
37463         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
37464         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
37465         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
37466         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
37468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37469         nearbyint{,f} to libm-sysdep_routes.
37470         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
37472         New file.
37473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
37474         file.
37475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
37476         New file.
37477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
37478         file.
37479         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
37480         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
37481         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
37482         file.
37483         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
37484         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
37485         file.
37486         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
37487         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
37488         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
37490         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
37491         libc_feholdexcept and libc_fesetenv.
37493 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
37495         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
37497 2013-01-14  David S. Miller  <davem@davemloft.net>
37499         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
37500         (SPARC_ASM_VIS2_IFUNC): Likewise.
37501         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
37502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
37503         use of 'siam' instruction.
37504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
37505         Likewise.
37506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
37507         Likewise.
37508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
37509         Likewise.
37510         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
37511         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
37512         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
37513         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
37514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
37515         file.
37516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
37517         file.
37518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
37519         file.
37520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
37521         file.
37522         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
37523         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
37524         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
37525         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
37526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
37527         new VIS2 routines.
37528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37531         Likewise.
37532         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37533         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37534         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37535         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
37537         routines to libm-sysdep_routines.
37538         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37541         fdim/fdimf to libm-sysdep_routines.
37542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
37543         file.
37544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
37545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
37546         file.
37547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
37548         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
37549         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
37550         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
37551         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
37552         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
37553         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
37555 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37557         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
37558         to optimize copies.
37560         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
37561         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37562         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37564         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
37565         local variable MPTWO.
37566         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
37567         Likewise.
37569 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
37571         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
37572         GLOB_NOESCAPE.
37574 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
37576         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
37578 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
37580         * manual/pattern.texi (glob_t): Document gl_flags.
37581         (glob64_t): Likewise.
37583 2013-01-11  David S. Miller  <davem@davemloft.net>
37585         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
37586         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
37587         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
37588         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
37589         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
37590         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
37591         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
37592         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
37593         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
37594         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
37595         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
37596         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
37597         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
37599         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
37600         sparc V9 rather than using V8 code.
37601         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37602         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37604         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
37605         Move to...
37606         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
37607         Here.
37609 2013-01-11  Roland McGrath  <roland@hack.frob.com>
37611         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
37612         not in the main loop.
37613         * configure: Regenerated.
37615 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
37617         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
37618         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
37619         to just #else.
37620         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
37621         [!__GLIBC_HAVE_LONG_LONG] case.
37622         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
37623         condition to just #else.
37624         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
37625         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
37626         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
37627         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
37628         unconditional.
37629         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
37630         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
37631         #elif condition to just #else.
37632         * sysdeps/unix/sysv/linux/sys/sysmacros.h
37633         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
37634         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
37635         #elif condition to just #else.
37637 2013-01-11  Steve Ellcey  <sellcey@mips.com>
37639         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
37640         (EF_MIPS_ARCH_64): Fix value.
37641         (EF_MIPS_ARCH_32R2): New.
37642         (EF_MIPS_ARCH_64R2): New.
37644 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
37646         * Makeconfig (+link-pie-before-libc): New.
37647         (+link-pie-after-libc): Likewise.
37648         (+link-pie-tests): Likewise.
37649         (+link-pie): Rewritten.
37650         (link-before-libc): Remove $(config-LDFLAGS).
37651         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
37652         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
37653         (config-LDFLAGS): Renamed to ...
37654         (rtld-LDFLAGS): This.
37655         (rtld-tests-LDFLAGS): New macro.
37656         (link-libc-rpath-link): Likewise.
37657         (link-libc-tests-rpath-link): Likewise.
37658         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
37659         (link-libc): Prepand $(link-libc-rpath-link).
37660         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
37661         (test-program-prefix): New macro.
37662         (test-via-rtld-prefix): Likewise.
37663         (test-program-cmd): Likewise.
37664         (host-test-program-cmd): Likewise.
37665         * Makefile ($(common-objpfx)testrun.sh): Replace
37666         $(run-program-prefix) with $(test-program-prefix).
37667         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
37668         $(rtld-LDFLAGS).
37669         ($(common-objpfx)shlib.lds): Likewise.
37670         (build-module-helper): Likewise.
37671         ($(common-objpfx)format.lds): Likewise.
37672         * Rules (binaries-pie-tests): New.
37673         (binaries-pie-notests): Likewise.
37674         (binaries-pie): Rewritten.
37675         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
37676         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
37677         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
37678         (make-test-out): Replace $(host-built-program-cmd) with
37679         $(host-test-program-cmd).
37680         * config.make.in (build-hardcoded-path-in-tests): New variable.
37681         * configure.in (--enable-hardcoded-path-in-tests): New configure
37682         option.
37683         (hardcoded_path_in_tests): New AC_SUBST.
37684         * configure: Regenerated.
37685         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
37686         $(built-program-cmd) with $(test-program-cmd).
37687         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
37688         (test_program_cmd): This.
37689         * elf/Makefile ($(objpfx)order.out): Run test with
37690         $(test-program-prefix).
37691         ($(objpfx)order2.out): Likewise.
37692         ($(objpfx)tst-initorder.out): Likewise.
37693         ($(objpfx)tst-initorder2.out): Likewise.
37694         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
37695         $(test-program-cmd).
37696         ($(objpfx)tst-array1-static.out): Likewise.
37697         ($(objpfx)tst-array2.out): Likewise.
37698         ($(objpfx)tst-array3.out): Likewise.
37699         ($(objpfx)tst-array4.out): Likewise.
37700         ($(objpfx)tst-array5.out): Likewise.
37701         ($(objpfx)tst-array5-static.out): Likewise.
37702         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
37703         $(test-program-cmd).
37704         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
37705         $(run-program-prefix) with $(test-program-prefix).
37706         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
37707         (test_program_prefix): This.
37708         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
37709         $(run-program-prefix) with $(test-program-prefix).
37710         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
37711         (test_program_prefix): This.
37712         * iconvdata/tst-tables.sh: Likewise.
37713         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
37714         $(run-program-prefix) with $(test-program-prefix).
37715         ($(objpfx)tst-translit.out): Likewise.
37716         ($(objpfx)tst-gettext2.out): Likewise.
37717         ($(objpfx)tst-gettext4.out): Likewise.
37718         ($(objpfx)tst-gettext6.out): Likewise.
37719         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
37720         (test_program_prefix): This.
37721         * intl/tst-gettext2.sh: Likewise.
37722         * intl/tst-gettext4.sh  Likewise.
37723         * intl/tst-gettext6.sh: Likewise.
37724         * intl/tst-translit.sh: Likewise.
37725         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
37726         with $(test-program-cmd).
37727         * libio/Makefile ($(objpfx)test-freopen.out): Replace
37728         $(run-program-prefix) with $(test-program-prefix).
37729         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
37730         (test_program_prefix): This.
37731         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
37732         $(run-program-prefix) with $(test-program-prefix).
37733         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
37734         (test_program_prefix): This.
37735         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
37736         * posix/Makefile ($(objpfx)globtest.out): Replace
37737         $(run-via-rtld-prefix) and $(test-wrapper) with
37738         $(test-program-prefix) and $(test-via-rtld-prefix).
37739         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
37740         $(test-program-prefix).
37741         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
37742         $(host-test-program-cmd).
37743         (tst-spawn-ARGS): Likewise.
37744         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
37745         $(test-program-prefix).
37746         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
37747         (test_via_rtld_prefix): This.
37748         (test_wrapper): Renamed to ...
37749         (test_program_prefix): This.
37750         (run_program_prefix): Replaced by test_program_prefix.
37751         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
37752         (test_program_prefix): This.
37753         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
37754         with $(host-test-program-cmd).
37755         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
37756         $(run-program-prefix) with $(test-program-prefix).
37757         ($(objpfx)tst-printf.out): Likewise.
37758         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
37759         $(test-program-cmd).
37760         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
37761         (test_program_prefix): This.
37762         * stdio-common/tst-unbputc.sh: Likewise.
37763         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
37764         $(run-program-prefix) with $(test-program-prefix).
37765         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
37766         (test_program_prefix): This.
37767         * string/Makefile ($(objpfx)tst-svc.out):  Replace
37768         $(built-program-cmd) with $(test-program-cmd).
37770 2013-01-11  Andreas Jaeger  <aj@suse.de>
37772         [BZ #15003]
37773         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
37774         value. Sync with Linux 3.7.
37776 2013-01-10  David S. Miller  <davem@davemloft.net>
37778         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
37779         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37780         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37782 2013-01-10  Roland McGrath  <roland@hack.frob.com>
37784         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
37785         never set.
37786         * configure: Regenerated.
37788 2013-01-10  David S. Miller  <davem@davemloft.net>
37790         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
37791         sparc V9 rather than using V8 code.
37792         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37793         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37795 2013-01-10  Roland McGrath  <roland@hack.frob.com>
37797         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
37798         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
37799         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
37800         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
37801         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
37802         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
37803         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
37804         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
37805         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
37806         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
37807         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
37808         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
37809         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
37810         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
37811         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
37812         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
37813         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
37814         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
37815         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
37816         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
37817         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
37818         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
37819         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
37820         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
37821         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
37822         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
37823         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
37825 2013-01-10  David S. Miller  <davem@davemloft.net>
37827         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37829 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
37831         * posix/Makefile (tests-static): New variable.
37832         (tests): Add $(tests-static).
37833         (tst-exec-static-ARGS): New variable.
37834         (tst-spawn-static-ARGS): Likewise.
37835         * posix/tst-exec-static.c: New file.
37836         * posix/tst-spawn-static.c: Likewise.
37837         * posix/tst-exec.c: Support run directly.
37838         * posix/tst-spawn.c: Likewise.
37840 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
37842         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
37843         long.
37844         * math/bits/mathcalls.h (llrint): Likewise.
37845         (llround): Likewise.
37846         * stdlib/stdlib.h (struct drand48_data): Likewise.
37847         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
37848         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
37849         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
37850         Likewise.
37851         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
37852         Likewise.
37853         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
37854         (elf_greg_t): Likewise.
37855         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
37856         (__jmp_buf): Likewise.
37857         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
37858         definitions.
37859         (llrint): Likewise, for all definitions.
37860         (llrintl): Likewise.
37862         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
37863         Remove [__GNUC__] condition.
37864         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
37865         condition to just [__USE_ISOC99].
37866         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
37868 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
37870         [BZ #14200]
37871         * sysdeps/unix/sysv/linux/x86/bits/environments.h
37872         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
37873         defined.
37874         (_POSIX_V6_ILP32_OFF32): Likewise.
37875         (_XBS5_ILP32_OFF32): Likewise.
37876         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
37877         (__ILP32_OFFBIG_LDFLAGS): Likewise.
37879 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37881         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
37883         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
37884         doubles __mpexp_twomm1.  Adjust usage.
37885         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
37886         Remove.
37888 2013-01-10  Andreas Schwab  <schwab@suse.de>
37890         [BZ #14964]
37891         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
37892         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
37894 2013-01-09  David S. Miller  <davem@davemloft.net>
37896         [BZ #15003]
37897         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
37898         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
37899         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
37900         (TCP_FASTOPEN): Define.
37901         (tcp_repair_opt): New structure.
37902         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
37903         enum values.
37904         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
37905         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
37906         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
37907         (tcp_cookie_transactions): New structure.
37909 2013-01-09  Anton Blanchard  <anton@samba.org>
37911         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
37912         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
37913         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
37914         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
37916 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
37918         * include/features.h (__USE_ANSI): Remove.
37920 2013-01-09  Roland McGrath  <roland@hack.frob.com>
37922         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
37924         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
37926 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
37928         * sysdeps/s390/fpu/libm-test-ulps: Update.
37930         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37932         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
37933         (__acr): Likewise.
37934         (__cpy): Likewise.
37935         (norm): Likewise.
37936         (denorm): Likewise.
37937         (__mp_dbl): Likewise.
37938         (__dbl_mp): Likewise.
37939         (add_magnitudes): Likewise.
37940         (sub_magnitudes): Likewise.
37941         (__add): Likewise.
37942         (__sub): Likewise.
37943         (__mul): Likewise.
37944         (__inv): Likewise.
37945         (__dvd): Likewise.
37946         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
37947         (__acr): Likewise.
37948         (__cpy): Likewise.
37949         (norm): Likewise.
37950         (denorm): Likewise.
37951         (__mp_dbl): Likewise.
37952         (__dbl_mp): Likewise.
37953         (add_magnitudes): Likewise.
37954         (sub_magnitudes): Likewise.
37955         (__add): Likewise.
37956         (__sub): Likewise.
37957         (__mul): Likewise.
37958         (__inv): Likewise.
37959         (__dvd): Likewise.
37960         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
37961         (__acr): Likewise.
37962         (__cpy): Likewise.
37963         (norm): Likewise.
37964         (denorm): Likewise.
37965         (__mp_dbl): Likewise.
37966         (__dbl_mp): Likewise.
37967         (add_magnitudes): Likewise.
37968         (sub_magnitudes): Likewise.
37969         (__add): Likewise.
37970         (__sub): Likewise.
37971         (__mul): Likewise.
37972         (__inv): Likewise.
37973         (__dvd): Likewise.
37975 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
37977         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
37978         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
37979         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
37980         2 && __USE_EXTERN_INLINES]: Likewise.
37982 2013-01-08  Andreas Jaeger  <aj@suse.de>
37984         [BZ# 14985]
37985         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
37986         Remove.
37987         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
37988         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
37990 2013-01-07  Anton Blanchard  <anton@samba.org>
37992         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
37993         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
37994         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
37995         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
37996         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
37997         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37998         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
37999         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
38000         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38001         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38002         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38003         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38004         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38005         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38006         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
38007         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38008         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38009         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38010         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
38011         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
38012         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
38013         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
38014         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38015         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
38016         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
38017         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
38018         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38019         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
38020         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
38021         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38022         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
38023         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38024         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38025         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
38026         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
38027         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38028         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38029         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38030         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
38031         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
38032         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
38033         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38034         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
38036 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
38038         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
38039         (__MALLOC_PMT): Likewise.
38040         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
38041         [__GNUC__], only on [_LIBC].
38042         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38043         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
38044         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38045         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
38046         forward declaration.
38047         (realloc_hook_ini): Likewise.
38048         (memalign_hook_ini): Likewise.
38049         (__libc_memalign): Do not use __MALLOC_PMT in variable
38050         declaration.
38051         (__libc_valloc): Likewise.
38052         (__libc_pvalloc): Likewise.
38053         (__libc_calloc): Likewise.
38054         (__posix_memalign): Likewise.
38056         [BZ #14996]
38057         * math/s_casinh.c: Include <float.h>.
38058         (__casinh): Do not do computation with squaring and square root
38059         for large arguments.
38060         * math/s_casinhf.c: Include <float.h>.
38061         (__casinhf): Do not do computation with squaring and square root
38062         for large arguments.
38063         * math/s_casinhl.c: Include <float.h>.
38064         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
38065         (__casinhl): Do not do computation with squaring and square root
38066         for large arguments.
38067         * math/libm-test.inc (casin_test): Add more tests.
38068         (casinh_test): Likewise.
38069         * sysdeps/i386/fpu/libm-test-ulps: Update.
38070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38072 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
38074         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
38075         (__x86_64_raw_data_cache_size): Likewise.
38076         (__x86_64_data_cache_size_half): Likewise.
38077         (__x86_64_raw_data_cache_size_half): Likewise.
38078         (__x86_64_shared_cache_size): Likewise.
38079         (__x86_64_raw_shared_cache_size): Likewise.
38080         (__x86_64_shared_cache_size_half): Likewise.
38081         (__x86_64_raw_shared_cache_size_half): Likewise.
38082         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
38083         to ...
38084         (__x86_data_cache_size): This.
38085         (__x86_64_raw_data_cache_size): Renamed to ...
38086         (__x86_raw_data_cache_size): This.
38087         (__x86_64_data_cache_size_half): Renamed to ...
38088         (__x86_data_cache_size_half): This.
38089         (__x86_64_raw_data_cache_size_half): Renamed to ...
38090         (__x86_raw_data_cache_size_half): This.
38091         (__x86_64_shared_cache_size): Renamed to ...
38092         (__x86_shared_cache_size): This.
38093         (__x86_64_raw_shared_cache_size): Renamed to ...
38094         (__x86_raw_shared_cache_size): This.
38095         (__x86_64_shared_cache_size_half): Renamed to ...
38096         (__x86_shared_cache_size_half): This.
38097         (__x86_64_raw_shared_cache_size_half): Renamed to ...
38098         (__x86_raw_shared_cache_size_half): This.
38099         * sysdeps/x86_64/memcpy.S: Updated.
38100         * sysdeps/x86_64/memset.S: Likewise.
38101         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
38102         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38103         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38105 2013-01-04  David S. Miller  <davem@davemloft.net>
38107         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38109 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
38111         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
38112         1 to avoid redefinition warning.
38113         (__USE_GNU): Don't define.
38114         (init_signaling_nan): Protoize.
38116         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38118 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38120         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
38121         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
38122         (__cpymn): Likewise.
38123         (norm): Remove commented code.
38124         (denorm): Likewise.
38125         (__mp_dbl): Likewise.
38126         (__inv): Likewise.
38127         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
38128         (__cpymn): Likewise.
38129         (norm): Remove commented code.
38130         (denorm): Likewise.
38131         (__mp_dbl): Likewise.
38132         (__inv): Likewise.
38134         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
38135         mp_no value for 1.0 and 2.0.
38136         (norm): Use RADIXI instead of radixi.d.
38137         (denorm): Likewise.
38138         (__mul): Use 0.0 instead of zero.d.
38139         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
38140         mp_no value for 1.0 and 2.0.
38141         (norm): Use RADIXI instead of radixi.d.
38142         (denorm): Likewise.
38143         (__mul): Use 0.0 instead of zero.d.
38145 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
38147         [BZ #14994]
38148         * math/s_casinh.c (__casinh): Reduce finite argument to first
38149         quadrant then set signs of results at the end.
38150         * math/s_casinhf.c (__casinhf): Likewise.
38151         * math/s_casinhl.c (__casinhl): Likewise.
38152         * math/libm-test.inc (casin_test): Add more tests.
38153         (casinh_test): Likewise.
38154         * sysdeps/i386/fpu/libm-test-ulps: Update.
38155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38157 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38159         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
38161         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
38163         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
38164         declarations.
38165         (denorm): Likewise.
38166         (__mp_dbl): Likewise.
38167         (__inv): Likewise.
38169         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
38170         and adjust the header comment.
38172         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
38173         variable name from declaration.
38175 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
38177         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38178         Initialize COMMON_CPUID_INDEX_7 element.
38179         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
38180         (CPUID_RTM): Likewise.
38181         (HAS_RTM): Likewise.
38182         (COMMON_CPUID_INDEX_7): New enum.
38184 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
38186         [BZ #14981]
38187         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
38188         size is zero, record memory as freed.
38190 2013-01-03  Andreas Jaeger  <aj@suse.de>
38192         * po/ia.po: Add new Interlingua translation.
38194 2012-01-03  Allan McRae  <allan@archlinux.org>
38196         * locale/programs/localedef.c: Fix description of '--posix' flag.
38198 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
38200         * NEWS: Update dates in second copyright notice.
38201         * README: Update copyright dates in example.
38202         * manual/libc.texinfo: Update copyright dates.
38203         * scripts/test-installation.pl: Update copyright date in --version
38204         output.
38206         * hurd/ctty-input.c: Fix copyright notice formatting.
38207         * hurd/ctty-output.c: Likewise.
38208         * hurd/dtable.c: Likewise.
38209         * hurd/hurd-raise.c: Likewise.
38210         * hurd/hurdprio.c: Likewise.
38211         * hurd/msgportdemux.c: Likewise.
38212         * misc/sys/file.h: Likewise.
38213         * misc/sys/ioctl.h: Likewise.
38214         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
38215         * sysdeps/mach/hurd/chdir.c: Likewise.
38216         * sysdeps/mach/hurd/fchdir.c: Likewise.
38217         * sysdeps/mach/hurd/rename.c: Likewise.
38218         * sysdeps/mach/hurd/rmdir.c: Likewise.
38219         * sysdeps/mach/hurd/seekdir.c: Likewise.
38220         * sysdeps/mach/hurd/setsid.c: Likewise.
38221         * sysdeps/posix/wait3.c: Likewise.
38223         * All files with FSF copyright notices: Update copyright dates
38224         using scripts/update-copyrights.
38225         * intl/plural.c: Regenerated.
38226         * locale/programs/charmap-kw.h: Likewise.
38227         * locale/programs/locfile-kw.h: Likewise.
38229 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38231         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
38232         four values.
38234         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
38235         calculation loop and add branch prediction.
38237         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
38238         check access beyond bounds of m1np.
38240         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
38241         MPTWO.
38242         (__inv): Remove local variable MPTWO to use the global
38243         constant.
38244         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
38245         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
38246         variable MPTWO.
38247         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
38248         MP3HALFS static const.
38250 2013-01-01  David S. Miller  <davem@davemloft.net>
38252         * po/ca.po: Update from translation team.
38254 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
38256         * scripts/update-copyrights: New file.
38257         * Makeconfig: Reformat copyright notice.
38258         * ctype/ctype.h: Likewise.
38259         * debug/swprintf_chk.c: Likewise.
38260         * elf/dl-cache.c: Likewise.
38261         * elf/dl-debug.c: Likewise.
38262         * elf/dl-object.c: Likewise.
38263         * grp/initgroups.c: Likewise.
38264         * hurd/Makefile: Likewise.
38265         * hurd/hurd/signal.h: Likewise.
38266         * hurd/hurdfault.c: Likewise.
38267         * hurd/hurdioctl.c: Likewise.
38268         * hurd/hurdlookup.c: Likewise.
38269         * hurd/intr-msg.c: Likewise.
38270         * iconv/gconv_open.c: Likewise.
38271         * libio/swprintf.c: Likewise.
38272         * locale/lc-ctype.c: Likewise.
38273         * locale/nl_langinfo.c: Likewise.
38274         * mach/Machrules: Likewise.
38275         * mach/Makefile: Likewise.
38276         * malloc/obstack.h: Likewise.
38277         * manual/Makefile: Likewise.
38278         * manual/tsort.awk: Likewise.
38279         * misc/bits/stab.def: Likewise.
38280         * nis/nis_print_group_entry.c: Likewise.
38281         * nis/nis_table.c: Likewise.
38282         * nis/nss_compat/compat-pwd.c: Likewise.
38283         * nis/nss_compat/compat-spwd.c: Likewise.
38284         * po/Makefile: Likewise.
38285         * posix/fnmatch.c: Likewise.
38286         * posix/regex.h: Likewise.
38287         * resolv/Makefile: Likewise.
38288         * resolv/nss_dns/dns-network.c: Likewise.
38289         * resolv/res_hconf.c: Likewise.
38290         * scripts/gen-sorted.awk: Likewise.
38291         * soft-fp/soft-fp.h: Likewise.
38292         * stdio-common/printf.h: Likewise.
38293         * stdlib/monetary.h: Likewise.
38294         * stdlib/random.c: Likewise.
38295         * stdlib/random_r.c: Likewise.
38296         * sysdeps/generic/Makefile: Likewise.
38297         * sysdeps/gnu/Makefile: Likewise.
38298         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38299         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38300         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38301         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38302         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38303         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38304         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38305         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38306         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38307         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38308         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38309         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38310         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38311         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38312         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
38313         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38314         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38315         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38316         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38317         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38318         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38319         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38320         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38321         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
38322         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
38323         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38324         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
38325         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
38326         * sysdeps/mach/hurd/errnos.awk: Likewise.
38327         * sysdeps/mach/hurd/fork.c: Likewise.
38328         * sysdeps/mach/hurd/getcwd.c: Likewise.
38329         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
38330         * sysdeps/mach/hurd/mmap.c: Likewise.
38331         * sysdeps/mach/hurd/utimes.c: Likewise.
38332         * sysdeps/mach/hurd/xmknod.c: Likewise.
38333         * sysdeps/posix/profil.c: Likewise.
38334         * sysdeps/posix/readdir_r.c: Likewise.
38335         * sysdeps/powerpc/bits/mathdef.h: Likewise.
38336         * sysdeps/powerpc/bits/setjmp.h: Likewise.
38337         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
38338         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
38339         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38340         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38341         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38342         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38343         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38344         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38345         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38346         * sysdeps/pthread/lio_listio.c: Likewise.
38347         * sysdeps/sparc/dl-procinfo.h: Likewise.
38348         * sysdeps/unix/i386/sysdep.S: Likewise.
38349         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
38350         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
38351         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
38352         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
38353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38354         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
38355         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
38356         * sysdeps/unix/sysv/linux/speed.c: Likewise.
38357         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
38358         * sysdeps/wordsize-32/divdi3.c: Likewise.
38359         * time/sys/time.h: Likewise.
38360         * wcsmbs/Makefile: Likewise.
38362 2013-01-01  David S. Miller  <davem@davemloft.net>
38364         * po/fr.po: Update from translation team.
38366         * catgets/gencat.c: Update copyright year.
38367         * csu/version.c: Likewise.
38368         * debug/catchsegv.sh: Likewise.
38369         * debug/pcprofiledump.c: Likewise.
38370         * debug/xtrace.sh: Likewise.
38371         * elf/ldconfig.c: Likewise.
38372         * elf/ldd.bash.in: Likewise.
38373         * elf/pldd.c: Likewise.
38374         * elf/sotruss.ksh: Likewise.
38375         * elf/sprof.c: Likewise.
38376         * iconv/iconv_prog.c: Likewise.
38377         * iconv/iconvconfig.c: Likewise.
38378         * locale/programs/locale.c: Likewise.
38379         * locale/programs/localedef.c: Likewise.
38380         * login/programs/pt_chown.c: Likewise.
38381         * malloc/memusage.sh: Likewise.
38382         * malloc/memusagestat.c: Likewise.
38383         * malloc/mtrace.pl: Likewise.
38384         * nscd/nscd.c: Likewise.
38385         * nss/getent.c: Likewise.
38386         * nss/makedb.c: Likewise.
38387         * posix/getconf.c: Likewise.
38389 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
38391         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
38392         numbers.
38394 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
38396         * math/bits/mathcalls.h (modf): Use __nonnull.
38398 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38400         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
38401         (split): Use macro CN instead of the bare value.
38402         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
38403         could be used.
38404         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
38405         instead of the bare value.
38406         (power1): Likewise.
38408 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38410         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
38411         __ATAN_TWOM.
38412         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38414         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
38415         their values.
38416         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
38417         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
38418         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
38419         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
38421 2012-12-28  Andreas Jaeger  <aj@suse.de>
38423         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
38424         values are from Linux 3.7.
38426         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
38427         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
38429 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38431         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
38432         TRUE case.
38434         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
38435         (norm): Likewise.
38436         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
38437         variables with preprocessor constants.
38438         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38439         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
38440         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
38442 2012-12-27  Bruno Haible  <bruno@clisp.org>
38444         [BZ #14317]
38445         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
38446         only if needed.
38448 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38450         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
38451         and use variable directly.
38452         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
38454         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
38455         MPONE.
38456         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
38457         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
38458         variable MPONE.
38459         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
38460         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
38461         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
38462         include directive.  Remove local variable MPONE.
38463         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
38464         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
38465         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38467 2012-12-25  David S. Miller  <davem@davemloft.net>
38469         * version.h (RELEASE): Set to "development".
38470         (VERSION): Set to "2.17.90".
38471         * NEWS: Add 2.18 section.
38473 2012-12-21  David S. Miller  <davem@davemloft.net>
38475         * po/hr.po: Update from translation team.
38477 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38479         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
38481 2012-12-19  Steve Ellcey  <sellcey@mips.com>
38483         * NEWS:  Mention new memcpy for MIPS.
38485 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38487         * manual/contrib.texi (Contributors): Spelling correction.
38489 2012-12-15  David S. Miller  <davem@davemloft.net>
38491         * po/ru.po: Update from translation team.
38493 2012-12-13  David S. Miller  <davem@davemloft.net>
38495         * NEWS: Mention IFUNC testsuite enhancements.
38497         * po/pl.po: Update from translation team.
38498         * po/bg.po: Likewise.
38500         * manual/contrib.texi (Contributors): Update entries for Hongjiu
38501         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
38503 2012-12-11  David S. Miller  <davem@davemloft.net>
38505         * po/sv.po: Update from translation team.
38507         * po/vi.po: Update from translation team.
38509         * po/cs.po: Update from translation team.
38511         * po/de.po: Update from translation team.
38512         * po/eo.po: Likewise.
38513         * po/nl.po: Likewise.
38515 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38517         [BZ #14246]
38518         * manual/argp.texi (Argp Helper Functions): Move node to follow
38519         Argp Parsing State.
38521         [BZ #14872]
38522         * manual/conf.texi (Limits on File System Capacity): Mention if
38523         terminating null is included in the max size.
38525 2012-12-10  Andreas Jaeger  <aj@suse.de>
38527         * po/cs.po: Update from translation team.
38529 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
38531         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
38532         void pointer and cast to uintptr_t.
38533         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
38534         path.
38535         * sysdeps/s390/s390-64/memcpy.S: Likewise.
38536         * sysdeps/s390/s390-64/memset.S: Likewise.
38538 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
38540         [BZ #14833]
38541         * menual/message.texi (Message Translation): Fix typos.
38542         (Helper programs for gettext): Likewise.
38544 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
38546         [BZ #14898]
38547         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
38548         Change to -1.
38550 2012-12-07  David S. Miller  <davem@davemloft.net>
38552         * po/libc.pot: Update.
38554 2012-12-07  Richard Henderson  <rth@redhat.com>
38556         [BZ #10114]
38557         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
38558         normal/normal case to before the switch.
38559         (_FP_DIV): Likewise.
38561 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
38562             Mike Frysinger  <vapier@gentoo.org>
38564         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
38565         check for __NR_fadvise64_64.
38567 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
38569         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
38570         0, not just to plain "0" as a statement.
38571         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
38572         with cw.
38574 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
38576         * NEWS: Use sourceware.org in Bugzilla URL.
38578 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
38580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
38581         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
38583         * stdio-common/tst-put-error.c (do_test): Add newline to the
38584         padded test to ensure flush.
38586 2012-12-05  Jeff Law  <law@redhat.com>
38588         * sunrpc/etc.rpc (fedfs_admin): Add entry.
38590 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
38592         * README: Don't refer to ports add-on as distributed separately.
38593         Mention AArch64 in list of systems supported in the ports add-on.
38595         * LICENSES: Add more non-FSF copyright and license notices.
38597         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
38598         ((unused)).
38600         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
38602         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
38603         10000 as width of padded output.
38605 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
38607         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
38609         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
38610         variable LX with __attribute__ ((unused)).
38611         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
38612         Likewise.
38613         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
38614         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38615         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
38616         with __attribute__ ((unused)).
38618 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
38620         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
38622 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
38624         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
38625         (CFLAGS-nldbl-acos.c): New variable.
38626         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
38627         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
38628         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
38629         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
38630         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
38631         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
38632         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
38633         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
38634         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
38635         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
38636         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
38637         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
38638         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
38639         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
38640         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
38641         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
38642         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
38643         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
38644         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
38645         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
38646         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
38647         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
38648         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
38649         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
38650         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
38651         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
38652         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
38653         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
38654         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
38655         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
38656         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
38657         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
38658         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
38659         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
38660         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
38661         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
38662         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
38663         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
38664         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
38665         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
38666         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
38667         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
38668         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
38669         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
38670         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
38671         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
38672         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
38673         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
38674         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
38675         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
38676         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
38677         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
38678         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
38679         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
38680         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
38681         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
38682         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
38683         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
38684         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
38685         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
38686         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
38687         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
38688         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
38689         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
38690         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
38691         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
38692         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
38693         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
38694         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
38695         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
38696         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
38697         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
38698         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
38699         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
38700         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
38701         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
38702         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
38703         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
38704         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
38705         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
38706         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
38707         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
38708         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
38709         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
38710         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
38711         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
38712         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
38713         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
38714         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
38715         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
38716         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
38717         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
38718         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
38719         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
38720         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
38721         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
38722         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
38724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
38725         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
38727         [BZ #14914]
38728         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
38729         whole low double instead of just low 47 bits when splitting values
38730         into two parts.
38732 2012-12-03  Allan McRae  <allan@archlinux.org>
38734         * manual/stdio.texi (Predefined Printf Handlers): Remove
38735         @hsep and @vsep usage.
38737 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
38739         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
38740         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
38742 2012-12-03  Jeff Law  <law@redhat.com>
38744         * time/sys/time.h (settimeofday): Do not mark TV argument
38745         as __nonnull.
38747 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
38749         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
38750         when currently writing and seek to current position when not.
38751         * libio/Makefile (tests): Remove bug-fclose1.
38752         * libio/bug-fclose1.c: Delete.
38754 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
38756         * manual/arith.texi (feenableexcept): Fix typo.
38757         (fedisableexcept): Likewise.
38759 2012-11-30  Roland McGrath  <roland@hack.frob.com>
38761         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
38762         second, differently-typed declaration, rather than a cast.
38764 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38766         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
38767         * include/rpc/svc.h: ... here.
38769 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
38771         [BZ #13013]
38772         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
38773         depending n and resplen2 to catch cases where answer
38774         equals answerp2.
38776 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
38778         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
38779         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
38781 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
38783         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
38785 2012-11-29  Roland McGrath  <roland@hack.frob.com>
38787         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
38789 2012-11-28  Jeff Law  <law@redhat.com>
38791         [BZ #13761]
38792         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
38793         dataset_temporary.  Track alloca usage into alloca_used.
38794         If dataset is large allocate and release it via malloc/free.
38796 2012-06-04  Florian Weimer  <fweimer@redhat.com>
38798         [BZ #14197]
38799         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
38801 2012-11-28  David S. Miller  <davem@davemloft.net>
38803         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38805 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
38807         [BZ #14803]
38808         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
38809         of pi/2 rounded to nearest to 64 bits.
38810         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
38811         nearest to 64 bits.
38812         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
38813         bits.
38815 2012-11-28  Jeff Law <law@redhat.com>
38816             Martin Osvald <mosvald@redhat.com>
38818         [BZ #14889]
38819         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
38820         * sunrpc/svc.c: Include time.h.
38821         (__svc_accept_failed): New function.
38822         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
38823         any reason other than EINTR, call __svc_accept_failed.
38824         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
38825         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
38827 2012-11-28  Andreas Schwab  <schwab@suse.de>
38829         * scripts/abilist.awk: Also handle indirect functions in .opd
38830         section.
38832 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
38834         [BZ #13881]
38835         * sysdeps/x86/fpu/powl_helper.c: New file.
38836         * sysdeps/x86/fpu/Makefile: Likewise.
38837         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
38838         (p3): New object.
38839         (__ieee754_powl): Use __powl_helper for finite arguments except
38840         integer exponents below 8.
38841         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
38842         (p3): New object.
38843         (__ieee754_powl): Use __powl_helper for finite arguments except
38844         integer exponents below 8.
38845         * math/libm-test.inc (pow_test): Add more tests and enable some
38846         previously disabled tests.
38847         * sysdeps/i386/fpu/libm-test-ulps: Update.
38848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38850 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38851             Carlos O'Donell  <carlos_odonell@mentor.com>
38853         * nss/makedb.c (is_prime): Assert that input is odd and greater
38854         than 4.  Note that fact in a comment too.
38855         (next_prime): Add 4 to input.
38857 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38859         [BZ #11741]
38860         * libio/Makefile (tests): Add test case tst-fwrite-error.
38861         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
38862         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
38863         * libio/tst-fwrite-error.c: New test case.
38865 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
38867         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
38868         before casting to void *.
38869         * include/libc-internal.h (__pointer_type): New macro.
38870         (__integer_if_pointer_type_sub): Likewise.
38871         (__integer_if_pointer_type): Likewise.
38872         (cast_to_integer): Likewise.
38873         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
38874         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
38875         before casting to atomic64_t.
38876         (atomic_exchange_acq): Likewise.
38877         (__arch_exchange_and_add_body): Likewise.
38878         (__arch_add_body): Likewise.
38879         (atomic_add_negative): Likewise.
38880         (atomic_add_zero): Likewise.
38882 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
38884         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
38885         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
38886         (add_fdes): Likewise.
38887         (linear_search_fdes): Likewise.
38888         (binary_search_unencoded_fdes): Likewise.
38890 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
38892         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
38894 2012-11-24  Adam Conrad  <adconrad@0c3.net>
38896         * configure.in: Autodetect C++ header directories.
38897         * configure: Regenerated.
38899 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
38901         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
38903 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
38905         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38907 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
38909         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
38910         LDBL_MANT_DIG == 106]: Disable some tests.
38911         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
38912         Likewise.
38913         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
38914         Likewise.
38916         [BZ #14871]
38917         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
38918         input for small inputs.  Return +/- pi/2 for large inputs.
38919         * math/libm-test.inc (atan_test): Add more tests.
38921         * sysdeps/generic/unwind-dw2-fde-glibc.c
38922         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
38923         __attribute__ ((unused)).
38925         [BZ #14645]
38926         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
38927         x * y if x and y are nonzero and z is zero.
38929         [BZ #14811]
38930         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
38931         nonzero exponents with absolute value below 0x1p-117 to +/-
38932         0x1p-117.
38934         [BZ #14869]
38935         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
38936         up arguments below 2**-450, not just those below 2**-500.
38937         * math/libm-test.inc (hypot_test): Add another test.
38939         [BZ #14868]
38940         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
38941         Return a+b for ratio over 2**120, not 2**60.
38942         * math/libm-test.inc (hypot_test): Add another test.
38944         * math/libm-test.inc (clog_test): Use
38945         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
38946         (clog10_test): Likewise.
38948         [BZ #6778]
38949         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
38951 2012-11-22  Andreas Schwab  <schwab@suse.de>
38953         * sysdeps/i386/fpu/libm-test-ulps: Update.
38955 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
38957         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
38958         printf output with newline.
38960 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
38962         [BZ #14865]
38963         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
38964         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
38965         -z nodlopen, -z initfirst and -z execstack support.
38966         * configure: Regenerated.
38968         * elf/elf.h (DF_1_NODIRECT): New macro.
38969         (DF_1_IGNMULDEF): Likewise.
38970         (DF_1_NOKSYMS): Likewise.
38971         (DF_1_NOHDR): Likewise.
38972         (DF_1_EDITED): Likewise.
38973         (DF_1_NORELOC): Likewise.
38974         (DF_1_SYMINTPOSE): Likewise.
38975         (DF_1_GLOBAUDIT): Likewise.
38976         (DF_1_SINGLETON): Likewise.
38977         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
38978         DT_1_SUPPORTED_MASK bits.
38979         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
38981 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
38983         * sysdeps/unix/make-syscalls.sh: Document prefixes.
38985 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
38987         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
38988         macro.
38990         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
38991         (sendmmsg): Move declarations...
38992         * socket/sys/socket.h: ... here.
38993         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
38994         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
38995         include it from...
38996         * socket/recvmmsg.c: ... this new file.
38997         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
38998         (sendmmsg): Rename to __sendmmsg, create weak alias and make
38999         definition of __sendmmsg hidden.
39000         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
39001         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
39002         Move ENOSYS stub into and include it from...
39003         * socket/sendmmsg.c: ... this new file.
39004         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
39005         (sysdep_routines): Move recvmmsg and sendmmsg...
39006         * socket/Makefile (routines): ... here.
39007         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
39008         (GLIBC_PRIVATE): Add __sendmmsg.
39009         * include/sys/socket.h (__sendmmsg): Add declarations.
39010         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
39011         sendmmsg.
39013 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
39015         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
39016         variable I1 with __attribute__ ((unused)).
39017         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39019 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
39021         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
39022         DUMMY variables with __attribute__ ((unused)).
39024         * bits/byteswap.h: Include <bits/types.h>.
39025         (__bswap_64): Use __uint64_t instead of unsigned long long int.
39027 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
39029         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
39030         string_t.  Do not manually set errno.
39031         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
39032         length with __strnlen.  Make sure to both set errno and return it on
39033         failure.
39035 2012-11-19  David S. Miller  <davem@davemloft.net>
39037         With help from Joseph Myers.
39038         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
39039         very large arguments properly.
39040         * math/libm-test.inc (atan_test): New tests.
39041         (atan2_test): New tests.
39042         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39043         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39045 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
39047         [BZ #14856]
39048         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
39049         Define to 3.
39051         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
39052         [POSIX] (EADDRNOTAVAIL): Likewise.
39053         [POSIX] (EAFNOSUPPORT): Likewise.
39054         [POSIX] (EALREADY): Likewise.
39055         [POSIX] (ECONNABORTED): Likewise.
39056         [POSIX] (ECONNREFUSED): Likewise.
39057         [POSIX] (ECONNRESET): Likewise.
39058         [POSIX] (EDESTADDRREQ): Likewise.
39059         [POSIX] (EDQUOT): Likewise.
39060         [POSIX] (EHOSTUNREACH): Likewise.
39061         [POSIX] (EIDRM): Likewise.
39062         [POSIX] (EISCONN): Likewise.
39063         [POSIX] (ELOOP): Likewise.
39064         [POSIX] (EMULTIHOP): Likewise.
39065         [POSIX] (ENETDOWN): Likewise.
39066         [POSIX] (ENETUNREACH): Likewise.
39067         [POSIX] (ENOBUFS): Likewise.
39068         [POSIX] (ENODATA): Likewise.
39069         [POSIX] (ENOLINK): Likewise.
39070         [POSIX] (ENOMSG): Likewise.
39071         [POSIX] (ENOPROTOOPT): Likewise.
39072         [POSIX] (ENOSR): Likewise.
39073         [POSIX] (ENOSTR): Likewise.
39074         [POSIX] (ENOTCONN): Likewise.
39075         [POSIX] (ENOTSOCK): Likewise.
39076         [POSIX] (EOPNOTSUPP): Likewise.
39077         [POSIX] (EOVERFLOW): Likewise.
39078         [POSIX] (EPROTO): Likewise.
39079         [POSIX] (EPROTONOSUPPORT): Likewise.
39080         [POSIX] (EPROTOTYPE): Likewise.
39081         [POSIX] (ESTALE): Likewise.
39082         [POSIX] (ETIME): Likewise.
39083         [POSIX] (ETXTBSY): Likewise.
39084         [POSIX] (EWOULDBLOCK): Likewise.
39085         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
39086         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
39087         [POSIX] (SEEK_CUR): Likewise.
39088         [POSIX] (SEEK_END): Likewise.
39089         [POSIX || UNIX98] (mode_t): Do not require.
39090         [POSIX] (off_t): Likewise.
39091         [POSIX] (pid_t): Likewise.
39092         [POSIX] (sys/stat.h): Do not allow header.
39093         [POSIX] (unistd.h): Likewise.
39094         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
39095         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
39096         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
39097         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
39098         require.
39099         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
39100         sigevent): Specify elements.
39101         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
39102         entry.
39103         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
39104         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
39106         * conform/data/cpio.h-data [POSIX]: Disable whole file.
39107         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
39108         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
39109         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
39110         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
39111         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
39112         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
39113         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
39114         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
39115         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
39116         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
39117         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
39118         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
39119         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
39120         Likewise.
39121         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
39122         Likewise.
39123         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
39124         Likewise.
39125         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
39126         Likewise.
39127         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
39128         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
39129         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
39130         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
39131         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
39132         Specify lower bound on value.
39133         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
39134         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
39135         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
39136         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
39137         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
39138         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
39139         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
39140         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
39141         value.
39142         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
39143         as optional.
39144         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
39145         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
39146         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
39147         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
39148         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
39149         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
39150         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
39151         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
39152         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
39153         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
39154         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
39155         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
39156         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
39157         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
39158         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
39159         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
39160         entry.
39161         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
39162         optional.
39163         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
39164         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
39165         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
39166         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
39167         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
39168         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
39169         Likewise.
39170         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
39171         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
39172         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
39173         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
39174         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
39175         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
39176         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
39177         as optional.
39178         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
39179         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
39180         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
39181         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
39182         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
39183         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
39184         specify as optional.
39185         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
39186         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
39187         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
39188         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
39189         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
39190         [XPG3] (NL_LANGMAX): Likewise.
39191         [POSIX || XPG3] (NL_MSGMAX): Likewise.
39192         [POSIX || XPG3] (NL_NMAX): Likewise.
39193         [POSIX || XPG3] (NL_SETMAX): Likewise.
39194         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
39195         [XPG3] (NZERO): Likewise.
39196         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
39197         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
39198         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
39199         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
39200         (REG_ERANGE): Expect.
39201         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
39202         optional-constant.
39203         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
39204         Use (void) in prototype.
39205         [POSIX] (*_t): Allow.
39206         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
39207         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
39208         (WRDE_BADVAL): Expect.
39210         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
39211         expect.
39212         [XPG3 || XPG4] (O_RSYNC): Likewise.
39213         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
39214         Likewise.
39215         [XPG3 || XPG4] (pthread_sigmask): Likewise.
39216         [XPG3 || XPG4] (sigqueue): Likewise.
39217         [XPG3 || XPG4] (sigtimedwait): Likewise.
39218         [XPG3 || XPG4] (sigwaitinfo): Likewise.
39219         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
39220         [XPG3 || XPG4] (vsnprintf): Likewise.
39221         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
39222         Likewise.
39223         [XPG3 || XPG4] (blksize_t): Likewise.
39224         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
39225         Likewise.
39226         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
39227         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
39228         [XPG3 || XPG4] (struct itimerspec): Likewise.
39229         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
39230         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
39231         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
39232         [XPG3 || XPG4] (clockid_t): Likewise.
39233         [XPG3 || XPG4] (timer_t): Likewise.
39234         [XPG3 || XPG4] (clock_getres): Likewise.
39235         [XPG3 || XPG4] (clock_gettime): Likewise.
39236         [XPG3 || XPG4] (clock_settime): Likewise.
39237         [XPG3 || XPG4] (nanosleep): Likewise.
39238         [XPG3 || XPG4] (timer_create): Likewise.
39239         [XPG3 || XPG4] (timer_delete): Likewise.
39240         [XPG3 || XPG4] (timer_gettime): Likewise.
39241         [XPG3 || XPG4] (timer_getoverrun): Likewise.
39242         [XPG3 || XPG4] (timer_settime): Likewise.
39243         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
39244         [XPG3 || XPG4] (getlogin_r): Likewise.
39245         [XPG3 || XPG4] (pread): Likewise.
39246         [XPG3 || XPG4] (pthread_atfork): Likewise.
39247         [XPG3 || XPG4] (pwrite): Likewise.
39249         [BZ #14835]
39250         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
39251         <bits/siginfo.h>.
39253 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
39255         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
39256         finalizing MALLSTREAM.
39258         * sysdeps/mach/hurd/syncfs.c: New file.
39260 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
39262         [BZ #14719]
39263         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
39264         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
39265         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
39266         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
39267         (_nss_dns_gethostbyname4_r): Likewise.
39268         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
39269         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
39271 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
39273         [BZ #13763]
39274         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
39276 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
39278         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
39279         * elf/cache.c (print_entry): Print ",AArch64" for
39280         FLAG_AARCH64_LIB64
39282         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
39283         * elf/cache.c (print_entry): Print ",hard-float" for
39284         FLAG_ARM_LIBHF.
39286 2012-11-18  David S. Miller  <davem@davemloft.net>
39288         With help from Joseph Myers.
39289         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
39290         cutoff to 2**-13.
39291         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
39292         cutoff to 2**-25.
39293         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
39294         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
39295         small.
39296         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
39297         * math/libm-test.inc (y0_test): New tests.
39298         (y1_test): New tests.
39299         * sysdeps/i386/fpu/libm-test-ulps: Update.
39300         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39301         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39303 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
39305         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
39306         64-bit targets.
39307         * configure: Regenerated.
39309 2012-11-17  David S. Miller  <davem@davemloft.net>
39311         [BZ #14811]
39312         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
39313         nonzero exponents with absolute value below 0x1p-128 to +/-
39314         0x1p-128.
39316 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
39318         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
39320         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
39322         * posix/getconf-speclist.c: New file.
39323         * posix/posix-envs.def: Likewise.
39324         * posix/confstr.c (START_ENV_GROUP): New macro.
39325         (END_ENV_GROUP): Likewise.
39326         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
39327         (KNOWN_PRESENT_ENV_STRING): Likewise.
39328         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
39329         (UNKNOWN_ENVIRONMENT): Likewise.
39330         (confstr): Include posix-envs.def instead of handling
39331         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
39332         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
39333         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
39334         (END_ENV_GROUP): Likewise.
39335         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
39336         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
39337         (UNKNOWN_ENVIRONMENT): Likewise.
39338         (__sysconf): Include posix-envs.def instead of handling associated
39339         cases directly here.
39340         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
39341         preprocessing getconf-speclist.c rather than running getconf or
39342         generating empty file.
39344 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
39346         * scripts/check-local-headers.sh: Ignore 'mach' headers.
39348 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
39350         [BZ #14672]
39351         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
39353 2012-11-16  David S. Miller  <davem@davemloft.net>
39355         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
39356         smaller than LDBL_EPSILON/2.0L, just return xm1.
39358 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
39360         * elf/tst-array1.c (init): Set constructor priority to 1000.
39361         (fini): Set destructor priority to 1000.
39362         * elf/tst-array2dep.c: Likewise.
39364 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39366         [BZ #11741]
39367         * libio/fileops.c (_IO_new_file_write): Correctly return error.
39368         (_IO_new_file_xsputn): Also return EOF if none of the input
39369         data was written when overflow failed.
39370         * libio/iopadn.c (_IO_padn): Likewise.
39371         * libio/iowpadn.c (_IO_wpadn): Likewise.
39372         * stdio-common/tst-put-error.c: Add copyright notice.
39373         (do_test): Add case for printing padded string.
39374         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
39375         _IO_padn returned error.
39376         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
39377         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
39378         return EOF.
39380 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39382         * libio/libioP.h: Add comment note that the references to C++
39383         bits are now obsolete.
39385 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39387         * math/libm-test.inc (check_complex): Use asprintf.
39389 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
39391         * debug/pcprofiledump.c (print_version): Update copyright year.
39392         * malloc/memusagestat.c (print_version): Likewise.
39394 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
39396         [BZ #14831]
39397         * elf/Makefile (tests): Add tst-audit8.
39398         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
39399         ($(objpfx)tst-audit8.out): New target.
39400         (tst-audit8-ENV): New variable.
39401         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
39402         audit if l_reloc_result is NULL.
39403         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
39404         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
39405         * elf/tst-audit8.c: New file.
39407 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39409         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
39410         * misc/Makefile (CFLAGS-select.c): Define.
39411         * posix/Makefile (CFLAGS-pause.c): Define.
39413 2012-11-13  David S. Miller  <davem@davemloft.net>
39415         * crypt/Makefile: Move test targets after toplevel Rules
39416         inclusion.  Grab any necessary sysdep routines when linking.
39417         * crypt/md5.c (md5_process_block): Remove define, we will always
39418         name it __md5_process_block.
39419         (md5_finish_ctx): Update md5_process_block call.
39420         (md5_stream): Likewise.
39421         (md5_process_bytes): Likewise.
39422         (md5_process_block): Rename to __md5_process_block and move to ...
39423         * crypt/md5-block.c: ... here.
39424         * crypt/sha256.c (sha256_process_block): Move to ...
39425         * crypt/sha256-block.c: ... here.
39426         * crypt/sha512.c (sha512_process_block): Move to ...
39427         * crypt/sha512-block.c: ... here.
39428         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
39429         path.
39430         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
39431         * sysdeps/sparc/sparc64/multiarch/Makefile
39432         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
39433         crypt subdir.
39434         (localedef-aux): Add md5 crypto assembler when in locale subdir.
39435         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
39436         multiarch changes.
39437         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
39438         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
39439         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
39440         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
39441         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
39442         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
39443         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
39444         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
39445         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
39446         file.
39447         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
39448         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
39449         file.
39450         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
39452 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
39454         * timezone/tzselect.ksh: Update from tzcode git revision
39455         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
39456         * timezone/zdump.c: Likewise.
39457         * timezone/zic.c: Likewise.
39458         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
39459         in TZVERSION setting, not $(PKGVERSION).
39460         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
39461         REPORT_BUGS_TO settings.
39463         [BZ #14838]
39464         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
39465         macro.
39467 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39469         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
39470         detection to immediately after _FP_ROUND().
39471         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
39472         bits are 0.
39474 2012-11-11  David S. Miller  <davem@davemloft.net>
39476         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
39477         inttypes.h
39478         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
39479         __close rather than their public counterparts.
39481 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
39483         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
39484         file.
39485         [UNIX98] (sem_timedwait): Do not expect.
39486         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
39487         [XPG4 || UNIX98] (sockatmark): Do not expect.
39488         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
39489         (clock_getcpuclockid): Do not expect.
39490         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
39491         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
39492         Do not expect.
39493         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
39494         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
39495         [UNIX98] (vwscanf): Likewise.
39496         [UNIX98] (vswscanf): Likewise.
39498 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
39500         * timezone/version.h: Remove file.
39501         * timezone/README: Do not refer to version.h.
39502         * timezone/Makefile ($(objpfx)zic.o): New dependency on
39503         $(objpfx)version.h.
39504         ($(objpfx)zdump.o): Likewise.
39505         ($(objpfx)version.h): New target.
39507         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
39508         2012i.
39509         * timezone/README: Don't mention modification to tzselect.ksh.
39510         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
39511         work on unmodified tzselect.ksh.  Substitute version numbers in
39512         tzselect.ksh.
39514         * Makefile (format-me): Remove.
39515         (INSTALL): Adjust indentation.  Use commands directly instead of
39516         using $(format-me).
39518         * aclocal.m4 (ACX_PKGVERSION): New macro.
39519         (ACX_BUGURL): Likewise.
39520         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
39521         (PKGVERSION): New AC_DEFINE_UNQUOTED.
39522         (REPORT_BUGS_TO): Likewise.
39523         * configure: Regenerated.
39524         * config.h.in (PKGVERSION): New macro.
39525         (REPORT_BUGS_TO): Likewise.
39526         * config.make.in (PKGVERSION): New variable.
39527         (PKGVERSION_TEXI): Likewise.
39528         (REPORT_BUGS_TO): Likewise.
39529         (REPORT_BUGS_TEXI): Likewise.
39530         * Makefile (format-me): Use -I$(common-objpfx)manual.
39531         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
39532         ($(common-objpfx)manual/%): New target.
39533         (manual/%): Remove target.
39534         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
39535         (print_version): Use PKGVERSION.
39536         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
39537         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
39538         and REPORT_BUGS_TO.
39539         ($(objpfx)xtrace): Likewise.
39540         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
39541         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
39542         (print_version): Use PKGVERSION.
39543         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
39544         (do_version): Use PKGVERSION.
39545         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
39546         REPORT_BUGS_TO.
39547         (common-ldd-rewrite): Likewise.
39548         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
39549         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
39550         (print_version): Use PKGVERSION.
39551         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
39552         * elf/pldd.c (argp_program_bug_address): Remove variable.
39553         (more_help): New function.
39554         (argp): Use more_help.
39555         (print_version): Use PKGVERSION.
39556         * elf/sln.c (main): Use PKGVERSION.
39557         (usage): Use REPORT_BUGS_TO.
39558         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
39559         (top level): Use PKGVERSION.
39560         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
39561         (print_version): Use PKGVERSION.
39562         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
39563         (print_version): Use PKGVERSION.
39564         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
39565         (print_version): Use PKGVERSION.
39566         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
39567         (print_version): Use PKGVERSION.
39568         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
39569         (print_version): Use PKGVERSION.
39570         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
39571         (print_version): Use PKGVERSION.
39572         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
39573         and BUGURL.
39574         ($(objpfx)memusage): Likewise.
39575         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
39576         (do_version): Use PKGVERSION.
39577         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
39578         (print_version): Use PKGVERSION.
39579         * malloc/mtrace.pl ($PACKAGE): Remove variable.
39580         ($PKGVERSION): New variable.
39581         ($REPORT_BUGS_TO): Likewise.
39582         (usage): Use $REPORT_BUGS_TO.
39583         (top level): Use $PKGVERSION.
39584         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
39585         ($(objpfx)pkgvers.texi): New rule.
39586         ($(objpfx)stamp-pkgvers): Likewise.
39587         * manual/install.texi: Include pkgvers.texi.
39588         (--with-pkgversion): Document new configure option.
39589         (--with-bugurl): Likewise.
39590         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
39591         than necessarily for this particular distribution.  Use
39592         REPORT_BUGS_TO for where to report bugs.
39593         * INSTALL: Regenerated.
39594         * manual/libc.texinfo: Include pkgvers.texi.
39595         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
39596         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
39597         (print_version): Use PKGVERSION.
39598         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
39599         (print_version): Use PKGVERSION.
39600         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
39601         (print_version): Use PKGVERSION.
39602         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
39603         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
39604         macro.
39605         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
39606         (print_version): Use PKGVERSION.
39607         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
39608         (print_version): Use PKGVERSION.
39609         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
39610         and PKGVERSION.
39612         * timezone/checktab.awk: Update from tzcode 2012i.
39613         * timezone/ialloc.c: Likewise.
39614         * timezone/private.h: Likewise.
39615         * timezone/scheck.c: Likewise.
39616         * timezone/tzfile.h: Likewise.
39617         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
39618         (TZVERSION): Hardcode tzcode version number.
39619         * timezone/zdump.c: Update from tzcode 2012i.
39620         * timezone/zic.c: Likewise.
39621         * timezone/version.h: New file.
39622         * timezone/README: Describe version.h.  Update upstream location.
39624         [BZ #14824]
39625         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
39626         (mktemp): Enable declaration.
39627         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
39628         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
39629         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
39630         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
39631         Likewise.
39632         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
39633         Likewise.
39634         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
39635         Likewise.
39636         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
39637         Likewise.
39638         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
39639         Likewise.
39640         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
39641         Likewise.
39643         [BZ #14821]
39644         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
39645         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
39646         for copies of such integer values.
39647         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
39648         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
39650 2012-11-09  Andreas Jaeger  <aj@suse.de>
39652         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
39653         definitions and declarations that are provided by
39654         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
39656 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39658         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
39659         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
39660         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
39661         definition.
39663 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39665         * elf/elf.h: Update comment before AArch64 relocations.
39667 2012-11-07  David S. Miller  <davem@davemloft.net>
39669         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
39670         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39671         (__start_context): Declare.
39672         (__makecontext_ret): Delete.
39673         (__makecontext): Hook up __start_context instead of
39674         __makecontext_ret.
39675         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
39676         (sysdep_routines): Add __start_context when in stdlib.
39678 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
39680         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
39681         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
39682         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
39683         hardcoded "nm".
39684         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
39685         (READELF): New variable.  Use it instead of hardcoded "readelf".
39687 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
39689         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
39690         * sysdeps/x86/Makefile: Here.
39691         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
39692         * sysdeps/x86/tst-xmmymm.sh: This.
39694 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
39696         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
39697         expectations.
39698         [UNIX98] (pthread_barrier_t): Do not expect.
39699         [UNIX98] (pthread_barrierattr_t): Likewise.
39700         [UNIX98] (pthread_spinlock_t): Likewise.
39701         [UNIX98] (pthread_barrier_destroy): Likewise.
39702         [UNIX98] (pthread_barrier_init): Likewise.
39703         [UNIX98] (pthread_barrier_wait): Likewise.
39704         [UNIX98] (pthread_barrierattr_destroy): Likewise.
39705         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
39706         [UNIX98] (pthread_barrierattr_init): Likewise.
39707         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
39708         [UNIX98] (pthread_getcpuclockid): Likewise.
39709         [UNIX98] (pthread_mutex_timedlock): Likewise.
39710         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
39711         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
39712         [UNIX98] (pthread_sigmask): Likewise.
39713         [UNIX98] (pthread_spin_destroy): Likewise.
39714         [UNIX98] (pthread_spin_init): Likewise.
39715         [UNIX98] (pthread_spin_lock): Likewise.
39716         [UNIX98] (pthread_spin_trylock): Likewise.
39717         [UNIX98] (pthread_spin_unlock): Likewise.
39718         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
39719         Do not expect.
39720         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
39721         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
39722         [XPG3 || XPG4] (pthread_cond_t): Likewise.
39723         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
39724         [XPG3 || XPG4] (pthread_key_t): Likewise.
39725         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
39726         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
39727         [XPG3 || XPG4] (pthread_once_t): Likewise.
39728         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
39729         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
39730         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
39731         [XPG3 || XPG4] (pthread_t): Likewise.
39733         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
39734         not expect.
39735         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
39737         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
39738         Change function return type to int.
39740         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
39741         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
39742         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
39743         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
39744         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
39745         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
39746         [!POSIX] (posix_madvise): Likewise.
39747         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
39748         && !UNIX98].
39749         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
39750         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
39751         (mode_t): Likewise.
39752         (posix_mem_offset): Likewise.
39753         (posix_typed_mem_get_info): Likewise.
39754         (posix_typed_mem_open): Likewise.
39756         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
39757         Change condition to [XOPEN2K8].
39759         * conform/conformtest.pl: Preprocess allow-header data with -x c
39760         instead of from stdin.
39761         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
39762         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
39763         [C99-based standards] (cerfc): Likewise.
39764         [C99-based standards] (cexp2): Likewise.
39765         [C99-based standards] (cexpm1): Likewise.
39766         [C99-based standards] (clog10): Likewise.
39767         [C99-based standards] (clog1p): Likewise.
39768         [C99-based standards] (clog2): Likewise.
39769         [C99-based standards] (clgamma): Likewise.
39770         [C99-based standards] (ctgamma): Likewise.
39771         [C99-based standards] (cerff): Likewise.
39772         [C99-based standards] (cerfcf): Likewise.
39773         [C99-based standards] (cexp2f): Likewise.
39774         [C99-based standards] (cexpm1f): Likewise.
39775         [C99-based standards] (clog10f): Likewise.
39776         [C99-based standards] (clog1pf): Likewise.
39777         [C99-based standards] (clog2f): Likewise.
39778         [C99-based standards] (clgammaf): Likewise.
39779         [C99-based standards] (ctgammaf): Likewise.
39780         [C99-based standards] (cerfl): Likewise.
39781         [C99-based standards] (cerfcl): Likewise.
39782         [C99-based standards] (cexp2l): Likewise.
39783         [C99-based standards] (cexpm1l): Likewise.
39784         [C99-based standards] (clog10l): Likewise.
39785         [C99-based standards] (clog1pl): Likewise.
39786         [C99-based standards] (clog2l): Likewise.
39787         [C99-based standards] (clgammal): Likewise.
39788         [C99-based standards] (ctgammal): Likewise.
39789         * conform/data/inttypes.h-data [C99-based standards]: Include
39790         stdint.h-data.  Remove all expectations for stdint.h contents.
39791         [C99-based standards] (PRI*): Do not allow.
39792         [C99-based standards] (SCN*): Likewise.
39793         [C99-based standards] (*_t): Likewise.
39794         [C99-based-standards] (PRId8): Expect macro.
39795         [C99-based-standards] (PRIi8): Likewise.
39796         [C99-based-standards] (PRIo8): Likewise.
39797         [C99-based-standards] (PRIu8): Likewise.
39798         [C99-based-standards] (PRIx8): Likewise.
39799         [C99-based-standards] (PRIX8): Likewise.
39800         [C99-based-standards] (SCNd8): Likewise.
39801         [C99-based-standards] (SCNi8): Likewise.
39802         [C99-based-standards] (SCNo8): Likewise.
39803         [C99-based-standards] (SCNu8): Likewise.
39804         [C99-based-standards] (SCNx8): Likewise.
39805         [C99-based-standards] (PRIdLEAST8): Likewise.
39806         [C99-based-standards] (PRIiLEAST8): Likewise.
39807         [C99-based-standards] (PRIoLEAST8): Likewise.
39808         [C99-based-standards] (PRIuLEAST8): Likewise.
39809         [C99-based-standards] (PRIxLEAST8): Likewise.
39810         [C99-based-standards] (PRIXLEAST8): Likewise.
39811         [C99-based-standards] (SCNdLEAST8): Likewise.
39812         [C99-based-standards] (SCNiLEAST8): Likewise.
39813         [C99-based-standards] (SCNoLEAST8): Likewise.
39814         [C99-based-standards] (SCNuLEAST8): Likewise.
39815         [C99-based-standards] (SCNxLEAST8): Likewise.
39816         [C99-based-standards] (PRIdFAST8): Likewise.
39817         [C99-based-standards] (PRIiFAST8): Likewise.
39818         [C99-based-standards] (PRIoFAST8): Likewise.
39819         [C99-based-standards] (PRIuFAST8): Likewise.
39820         [C99-based-standards] (PRIxFAST8): Likewise.
39821         [C99-based-standards] (PRIXFAST8): Likewise.
39822         [C99-based-standards] (SCNdFAST8): Likewise.
39823         [C99-based-standards] (SCNiFAST8): Likewise.
39824         [C99-based-standards] (SCNoFAST8): Likewise.
39825         [C99-based-standards] (SCNuFAST8): Likewise.
39826         [C99-based-standards] (SCNxFAST8): Likewise.
39827         [C99-based-standards] (PRId16): Likewise.
39828         [C99-based-standards] (PRIi16): Likewise.
39829         [C99-based-standards] (PRIo16): Likewise.
39830         [C99-based-standards] (PRIu16): Likewise.
39831         [C99-based-standards] (PRIx16): Likewise.
39832         [C99-based-standards] (PRIX16): Likewise.
39833         [C99-based-standards] (SCNd16): Likewise.
39834         [C99-based-standards] (SCNi16): Likewise.
39835         [C99-based-standards] (SCNo16): Likewise.
39836         [C99-based-standards] (SCNu16): Likewise.
39837         [C99-based-standards] (SCNx16): Likewise.
39838         [C99-based-standards] (PRIdLEAST16): Likewise.
39839         [C99-based-standards] (PRIiLEAST16): Likewise.
39840         [C99-based-standards] (PRIoLEAST16): Likewise.
39841         [C99-based-standards] (PRIuLEAST16): Likewise.
39842         [C99-based-standards] (PRIxLEAST16): Likewise.
39843         [C99-based-standards] (PRIXLEAST16): Likewise.
39844         [C99-based-standards] (SCNdLEAST16): Likewise.
39845         [C99-based-standards] (SCNiLEAST16): Likewise.
39846         [C99-based-standards] (SCNoLEAST16): Likewise.
39847         [C99-based-standards] (SCNuLEAST16): Likewise.
39848         [C99-based-standards] (SCNxLEAST16): Likewise.
39849         [C99-based-standards] (PRIdFAST16): Likewise.
39850         [C99-based-standards] (PRIiFAST16): Likewise.
39851         [C99-based-standards] (PRIoFAST16): Likewise.
39852         [C99-based-standards] (PRIuFAST16): Likewise.
39853         [C99-based-standards] (PRIxFAST16): Likewise.
39854         [C99-based-standards] (PRIXFAST16): Likewise.
39855         [C99-based-standards] (SCNdFAST16): Likewise.
39856         [C99-based-standards] (SCNiFAST16): Likewise.
39857         [C99-based-standards] (SCNoFAST16): Likewise.
39858         [C99-based-standards] (SCNuFAST16): Likewise.
39859         [C99-based-standards] (SCNxFAST16): Likewise.
39860         [C99-based-standards] (PRId32): Likewise.
39861         [C99-based-standards] (PRIi32): Likewise.
39862         [C99-based-standards] (PRIo32): Likewise.
39863         [C99-based-standards] (PRIu32): Likewise.
39864         [C99-based-standards] (PRIx32): Likewise.
39865         [C99-based-standards] (PRIX32): Likewise.
39866         [C99-based-standards] (SCNd32): Likewise.
39867         [C99-based-standards] (SCNi32): Likewise.
39868         [C99-based-standards] (SCNo32): Likewise.
39869         [C99-based-standards] (SCNu32): Likewise.
39870         [C99-based-standards] (SCNx32): Likewise.
39871         [C99-based-standards] (PRIdLEAST32): Likewise.
39872         [C99-based-standards] (PRIiLEAST32): Likewise.
39873         [C99-based-standards] (PRIoLEAST32): Likewise.
39874         [C99-based-standards] (PRIuLEAST32): Likewise.
39875         [C99-based-standards] (PRIxLEAST32): Likewise.
39876         [C99-based-standards] (PRIXLEAST32): Likewise.
39877         [C99-based-standards] (SCNdLEAST32): Likewise.
39878         [C99-based-standards] (SCNiLEAST32): Likewise.
39879         [C99-based-standards] (SCNoLEAST32): Likewise.
39880         [C99-based-standards] (SCNuLEAST32): Likewise.
39881         [C99-based-standards] (SCNxLEAST32): Likewise.
39882         [C99-based-standards] (PRIdFAST32): Likewise.
39883         [C99-based-standards] (PRIiFAST32): Likewise.
39884         [C99-based-standards] (PRIoFAST32): Likewise.
39885         [C99-based-standards] (PRIuFAST32): Likewise.
39886         [C99-based-standards] (PRIxFAST32): Likewise.
39887         [C99-based-standards] (PRIXFAST32): Likewise.
39888         [C99-based-standards] (SCNdFAST32): Likewise.
39889         [C99-based-standards] (SCNiFAST32): Likewise.
39890         [C99-based-standards] (SCNoFAST32): Likewise.
39891         [C99-based-standards] (SCNuFAST32): Likewise.
39892         [C99-based-standards] (SCNxFAST32): Likewise.
39893         [C99-based-standards] (PRId64): Likewise.
39894         [C99-based-standards] (PRIi64): Likewise.
39895         [C99-based-standards] (PRIo64): Likewise.
39896         [C99-based-standards] (PRIu64): Likewise.
39897         [C99-based-standards] (PRIx64): Likewise.
39898         [C99-based-standards] (PRIX64): Likewise.
39899         [C99-based-standards] (SCNd64): Likewise.
39900         [C99-based-standards] (SCNi64): Likewise.
39901         [C99-based-standards] (SCNo64): Likewise.
39902         [C99-based-standards] (SCNu64): Likewise.
39903         [C99-based-standards] (SCNx64): Likewise.
39904         [C99-based-standards] (PRIdLEAST64): Likewise.
39905         [C99-based-standards] (PRIiLEAST64): Likewise.
39906         [C99-based-standards] (PRIoLEAST64): Likewise.
39907         [C99-based-standards] (PRIuLEAST64): Likewise.
39908         [C99-based-standards] (PRIxLEAST64): Likewise.
39909         [C99-based-standards] (PRIXLEAST64): Likewise.
39910         [C99-based-standards] (SCNdLEAST64): Likewise.
39911         [C99-based-standards] (SCNiLEAST64): Likewise.
39912         [C99-based-standards] (SCNoLEAST64): Likewise.
39913         [C99-based-standards] (SCNuLEAST64): Likewise.
39914         [C99-based-standards] (SCNxLEAST64): Likewise.
39915         [C99-based-standards] (PRIdFAST64): Likewise.
39916         [C99-based-standards] (PRIiFAST64): Likewise.
39917         [C99-based-standards] (PRIoFAST64): Likewise.
39918         [C99-based-standards] (PRIuFAST64): Likewise.
39919         [C99-based-standards] (PRIxFAST64): Likewise.
39920         [C99-based-standards] (PRIXFAST64): Likewise.
39921         [C99-based-standards] (SCNdFAST64): Likewise.
39922         [C99-based-standards] (SCNiFAST64): Likewise.
39923         [C99-based-standards] (SCNoFAST64): Likewise.
39924         [C99-based-standards] (SCNuFAST64): Likewise.
39925         [C99-based-standards] (SCNxFAST64): Likewise.
39926         [C99-based-standards] (PRIdMAX): Likewise.
39927         [C99-based-standards] (PRIiMAX): Likewise.
39928         [C99-based-standards] (PRIoMAX): Likewise.
39929         [C99-based-standards] (PRIuMAX): Likewise.
39930         [C99-based-standards] (PRIxMAX): Likewise.
39931         [C99-based-standards] (PRIXMAX): Likewise.
39932         [C99-based-standards] (SCNdMAX): Likewise.
39933         [C99-based-standards] (SCNiMAX): Likewise.
39934         [C99-based-standards] (SCNoMAX): Likewise.
39935         [C99-based-standards] (SCNuMAX): Likewise.
39936         [C99-based-standards] (SCNxMAX): Likewise.
39937         [C99-based-standards] (PRIdPTR): Likewise.
39938         [C99-based-standards] (PRIiPTR): Likewise.
39939         [C99-based-standards] (PRIoPTR): Likewise.
39940         [C99-based-standards] (PRIuPTR): Likewise.
39941         [C99-based-standards] (PRIxPTR): Likewise.
39942         [C99-based-standards] (PRIXPTR): Likewise.
39943         [C99-based-standards] (SCNdPTR): Likewise.
39944         [C99-based-standards] (SCNiPTR): Likewise.
39945         [C99-based-standards] (SCNoPTR): Likewise.
39946         [C99-based-standards] (SCNuPTR): Likewise.
39947         [C99-based-standards] (SCNxPTR): Likewise.
39948         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
39949         allow.
39950         * conform/data/stdint.h-data: Update comments to clarify
39951         requirements.
39952         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
39953         type.
39954         [C99-based standards] (INT8_MAX): Likewise.
39955         [C99-based standards] (INT16_MIN): Likewise.
39956         [C99-based standards] (INT16_MAX): Likewise.
39957         [C99-based standards] (INT32_MIN): Likewise.
39958         [C99-based standards] (INT32_MAX): Likewise.
39959         [C99-based standards] (INT64_MIN): Likewise.
39960         [C99-based standards] (INT64_MAX): Likewise.
39961         [C99-based standards] (UINT8_MAX): Likewise.
39962         [C99-based standards] (UINT16_MAX): Likewise.
39963         [C99-based standards] (UINT32_MAX): Likewise.
39964         [C99-based standards] (UINT64_MAX): Likewise.
39965         [C99-based standards] (INT_LEAST8_MIN): Likewise.
39966         [C99-based standards] (INT_LEAST8_MAX): Likewise.
39967         [C99-based standards] (INT_LEAST16_MIN): Likewise.
39968         [C99-based standards] (INT_LEAST16_MAX): Likewise.
39969         [C99-based standards] (INT_LEAST32_MIN): Likewise.
39970         [C99-based standards] (INT_LEAST32_MAX): Likewise.
39971         [C99-based standards] (INT_LEAST64_MIN): Likewise.
39972         [C99-based standards] (INT_LEAST64_MAX): Likewise.
39973         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
39974         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
39975         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
39976         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
39977         [C99-based standards] (INT_FAST8_MIN): Likewise.
39978         [C99-based standards] (INT_FAST8_MAX): Likewise.
39979         [C99-based standards] (INT_FAST16_MIN): Likewise.
39980         [C99-based standards] (INT_FAST16_MAX): Likewise.
39981         [C99-based standards] (INT_FAST32_MIN): Likewise.
39982         [C99-based standards] (INT_FAST32_MAX): Likewise.
39983         [C99-based standards] (INT_FAST64_MIN): Likewise.
39984         [C99-based standards] (INT_FAST64_MAX): Likewise.
39985         [C99-based standards] (UINT_FAST8_MAX): Likewise.
39986         [C99-based standards] (UINT_FAST16_MAX): Likewise.
39987         [C99-based standards] (UINT_FAST32_MAX): Likewise.
39988         [C99-based standards] (UINT_FAST64_MAX): Likewise.
39989         [C99-based standards] (INTPTR_MIN): Likewise.
39990         [C99-based standards] (INTPTR_MAX): Likewise.
39991         [C99-based standards] (UINTPTR_MAX): Likewise.
39992         [C99-based standards] (INTMAX_MIN): Likewise.
39993         [C99-based standards] (INTMAX_MAX): Likewise.
39994         [C99-based standards] (UINTMAX_MAX): Likewise.
39995         [C99-based standards] (PTRDIFF_MIN): Likewise.
39996         [C99-based standards] (PTRDIFF_MAX): Likewise.
39997         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
39998         [C99-based standards] (SIZE_MAX): Likewise.
39999         [C99-based standards] (WCHAR_MAX): Likewise.
40000         [C99-based standards] (WINT_MAX): Likewise.
40001         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
40002         constraint on value.
40003         [C99-based standards] (WCHAR_MIN): Likewise.
40004         [C99-based standards] (WINT_MIN): Likewise.
40005         [C99-based standards] (*_t): Allow.
40006         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
40007         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
40008         Include math.h-data and complex.h-data.  Remove all expectations
40009         of math.h and complex.h contents.
40010         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
40011         at end of line.
40012         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
40013         (struct tm): Expect tag.
40014         [C99-based-standards] (wcstof): Expect function.
40015         [C99-based-standards] (wcstold): Likewise.
40016         [C99-based-standards] (wcstoll): Likewise.
40017         [C99-based-standards] (wcstoull): Likewise.
40018         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
40019         macro-int-constant.  Specify type.
40020         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
40021         constraint on value.
40022         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40023         Specify type.
40024         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
40025         Specify value.
40026         [ISO C standards]: Do not allow headers.
40027         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
40028         wcs[abcdefghijklmnopqrstuvwxyz]*.
40029         [ISO C standards] (*_t): Do not allow.
40030         * conform/data/wctype.h-data [C99-based standards] (iswblank):
40031         Expect function.
40032         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
40033         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40034         Specify type.
40035         [ISO C standards]: Do not allow headers.
40036         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
40037         is[abcdefghijklmnopqrstuvwxyz]*.
40038         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
40039         to[abcdefghijklmnopqrstuvwxyz]*.
40040         [ISO C standards] (*_t): Do not allow.
40041         * conform/data/stdalign.h-data: New file.
40042         * conform/data/stdbool.h-data: Likewise.
40043         * conform/data/stdnoreturn.h-data: Likewise.
40045 2012-11-07  Roland McGrath  <roland@hack.frob.com>
40047         [BZ #14815]
40048         * manual/filesys.texi (Directory Entries): Typo fix.
40049         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
40051 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40053         * elf/elf.h (EM_AARCH64): New macro.
40054         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
40055         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
40056         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
40057         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
40058         (R_AARCH64_TLSDESC): Likewise.
40059         (NT_ARM_TLS): Likewise.
40060         (NT_ARM_HW_BREAK): Likewise.
40061         (NT_ARM_HW_WATCH): Likewise.
40063 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40065         [BZ #14811]
40066         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
40067         (__ieee754_powl): Saturate nonzero exponents with absolute value
40068         below 0x1p-79 to +/- 0x1p-79.
40069         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
40070         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
40071         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
40072         nonzero exponents with absolute value below 0x1p-32 to +/-
40073         0x1p-32.
40074         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
40075         (__ieee754_powl): Saturate nonzero exponents with absolute value
40076         below 0x1p-79 to +/- 0x1p-79.
40077         * math/libm-test.inc (pow_test): Add more tests.
40079 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40081         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
40082         _dl_s390_cap_flags with kernel. Increase string length.
40083         (_dl_s390_platforms): Add z196 and zEC12.
40085 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40087         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
40088         Change XOPEN21K to XOPEN2K.
40090 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
40092         * string/memmove.c: Use memcpy when possible.
40094 2012-11-06  Andreas Jaeger  <aj@suse.de>
40096         * po/eo.po: Update from translation team.
40098 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
40100         [BZ #14793]
40101         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
40102         exponent and small x and y exponents, scale x or y up.  Increase
40103         by 2 the exponent used in scaling up.
40104         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40105         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40106         * math/libm-test.inc (fma_test): Add more tests.
40107         (fma_test_towardzero): Likewise.
40108         (fma_test_downward): Likewise.
40109         (fma_test_upward): Likewise.
40111 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
40113         [BZ #14805]
40114         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
40115         fenv_t *.
40117         [BZ #14801]
40118         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
40119         namespace for names of struct fields.
40120         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
40121         fenv_t fields.
40122         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
40123         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
40125 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40127         [BZ #3665]
40128         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
40130 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
40132         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
40133         PTR_DEMANGLE.
40135         [BZ #5246]
40136         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
40137         PTR_DEMANGLE.
40139 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
40141         [BZ #14797]
40142         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
40143         definitely overflow as x * y not x * y + z.
40144         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40145         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40146         * math/libm-test.inc (fma_test): Add more tests.
40147         (fma_test_towardzero): Likewise.
40148         (fma_test_downward): Likewise.
40149         (fma_test_upward): Likewise.
40151 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
40153         [BZ #157]
40155         * include/stub-tag.h: Remove file.
40156         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
40157         '#include' of it.
40158         * manual/maint.texi (Porting): Don't reference it.
40159         * Makerules ($(objpfx)stubs): Likewise.
40160         * dirent/closedir.c: Don't include <stub-tag.h>.
40161         * dirent/dirfd.c: Likewise.
40162         * dirent/fdopendir.c: Likewise.
40163         * dirent/getdents.c: Likewise.
40164         * dirent/getdents64.c: Likewise.
40165         * dirent/opendir.c: Likewise.
40166         * dirent/readdir.c: Likewise.
40167         * dirent/readdir64.c: Likewise.
40168         * dirent/readdir64_r.c: Likewise.
40169         * dirent/readdir_r.c: Likewise.
40170         * dirent/rewinddir.c: Likewise.
40171         * dirent/seekdir.c: Likewise.
40172         * dirent/telldir.c: Likewise.
40173         * gmon/profil.c: Likewise.
40174         * grp/setgroups.c: Likewise.
40175         * inet/if_index.c: Likewise.
40176         * io/access.c: Likewise.
40177         * io/chdir.c: Likewise.
40178         * io/chmod.c: Likewise.
40179         * io/chown.c: Likewise.
40180         * io/close.c: Likewise.
40181         * io/dup.c: Likewise.
40182         * io/dup2.c: Likewise.
40183         * io/dup3.c: Likewise.
40184         * io/euidaccess.c: Likewise.
40185         * io/faccessat.c: Likewise.
40186         * io/fchdir.c: Likewise.
40187         * io/fchmod.c: Likewise.
40188         * io/fchmodat.c: Likewise.
40189         * io/fchown.c: Likewise.
40190         * io/fchownat.c: Likewise.
40191         * io/fcntl.c: Likewise.
40192         * io/flock.c: Likewise.
40193         * io/fstatfs.c: Likewise.
40194         * io/fstatfs64.c: Likewise.
40195         * io/fstatvfs.c: Likewise.
40196         * io/fstatvfs64.c: Likewise.
40197         * io/futimens.c: Likewise.
40198         * io/fxstat.c: Likewise.
40199         * io/fxstat64.c: Likewise.
40200         * io/fxstatat.c: Likewise.
40201         * io/fxstatat64.c: Likewise.
40202         * io/getcwd.c: Likewise.
40203         * io/isatty.c: Likewise.
40204         * io/lchmod.c: Likewise.
40205         * io/lchown.c: Likewise.
40206         * io/link.c: Likewise.
40207         * io/linkat.c: Likewise.
40208         * io/lseek.c: Likewise.
40209         * io/lseek64.c: Likewise.
40210         * io/lxstat64.c: Likewise.
40211         * io/mkdir.c: Likewise.
40212         * io/mkdirat.c: Likewise.
40213         * io/mkfifo.c: Likewise.
40214         * io/mkfifoat.c: Likewise.
40215         * io/open.c: Likewise.
40216         * io/open64.c: Likewise.
40217         * io/openat.c: Likewise.
40218         * io/openat64.c: Likewise.
40219         * io/pipe.c: Likewise.
40220         * io/pipe2.c: Likewise.
40221         * io/poll.c: Likewise.
40222         * io/posix_fadvise.c: Likewise.
40223         * io/posix_fadvise64.c: Likewise.
40224         * io/posix_fallocate.c: Likewise.
40225         * io/posix_fallocate64.c: Likewise.
40226         * io/read.c: Likewise.
40227         * io/readlink.c: Likewise.
40228         * io/readlinkat.c: Likewise.
40229         * io/rmdir.c: Likewise.
40230         * io/sendfile.c: Likewise.
40231         * io/sendfile64.c: Likewise.
40232         * io/statfs.c: Likewise.
40233         * io/statfs64.c: Likewise.
40234         * io/statvfs.c: Likewise.
40235         * io/statvfs64.c: Likewise.
40236         * io/symlink.c: Likewise.
40237         * io/symlinkat.c: Likewise.
40238         * io/ttyname.c: Likewise.
40239         * io/ttyname_r.c: Likewise.
40240         * io/umask.c: Likewise.
40241         * io/unlink.c: Likewise.
40242         * io/unlinkat.c: Likewise.
40243         * io/utime.c: Likewise.
40244         * io/utimensat.c: Likewise.
40245         * io/write.c: Likewise.
40246         * io/xmknod.c: Likewise.
40247         * io/xmknodat.c: Likewise.
40248         * io/xstat.c: Likewise.
40249         * io/xstat64.c: Likewise.
40250         * login/getpt.c: Likewise.
40251         * login/grantpt.c: Likewise.
40252         * login/unlockpt.c: Likewise.
40253         * math/e_acoshl.c: Likewise.
40254         * math/e_acosl.c: Likewise.
40255         * math/e_asinl.c: Likewise.
40256         * math/e_atan2l.c: Likewise.
40257         * math/e_atanhl.c: Likewise.
40258         * math/e_coshl.c: Likewise.
40259         * math/e_expl.c: Likewise.
40260         * math/e_fmodl.c: Likewise.
40261         * math/e_gammal_r.c: Likewise.
40262         * math/e_hypotl.c: Likewise.
40263         * math/e_j0l.c: Likewise.
40264         * math/e_j1l.c: Likewise.
40265         * math/e_jnl.c: Likewise.
40266         * math/e_lgammal_r.c: Likewise.
40267         * math/e_log10l.c: Likewise.
40268         * math/e_log2l.c: Likewise.
40269         * math/e_logl.c: Likewise.
40270         * math/e_powl.c: Likewise.
40271         * math/e_rem_pio2l.c: Likewise.
40272         * math/e_sinhl.c: Likewise.
40273         * math/e_sqrtl.c: Likewise.
40274         * math/fclrexcpt.c: Likewise.
40275         * math/fedisblxcpt.c: Likewise.
40276         * math/feenablxcpt.c: Likewise.
40277         * math/fegetenv.c: Likewise.
40278         * math/fegetexcept.c: Likewise.
40279         * math/fegetround.c: Likewise.
40280         * math/feholdexcpt.c: Likewise.
40281         * math/fesetenv.c: Likewise.
40282         * math/fesetround.c: Likewise.
40283         * math/feupdateenv.c: Likewise.
40284         * math/fgetexcptflg.c: Likewise.
40285         * math/fraiseexcpt.c: Likewise.
40286         * math/fsetexcptflg.c: Likewise.
40287         * math/ftestexcept.c: Likewise.
40288         * math/k_cosl.c: Likewise.
40289         * math/k_rem_pio2l.c: Likewise.
40290         * math/k_sinl.c: Likewise.
40291         * math/k_tanl.c: Likewise.
40292         * math/s_asinhl.c: Likewise.
40293         * math/s_atanl.c: Likewise.
40294         * math/s_cbrtl.c: Likewise.
40295         * math/s_erfl.c: Likewise.
40296         * math/s_expm1l.c: Likewise.
40297         * math/s_log1pl.c: Likewise.
40298         * math/s_tanhl.c: Likewise.
40299         * misc/acct.c: Likewise.
40300         * misc/brk.c: Likewise.
40301         * misc/chflags.c: Likewise.
40302         * misc/chroot.c: Likewise.
40303         * misc/fchflags.c: Likewise.
40304         * misc/fgetxattr.c: Likewise.
40305         * misc/flistxattr.c: Likewise.
40306         * misc/fremovexattr.c: Likewise.
40307         * misc/fsetxattr.c: Likewise.
40308         * misc/fsync.c: Likewise.
40309         * misc/ftruncate.c: Likewise.
40310         * misc/futimes.c: Likewise.
40311         * misc/futimesat.c: Likewise.
40312         * misc/getdomain.c: Likewise.
40313         * misc/getdtsz.c: Likewise.
40314         * misc/gethostid.c: Likewise.
40315         * misc/gethostname.c: Likewise.
40316         * misc/getloadavg.c: Likewise.
40317         * misc/getpagesize.c: Likewise.
40318         * misc/getsysstats.c: Likewise.
40319         * misc/getxattr.c: Likewise.
40320         * misc/gtty.c: Likewise.
40321         * misc/ioctl.c: Likewise.
40322         * misc/lgetxattr.c: Likewise.
40323         * misc/listxattr.c: Likewise.
40324         * misc/llistxattr.c: Likewise.
40325         * misc/lremovexattr.c: Likewise.
40326         * misc/lsetxattr.c: Likewise.
40327         * misc/lutimes.c: Likewise.
40328         * misc/madvise.c: Likewise.
40329         * misc/mincore.c: Likewise.
40330         * misc/mlock.c: Likewise.
40331         * misc/mlockall.c: Likewise.
40332         * misc/mmap.c: Likewise.
40333         * misc/mprotect.c: Likewise.
40334         * misc/msync.c: Likewise.
40335         * misc/munlock.c: Likewise.
40336         * misc/munlockall.c: Likewise.
40337         * misc/munmap.c: Likewise.
40338         * misc/preadv.c: Likewise.
40339         * misc/preadv64.c: Likewise.
40340         * misc/ptrace.c: Likewise.
40341         * misc/pwritev.c: Likewise.
40342         * misc/pwritev64.c: Likewise.
40343         * misc/readv.c: Likewise.
40344         * misc/reboot.c: Likewise.
40345         * misc/remap_file_pages.c: Likewise.
40346         * misc/removexattr.c: Likewise.
40347         * misc/revoke.c: Likewise.
40348         * misc/select.c: Likewise.
40349         * misc/setdomain.c: Likewise.
40350         * misc/setegid.c: Likewise.
40351         * misc/seteuid.c: Likewise.
40352         * misc/sethostid.c: Likewise.
40353         * misc/sethostname.c: Likewise.
40354         * misc/setregid.c: Likewise.
40355         * misc/setreuid.c: Likewise.
40356         * misc/setxattr.c: Likewise.
40357         * misc/sstk.c: Likewise.
40358         * misc/stty.c: Likewise.
40359         * misc/swapoff.c: Likewise.
40360         * misc/swapon.c: Likewise.
40361         * misc/sync.c: Likewise.
40362         * misc/syncfs.c: Likewise.
40363         * misc/syscall.c: Likewise.
40364         * misc/truncate.c: Likewise.
40365         * misc/ualarm.c: Likewise.
40366         * misc/usleep.c: Likewise.
40367         * misc/ustat.c: Likewise.
40368         * misc/utimes.c: Likewise.
40369         * misc/vhangup.c: Likewise.
40370         * misc/writev.c: Likewise.
40371         * posix/_exit.c: Likewise.
40372         * posix/alarm.c: Likewise.
40373         * posix/execve.c: Likewise.
40374         * posix/fexecve.c: Likewise.
40375         * posix/fork.c: Likewise.
40376         * posix/fpathconf.c: Likewise.
40377         * posix/getaddrinfo.c: Likewise.
40378         * posix/getegid.c: Likewise.
40379         * posix/geteuid.c: Likewise.
40380         * posix/getgid.c: Likewise.
40381         * posix/getgroups.c: Likewise.
40382         * posix/getlogin.c: Likewise.
40383         * posix/getlogin_r.c: Likewise.
40384         * posix/getpgid.c: Likewise.
40385         * posix/getpid.c: Likewise.
40386         * posix/getppid.c: Likewise.
40387         * posix/getresgid.c: Likewise.
40388         * posix/getresuid.c: Likewise.
40389         * posix/getsid.c: Likewise.
40390         * posix/getuid.c: Likewise.
40391         * posix/glob64.c: Likewise.
40392         * posix/nanosleep.c: Likewise.
40393         * posix/pathconf.c: Likewise.
40394         * posix/pause.c: Likewise.
40395         * posix/posix_madvise.c: Likewise.
40396         * posix/pread.c: Likewise.
40397         * posix/pread64.c: Likewise.
40398         * posix/pwrite.c: Likewise.
40399         * posix/pwrite64.c: Likewise.
40400         * posix/sched_getaffinity.c: Likewise.
40401         * posix/sched_getp.c: Likewise.
40402         * posix/sched_gets.c: Likewise.
40403         * posix/sched_primax.c: Likewise.
40404         * posix/sched_primin.c: Likewise.
40405         * posix/sched_rr_gi.c: Likewise.
40406         * posix/sched_setaffinity.c: Likewise.
40407         * posix/sched_setp.c: Likewise.
40408         * posix/sched_sets.c: Likewise.
40409         * posix/sched_yield.c: Likewise.
40410         * posix/setgid.c: Likewise.
40411         * posix/setlogin.c: Likewise.
40412         * posix/setpgid.c: Likewise.
40413         * posix/setresgid.c: Likewise.
40414         * posix/setresuid.c: Likewise.
40415         * posix/setsid.c: Likewise.
40416         * posix/setuid.c: Likewise.
40417         * posix/sleep.c: Likewise.
40418         * posix/spawni.c: Likewise.
40419         * posix/sysconf.c: Likewise.
40420         * posix/times.c: Likewise.
40421         * posix/wait.c: Likewise.
40422         * posix/wait3.c: Likewise.
40423         * posix/wait4.c: Likewise.
40424         * posix/waitpid.c: Likewise.
40425         * resolv/gai_sigqueue.c: Likewise.
40426         * resource/getpriority.c: Likewise.
40427         * resource/getrlimit.c: Likewise.
40428         * resource/getrusage.c: Likewise.
40429         * resource/nice.c: Likewise.
40430         * resource/setpriority.c: Likewise.
40431         * resource/setrlimit.c: Likewise.
40432         * resource/ulimit.c: Likewise.
40433         * rt/aio_cancel.c: Likewise.
40434         * rt/aio_fsync.c: Likewise.
40435         * rt/aio_read.c: Likewise.
40436         * rt/aio_sigqueue.c: Likewise.
40437         * rt/aio_suspend.c: Likewise.
40438         * rt/aio_write.c: Likewise.
40439         * rt/clock_getres.c: Likewise.
40440         * rt/clock_gettime.c: Likewise.
40441         * rt/clock_nanosleep.c: Likewise.
40442         * rt/clock_settime.c: Likewise.
40443         * rt/lio_listio.c: Likewise.
40444         * rt/mq_close.c: Likewise.
40445         * rt/mq_getattr.c: Likewise.
40446         * rt/mq_notify.c: Likewise.
40447         * rt/mq_open.c: Likewise.
40448         * rt/mq_receive.c: Likewise.
40449         * rt/mq_send.c: Likewise.
40450         * rt/mq_setattr.c: Likewise.
40451         * rt/mq_timedreceive.c: Likewise.
40452         * rt/mq_timedsend.c: Likewise.
40453         * rt/mq_unlink.c: Likewise.
40454         * rt/shm_open.c: Likewise.
40455         * rt/shm_unlink.c: Likewise.
40456         * rt/timer_create.c: Likewise.
40457         * rt/timer_delete.c: Likewise.
40458         * rt/timer_getoverr.c: Likewise.
40459         * rt/timer_gettime.c: Likewise.
40460         * rt/timer_settime.c: Likewise.
40461         * setjmp/__longjmp.c: Likewise.
40462         * setjmp/setjmp.c: Likewise.
40463         * signal/kill.c: Likewise.
40464         * signal/killpg.c: Likewise.
40465         * signal/raise.c: Likewise.
40466         * signal/sigaction.c: Likewise.
40467         * signal/sigaltstack.c: Likewise.
40468         * signal/sigblock.c: Likewise.
40469         * signal/sigignore.c: Likewise.
40470         * signal/sigintr.c: Likewise.
40471         * signal/signal.c: Likewise.
40472         * signal/sigpause.c: Likewise.
40473         * signal/sigpending.c: Likewise.
40474         * signal/sigqueue.c: Likewise.
40475         * signal/sigreturn.c: Likewise.
40476         * signal/sigset.c: Likewise.
40477         * signal/sigsetmask.c: Likewise.
40478         * signal/sigstack.c: Likewise.
40479         * signal/sigsuspend.c: Likewise.
40480         * signal/sigtimedwait.c: Likewise.
40481         * signal/sigvec.c: Likewise.
40482         * signal/sigwait.c: Likewise.
40483         * signal/sigwaitinfo.c: Likewise.
40484         * signal/sysv_signal.c: Likewise.
40485         * socket/accept.c: Likewise.
40486         * socket/accept4.c: Likewise.
40487         * socket/bind.c: Likewise.
40488         * socket/connect.c: Likewise.
40489         * socket/getpeername.c: Likewise.
40490         * socket/getsockname.c: Likewise.
40491         * socket/getsockopt.c: Likewise.
40492         * socket/isfdtype.c: Likewise.
40493         * socket/listen.c: Likewise.
40494         * socket/recv.c: Likewise.
40495         * socket/recvfrom.c: Likewise.
40496         * socket/recvmsg.c: Likewise.
40497         * socket/send.c: Likewise.
40498         * socket/sendmsg.c: Likewise.
40499         * socket/sendto.c: Likewise.
40500         * socket/setsockopt.c: Likewise.
40501         * socket/shutdown.c: Likewise.
40502         * socket/sockatmark.c: Likewise.
40503         * socket/socket.c: Likewise.
40504         * socket/socketpair.c: Likewise.
40505         * stdio-common/ctermid.c: Likewise.
40506         * stdio-common/cuserid.c: Likewise.
40507         * stdio-common/remove.c: Likewise.
40508         * stdio-common/rename.c: Likewise.
40509         * stdio-common/renameat.c: Likewise.
40510         * stdio-common/tempname.c: Likewise.
40511         * stdlib/getcontext.c: Likewise.
40512         * stdlib/makecontext.c: Likewise.
40513         * stdlib/setcontext.c: Likewise.
40514         * stdlib/swapcontext.c: Likewise.
40515         * stdlib/system.c: Likewise.
40516         * streams/fattach.c: Likewise.
40517         * streams/fdetach.c: Likewise.
40518         * streams/getmsg.c: Likewise.
40519         * streams/getpmsg.c: Likewise.
40520         * streams/putmsg.c: Likewise.
40521         * streams/putpmsg.c: Likewise.
40522         * sysdeps/unix/bsd/getpt.c: Likewise.
40523         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
40524         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
40525         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
40526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40527         Likewise.
40528         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
40529         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40530         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
40531         * sysvipc/msgctl.c: Likewise.
40532         * sysvipc/msgget.c: Likewise.
40533         * sysvipc/msgrcv.c: Likewise.
40534         * sysvipc/msgsnd.c: Likewise.
40535         * sysvipc/semctl.c: Likewise.
40536         * sysvipc/semget.c: Likewise.
40537         * sysvipc/semop.c: Likewise.
40538         * sysvipc/semtimedop.c: Likewise.
40539         * sysvipc/shmat.c: Likewise.
40540         * sysvipc/shmctl.c: Likewise.
40541         * sysvipc/shmdt.c: Likewise.
40542         * sysvipc/shmget.c: Likewise.
40543         * termios/tcdrain.c: Likewise.
40544         * termios/tcflow.c: Likewise.
40545         * termios/tcflush.c: Likewise.
40546         * termios/tcgetattr.c: Likewise.
40547         * termios/tcgetpgrp.c: Likewise.
40548         * termios/tcsendbrk.c: Likewise.
40549         * termios/tcsetattr.c: Likewise.
40550         * termios/tcsetpgrp.c: Likewise.
40551         * time/adjtime.c: Likewise.
40552         * time/clock.c: Likewise.
40553         * time/getitimer.c: Likewise.
40554         * time/gettimeofday.c: Likewise.
40555         * time/setitimer.c: Likewise.
40556         * time/settimeofday.c: Likewise.
40557         * time/stime.c: Likewise.
40558         * time/time.c: Likewise.
40560 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
40562         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
40563         /usr/old/bin.
40565         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
40566         instead of spaces.
40567         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
40569 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
40571         [BZ #14796]
40572         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
40573         FE_TONEAREST before applying Dekker multiplication and Knuth
40574         addition.  Clear inexact exceptions and check for exact zero
40575         results afterwards.
40576         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40577         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40578         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40579         * math/libm-test.inc (fma_test): Add more tests.
40580         (fma_test_towardzero): Likewise.
40581         (fma_test_downward): Likewise.
40582         (fma_test_upward): Likewise.
40583         * sysdeps/generic/math_private.h (default_libc_fesetround): New
40584         function.
40585         (libc_fesetround): New macro.
40586         (libc_fesetroundf): Likewise.
40587         (libc_fesetroundl): Likewise.
40588         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
40589         function.
40590         (libc_fesetround_387): Likewise.
40591         (libc_fesetroundf): New macro.
40592         (libc_fesetround): Likewise.
40593         (libc_fesetroundl): Likewise.
40594         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
40595         function.
40596         (libc_fesetroundf): New macro.
40597         (libc_fesetround): Likewise.
40598         (libc_fesetroundl): Likewise.
40599         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
40600         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
40601         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
40602         libm_hidden_ver.
40603         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
40604         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
40605         libm_hidden_def.
40606         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
40607         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
40608         libm_hidden_ver.
40609         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
40610         libm_hidden_def.
40612         [BZ #3439]
40613         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
40614         integer constant usable in #if and use that to give value to enum
40615         constant.
40616         (FE_DIVBYZERO): Likewise.
40617         (FE_UNDERFLOW): Likewise.
40618         (FE_OVERFLOW): Likewise.
40619         (FE_INVALID): Likewise.
40620         (FE_INVALID_SNAN): Likewise.
40621         (FE_INVALID_ISI): Likewise.
40622         (FE_INVALID_IDI): Likewise.
40623         (FE_INVALID_ZDZ): Likewise.
40624         (FE_INVALID_IMZ): Likewise.
40625         (FE_INVALID_COMPARE): Likewise.
40626         (FE_INVALID_SOFTWARE): Likewise.
40627         (FE_INVALID_SQRT): Likewise.
40628         (FE_INVALID_INTEGER_CONVERSION): Likewise.
40629         (FE_TONEAREST): Likewise.
40630         (FE_TOWARDZERO): Likewise.
40631         (FE_UPWARD): Likewise.
40632         (FE_DOWNWARD): Likewise.
40633         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
40634         (FE_DIVBYZERO): Likewise.
40635         (FE_OVERFLOW): Likewise.
40636         (FE_UNDERFLOW): Likewise.
40637         (FE_INEXACT): Likewise.
40638         (FE_TONEAREST): Likewise.
40639         (FE_DOWNWARD): Likewise.
40640         (FE_UPWARD): Likewise.
40641         (FE_TOWARDZERO): Likewise.
40642         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
40643         (FE_UNDERFLOW): Likewise.
40644         (FE_OVERFLOW): Likewise.
40645         (FE_DIVBYZERO): Likewise.
40646         (FE_INVALID): Likewise.
40647         (FE_TONEAREST): Likewise.
40648         (FE_TOWARDZERO): Likewise.
40649         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
40650         (FE_OVERFLOW): Likewise.
40651         (FE_UNDERFLOW): Likewise.
40652         (FE_DIVBYZERO): Likewise.
40653         (FE_INEXACT): Likewise.
40654         (FE_TONEAREST): Likewise.
40655         (FE_TOWARDZERO): Likewise.
40656         (FE_UPWARD): Likewise.
40657         (FE_DOWNWARD): Likewise.
40658         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
40659         (FE_DIVBYZERO): Likewise.
40660         (FE_OVERFLOW): Likewise.
40661         (FE_UNDERFLOW): Likewise.
40662         (FE_INEXACT): Likewise.
40663         (FE_TONEAREST): Likewise.
40664         (FE_DOWNWARD): Likewise.
40665         (FE_UPWARD): Likewise.
40666         (FE_TOWARDZERO): Likewise.
40668 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
40670         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
40672 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
40674         * scripts/cross-test-ssh.sh (command): Use newlines to separate
40675         commands.  Quote $PWD.
40676         (blacklist_exports): Don't use remove_newlines.  Replace "declare
40677         -x" by "export".
40678         (remove_newlines): Remove.
40680 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
40682         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
40683         * stdlib/stdlib.h (atof): Moved to ...
40684         * include/bits/stdlib-float.h: Here.  New file.
40685         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
40686         * stdlib/bits/stdlib-float.h: New file.
40687         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
40688         -mno-sse -mno-mmx.
40689         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
40690         <xmmintrin.h>.
40692 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
40694         * conform/conformtest.pl (@headers): Add fenv.h.
40695         * conform/data/fenv.h-data: New file.
40696         * include/fenv.h [_ISOMAC]: Disable all contents of file except
40697         include of <math/fenv.h>.
40699         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
40700         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
40701         && !UNIX98].  Enables tests for XOPEN2K8.
40702         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
40703         POSIX2008]: Likewise.
40705         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
40706         (struct rusage): Do not expect type or its members.
40708         [BZ #3439]
40709         * math/math.h (FP_NAN): Define macro to integer constant usable in
40710         #if and use that to give value to enum constant.
40711         (FP_INFINITE): Likewise.
40712         (FP_ZERO): Likewise.
40713         (FP_SUBNORMAL): Likewise.
40714         (FP_NORMAL): Likewise.
40716 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
40718         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
40719         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
40720         arguments.
40722 2012-11-02  Roland McGrath  <roland@hack.frob.com>
40724         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
40725         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
40726         autoconf-time if not.
40727         * configure.in: Remove AC_PREREQ.
40729 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40731         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
40732         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
40733         of the internal implementation.
40735 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
40737         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
40738         except include of <misc/sys/syslog.h>.
40740 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
40742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
40743         function returns with a NULL context exit with zero.
40745 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40747         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
40749 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
40751         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
40752         (run_program_cmd): This.
40753         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
40754         (tst_langinfo): New variable.  Use it.
40756 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
40758         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
40759         floating point opcodes.
40761 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
40763         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
40764         variable.
40766         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
40768         * sysdeps/mach/hurd/powerpc: Remove directory.
40769         * sysdeps/mach/powerpc: Likewise.
40771 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
40773         * scripts/check-local-headers.sh: Ignore c++ headers.
40775 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
40777         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
40778         __libc_cleanup_region_start argument.
40780 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
40782         [BZ #14784]
40783         [BZ #14785]
40784         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
40785         x * y using scaling, not as x * y + z.
40786         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40787         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40788         * math/libm-test.inc (fma_test): Add more tests.
40789         (fma_test_towardzero): Likewise.
40790         (fma_test_downward): Likewise.
40791         (fma_test_upward): Likewise.
40793 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
40795         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
40797 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
40799         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
40800         New variable.
40802 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
40804         * rt/tst-shm.c (worker): Correct checking for mmap failure.
40806 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
40808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40809         Fix sort order.
40810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40811         Likewise.
40813 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40816         Fix the order of the list for glibc 2.17.
40817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40818         Likewise.
40820 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
40822         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40824 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
40826         [BZ #14610]
40827         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
40828         for low part of x being zero before using __atanl (y).
40829         * math/libm-test.inc (atan2_test): Add another test.
40831         * manual/install.texi (Configuring and compiling): Document
40832         general use of test-wrapper and test-wrapper-env.
40833         * INSTALL: Regenerated.
40835         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
40836         (__fma): Do not extract and scale down low bits on after-rounding
40837         systems when result rounded to normal precision would have normal
40838         exponent.
40839         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
40840         (__fmal): Do not extract and scale down low bits on after-rounding
40841         systems when result rounded to normal precision would have normal
40842         exponent.
40843         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
40844         (__fmal): Do not extract and scale down low bits on after-rounding
40845         systems when result rounded to normal precision would have normal
40846         exponent.
40847         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
40848         macro.
40849         (fma_test): Add more tests.
40850         (fma_test_towardzero): Likewise.
40851         (fma_test_downward): Likewise.
40852         (fma_test_upward): Likewise.
40854 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
40856         * sysdeps/i386/tininess.h: Renamed to ...
40857         * sysdeps/x86/tininess.h: This.
40858         * sysdeps/x86_64/tininess.h: Removed.
40860 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
40862         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
40863         input.  Use $(build-program-cmd).
40864         ($(objpfx)tst-array1-static.out): Likewise.
40865         ($(objpfx)tst-array2.out): Likewise.
40866         ($(objpfx)tst-array3.out): Likewise.
40867         ($(objpfx)tst-array4.out): Likewise.
40868         ($(objpfx)tst-array5.out): Likewise.
40869         ($(objpfx)tst-array5-static.out): Likewise.
40871 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
40873         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
40874         if defined.
40876         * nss/nsswitch.h (nss_interface_function): Provide new
40877         macro for use with NSS functions.
40878         * grp/initgroups.c: Use new macro.
40879         * nss/getXXbyYY.c: Likewise.
40880         * nss/getXXbyYY_r.c: Likewise.
40881         * nss/getXXent.c: Likewise.
40882         * nss/getXXent_r.c: Likewise.
40883         * sysdeps/posix/getaddrinfo.c: Likewise.
40885 2012-10-30  Andreas Jaeger  <aj@suse.de>
40887         * po/ru.po: Update Russion translation from translation project.
40889 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
40891         [BZ #14152]
40892         [BZ #14783]
40893         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
40894         result and shift together with sticky bit instead of replicating
40895         round-to-nearest rounding.
40896         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40897         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40898         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
40899         missing underflow exceptions.
40900         (fma_test_towardzero): Add more tests.
40901         (fma_test_downward): Likewise.
40902         (fma_test_upward): Likewise.
40904         [BZ #14047]
40905         * sysdeps/generic/tininess.h: New file.
40906         * sysdeps/i386/tininess.h: Likewise.
40907         * sysdeps/sh/tininess.h: Likewise.
40908         * sysdeps/x86_64/tininess.h: Likewise.
40909         * stdlib/tst-strtod-underflow.c: Likewise.
40910         * stdlib/tst-tininess.c: Likewise.
40911         * stdlib/strtod_l.c: Include <tininess.h>.
40912         (round_and_return): Do not set errno for exact underflow cases.
40913         Force an underflow exception when setting errno for underflow.
40914         Determine underflow based on rounding to normal precision if
40915         TININESS_AFTER_ROUNDING.
40916         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
40917         ERANGE for exact underflow cases.
40918         * stdlib/Makefile (tests): Add tst-tininess and
40919         tst-strtod-underflow.
40920         ($(objpfx)tst-tininess): Use $(link-libm).
40921         ($(objpfx)tst-strtod-underflow): Likewise.
40923 2012-10-30  Andreas Jaeger  <aj@suse.de>
40925         [BZ#14767]
40926         * elf/Makefile (tests): Remove conditional for have-initfini-array
40927         since this is now always required and the variable does not exist
40928         anymore.
40929         (tests-static): Likewise.
40930         (modules-names): Likewise.
40932         * po/eo.po: Add Esperanto translation from translation project.
40934         * elf/tst-array1.c (fini_array): Make writeable so that it can be
40935         merged with constructor/destructor.
40936         (init_array): Likewise.
40937         * elf/tst-array2dep.c (fini_array): Likewise.
40938         (init_array): Likewise.
40940 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
40942         * manual/message.texi: Delete @cartouche tags.
40944 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
40946         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
40947         EOPNOTSUPP.
40948         * sysdeps/mach/hurd/fsync.c: Likewise.
40950         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
40951         [_POSIX_REALTIME_SIGNALS]: Change condition to
40952         [_POSIX_REALTIME_SIGNALS > 0].
40954 2012-10-27  Andreas Jaeger  <aj@suse.de>
40956         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
40957         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
40958         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
40959         [__WORDSIZE != 64]: Likewise.
40961 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
40963         *  iconvdata/tst-table.sh: Remove ${SHELL}.
40964         *  iconvdata/tst-tables.sh: Likewise.
40966 2012-10-25  David S. Miller  <davem@davemloft.net>
40968         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40969         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
40970         of strtoull.
40972         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
40973         ifunc-impl-list.c
40974         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40975         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
40976         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
40977         file.
40979 2012-10-25  Roland McGrath  <roland@hack.frob.com>
40981         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40982         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
40983         __getdirentries.
40985 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
40986             Jim Blandy  <jimb@codesourcery.com>
40988         * scripts/cross-test-ssh.sh: New file.
40989         * manual/install.texi (Configuring and compiling): Document use of
40990         cross-test-ssh.sh.
40991         * INSTALL: Regenerated.
40993 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
40995         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
40996         EOPNOTSUPP.
40998 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
41000         * Makeconfig (run-program-prefix): Fix comment.
41002 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
41003             Jim Blandy  <jimb@codesourcery.com>
41005         * Makeconfig (test-wrapper): New variable,
41006         (test-wrapper-env): Likewise.
41007         [$(cross-compiling) = yes && $(test-wrapper) != ""]
41008         (run-built-tests): Define to yes.
41009         (run-program-prefix): Use $(test-wrapper).
41010         (built-program-cmd): Likewise.
41011         * Rules (make-test-out): Use $(test-wrapper-env) and
41012         $(host-built-program-cmd).
41013         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
41014         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
41015         tst-pathopt.sh.
41016         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
41017         $(test-wrapper-env) to tst-rtld-load-self.sh.
41018         ($(objpfx)order2.out): Use $(test-wrapper).
41019         ($(objpfx)tst-initorder.out): Likewise.
41020         ($(objpfx)tst-initorder2.out): Likewise.
41021         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
41022         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
41023         (test_wrapper_env): New variable.  Use it to run ld.so.
41024         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
41025         Use it to run ld.so.
41026         (test_wrapper_env): Likewise.
41027         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
41028         $(test-wrapper) to run-iconv-test.sh.
41029         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
41030         (ICONV): Use $test_wrapper.
41031         * posix/Makefile ($(objpfx)globtest.out): Pass
41032         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
41033         globtest.sh, not $(run-program-prefix).
41034         * posix/globtest.sh (run_via_rtld_prefix): New variable.
41035         (test_wrapper): Likewise.
41036         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
41037         set together with run_via_rtld_prefix.
41038         (run_program_prefix): Define in terms of test_wrapper and
41039         run_via_rtld_prefix.
41041 2012-10-24  Roland McGrath  <roland@hack.frob.com>
41043         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
41044         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
41045         Targets removed.
41047         [BZ #14743]
41048         * include/time.h: Remove librt_hidden_proto (clock_gettime).
41049         Declare __clock_getres, __clock_gettime, __clock_settime,
41050         __clock_nanosleep, and __clock_getcpuclockid.
41051         * rt/clock_gettime.c: Define __clock_gettime as an alias.
41052         Remove librt_hidden_def (clock_gettime).
41053         * sysdeps/unix/clock_gettime.c: Likewise.
41054         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
41055         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
41056         * rt/clock_getres.c: Define __clock_getres as an alias.
41057         * sysdeps/posix/clock_getres.c: Likewise.
41058         * rt/clock_settime.c: Define __clock_settime as an alias.
41059         * sysdeps/unix/clock_settime.c: Likewise.
41060         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
41061         * sysdeps/unix/clock_nanosleep.c: Likewise.
41062         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
41063         * rt/clock-compat.c: New file.
41064         * rt/Makefile (librt-routines): Add clock-compat and move
41065         $(clock-routines) to ...
41066         (routines): ... here, new variable.
41067         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
41068         Don't add get_clockfreq here.
41069         * rt/Versions (libc: GLIBC_2.17): New version set.
41070         Add clock_* symbols here.
41071         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
41072         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
41073         (GLIBC_2.17): Add clock_* symbols.
41074         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
41075         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
41076         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
41077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41078         Likewise.
41079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41080         Likewise.
41081         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
41082         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
41083         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
41084         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
41085         * NEWS: Mention the move.
41087         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
41088         Use __open, __read, __close rather than their public counterparts.
41089         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41090         (__get_clockfreq_via_cpuinfo): Likewise.
41091         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
41092         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
41094         * config.h.in (HAVE_IFUNC): New #undef.
41095         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
41096         was successful.
41097         * configure: Regenerated.
41099 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
41101         * configure.in: Move READELF check to start of file.
41102         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
41103         libc_cv_asm_gnu_indirect_function in the process.
41104         * configure: Regenerated.
41106 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
41108         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
41109         send the output to /dev/null.
41110         (libc_cv_cc_with_libunwind): Likewise.
41111         (libc_cv_as_noexecstack): Likewise.
41112         * configure: Regenerate.
41114 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
41116         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
41118         * posix/globtest.sh (TMPDIR): Do not set.
41119         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
41120         (testout): Likewise.
41122 2012-10-24  Andreas Jaeger  <aj@suse.de>
41124         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
41125         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
41126         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
41127         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
41128         posix_fadvise64, posix_fallocate64.
41130         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
41131         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
41132         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
41133         Likewise.
41134         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
41135         Likewise.
41136         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
41138         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
41139         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
41140         <bits/fcntl-linux.h>.
41141         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
41143         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
41144         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
41145         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
41146         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
41147         [__WORDSIZE != 64]: Likewise.
41149 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
41151         * Makeconfig (run-built-tests): New variable.
41152         * Rules [$(cross-compiling) = yes]: Change condition to
41153         [$(run-built-tests) = no].
41154         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
41155         to [$(run-built-tests) = yes].
41156         * elf/Makefile [$(cross-compiling) = no]: Likewise
41157         * grp/Makefile [$(cross-compiling) = no]: Likewise.
41158         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
41159         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
41160         * intl/Makefile [$(cross-compiling) = no]: Likewise.
41161         * io/Makefile [$(cross-compiling) = no]: Likewise.
41162         * libio/Makefile [$(cross-compiling) = no]: Likewise.
41163         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
41164         * misc/Makefile [$(cross-compiling) = no]: Likewise.
41165         * posix/Makefile [$(cross-compiling) = no]: Likewise.
41166         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
41167         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
41168         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
41169         * string/Makefile [$(cross-compiling) = no]: Likewise.
41171         * posix/Makefile ($(objpfx)globtest.out): Pass
41172         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
41173         $(rtld-installed-name).
41174         * posix/globtest.sh (elf_objpfx): Remove variable.
41175         (rtld_installed_name): Likewise.
41176         (library_path): Likewise.
41177         (run_program_prefix): New variable.  Use for running globtest
41178         binary.
41180 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
41181             Joseph Myers  <joseph@codesourcery.com>
41183         * Makeconfig (host-built-program-cmd): New variable.
41184         * elf/Makefile (tst-stackguard1-ARGS): Use
41185         $(host-built-program-cmd).
41186         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
41187         (tst-spawn-ARGS): Likewise.
41188         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
41190 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
41191             Jim Blandy  <jimb@codesourcery.com>
41193         * Makeconfig (run-via-rtld-prefix): New variable.
41194         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
41195         (built-program-cmd): Likewise.
41197 2012-10-22  Andreas Jaeger  <aj@suse.de>
41199         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
41200         __O_RSYNC if it exists, otherwise to O_SYNC.
41202 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
41203             Joseph Myers  <joseph@codesourcery.com>
41205         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
41206         /dev/null.
41207         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
41208         from /dev/null
41209         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
41210         /dev/null.
41212 2012-10-22  Andreas Jaeger  <aj@suse.de>
41214         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
41215         Define always.
41216         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
41218         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41219         bits/fcntl-linux.h.
41221         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
41222         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
41224         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
41225         to __O_LARGEFILE.
41226         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
41227         to __O_LARGEFILE.
41229 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
41230             Joseph Myers  <joseph@codesourcery.com>
41232         * config.make.in (NM): New variable.
41234 2012-10-21  Andreas Jaeger  <aj@suse.de>
41236         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
41237         definitions and declarations that are provided by
41238         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
41240 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
41242         [BZ #14683]
41243         * elf/Makefile (tests-static): Add tst-leaks1-static.
41244         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
41245         ($(objpfx)tst-leaks1-static): New rule.
41246         ($(objpfx)tst-leaks1-static-mem): Likewise.
41247         (tst-leaks1-static-ENV): New macro.
41248         * elf/dl-open.c (dl_open_worker): Check the main application
41249         only if SHARED is defined.
41250         * elf/tst-leaks1-static.c: New file.
41252 2012-10-20  Andreas Jaeger  <aj@suse.de>
41254         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
41255         generic values for Linux.
41256         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
41257         and declarations that are provided by <bits/fcntl-linux.h> and
41258         include <bits/fcntl-linux.h>.
41259         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41260         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41262 2012-10-20  Roland McGrath  <roland@hack.frob.com>
41264         * io/fcntl.h: Move include of <bits/types.h> to the top and
41265         include it unconditionally.
41267 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
41269         * wcsmbs/Makefile (tests-ifunc): New variable.
41270         (tests): Add $(tests-ifunc).
41271         * wcsmbs/test-wcschr-ifunc.c: New file.
41272         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
41273         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
41274         * wcsmbs/test-wcslen-ifunc.c: Likewise.
41275         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
41276         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
41278         * string/Makefile (tests-ifunc): New variable.
41279         (tests): Add $(tests-ifunc).
41280         * string/test-memccpy.c (TEST_NAME): New macro.
41281         * string/test-memchr.c (TEST_NAME): Likewise.
41282         * string/test-memcmp.c (TEST_NAME): Likewise.
41283         * string/test-memcpy.c (TEST_NAME): Likewise.
41284         * string/test-memmem.c (TEST_NAME): Likewise.
41285         * string/test-memmove.c (TEST_NAME): Likewise.
41286         * string/test-memset.c (TEST_NAME): Likewise.
41287         * string/test-rawmemchr.c (TEST_NAME): Likewise.
41288         * string/test-stpcpy.c (TEST_NAME): Likewise.
41289         * string/test-stpncpy.c (TEST_NAME): Likewise.
41290         * string/test-strcasecmp.c (TEST_NAME): Likewise.
41291         * string/test-strcasestr.c (TEST_NAME): Likewise.
41292         * string/test-strcat.c (TEST_NAME): Likewise.
41293         * string/test-strchr.c (TEST_NAME): Likewise.
41294         * string/test-strcmp.c(TEST_NAME): Likewise.
41295         * string/test-strcpy.c (TEST_NAME): Likewise.
41296         * string/test-strcspn.c (TEST_NAME): Likewise.
41297         * string/test-strlen.c (TEST_NAME): Likewise.
41298         * string/test-strncasecmp.c (TEST_NAME): Likewise.
41299         * string/test-strncmp.c (TEST_NAME): Likewise.
41300         * string/test-strncpy.c (TEST_NAME): Likewise.
41301         * string/test-strnlen.c (TEST_NAME): Likewise.
41302         * string/test-strpbrk.c (TEST_NAME): Likewise.
41303         * string/test-strrchr.c (TEST_NAME): Likewise.
41304         * string/test-strspn.c (TEST_NAME): Likewise.
41305         * string/test-strstr.c (TEST_NAME): Likewise.
41306         * string/test-bcopy-ifunc.c: New file.
41307         * string/test-bzero-ifunc.c: Likewise.
41308         * string/test-memccpy-ifunc.c: Likewise.
41309         * string/test-memchr-ifunc.c: Likewise.
41310         * string/test-memcmp-ifunc.c: Likewise.
41311         * string/test-memcpy-ifunc.c: Likewise.
41312         * string/test-memmem-ifunc.c: Likewise.
41313         * string/test-memmove-ifunc.c: Likewise.
41314         * string/test-mempcpy-ifunc.c: Likewise.
41315         * string/test-memset-ifunc.c: Likewise.
41316         * string/test-rawmemchr-ifunc.c: Likewise.
41317         * string/test-stpcpy-ifunc.c: Likewise.
41318         * string/test-stpncpy-ifunc.c: Likewise.
41319         * string/test-strcasecmp-ifunc.c: Likewise.
41320         * string/test-strcasestr-ifunc.c: Likewise.
41321         * string/test-strcat-ifunc.c: Likewise.
41322         * string/test-strchr-ifunc.c: Likewise.
41323         * string/test-strchrnul-ifunc.c: Likewise.
41324         * string/test-strcmp-ifunc.c: Likewise.
41325         * string/test-strcpy-ifunc.c: Likewise.
41326         * string/test-strcspn-ifunc.c: Likewise.
41327         * string/test-strlen-ifunc.c: Likewise.
41328         * string/test-strncasecmp-ifunc.c: Likewise.
41329         * string/test-strncat-ifunc.c: Likewise.
41330         * string/test-strncmp-ifunc.c: Likewise.
41331         * string/test-strncpy-ifunc.c: Likewise.
41332         * string/test-strnlen-ifunc.c: Likewise.
41333         * string/test-strpbrk-ifunc.c: Likewise.
41334         * string/test-strrchr-ifunc.c: Likewise.
41335         * string/test-strspn-ifunc.c: Likewise.
41336         * string/test-strstr-ifunc.c: Likewise.
41338         * debug/Makefile (tests-ifunc): New variable.
41339         (tests): Add $(tests-ifunc).
41340         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
41341         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
41342         * debug/test-stpcpy_chk-ifunc.c: New file.
41343         * debug/test-strcpy_chk-ifunc.c: Likewise.
41345 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
41347         [BZ #13601]
41348         * elf/dl-load.c (open_verify): Retry read if the entire ELF
41349         header is not read in.
41351 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
41353         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
41354         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
41355         directly.  Pass built executable to script as
41356         $(built-program-cmd).
41357         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
41358         $testprogram without using LD_LIBRARY_PATH and $ldso.
41360         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
41361         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
41362         $(rtld-installed-name).
41363         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
41364         (rtld_installed_name): Likewise.
41365         (library_path): Likewise.
41366         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
41367         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
41368         $(run-program-prefix) to tst-tables.sh.
41369         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
41370         it to run tst-table-from and tst-table-to.
41371         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
41372         Pass it to tst-table.sh.
41373         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
41374         $(run-program-prefix) to tst-gettext.sh.
41375         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
41376         tst-translit.sh.
41377         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
41378         tst-gettext2.sh.
41379         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
41380         to run tst-gettext.
41381         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
41382         to run tst-gettext2.
41383         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
41384         to run tst-translit.
41385         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
41386         $(run-program-prefix) to tst-mtrace.sh.
41387         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
41388         to run tst-mtrace.
41389         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
41390         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
41391         $(rtld-installed-name).
41392         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
41393         (rtld_installed_name): Likewise.
41394         (run_program_prefix): New variable.  Use it to run wordexp-test.
41396         * Makeconfig (ARCH): Remove all definitions.
41397         (machine): Likewise.
41398         [ARCH]: Remove conditional code.
41399         [!objdir]: Give error.
41400         [!objdir] (objpfx): Remove.
41401         [!objdir] (common-objpfx): Likewise.
41402         [!objdir] (common-objdir): Likewise.
41403         * configure.in (config_makefile): Remove.  Hardcode Makefile in
41404         AC_CONFIG_FILES call.
41405         * configure: Regenerated.
41407         [BZ #13888]
41408         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
41409         or TMPDIR.
41410         (testout): Likewise.
41412         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
41413         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
41414         $(rtld-installed-name).
41415         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
41416         (rtld_installed_name): Likwise.
41417         (runit): Remove function.
41418         (run_getconf): New variable,  Use it for running getconf binary.
41420 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
41422         [BZ #14716]
41423         * string/test-memmem.c (check_result): New function.
41424         (do_one_test): Use it.
41425         (check1): New function.
41426         (test_main): Use it.
41428 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
41430         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
41432 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
41434         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
41435         (_G_LSEEK64): Likewise.
41436         (_G_MMAP64): Likewise.
41437         (_G_FSTAT64): Likewise.
41438         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
41439         (_G_LSEEK64): Likewise.
41440         (_G_MMAP64): Likewise.
41441         (_G_FSTAT64): Likewise.
41442         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
41443         unconditional.  Call __mmap64 directly.
41444         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
41445         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
41446         __lseek64 directly.
41447         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
41448         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
41449         __mmap64 directly.
41450         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
41451         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
41452         __lseek64 directly.
41453         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
41454         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
41455         __lseek64 directly.
41456         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
41457         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
41458         __lseek64 directly.
41459         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
41460         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
41461         __fxstat64 directly.
41462         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
41463         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
41464         unconditional.
41465         (freopen64) [!_G_OPEN64]: Remove conditional code.
41466         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
41467         unconditional.
41468         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
41469         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
41470         unconditional.
41471         (ftello64) [!_G_LSEEK64]: Remove conditional code.
41472         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
41473         unconditional.
41474         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
41475         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
41476         unconditional.
41477         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
41478         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
41479         unconditional.
41480         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
41481         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
41482         unconditional.
41483         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
41484         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
41485         unconditional.
41486         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
41488 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
41490         [BZ #12140]
41491         * manual/memory.texi (Malloc Tunable Parameters): Add note
41492         about free list pointers overwriting some perturb bytes.
41493         Wording suggested by Roland McGrath.
41495 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
41497         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
41498         (lgamma_test): Likewise.
41499         (tgamma_test): Likewise.
41501 2012-10-16  Florian Weimer  <fweimer@redhat.com>
41503         [BZ #14700]
41504         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
41505         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
41507 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
41509         * NEWS: Mention BZ #14716.
41510         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
41511         when removing AVAILABLE1_USES_J macro.
41513 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
41515         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
41516         (__bswap_64): __uint64_t for unsigned 64-bit int.
41518 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
41520         * include/string.h (memmem): Declare libc hidden alias.
41521         * string/memmem.c (memmem): Define libc hidden alias.
41522         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
41523         __read, __close instead of open, read, close.
41525 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
41527         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
41528         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
41529         global and hidden.
41530         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
41531         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
41532         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
41533         Likewise.
41534         (__rawmemchr_sse2): Likewise.
41535         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
41536         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
41537         (__strchr_sse2): Likewise.
41538         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
41539         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
41540         (__strcasecmp_sse2): Likewise.
41541         (__strncasecmp_sse2): Likewise.
41542         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
41543         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
41544         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
41545         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
41546         (__strrchr_sse2): Likewise.
41547         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
41548         ifunc-impl-list.c.
41549         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
41550         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
41551         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
41552         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41553         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
41554         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
41555         * sysdeps/x86_64/multiarch/memset.S: Likewise.
41556         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41557         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
41558         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
41559         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
41560         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
41561         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
41562         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
41563         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
41564         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
41565         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
41566         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
41567         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
41568         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
41569         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
41570         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
41571         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
41572         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
41573         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
41574         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41575         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
41576         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
41577         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
41578         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
41580         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
41581         global and hidden.
41582         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
41583         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
41584         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
41585         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
41586         Likewise.
41587         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
41588         Likewise.
41589         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
41590         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
41591         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
41592         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
41593         ifunc-impl-list.c.
41594         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41595         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41596         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41597         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41598         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41599         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41600         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41601         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41602         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41603         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41604         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41605         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41606         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41607         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
41608         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
41609         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41610         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
41611         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
41612         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41613         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41614         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41615         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41616         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41617         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41618         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41619         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
41620         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
41621         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
41622         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
41623         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41624         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
41625         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41626         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41627         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
41628         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41629         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41630         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41631         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41632         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41633         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41634         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
41636         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
41637         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
41638         * include/ifunc-impl-list.h: New file.
41639         * misc/ifunc-impl-list.c: Likewise.
41640         * misc/Makefile (routines): Add ifunc-impl-list.
41641         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
41642         * string/test-string.h: Include <ifunc-impl-list.h>.
41643         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
41644         TEST_NAME]: New variables.
41645         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
41646         are defined.
41647         (test_init): Call __libc_ifunc_impl_list to initialize
41648         func_list if TEST_IFUNC and TEST_NAME are defined.
41650         * string/Makefile (strop-tests): Add bcopy and bzero.
41651         * string/test-bcopy.c: New file.
41652         * string/test-bzero.c: Likewise.
41653         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
41654         defined.
41655         * string/test-memset.c: Support bzero test if TEST_BZERO is
41656         defined.
41657         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
41658         __libc_memmove.
41659         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
41660         __libc_memset.
41661         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
41662         of memset.
41664 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
41666         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
41667         * configure: Regenerated.
41669         * Makeconfig (+link-static-before-libc): Don't include
41670         $(link-static-libc).
41672         * libio/libio.h (_IO_pos_t): Remove.
41674 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
41676         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
41677         McGrath.
41679 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
41681         * crypt/crypt-entry.c: Include fips-private.h.
41682         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
41683         * crypt/md5c-test.c (main): Tolerate disabled MD5.
41684         * sysdeps/unix/sysv/linux/fips-private.h: New file.
41685         * sysdeps/generic/fips-private.h: New file, dummy fallback.
41687 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
41689         * crypt/crypt-private.h: Include stdbool.h.
41690         (_ufc_setup_salt_r): Return bool.
41691         * crypt/crypt-entry.c: Include errno.h.
41692         (__crypt_r): Return NULL with EINVAL for bad salt.
41693         * crypt/crypt_util.c (bad_for_salt): New.
41694         (_ufc_setup_salt_r): Check that salt is long enough and within
41695         the specified alphabet.
41696         * crypt/badsalttest.c: New file.
41697         * crypt/Makefile (tests): Add it.
41698         ($(objpfx)badsalttest): New.
41700 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
41702         * NEWS: Add entry for BZ #14602.
41704 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
41706         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
41707         type-generic.
41708         * math/libm-test.inc: Update comment listing what functions and
41709         macros are tested.
41710         (isgreater_test): New function.
41711         (isgreaterequal_test): Likewise.
41712         (isless_test): Likewise.
41713         (islessequal_test): Likewise.
41714         (islessgreater_test): Likewise.
41715         (isunordered_test): Likewise.
41716         (main): Call the new functions.
41718 2012-10-09  Roland McGrath  <roland@hack.frob.com>
41720         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
41721         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
41722         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
41723         * sysdeps/i386/configure: Regenerated.
41724         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
41725         * sysdeps/mach/configure: Regenerated.
41726         * sysdeps/mach/hurd/configure: Regenerated.
41727         * sysdeps/powerpc/configure: Regenerated.
41728         * sysdeps/powerpc/powerpc32/configure: Regenerated.
41729         * sysdeps/powerpc/powerpc64/configure: Regenerated.
41730         * sysdeps/s390/s390-32/configure: Regenerated.
41731         * sysdeps/s390/s390-64/configure: Regenerated.
41732         * sysdeps/sh/configure: Regenerated.
41733         * sysdeps/sparc/configure: Regenerated.
41734         * sysdeps/unix/sysv/linux/configure: Regenerated.
41735         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
41736         * sysdeps/x86_64/configure: Regenerated.
41738         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
41739         defined.  Don't check if MAP is NULL.
41741 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
41743         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
41744         (_G_stat64): Likewise.
41745         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
41746         (_G_stat64): Likewise.
41747         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
41748         instead of struct _G_stat64.
41749         * libio/fileops.c (mmap_remap_check): Likewise.
41750         (decide_maybe_mmap): Likewise.
41751         (_IO_new_file_seekoff): Likewise.
41752         (_IO_file_stat): Likewise.
41753         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
41754         _G_off64_t.
41755         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
41756         instead of struct _G_stat64.
41757         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
41759 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
41761         [BZ #14602]
41762         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41763         Replace with ...
41764         (CHECK_EOL): New macro.
41765         (two_way_short_needle): Check beginning of haystack for EOL.  Use
41766         CHECK_EOL.
41767         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41768         Replace with CHECK_EOL.
41769         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41770         Replace with CHECK_EOL.
41772 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
41774         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
41775         type-generic.
41776         * math/libm-test.inc: Update comment listing what functions and
41777         macros are tested.
41778         (finite_test): New function.
41779         (isinf_test): Likewise.
41780         (isnan_test): Likewise.
41781         (fpclassify_test): Test subnormal input.
41782         (isfinite_test): Likewise.
41783         (isnormal_test): Likewise.
41784         (main): Call the new functions.
41786 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
41788         [BZ #14660]
41789         * Makerules (%.dynsym): Force C locale when running
41790         $(OBJDUMP) --dynamic-syms.
41792 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
41794         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
41795         <stdint.h>.
41797 2012-10-06  David S. Miller  <davem@davemloft.net>
41799         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
41800         upper 32-bits of the length value in %o2 since we use branch-on-register
41801         tests which consider the entire 64-bit register.
41803 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
41805         * string/test-strstr.c (check2): Add a test for page boundary.
41807 2012-10-05  David S. Miller  <davem@davemloft.net>
41809         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
41810         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
41811         file.
41812         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
41813         sysdep_routines.
41814         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
41815         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
41816         and bzero when HWCAP_SPARC_CRYPTO is present.
41818 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
41820         [BZ #14602]
41821         * string/test-strstr.c (check2): New function.
41822         (test_main): Call check2.
41824         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
41825         and bug-strchr1.
41826         * string/bug-strcasestr1.c (do_test): Moved to ...
41827         * string/test-strcasestr.c (check1): Here.  New function.
41828         (do_one_test): Break out result checking code into ...
41829         (check_result): This.  New function.
41830         (do_one_test): Call check_result.
41831         (test_main): Call check1.
41832         * string/bug-strchr1.c (do_test): Moved to ...
41833         * string/test-strchr.c (check1): Here.  New function.
41834         (do_one_test): Break out result checking code into ...
41835         (check_result): This.  New function.
41836         (do_one_test): Call check_result.
41837         (test_main): Call check1.
41838         * string/bug-strstr1.c (main): Moved to ...
41839         * string/test-strstr.c (check1): Here.  New function.
41840         (do_one_test): Break out result checking code into ...
41841         (check_result): This.  New function.
41842         (do_one_test): Call check_result.
41843         (test_main): Call check1.
41844         * string/bug-strcasestr1.c: Removed.
41845         * string/bug-strchr1.c: Likewise.
41846         * string/bug-strstr1.c: Likewise.
41848         * elf/Makefile (dl-routines): Add hwcaps.
41849         * elf/dl-support.c (_dl_important_hwcaps): Removed.
41850         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
41851         (_dl_important_hwcaps): Moved to ...
41852         * elf/dl-hwcaps.c: Here.  New file.
41853         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
41855         [BZ #14557]
41856         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
41857         if IS_IN_rtld isn't defined.
41859         * elf/dl-support.c (_dl_sysinfo_map): New.
41860         Include "get-dynamic-info.h" and "setup-vdso.h".
41861         (_dl_non_dynamic_init): Call setup_vdso.
41862         * elf/dynamic-link.h: Don't include <assert.h>.
41863         (elf_get_dynamic_info): Moved to ...
41864         * elf/get-dynamic-info.h: Here.  New file.
41865         * elf/dynamic-link.h: Include "get-dynamic-info.h".
41866         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
41867         * elf/setup-vdso.h: Here.  New file.
41868         * elf/rtld.c: Include "setup-vdso.h".
41869         (dl_main): Call setup_vdso.
41871 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
41873         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
41874         creal in comment listing functions tested.  List finite, isinf,
41875         isnan, isless, islessequal, isgreater, isgreaterequal,
41876         islessgreater, isunordered, lgamma_r and pow10 as functions and
41877         macros not tested.  Mention which functions not tested are aliases
41878         for other functions.  Fix typo.  Note that signs of NaNs are not
41879         tested.
41881         * scripts/config.guess: Update from config.git.
41882         * scripts/config.sub: Likewise.
41884 2012-10-04  Roland McGrath  <roland@hack.frob.com>
41886         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
41887         * misc/madvise.c (madvise): Renamed to __madvise.
41888         Make madvise a weak alias.
41889         * include/sys/mman.h: Declare __madvise.
41890         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
41891         * sysdeps/unix/syscalls.list
41892         (madvise): Make __madvise the strong name, and madvise a weak alias.
41893         * sysdeps/unix/sysv/linux/syscalls.list
41894         (madvise, mmap): Remove redundant entries.
41895         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
41896         * malloc/malloc.c (mtrim): Likewise.
41897         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
41899 2012-10-03  Roland McGrath  <roland@hack.frob.com>
41901         * sysdeps/mach/hurd/dl-cache.c: File removed.
41902         * config.h.in (USE_LDCONFIG): New #undef.
41903         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
41904         * configure: Regenerated.
41905         * elf/Makefile (dl-routines): Add dl-cache only under
41906         [$(use-ldconfig) = yes].
41907         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
41908         cache on [USE_LDCONFIG].
41909         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
41910         [USE_LDCONFIG].
41911         * elf/rtld.c (dl_main): Likewise.
41913 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
41915         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
41916         _SC_LEVEL4_CACHE_LINESIZE.
41918 2012-10-03  Roland McGrath  <roland@hack.frob.com>
41920         * sysdeps/unix/bsd/confstr.h: File removed.
41922 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
41924         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
41925         sys/sdt-config.h.
41927 2012-10-02  Roland McGrath  <roland@hack.frob.com>
41929         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
41930         Make 'mapoff' field ElfW(Off) rather than off_t.
41932 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
41934         * nscd/Makefile: Remove nscd-cflags and all its users.
41935         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
41936         (CFLAGS-nonlib): Add compiler flags for nscd modules.
41938         [BZ #10631]
41939         * malloc.c (malloc_printerr): Clarify error message.
41941 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
41943         [BZ #14648]
41944         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41945         Set bit_FMA_Usable if FMA is supported.
41946         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
41947         macro.
41948         (bit_FMA4_Usable): Updated.
41949         (index_FMA_Usable): New macro.
41950         (CPUID_FMA): Likewise
41951         (HAS_FMA): Defined with bit_FMA_Usable.
41953 2012-10-01  Roland McGrath  <roland@hack.frob.com>
41955         * bits/types.h (__swblk_t): Type removed.
41956         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
41957         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
41958         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41959         (__SWBLK_T_TYPE): Likewise.
41960         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
41961         (__SWBLK_T_TYPE): Likewise.
41962         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41963         (__SWBLK_T_TYPE): Likewise.
41964         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41965         (__SWBLK_T_TYPE): Likewise.
41967 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
41968             Honza Horak <hhorak@redhat.com>
41970         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
41971         (xdr_mapname): Use YPMAXMAP as maxsize.
41972         (xdr_peername): Use YPMAXPEER as maxsize.
41973         (xdr_keydat): Use YPAXRECORD as maxsize.
41974         (xdr_valdat): Use YPMAXRECORD as maxsize.
41976 2012-10-01  Roland McGrath  <roland@hack.frob.com>
41978         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
41980         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
41981         * csu/init-first.c: ... here.
41982         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
41983         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
41984         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
41985         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
41986         * sysdeps/i386/init-first.c: File removed.
41987         * sysdeps/sh/init-first.c: File removed.
41989 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
41991         [BZ #14645]
41992         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
41993         if x * y might underflow to zero and z is zero.
41994         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41995         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41996         * math/libm-test.inc (min_subnorm_value): New variable.
41997         (fma_test): Add more tests.
41998         (fma_test_towardzero): Likewise.
41999         (fma_test_downward): Likewise
42000         (fma_test_upward): Likewise.
42001         (initialize): Set min_subnorm_value.
42003 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
42005         [BZ #14638]
42006         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
42007         0 + 0.
42008         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
42009         mode for addition resulting in exact zero.
42010         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
42011         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
42012         exact 0 + 0.
42013         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42014         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42015         * math/libm-test.inc (fma_test): Add more tests.
42016         (fma_test_towardzero): New function.
42017         (fma_test_downward): Likewise.
42018         (fma_test_upward): Likewise.
42019         (main): Call the new functions.
42021 2012-09-28  David S. Miller  <davem@davemloft.net>
42023         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
42025 2012-09-28  Roland McGrath  <roland@hack.frob.com>
42027         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
42028         instead of SIGALRM.
42030         * sysdeps/gnu/_G_config.h: Moved to ...
42031         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
42032         * sysdeps/mach/hurd/_G_config.h: Moved to ...
42033         * sysdeps/generic/_G_config.h: ... here.
42035         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
42037         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
42039         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
42040         Conditionalize target on [libnss_test1.so-version].
42042         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
42044         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
42045         (elfobjdir): Move out of conditionals.
42047         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
42048         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
42049         (__nss_lookup_function): Conditionalize label remove_from_tree on
42050         [!DO_STATIC_NSS || SHARED], matching its only use.
42052 2012-09-28  David S. Miller  <davem@davemloft.net>
42054         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
42055         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
42056         file.
42057         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
42058         sysdep_routines.
42059         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
42060         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
42061         when HWCAP_SPARC_CRYPTO is present.
42063 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
42065         * io/tst-mknodat.c: Create a FIFO instead of a socket.
42067 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
42069         [BZ #6530]
42070         * stdio-common/vfprintf.c (process_string_arg): Revert
42071         2000-07-22 change.
42073 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
42075         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
42076         for testcase.
42077         * stdio-common/tst-sprintf.c: Include <locale.h>
42078         (main): Test sprintf's handling of incomplete multibyte
42079         characters.
42081 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
42083         * elf/dl-runtime.c (VERSYMIDX): Removed.
42084         * elf/dl-version.c (VERSYMIDX): Likewise.
42085         * elf/do-rel.h (VERSYMIDX): Likewise.
42086         (VALIDX): Likewise.
42087         * elf/dynamic-link.h (VERSYMIDX): Likewise.
42088         * elf/rtld.c (VALIDX): Likewise.
42089         (ADDRIDX): Likewise.
42090         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
42091         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
42092         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
42093         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
42094         (VALIDX): Likewise.
42095         (ADDRIDX): Likewise.
42097 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
42099         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
42101 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
42103         [BZ #11438]
42104         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
42105         to global scope.
42106         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
42107         addresses are in the same scope as 192.0.2/24.
42108         * posix/gai.conf: Document new scope table defaults.
42110 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42112         [BZ #5298]
42113         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
42114         for ftell.  Compute offsets from write pointers instead.
42115         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
42117 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42119         [BZ #14543]
42120         * libio/Makefile (tests): New test case tst-fseek.
42121         * libio/tst-fseek.c: New test case to verify that fseek/ftell
42122         combination works in wide mode.
42123         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
42124         state when the external buffer state changes.
42126 2012-09-27  David S. Miller  <davem@davemloft.net>
42128         [BZ #14376]
42129         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
42130         pass reloc->r_addend in as the 'high' argument to
42131         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
42133         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42135 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
42137         * rt/tst-aio2.c: Include <pthread.h>.
42138         * rt/tst-aio3.c: Likewise.
42140 2012-09-27  Steve Ellcey  <sellcey@mips.com>
42142         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
42144 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
42146         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
42147         contents on [SHARED].
42149 2012-09-26  Marek Polacek  <polacek@redhat.com>
42151         [BZ #14530]
42152         [BZ #13741]
42153         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
42154         for C++ and GCC <4.3 as well as for non GCC compilers.
42156 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
42158         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42160 2012-09-25  Roland McGrath  <roland@hack.frob.com>
42162         * Makefile.in (all, install): Declare with .PHONY.
42163         Reported by Michael Hope <michael.hope@linaro.org>.
42165 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42167         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
42168         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
42169         system header.
42170         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
42171         Likewise.
42172         (sydep_routines): Add the new and the internal functions.
42173         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
42174         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
42175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
42176         (GLIBC_2.17): Add the new function.
42177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
42178         (GLIBC_2.17): Likewise.
42179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
42180         (GLIBC_2.17): Likewise.
42181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
42182         (GLIBC_2.17): Likewise.
42183         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
42185 2012-09-25  Alan Modra  <amodra@gmail.com>
42187         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
42188         Add release barrier before setting once_control to say
42189         initialisation is done.  Add hints on lwarx.  Use macro in
42190         place of isync.
42191         (clear_once_control): Add release barrier.
42193 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
42195         [BZ #13629]
42196         * math/s_clog.c (__clog): Handle more values close to |z| = 1
42197         specially.
42198         * math/s_clog10.c (__clog10): Likewise.
42199         * math/s_clog10f.c (__clog10f): Likewise.
42200         * math/s_clog10l.c (__clog10l): Likewise.
42201         * math/s_clogf.c (__clogf): Likewise.
42202         * math/s_clogl.c (__clogl): Likewise.
42203         * math/Makefile (libm-calls): Add x2y2m1.
42204         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
42205         (__x2y2m1): Likewise.
42206         (__x2y2m1l): Likewise.
42207         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
42208         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
42209         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
42210         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
42211         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
42212         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
42213         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
42214         * sysdeps/i386/fpu/libm-test-ulps: Update.
42215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42217         [BZ #14621]
42218         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
42219         int as type of variable DEPTH.
42220         (glob): Use size_t instead of int as type of variables NEWCOUNT
42221         and OLD_PATHC.
42223 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42225         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
42226         Add s_sincosf-sse2.
42227         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
42228         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
42229         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
42230         macros for using routine as __sincosf_ia32.
42231         Use macro for function declaration and weak_alias.
42232         * sysdeps/i386/fpu/libm-test-ulps: Update.
42234         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
42235         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42237         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
42238         subnormal argument.
42239         * math/s_cexpf.c (__cexpf): Likewise.
42240         * math/s_csinf.c (__csinf): Likewise.
42241         * math/s_csinhf.c (__csinhf): Likewise.
42242         * math/s_ctanf.c (__ctanf): Likewise.
42243         * math/s_ctanhf.c (__ctanhf): Likewise.
42244         * math/s_ccosh.c (__ccoshf): Likewise.
42245         * math/s_cexp.c (__cexpl): Likewise.
42246         * math/s_csin.c (__csin): Likewise.
42247         * math/s_csinh.c (__csinh): Likewise.
42248         * math/s_ctan.c (__ctan): Likewise.
42249         * math/s_ctanh.c (ctanh): Likewise.
42250         * math/s_ccoshl.c (__ccoshl): Likewise.
42251         * math/s_cexpl.c (__cexpl): Likewise.
42252         * math/s_csinl.c (__csinl): Likewise.
42253         * math/s_csinhl.c (__csinhl): Likewise.
42254         * math/s_ctanl.c (__ctanl): Likewise.
42255         * math/s_ctanhl.c (__ctanhl): Likewise.
42257 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
42259         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
42260         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
42261         (_IO_off_t): Define to __off_t, not _G_off_t.
42262         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
42263         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
42264         (_IO_wint_t): Define to wint_t, not _G_wint_t.
42265         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
42266         type of __dummy and __dummy2 fields.
42267         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
42268         (_G_ssize_t): Likewise.
42269         (_G_off_t): Likewise.
42270         (_G_pid_t): Likewise.
42271         (_G_uid_t): Likewise.
42272         (_G_wchar_t): Likewise.
42273         (_G_wint_t): Likewise.
42274         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
42275         (_G_ssize_t): Likewise.
42276         (_G_off_t): Likewise.
42277         (_G_pid_t): Likewise.
42278         (_G_uid_t): Likewise.
42279         (_G_wchar_t): Likewise.
42280         (_G_wint_t): Likewise.
42281         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
42282         (_G_ssize_t): Likewise.
42283         (_G_off_t): Likewise.
42284         (_G_pid_t): Likewise.
42285         (_G_uid_t): Likewise.
42286         (_G_wchar_t): Likewise.
42287         (_G_wint_t): Likewise.
42289 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42291         * malloc/arena.c: Include malloc-sysdep.h.
42292         (shrink_heap): Use check_may_shrink_heap to decide if madvise
42293         is sufficient to shrink the heap or an unmap is needed.
42294         * sysdeps/generic/malloc-sysdep.h: New file.  Define
42295         new function check_may_shrink_heap.
42296         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
42297         new function check_may_shrink_heap.
42299 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42301         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
42302         comments.
42304 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
42306         * catgets/test-gencat.sh: Add "set -e".
42307         * elf/tst-pathopt.sh: Likewise.
42308         * grp/tst_fgetgrent.sh: Likewise.
42309         * iconvdata/run-iconv-test.sh: Likewise.
42310         * intl/tst-gettext.sh: Likewise.
42311         * intl/tst-gettext2.sh: Likewise.
42312         * intl/tst-gettext4.sh: Likewise.
42313         * intl/tst-gettext6.sh: Likewise.
42314         * intl/tst-translit.sh: Likewise.
42315         * io/ftwtest-sh: Likewise.
42316         * libio/test-freopen.sh: Likewise.
42317         * malloc/tst-mtrace.sh: Likewise.
42318         * posix/globtest.sh: Likewise.
42319         * posix/tst-getconf.sh: Likewise.
42320         * posix/wordexp-tst.sh: Likewise.
42321         * stdio-common/tst-printf.sh: Likewise.
42322         * stdio-common/tst-unbputc.sh: Likewise.
42323         * stdlib/tst-fmtmsg.sh: Likewise.
42324         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
42325         * catgets/Makefile: Do not specify -e option when running
42326         testsuite shell scripts.
42327         * elf/Makefile: Likewise.
42328         * grp/Makefile: Likewise.
42329         * iconvdata/Makefile: Likewise.
42330         * intl/Makefile: Likewise.
42331         * io/Makefile: Likewise.
42332         * libio/Makefile: Likewise.
42333         * malloc/Makefile: Likewise.
42334         * posix/Makefile: Likewise.
42335         * stdio-common/Makefile: Likewise.
42336         * stdlib/Makefile: Likewise.
42337         * sysdeps/x86_64/Makefile: Likewise.
42339         * io/ftwtest-sh: Add copyright header.
42340         * posix/globtest.sh: Likewise.
42341         * posix/tst-getconf.sh: Likewise.
42342         * posix/wordexp-tst.sh: Likewise.
42343         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
42345 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
42347         [BZ #13679]
42348         * Makeconfig (+link): Defined as $(+link-static) if
42349         $(build-shared) isn't yes.
42350         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
42351         isn't yes.
42352         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
42354         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
42356         [BZ #14562]
42357         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
42358         new chunk size with MALLOC_ALIGN_MASK.
42360 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
42362         [BZ #5044]
42363         * stdio-common/printf_fphex.c: Include <stdbool.h> and
42364         <rounding-mode.h>.
42365         (__printf_fphex): Determine rounding using get_rounding_mode and
42366         round_away.
42367         * stdio-common/tst-printf-round.c (struct hex_test): New
42368         structure.
42369         (hex_tests): New variable.
42370         (test_hex_in_one_mode): New function.
42371         (do_test): Also run tests for hex float output.
42373 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
42375         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
42376         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
42377         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
42378         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
42379         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
42380         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
42381         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
42382         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
42384 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
42386         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
42387         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
42388         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
42389         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
42391 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
42393         [BZ #14579]
42394         * elf/rtld.c (dl_main): Limit the check for self loading to normal
42395         mode only.
42396         * elf/tst-rtld-load-self.sh: New test.
42397         * elf/Makefile: Run it.
42399 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
42401         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
42402         (tst-writev-ENV): Remove.
42403         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
42405 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
42407         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
42409 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
42411         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
42412         unconditional.
42413         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
42414         Likewise.
42415         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
42416         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
42417         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
42418         Likewise.
42420 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
42422         [BZ #14587]
42423         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
42424         * config.make.in (have-cpp-asm-debuginfo): Removed.
42425         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
42426         * configure: Regenerated.
42428 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
42430         [BZ #5044]
42431         * stdio-common/printf_fp.c: Include <stdbool.h> and
42432         <rounding-mode.h>.
42433         (___printf_fp): Determine rounding using get_rounding_mode and
42434         round_away.
42435         * stdio-common/tst-printf-round.c: New file.
42436         * stdio-common/Makefile (tests): Add tst-printf-round.
42437         (link-libm): New variable.
42438         ($(objpfx)tst-printf-round): Depend in $(link-libm).
42440 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
42442         [BZ #14576]
42443         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
42444         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
42445         Likewise.
42446         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
42447         Likewise.
42449 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
42451         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
42452         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42453         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42454         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42456 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
42458         [BZ #14518]
42459         * include/rounding-mode.h: New file.
42460         * sysdeps/generic/get-rounding-mode.h: Likewise.
42461         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
42462         * stdlib/strtod_l.c: Include <rounding-mode.h>.
42463         (MAX_VALUE): New macro.
42464         (MIN_VALUE): Likewise.
42465         (overflow_value): New function.
42466         (underflow_value): Likewise.
42467         (round_and_return): Use overflow_value and underflow_value to
42468         determine return values in overflow and underflow cases.  Use
42469         round_away to determine rounding depending on rounding mode.
42470         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
42471         determine return values in overflow and underflow cases.
42472         * stdlib/tst-strtod-round.c: Include <fenv.h>.
42473         (struct test_results): New structure.
42474         (struct test): Use struct test_results to store expected results
42475         for all rounding modes.
42476         (TEST): Include expected results for all rounding modes.
42477         (test_in_one_mode): New function.
42478         (do_test): Use test_in_one_mode to compute and check results.
42479         Check results for all rounding modes.
42480         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
42481         $(link-libm).
42483 2012-12-09  Allan McRae  <allan@archlinux.org>
42485         * sysdeps/i386/fpu/libm-test-ulps: Update
42487 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
42489         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
42490         (_G_int32_t): Likewise.
42491         (_G_uint16_t): Likewise.
42492         (_G_uint32_t): Likewise.
42493         (_G_HAVE_BOOL): Likewise.
42494         (_G_HAVE_ATEXIT): Likewise.
42495         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42496         (_G_HAVE_IO_FILE_OPEN): Likewise.
42497         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
42498         (_G_int32_t): Likewise.
42499         (_G_uint16_t): Likewise.
42500         (_G_uint32_t): Likewise.
42501         (_G_HAVE_BOOL): Likewise.
42502         (_G_HAVE_ATEXIT): Likewise.
42503         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42504         (_G_HAVE_IO_FILE_OPEN): Likewise.
42505         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
42506         (_G_int32_t): Likewise.
42507         (_G_uint16_t): Likewise.
42508         (_G_uint32_t): Likewise.
42509         (_G_HAVE_BOOL): Likewise.
42510         (_G_HAVE_ATEXIT): Likewise.
42511         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42512         (_G_HAVE_IO_FILE_OPEN): Likewise.
42514 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
42516         * csu/libc-tls.c: Update copyright years.
42518 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
42520         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
42521         [!_G_USING_THUNKS]: Remove conditional code.
42522         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
42523         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
42525         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
42526         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
42527         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42528         (_G_VTABLE_LABEL_PREFIX): Likewise.
42529         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42530         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42531         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42532         (_G_VTABLE_LABEL_PREFIX): Likewise.
42533         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
42534         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42535         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42536         (_G_VTABLE_LABEL_PREFIX): Likewise.
42537         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
42539 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
42541         * libio/Makefile: Include ../Makeconfig before tests.
42542         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
42543         only if $(build-shared) is yes.
42545         * iconv/gconv_db.c: Update copyright years.
42547 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42549         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
42550         unwind info if defined PIC. Fix special cases description.
42551         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
42553         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
42554         DP_HI_MASK entry.
42555         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
42557 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
42559         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
42561         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
42562         is NULL.
42564         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
42565         (LDLIBS-tst-chk4): This.
42566         (LDFLAGS-tst-chk5): Renamed to ...
42567         (LDLIBS-tst-chk5): This.
42568         (LDFLAGS-tst-chk6): Renamed to ...
42569         (LDLIBS-tst-chk6): This.
42570         (LDFLAGS-tst-lfschk4): Renamed to ...
42571         (LDLIBS-tst-lfschk4): This.
42572         (LDFLAGS-tst-lfschk5): Renamed to ...
42573         (LDLIBS-tst-lfschk5): This.
42574         (LDFLAGS-tst-lfschk6): Renamed to ...
42575         (LDLIBS-tst-lfschk6): This.
42577         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
42578         on $(common-objpfx)soversions.mk.
42580 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
42582         [BZ #10014]
42583         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
42584         example host name.
42586 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
42588         * malloc/arena.c (arena_get_retry): New function that gets
42589         another arena for the caller to try its request on.
42590         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
42591         current arena cannot fulfill the request.
42592         (__libc_memalign): Likewise.
42593         (__libc_memalign): Likewise.
42594         (__libc_pvalloc): Likewise.
42595         (__libc_calloc): Likewise.
42597 2012-09-05  John Tobey  <john.tobey@gmail.com>
42599         [BZ #13542]
42600         * manual/arith.texi (Operations on Complex): Fix description
42601         of carg branch cut.
42603 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
42605         [BZ #10014]
42606         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
42607         host name.
42609         [BZ #10038]
42610         * manual/memory.texi (Memory): Make order of menu items match
42611         order of sections.
42613 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
42615         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
42616         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
42617         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
42619 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
42621         * csu/libc-tls.c (static_dtv): Renamed to ...
42622         (_dl_static_dtv): This.  Make it global.
42623         (_dl_initial_dtv): Removed.
42624         (__libc_setup_tls): Updated.
42625         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
42626         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
42627         DL_INITIAL_DTV.
42629 2012-09-06  Petr Machata  <pmachata@redhat.com>
42631         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
42632         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
42633         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
42634         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
42636 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
42638         [BZ #14545]
42639         * csu/libc-tls.c (_dl_initial_dtv): New variable.
42640         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
42641         freeing dtv[-1].
42643 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
42645         [BZ #14544]
42646         * Makeconfig (link-static-before-libc): Replace $(+prector)
42647         with $(+prectorT).
42648         (link-static-after-libc): Replace $(+postctor) with
42649         $(+postctorT).
42650         (link-bounded): Replace $(+prector)/$(+postctor) with
42651         $(+prectorT)/$(+postctorT).
42652         (+prectorT): New macro.
42653         (+postctorT): Likewise.
42655 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
42657         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
42658         (round_str): Handle values above the maximum for IBM long double
42659         as inexact.
42660         * stdlib/tst-strtod-round.c (tests): Regenerated.
42662 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42664         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
42665         assembler flag.
42666         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
42667         zarch_nohighgprs around the zarch optimized routines.
42668         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
42669         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
42670         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
42671         for zarch.
42673 2012-09-05  David S. Miller  <davem@davemloft.net>
42675         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42677         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
42678         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
42679         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
42680         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42681         entries.
42683 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
42685         * malloc/arena.c: Fold copyright years.
42686         * malloc/mcheck.c, malloc/memusage.c: Likewise.
42688 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
42690         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
42692 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
42694         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
42696 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
42698         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
42699         change internal state upon failure.
42701 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
42703         * malloc/mcheck.c (mcheck_check_all): Fix typo.
42704         * malloc/memusage.c (mmap): Likewise.
42705         (mmap64, mremap): Likewise.  Adjust name in comment.
42707 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42709         * libio/fileops.c: Fix typos in comments.
42710         * libio/oldfileops.c: Likewise.
42711         * libio/wfileops.c: Likewise.
42713 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42715         [BZ #1349]
42716         * malloc/Makefile (tests): Add tst-malloc-usable test case.
42717         (tst-malloc-usable-ENV): Set environment for test case.
42718         * malloc/hooks.c (malloc_check_get_size): New function to get
42719         requested size.
42720         * malloc/malloc.c (musable): Use malloc_check_get_size.
42721         * malloc/tst-malloc-usable.c: New test case.
42723 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
42725         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
42727 2012-09-05  Allan McRae  <allan@archlinux.org>
42729         [BZ #13966]
42730         * configure.in (CXX_SYSINCLUDES): Use compiler output to
42731         determine header location.
42732         * configure: Regenerated.
42734 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
42736         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
42737         float format.
42738         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
42739         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
42740         format.
42741         (test): Regenerate.
42743 2012-09-04  David S. Miller  <davem@davemloft.net>
42745         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
42746         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
42747         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
42749 2012-09-04  Florian Weimer  <fweimer@redhat.com>
42751         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
42752         failures.
42754         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
42756 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
42758         [BZ #9914]
42759         * libio/iogetdelim.c: Include <limits.h>.
42760         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
42761         + len + 1 would overflow.
42763 2012-09-03  Andreas Jaeger  <aj@suse.de>
42765         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42766         * sysdeps/i386/fpu/libm-test-ulps: Update.
42768 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42770         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
42771         Add s_sinf-sse2, s_conf-sse2.
42773         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
42774         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
42775         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
42776         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
42778         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
42779         for using routine as __sinf_ia32.
42780         Use macro for function declaration and weak_alias.
42781         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
42782         for using routine as __cosf_ia32.
42783         Use macro for function declaration and weak_alias.
42785         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
42786         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
42788         * sysdeps/x86_64/fpu/s_sinf.S: New file.
42789         * sysdeps/x86_64/fpu/s_cosf.S: New file.
42790         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42792         * math/libm-test.inc (cos_test): Add more test cases.
42793         (sin_test): Likewise.
42794         (sincos_test): Likewise.
42796 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42798         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
42799         (IFUNC_RESOLVE): Make pointers to the specialized implementations
42800         hidden.
42801         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
42803 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
42805         [BZ #14538]
42806         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
42807         first element of the GOT.
42808         (elf_machine_load_address): Return the difference between
42809         the runtime address of _DYNAMIC and elf_machine_dynamic ().
42811 2012-09-01  Allan McRae  <allan@archlinux.org>
42813         [BZ #13412]
42814         * configure.in (AWK): Require gawk version 3.0 or later.
42815         * configure: Regenerated.
42817 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
42819         * sysdeps/unix/sysv/linux/kernel-features.h
42820         (__ASSUME_POSIX_CPU_TIMERS): Remove.
42821         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
42822         [__NR_clock_getres]: Make code unconditional.
42823         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
42824         (clock_getcpuclockid): Remove code left unreachable by removal of
42825         conditionals.
42826         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
42827         code unconditional.
42828         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
42829         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42830         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
42831         Make code unconditional.
42832         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
42833         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42834         * sysdeps/unix/sysv/linux/clock_settime.c
42835         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
42836         conditional code.
42837         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
42838         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42840 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
42842         [BZ #14476]
42843         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
42844         scripts/test-installation.pl.
42846         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
42847         and $ld_so_version if it is set.
42849 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
42851         [BZ #14516]
42852         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
42853         failure if reading from procfs failed.
42854         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
42856 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
42858         * sysdeps/unix/sysv/linux/kernel-features.h
42859         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
42860         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
42861         Remove conditional code.
42862         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42863         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
42864         Remove conditional code.
42865         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42866         * sysdeps/unix/sysv/linux/i386/fxstat.c
42867         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42868         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42869         * sysdeps/unix/sysv/linux/i386/fxstatat.c
42870         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42871         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42872         * sysdeps/unix/sysv/linux/i386/lxstat.c
42873         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42874         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42875         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
42876         Remove conditional code.
42877         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42878         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
42879         Remove conditional code.
42880         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42881         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
42882         <kernel-features.h>.
42883         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
42884         Remove.
42885         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
42886         Remove conditional code.
42887         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42888         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
42889         Remove conditional.
42891 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
42893         [BZ #5400]
42894         * NEWS: Add fixed bug number.
42896 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
42898         [BZ #14519]
42899         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
42900         underflowing exponent in case of negative sign.
42901         * stdlib/tst-strtod-round-data: Add more tests.
42902         * stdlib/tst-strtod-round.c (tests): Regenerated.
42904         [BZ #3479]
42905         * stdlib/strtod_l.c (NDIG): Remove.
42906         (HEXNDIG): Likewise.
42907         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
42908         smallest representable value.
42909         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
42910         lie within an exact representation of 1/2 ulp of the result.
42911         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
42912         unconditionally.
42913         (TENS_P9_IDX): Define unconditionally.
42914         (TENS_P9_SIZE): Likewise.
42915         (TENS_P10_IDX): Likewise.
42916         (TENS_P10_SIZE): Likewise.
42917         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
42918         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
42919         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
42920         entries for 10^2^13 and 10^2^14.
42921         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
42922         (TENS_P13_IDX): Define.
42923         (TENS_P13_SIZE): Likewise.
42924         (TENS_P14_IDX): Likewise.
42925         (TENS_P14_SIZE): Likewise.
42926         (_fpioconst_pow10): Change array size to
42927         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
42928         unconditional.
42929         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
42930         1024]: Add entries for 10^2^13 and 10^2^14.
42931         [LAST_POW10 > _LAST_POW10]: Remove #error.
42932         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
42933         (_fpioconst_pow10): Change array size to
42934         FPIOCONST_POW10_ARRAY_SIZE.
42935         * stdlib/gen-fpioconst.c: New file.
42936         * stdlib/gen-tst-strtod-round.c: Likewise.
42937         * stdlib/tst-strtod-round-data: Likewise.
42938         * stdlib/tst-strtod-round.c: Likewise.
42939         * stdlib/Makefile (tests): Add tst-strtod-round.
42941         [BZ #14459]
42942         * stdlib/strtod_l.c: Include <stdint.h>.
42943         (NDEBUG): Do not define.
42944         (round_and_return): Change EXPONENT parameter to type intmax_t.
42945         Rearrange calculations to avoid internal overflow possibilities.
42946         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
42947         Rearrange calculations to avoid internal overflow possibilities.
42948         Assert that number fits inside MPNSIZE limbs.
42949         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
42950         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
42951         calculations and add assertions to avoid internal overflow
42952         possibilities.  Add casts to avoid signed/unsigned operations.
42953         * stdlib/tst-strtod-overflow.c: New file.
42954         * stdlib/Makefile (tests): Add tst-strtod-overflow.
42956 2012-08-25  Marek Polacek  <polacek@redhat.com>
42958         * time/time.h: Fix some typos in comments.
42960 2012-08-23  Roland McGrath  <roland@hack.frob.com>
42962         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
42963         * posix/tst-rfc3484-2.c: Likewise.
42964         * posix/tst-rfc3484-3.c: Likewise.
42966 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
42968         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
42969         (EF_ARM_ABI_FLOAT_HARD): Likewise.
42971 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
42973         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
42974         #include of fxstatat64.c.
42976 2012-08-22  Roland McGrath  <roland@hack.frob.com>
42978         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
42979         * shadow/getspent_r.c: Likewise.
42980         * shadow/getspnam.c: Likewise.
42981         * shadow/getspnam_r.c: Likewise.
42982         * gshadow/getsgent.c: Likewise.
42983         * gshadow/getsgent_r.c: Likewise.
42984         * gshadow/getsgnam.c: Likewise.
42985         * gshadow/getsgnam_r.c: Likewise.
42986         * inet/getnetbyad.c: Likewise.
42987         * inet/getnetbyad_r.c: Likewise.
42988         * inet/getnetbynm.c: Likewise.
42989         * inet/getnetbynm_r.c: Likewise.
42990         * inet/getnetent.c: Likewise.
42991         * inet/getnetent_r.c: Likewise.
42992         * inet/getproto.c: Likewise.
42993         * inet/getproto_r.c: Likewise.
42994         * inet/getprtent.c: Likewise.
42995         * inet/getprtent_r.c: Likewise.
42996         * inet/getprtname.c: Likewise.
42997         * inet/getprtname_r.c: Likewise.
42998         * inet/getrpcbyname.c: Likewise.
42999         * inet/getrpcbyname_r.c: Likewise.
43000         * inet/getrpcbynumber.c: Likewise.
43001         * inet/getrpcbynumber_r.c: Likewise.
43002         * inet/getrpcent.c: Likewise.
43003         * inet/getrpcent_r.c: Likewise.
43004         * inet/getaliasent.c: Likewise.
43005         * inet/getaliasent_r.c: Likewise.
43006         * inet/getaliasname.c: Likewise.
43007         * inet/getaliasname_r.c: Likewise.
43008         * nscd/getgrgid_r.c: Likewise.
43009         * nscd/getgrnam_r.c: Likewise.
43010         * nscd/gethstbyad_r.c: Likewise.
43011         * nscd/gethstbynm3_r.c: Likewise.
43012         * nscd/getpwnam_r.c: Likewise.
43013         * nscd/getpwuid_r.c: Likewise.
43014         * nscd/getsrvbynm_r.c: Likewise.
43015         * nscd/getsrvbypt_r.c: Likewise.
43016         * nscd/gai.c: Likewise.
43018         * configure.in (build_nscd): New substituted variable, set
43019         by --disable-build-nscd and defaults to $use_nscd.
43020         * configure: Regenerated.
43021         * config.make.in (build-nscd): New substituted variable.
43022         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
43023         Change conditional to require [$(build-nscd) = yes] as well.
43024         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
43026         [BZ# 13696]
43027         * configure.in (use_nscd): New substituted variable, set by
43028         --disable-nscd.  If enabled, define USE_NSCD.
43029         * configure: Regenerated.
43030         * config.h.in: Add USE_NSCD.
43031         * config.make.in (use-nscd): New substituted variable.
43032         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
43033         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
43034         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
43035         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
43036         (CFLAGS-getgrnam_r.c): Likewise.
43037         (CFLAGS-initgroups.c): Likewise.
43038         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
43039         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
43040         Variables removed.
43041         * inet/getnetgrent_r.c
43042         (nscd_setnetgrent): New function, broken out of ...
43043         (setnetgrent): ... here.  Call it.
43044         (innetgr): Conditionalize nscd bits on [USE_NSCD].
43045         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
43046         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
43047         * nscd/Makefile (routines, aux): Move definitions after include of
43048         Makeconfig.  Conditionalize on [$(use-nscd) != no].
43049         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
43050         Conditionalize on [USE_NSCD].
43051         (is_nscd, nscd_init_cb): Likewise.
43052         (nss_load_library): Conditionalize init callback on [USE_NSCD].
43053         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
43054         * nss/nss_db/db-init.c: Likewise.
43055         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
43056         [USE_NSCD].
43057         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
43058         (make_request): Use it.
43059         (cache_valid_p): New function.
43060         (__check_pf): Use it.
43061         * NEWS: Add item for --disable-nscd.
43063 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
43065         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
43066         to support sed >= 4.2.1-20-ga9bf076.
43067         * configure: Regenerated.
43069 2012-08-22  Roland McGrath  <roland@hack.frob.com>
43071         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
43072         Conditionalize whole body on [IREL].
43074 2012-08-22  Jeff Law <law@redhat.com>
43076         [BZ #14505]
43077         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
43078         if the family is PF_UNSPEC.
43080 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
43082         * Makerules (lib-version): Rename from V.
43083         (install-lib-nosubdir): Change V to lib-version.
43085 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
43087         [BZ #14252]
43088         * powerpc32/power6/wcschr.c: New file.
43089         * powerpc32/power6/wcscpy.c: New file.
43090         * powerpc32/power6/wcsrchr.c: New file.
43091         * powerpc64/power6/wcschr.c: New file.
43092         * powerpc64/power6/wcscpy.c: New file.
43093         * powerpc64/power6/wcsrchr.c: New file.
43095 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
43097         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
43098         (two_way_short_needle): Use it.
43099         * string/strstr.c (AVAILABLE1_USES_J): Define.
43100         * string/strcasestr.c: Likewise.
43102         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
43103         array references.
43104         * string/strcasestr.c (TOLOWER): Make side-effect safe.
43106         [BZ #11607]
43107         * NEWS: Add an entry.
43108         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
43109         define their defaults.
43110         (two_way_short_needle): Detect end-of-string on-the-fly.
43111         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
43112         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
43113         * string/bug-strcasestr1.c: New test.
43114         * string/Makefile: Run it.
43116 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
43118         [BZ #11607]
43119         * string/str-two-way.h (two_way_short_needle): Optimize matching of
43120         the first character.
43122 2012-08-21  Roland McGrath  <roland@hack.frob.com>
43124         * csu/elf-init.c (__libc_csu_irel): Function removed.
43125         * csu/libc-start.c (apply_irel): New function.
43126         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
43128 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
43130         * sysdeps/unix/sysv/linux/kernel-features.h
43131         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
43132         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
43133         <kernel-features.h>.
43134         [__NR_fadvise64_64]: Make code unconditional.
43135         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
43136         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
43137         !__NR_fadvise64_64)]: Likewise.
43138         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
43139         !__NR_fadvise64_64))]: Likewise.
43140         [__NR_fadvise64]: Make code unconditional.
43141         [!__NR_fadvise64]: Remove conditional code.
43142         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
43143         <kernel-features.h>.
43144         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43145         unconditional.
43146         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43147         conditional code.
43148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
43149         not include <kernel-features.h>.
43150         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43151         unconditional.
43152         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43153         conditional code.
43154         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
43155         include <kernel-features.h>.
43156         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43157         unconditional.
43158         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43159         conditional code.
43161 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
43163         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
43164         slight instruction rearrangements per scrollpipe analysis.
43165         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
43167 2012-08-20  Roland McGrath  <roland@hack.frob.com>
43169         * manual/syslog.texi (syslog; vsyslog, closelog):
43170         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
43171         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
43173         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
43174         DSOCAPS to match condition on defining it.
43176 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
43178         * sysdeps/unix/sysv/linux/kernel-features.h
43179         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
43180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
43181         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43182         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
43184         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43185         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
43187         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43188         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43190         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
43191         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
43193         * sysdeps/unix/sysv/linux/kernel-features.h
43194         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
43195         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
43196         unconditional.
43197         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43198         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
43199         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43200         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43201         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
43202         Make code unconditional.
43203         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43204         (__mmap64) [!__NR_mmap2]: Likewise.
43205         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
43206         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43207         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43208         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
43209         [__NR_mmap2]: Make code unconditional.
43210         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43211         (__mmap64) [!__NR_mmap2]: Likewise.
43213 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43215         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
43217 2012-08-18  Andreas Jaeger  <aj@suse.de>
43219         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
43221 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
43223         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
43224         * include/unistd.h (__have_sock_cloexec): Likewise.
43225         (__have_pipe2): Likewise.
43226         (__have_dup3): Likewise.
43228 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
43230         [BZ #9685]
43231         * include/unistd.h (__have_pipe2): Change define into an extern int.
43232         (__have_dup3): Likewise.
43233         * socket/have_sock_cloexec.c: Include fcntl.h.
43234         (__have_pipe2): New variable.
43235         (__have_dup3): Likewise.
43237 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
43239         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
43241 2012-08-17  Marek Polacek  <polacek@redhat.com>
43243         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
43244         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
43246 2012-08-17  Roland McGrath  <roland@hack.frob.com>
43248         * configure.in: Add AC_SUBST for sysheaders.
43249         * configure: Regenerated.
43250         * config.make.in (sysheaders): New substituted variable.
43252         * sysdeps/unix/mkfifo.c: Moved ...
43253         * sysdeps/posix/mkfifo.c: ... here.
43254         * sysdeps/unix/mkfifoat.c: Moved ...
43255         * sysdeps/posix/mkfifoat.c: ... here.
43257         * sysdeps/unix/utime.c: Moved ...
43258         * sysdeps/posix/utime.c: ... here.
43260         * sysdeps/unix/time.c: Moved ...
43261         * sysdeps/posix/time.c: ... here.
43262         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
43263         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
43265         * sysdeps/unix/nice.c: Moved ...
43266         * sysdeps/posix/nice.c: ... here.
43268         * sysdeps/unix/alarm.c: Moved ...
43269         * sysdeps/posix/alarm.c: ... here.
43271         * intl/Makefile ($(codeset_mo)): Depend on the input file.
43273 2012-08-17  Jeff Law <law@redhat.com>
43275         * intl/Makefile (codeset_mo): New variable.
43276         ($(codeset_mo)): New target.
43277         (tst-codeset.out): Depend on that.  Remove explicit rule.
43278         (tst-gettext3.out, tst-gettext5.out): Likewise.
43279         (LOCPATH-ENV, tst-codeset-ENV): New variables.
43280         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
43281         * intl/tst-codeset.sh: Remove.
43282         * intl/tst-gettext3.sh: Likewise.
43283         * intl/tst-gettext5.sh: Likewise.
43285 2012-08-17  Roland McGrath  <roland@hack.frob.com>
43287         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
43288         * sysdeps/unix/syscalls.list: ... here.
43290         * sysdeps/posix/getaddrinfo.c
43291         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
43292         (gaiconf_init, gaiconf_reload): Use them.
43293         [!_STATBUF_ST_NSEC]
43294         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
43295         Define using time_t rather than struct timespec.
43297         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
43298         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
43299         Macros removed.
43300         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
43301         [!NO_THREADS].
43302         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
43303         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
43304         Likewise.
43306         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
43307         __libc_cleanup_push argument.
43309         * bits/param.h: New file.
43310         * misc/sys/param.h: New file.
43311         * include/sys/param.h: New file.
43312         * misc/Makefile (headers): Add bits/param.h.
43313         * sysdeps/generic/sys/param.h: File removed.
43314         * sysdeps/unix/sysv/linux/bits/param.h: New file.
43315         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
43316         * sysdeps/mach/hurd/bits/param.h: New file.
43317         * sysdeps/mach/hurd/sys/param.h: File removed.
43319         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
43320         last change.
43322         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
43323         [_IO_MTSAFE_IO].
43324         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
43325         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
43326         New macros.
43328         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
43329         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
43330         rather than -D_IO_MTSAFE_IO conditionally.
43331         * stdio-common/Makefile (CPPFLAGS): Likewise.
43332         * wcsmbs/Makefile (CPPFLAGS): Likewise.
43333         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
43334         Use $(libio-mtsafe).
43335         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
43336         of -D_IO_MTSAFE_IO.
43337         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
43338         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
43339         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
43340         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
43341         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
43342         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
43343         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
43344         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
43345         (CFLAGS-fread_u_chk.c): Likewise.
43346         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
43347         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
43348         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
43349         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
43350         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
43351         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
43352         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
43353         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
43354         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
43356         * libio/Makefile: Test [$(libc-reentrant) = yes]
43357         instead of [$(filter %REENTRANT, $(defines)) nonempty].
43359         * Makeconfig
43360         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
43361         * sysdeps/pthread/configure: File removed.
43362         * sysdeps/pthread/Makeconfig: New file.
43363         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
43364         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
43366 2012-08-16  Gary Benson  <gbenson@redhat.com>
43368         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
43369         unmapping the first object in a namespace.
43371 2012-08-16  Roland McGrath  <roland@hack.frob.com>
43373         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
43374         (__internal_setnetgrent): ... this.  Add internal_function to
43375         definition.  Add libc_hidden_def.
43376         (setnetgrent): Update caller.
43377         (internal_endnetgrent): Renamed to ...
43378         (__internal_endnetgrent): ... this.  Add internal_function to
43379         definition.  Add libc_hidden_def.
43380         (endnetgrent): Update caller.
43381         (internal_getnetgrent_r): Renamed to ...
43382         (__internal_getnetgrent_r): ... this.  Add internal_function to
43383         definition.  Add libc_hidden_def.
43384         (__getnetgrent_r): Update caller.
43385         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
43387 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
43389         * stdlib/longlong.h: Update from GCC.
43391 2012-08-16  Roland McGrath  <roland@hack.frob.com>
43393         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
43394         on _QL, which is set by umul_ppmm but never used.
43395         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
43396         variables, which are set by GMP macros but never used.
43397         * stdio-common/_itowa.c (_itowa): Likewise.
43398         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
43399         * stdlib/mod_1.c (mpn_mod_1): Likewise.
43401 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
43403         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
43404         struct La_sh_regs is not constant.
43405         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
43406         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
43407         and struct La_sparc64_regs are not constant.
43409 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
43411         * sysdeps/unix/sysv/linux/kernel-features.h
43412         (__ASSUME_POSIX_TIMERS): Remove.
43413         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43414         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43415         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
43416         Make code unconditional.
43417         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43418         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
43419         Make code unconditional.
43420         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43421         * sysdeps/unix/sysv/linux/clock_nanosleep.c
43422         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
43423         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43424         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
43425         Make code unconditional.
43426         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43427         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
43428         (__libc_missing_posix_timers): Remove.
43430 2012-08-15  Roland McGrath  <roland@hack.frob.com>
43432         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
43433         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
43435         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
43437         * elf/dl-sym.c: Include <stdlib.h>.
43439         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
43440         constants, which avoids warnings in 32-bit builds.
43442         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
43443         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
43445         * misc/lseek.c: File moved to ...
43446         * io/lseek.c: ... here.
43448         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
43450         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
43451         shifting LEN more than 31 bits at once.
43453 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43455         [BZ #14195]
43456         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
43457         segmentation fault for a case of two empty input strings.
43458         * string/test-strncasecmp.c (check1): Renamed to...
43459         (bz12205): ...this.
43460         (bz14195): Add new testcase for two empty input strings and N > 0.
43461         (test_main): Call new testcase, adapt for renamed function.
43463 2012-08-15  Andreas Jaeger  <aj@suse.de>
43465         [BZ #14090]
43466         * crypt/md5test2.c: New test, based on test supplied by Serge
43467         Belyshev <belyshev@depni.sinp.msu.ru>.
43468         * crypt/Makefile (xtests): Add md5test-giant..
43469         * crypt/Makefile ($(objpfx)md5test-giant): Add.
43471 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
43473         [BZ #14090]
43474         * crypt/md5.c (md5_process_block): Don't assume the buffer
43475         length is less than 2**32.
43476         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
43477         length is less than 2**64.
43479 2012-08-15  Roland McGrath  <roland@hack.frob.com>
43481         * string/str-two-way.h: Include <sys/param.h>.
43482         (MAX): Macro removed.
43484         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
43485         Move #define and #undef of memmove to just before and after
43486         including <string.h>.
43488         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
43489         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
43490         and after including <string.h>.  Move declarations of
43491         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
43492         to before #include "string/memmove.c".
43494         * include/dirent.h: Declare __getdirentries.
43496         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
43497         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
43499 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
43501         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
43502         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
43503         * sysdeps/i386/configure: Regenerated.
43504         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
43505         STABS_CURRENT_FILE, and STABS_FUN.
43506         (END): Remove call to STABS_FUN_END.
43507         (STABS_CURRENT_FILE1): Delete.
43508         (STABS_CURRENT_FILE): Likewise.
43509         (STABS_FUN): Likewise.
43510         (STABS_FUN_END): Likewise.
43511         (STABS_FUN2): Likewise.
43512         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
43513         * sysdeps/x86_64/configure: Regenerated.
43515 2012-08-14  Roland McGrath  <roland@hack.frob.com>
43517         * elf/dl-open.c: Include <atomic.h>.
43518         * elf/dl-lookup.c: Likewise.
43520 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
43522         * sysdeps/unix/sysv/linux/kernel-features.h
43523         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
43524         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
43525         unconditionally.
43526         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
43527         unconditionally.
43528         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
43529         condition on __ASSUME_CLONE_THREAD_FLAGS.
43531 2012-08-14  Andreas Jaeger  <aj@suse.de>
43533         * sysdeps/i386/fpu/libm-test-ulps: Update.
43535 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
43537         * include/atomic.h (atomic_exchange_and_add): Split into ...
43538         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
43539         New atomic macros.
43541 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
43543         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43545 2012-08-13  Jeff Law <law@redhat.com>
43547         * manual/stdio.texi (snprintf): Clarify handling of the trailing
43548         null byte in the output string.
43550 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
43552         * sysdeps/unix/sysv/linux/kernel-features.h
43553         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
43554         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
43555         (__ASSUME_ARG_MAX_STACK_BASED): Define.
43556         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
43557         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
43558         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
43559         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
43561 2012-08-09  Jeff Law <law@redhat.com>
43563         [BZ #13939]
43564         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
43565         When avoid_arena is set, don't retry in the that arena.  Pick the
43566         next one, whatever it might be.
43567         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
43568         (arena_lock): Pass in new parameter to arena_get2.
43569         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
43570         arena_get2.
43571         (__libc_malloc): Unify retrying after main arena failure with
43572         __libc_memalign version.
43573         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
43575 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
43577         [BZ #14166]
43578         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
43579         to __redirect_strstr.
43580         (__strstr_sse42): Use typeof __redirect_strstr.
43581         (__strstr_ia32): Likewise.
43582         (__libc_strstr): New prototype.
43583         (strstr): Renamed to ...
43584         (__libc_strstr): This.
43585         (strstr): New strong alias of __libc_strstr.
43586         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
43587         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
43588         __redirect_time.
43589         Include <time.h>.
43590         (__libc_time): New prototype.
43591         (time_ifunc): Replace time with __libc_time.
43592         (time): New strong alias and hidden definition of __libc_time.
43593         (__GI_time): Remove strong alias.
43594         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
43595         Include <stddef.h>.
43596         (memmove): Redefined to __redirect_memmove.
43597         (__memmove_sse2): Use typeof __redirect_memmove.
43598         (__memmove_ssse3): Likewise.
43599         (__memmove_ssse3_back): Likewise.
43600         (__libc_memmove): New prototype.
43601         (memmove): Renamed to ...
43602         (__libc_memmove): This.
43603         (memmove): New strong alias of __libc_memmove.
43605 2012-08-08  Mark Salter  <msalter@redhat.com>
43607         * elf/elf.h
43608         (R_MN10300_TLS_GD): Define.
43609         (R_MN10300_TLS_LD): Likewise.
43610         (R_MN10300_TLS_LDO): Likewise.
43611         (R_MN10300_TLS_GOTIE): Likewise.
43612         (R_MN10300_TLS_IE): Likewise.
43613         (R_MN10300_TLS_LE): Likewise.
43614         (R_MN10300_TLS_DTPMOD): Likewise.
43615         (R_MN10300_TLS_DTPOFF): Likewise.
43616         (R_MN10300_TLS_TPOFF): Likewise.
43617         (R_MN10300_SYM_DIFF): Likewise.
43618         (R_MN10300_ALIGN): Likewise.
43619         (R_MN10300_NUM): Update.
43621 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
43623         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
43624         Remove.
43626 2012-08-08  Roland McGrath  <roland@hack.frob.com>
43628         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
43630         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
43631         sysdeps/unix -> sysdeps/posix move.
43632         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
43634 2012-08-07      Allan McRae     <allan@archlinux.org>
43636         [BZ #14303]
43637         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
43638         (SUNOS_CPP): Likewise.
43639         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
43640         not found.
43641         (open_input): Call CPP using execvp.
43643 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
43645         * sysdeps/unix/sysv/linux/kernel-features.h
43646         (__ASSUME_PROT_GROWSUPDOWN): Remove.
43647         (__ASSUME_NO_CLONE_DETACHED): Likewise.
43648         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
43649         (__ASSUME_WAITID_SYSCALL): Likewise.
43650         * sysdeps/unix/sysv/linux/dl-execstack.c
43651         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
43652         code unconditional.
43653         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
43654         conditional code.
43655         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
43656         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
43657         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
43658         code.
43659         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
43660         unconditional.
43661         [__ASSUME_WAITID_SYSCALL]: Likewise.
43662         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
43664 2012-08-07  Roland McGrath  <roland@hack.frob.com>
43666         * sysdeps/unix/closedir.c: Renamed to ...
43667         * sysdeps/posix/closedir.c: ... here.
43668         * sysdeps/unix/dirfd.c: Renamed to ...
43669         * sysdeps/posix/dirfd.c: ... here.
43670         * sysdeps/unix/dirstream.h: Renamed to ...
43671         * sysdeps/posix/dirstream.h: ... here.
43672         * sysdeps/unix/fdopendir.c: Renamed to ...
43673         * sysdeps/posix/fdopendir.c: ... here.
43674         * sysdeps/unix/opendir.c: Renamed to ...
43675         * sysdeps/posix/opendir.c: ... here.
43676         * sysdeps/unix/readdir.c: Renamed to ...
43677         * sysdeps/posix/readdir.c: ... here.
43678         * sysdeps/unix/readdir_r.c: Renamed to ...
43679         * sysdeps/posix/readdir_r.c: ... here.
43680         * sysdeps/unix/rewinddir.c: Renamed to ...
43681         * sysdeps/posix/rewinddir.c: ... here.
43682         * sysdeps/unix/seekdir.c: Renamed to ...
43683         * sysdeps/posix/seekdir.c: ... here.
43684         * sysdeps/unix/telldir.c: Renamed to ...
43685         * sysdeps/posix/telldir.c: ... here.
43686         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
43687         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
43688         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
43689         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
43691         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
43692         * bits/fcntl.h: ... here.
43694         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
43695         not 0.
43696         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
43697         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
43698         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
43699         (struct flock): Move l_start, l_len to the beginning.
43700         Use __pid_t for l_pid.
43701         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
43702         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
43703         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
43704         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
43705         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
43706         [__USE_LARGEFILE64] (struct flock64): New type.
43707         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
43709         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
43710         * bits/dirent.h: ... here.
43712         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
43713         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
43715 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
43717         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43718         Change from 2.6.0 to 2.6.16.
43719         * sysdeps/unix/sysv/linux/configure: Regenerated.
43720         * sysdeps/unix/sysv/linux/kernel-features.h
43721         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
43722         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
43723         version.
43724         (__ASSUME_UTIMES): Likewise.
43725         (__ASSUME_CLONE_STOPPED): Remove.
43726         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
43727         architectures, not kernel version.
43728         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
43729         (__ASSUME_NO_CLONE_DETACHED): Likewise.
43730         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
43731         (__ASSUME_WAITID_SYSCALL): Likewise.
43732         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
43733         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
43734         * README: State 2.6.16 as minimum Linux kernel version.  Do not
43735         refer to older versions.
43737 2012-08-06  Roland McGrath  <roland@hack.frob.com>
43739         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
43740         Define alphasort64 as an alias.
43741         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
43742         Define versionsort64 as an alias.
43743         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
43744         Define scandir64 as an alias.
43745         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
43746         Define scandirat64 as an alias.
43747         * dirent/alphasort64.c (alphasort64):
43748         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
43749         * dirent/versionsort64.c: Likewise.
43750         * dirent/scandir64.c: Likewise.
43751         * dirent/scandirat64.c: Likewise.
43752         * sysdeps/wordsize-64/alphasort.c: File removed.
43753         * sysdeps/wordsize-64/alphasort64.c: File removed.
43754         * sysdeps/wordsize-64/scandir.c: File removed.
43755         * sysdeps/wordsize-64/scandir64.c: File removed.
43756         * sysdeps/wordsize-64/scandirat.c: File removed.
43757         * sysdeps/wordsize-64/scandirat64.c: File removed.
43758         * sysdeps/wordsize-64/versionsort.c: File removed.
43759         * sysdeps/wordsize-64/versionsort64.c: File removed.
43760         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
43761         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
43762         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
43763         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
43764         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
43765         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
43766         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
43767         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
43769         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
43770         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
43771         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
43772         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43773         [defined __arch64__ || defined __sparcv9]
43774         (__INO_T_MATCHES_INO64_T): New macro.
43775         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43776         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
43777         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
43778         * sysdeps/unix/sysv/linux/bits/dirent.h
43779         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
43780         (_DIRENT_MATCHES_DIRENT64): New macro.
43782         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
43783         Define lockf64 as an alias.
43784         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
43785         Define fseeko64 as an alias.
43786         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
43787         Define ftello64 as an alias.
43788         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
43789         Define _IO_fgetpos64 and fgetpos64 as aliases.
43790         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
43791         Define _IO_fsetpos64 and fsetpos64 as aliases.
43792         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
43793         Conditionalize body on this.
43794         * libio/fseeko64.c: Likewise.
43795         * libio/ftello64.c: Likewise.
43796         * libio/iofgetpos64.c: Likewise.
43797         * libio/iofsetpos64.c: Likewise.
43798         * sysdeps/wordsize-64/lockf.c: File removed.
43799         * sysdeps/wordsize-64/lockf64.c: File removed.
43800         * sysdeps/wordsize-64/fseeko.c: File removed.
43801         * sysdeps/wordsize-64/fseeko64.c: File removed.
43802         * sysdeps/wordsize-64/ftello.c: File removed.
43803         * sysdeps/wordsize-64/ftello64.c: File removed.
43804         * sysdeps/wordsize-64/iofgetpos.c: File removed.
43805         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
43806         * sysdeps/wordsize-64/iofsetpos.c: File removed.
43807         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
43808         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
43809         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
43810         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
43811         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
43812         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
43813         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
43814         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
43815         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
43816         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
43817         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
43819         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
43820         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
43821         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
43822         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43823         [defined __arch64__ || defined __sparcv9]
43824         (__OFF_T_MATCHES_OFF64_T): New macro.
43825         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43826         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
43827         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43828         (__OFF_T_MATCHES_OFF64_T): New macro.
43830 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
43832         * stdlib/secure-getenv.c (__secure_getenv): Replace
43833         GLIBC_2_16 with GLIBC_2_17.
43835 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
43837         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
43838         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43840 2012-08-03  David S. Miller  <davem@davemloft.net>
43842         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43844 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
43846         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
43847         Remove.
43848         (__ASSUME_CORRECT_SI_PID): Likewise.
43849         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
43850         (__ASSUME_TMPFS_NAME): Likewise.
43851         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
43852         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
43853         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
43854         (HAVE_AUX_SECURE): Make definition unconditional.
43855         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
43856         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
43858 2012-08-03  Roland McGrath  <roland@hack.frob.com>
43860         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
43861         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
43862         * sysdeps/mach/hurd/eloop-threshold.h: New file.
43863         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
43864         __eloop_threshold instead of SYMLOOP_MAX.
43866         * sysdeps/generic/eloop-threshold.h: New file.
43867         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
43868         of MAXSYMLINKS.
43869         * elf/chroot_canon.c (chroot_canon): Likewise.
43871 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
43873         [BZ #13717]
43874         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43875         Change to 2.6.0 everywhere.
43876         * sysdeps/unix/sysv/linux/configure: Regenerated.
43877         * sysdeps/unix/sysv/linux/kernel-features.h
43878         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
43879         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
43880         kernel versions.
43881         (__ASSUME_POSIX_TIMERS): Define unconditionally.
43882         (__ASSUME_FUTEX_REQUEUE): Remove.
43883         (__ASSUME_STATFS64): Define unconditionally.
43884         (__ASSUME_AT_SECURE): Likewise.
43885         (__ASSUME_CORRECT_SI_PID): Likewise.
43886         (__ASSUME_TGKILL): Define without depending on kernel version for
43887         i386.
43888         (__ASSUME_UTIMES): Likewise.
43889         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
43890         kernel version.
43891         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
43892         (__ASSUME_TMPFS_NAME): Likewise.
43893         * README: Update reference to Linux kernel versions.
43895 2012-08-02  Marek Polacek  <polacek@redhat.com>
43897         [BZ# 14150]
43898         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
43899         libc_cv_asm_type_prefix with %.
43900         * configure: Regenerated.
43901         * include/libc-symbols.h: Remove comment about
43902         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
43903         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
43904         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
43905         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
43906         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
43907         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
43908         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
43909         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
43910         * elf/tst-unique2mod1.c: Likewise.
43911         * elf/tst-unique1mod2.c: Likewise.
43912         * elf/tst-unique1mod1.c: Likewise.
43913         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
43914         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
43915         Replace ASM_TYPE_DIRECTIVE with .type.
43916         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43917         * sysdeps/i386/sysdep.h: Likewise.
43918         * sysdeps/x86_64/sysdep.h: Likewise.
43919         * sysdeps/sh/sysdep.h: Likewise.
43920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43921         Do not define ASM_TYPE_DIRECTIVE.
43922         * sysdeps/powerpc/sysdep.h: Likewise.
43923         * sysdeps/powerpc/powerpc32/sysdep.h:
43924         Replace ASM_TYPE_DIRECTIVE with .type.
43925         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
43926         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
43927         * sysdeps/i386/fpu/e_powf.S: Likewise.
43928         * sysdeps/i386/fpu/e_expl.S: Likewise.
43929         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43930         * sysdeps/i386/fpu/e_acosh.S: Likewise.
43931         * sysdeps/i386/fpu/e_pow.S: Likewise.
43932         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
43933         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43934         * sysdeps/i386/fpu/s_expm1.S: Likewise.
43935         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
43936         * sysdeps/i386/fpu/e_log2.S: Likewise.
43937         * sysdeps/i386/fpu/e_log2l.S: Likewise.
43938         * sysdeps/i386/fpu/e_scalb.S: Likewise.
43939         * sysdeps/i386/fpu/e_powl.S: Likewise.
43940         * sysdeps/i386/fpu/e_log10f.S: Likewise.
43941         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
43942         * sysdeps/i386/fpu/e_logl.S: Likewise.
43943         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
43944         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
43945         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
43946         * sysdeps/i386/fpu/e_log2f.S: Likewise.
43947         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43948         * sysdeps/i386/fpu/e_log.S: Likewise.
43949         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43950         * sysdeps/i386/fpu/e_logf.S: Likewise.
43951         * sysdeps/i386/fpu/e_log10l.S: Likewise.
43952         * sysdeps/i386/fpu/e_atanh.S: Likewise.
43953         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
43954         * sysdeps/i386/fpu/e_log10.S: Likewise.
43955         * sysdeps/i386/fpu/s_frexp.S: Likewise.
43956         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43957         * sysdeps/i386/fpu/s_asinh.S: Likewise.
43958         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
43959         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43960         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
43961         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
43962         * sysdeps/i386/i686/strtok.S: Likewise.
43963         * sysdeps/i386/i386-mcount.S: Likewise.
43964         * sysdeps/i386/strtok.S: Likewise.
43965         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
43966         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43967         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43968         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43969         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
43970         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43971         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
43972         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
43973         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43974         * sysdeps/x86_64/_mcount.S: Likewise.
43975         * sysdeps/x86_64/strtok.S: Likewise.
43976         * sysdeps/sh/_mcount.S: Likewise.
43978 2012-08-01  Roland McGrath  <roland@hack.frob.com>
43980         * libio/iofopen.c: Include <fcntl.h>.
43981         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
43982         (_IO_fopen64, fopen64): Define as aliases.
43983         * libio/iofopen64.c: Include <fcntl.h>.
43984         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
43985         Conditionalize body on this.
43986         * sysdeps/wordsize-64/iofopen.c: File removed.
43987         * sysdeps/wordsize-64/iofopen64.c: File removed.
43989 2012-08-01  Marek Polacek  <polacek@redhat.com>
43991         * libc/Makeconfig: Use elf in place of binfmt-subdir.
43992         Use dlfcn directly instead of a variable.
43993         (binfmt-subdir): Do not define.
43994         (dlfcn): Likewise.
43996 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
43998         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
43999         Remove all definitions.
44000         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
44001         <kernel-features.h>.
44002         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44003         (miss_F_GETOWN_EX): Remove all definitions.
44004         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
44005         macro definition.
44006         [!__ASSUME_FCNTL64]: Remove conditional code.
44007         [__ASSUME_FCNTL64]: Make code unconditional.
44008         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
44009         <kernel-features.h>.
44010         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44011         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
44012         (lockf64) [__NR_fcntl64]: Make code unconditional.
44013         (lockf64) [__ASSUME_FCNTL64]: Likewise.
44015         * sysdeps/unix/sysv/linux/kernel-features.h
44016         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
44017         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
44018         Make code unconditional.
44019         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44020         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
44022         [__NR_vfork]: Make code unconditional.
44023         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44024         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
44026         [__NR_vfork]: Make code unconditional.
44027         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44028         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44030 2012-08-01  Roland McGrath  <roland@hack.frob.com>
44032         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
44033         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
44035         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44036         Define mkstemp64 as an alias.
44037         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44038         Define mkstemps64 as an alias.
44039         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44040         Define mkostemp64 as an alias.
44041         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44042         Define mkostemps64 as an alias.
44043         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
44044         Conditionalize body on this.
44045         * misc/mkostemp64.c: Likewise.
44046         * misc/mkostemps64.c: Likewise.
44047         * misc/mkstemps64.c: Likewise.
44048         * sysdeps/wordsize-64/mkstemp64.c: File removed.
44049         * sysdeps/wordsize-64/mkostemp64.c: File removed.
44050         * sysdeps/wordsize-64/mkostemp.c: File removed.
44051         * sysdeps/wordsize-64/mkstemp.c: File removed.
44052         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
44053         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
44054         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
44055         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
44057         [BZ #14138]
44058         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
44059         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
44060         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
44061         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
44063         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
44064         compat_symbol macros from <shlib-compat.h> rather than the underlying
44065         default_symbol_version and symbol_version macros, so that DEFAULT
44066         lines in shlib-versions are respected.
44067         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
44069 2012-08-01  Florian Weimer  <fweimer@redhat.com>
44071         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
44072         Declare with warn_unused_result.
44073         (setgid, setregid, setegid, setresgid): Likewise.
44074         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
44075         Likewise.
44076         * WUR-REPORT: Remove set*id functions.
44078 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
44080         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
44082 2012-07-31  Roland McGrath  <roland@hack.frob.com>
44084         [BZ #10191]
44085         * include/sys/socket.h (__libc_accept, __libc_accept4):
44086         Add attribute_hidden.
44087         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
44089         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
44090         use of PTR_MANGLE.
44091         * inet/getnetgrent_r.c (setup): Likewise.
44093         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
44095 2012-07-31  David S. Miller  <davem@davemloft.net>
44097         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44099 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
44101         [BZ #13629]
44102         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
44103         value between 1.0 and 2.0 and smaller part has absolute value less
44104         than 1.0.
44105         * math/s_clog10.c (__clog10): Likewise.
44106         * math/s_clog10f.c (__clog10f): Likewise.
44107         * math/s_clog10l.c (__clog10l): Likewise.
44108         * math/s_clogf.c (__clogf): Likewise.
44109         * math/s_clogl.c (__clogl): Likewise.
44110         * math/libm-test.inc (clog_test): Add more tests.
44111         (clog10_test): Likewise.
44112         * sysdeps/i386/fpu/libm-test-ulps: Update.
44113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44115 2012-07-31  Florian Weimer  <fweimer@redhat.com>
44117         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
44118         Exit with zero in case no suitable GID is found, and write a
44119         message to standard error.
44121 2012-07-30  Roland McGrath  <roland@hack.frob.com>
44123         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
44124         rather than to 1.
44125         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
44126         (MAXPATHLEN): Removed.
44127         (NOGROUP, NODEV): New macros.
44128         (setbit, clrbit, isset, isclr): New macros.
44129         (howmany, roundup, powerof2): New macros.
44130         (DEV_BSIZE): New macro.
44132         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
44133         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
44135         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
44136         definition on [!__NO_LONG_DOUBLE_MATH].
44138         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
44139         PTR_MANGLE and PTR_DEMANGLE.
44141         * socket/accept4.c (accept4): Rename to __libc_accept4.
44142         Define accept4 as a weak alias.
44144         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
44145         on [_DIRENT_HAVE_D_TYPE].
44146         * io/ftw.c (ftw_dir): Likewise.
44148         * io/xmknod.c (__xmknod): Don't check PATH for being null.
44150         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
44152         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
44153         Use the BSD numbers rather than the arbitrary ones we had.
44154         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
44155         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
44156         (SIGXCPU, SIGXFSZ): New macros.
44157         (_NSIG): Now 32.
44159         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
44160         initializer on [_LIBC_REENTRANT].
44162         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
44163         definitions inside [_POSIX_MAPPED_FILES].
44165         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
44167         * dirent/opendir.c: Include <fcntl.h>.
44169         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
44170         (__libc_getspecific): Likewise.
44171         (__libc_key_create): Likewise.
44173         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
44174         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
44175         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
44176         (tmpfile64): Define as alias.
44177         * sysdeps/wordsize-64/tmpfile.c: File removed.
44178         * sysdeps/wordsize-64/tmpfile64.c: File removed.
44179         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
44180         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
44182         * stdio-common/vfscanf.c: Include <stdbool.h>.
44183         * nss/makedb.c: Likewise.
44184         * stdio-common/_i18n_number.h: Likewise.
44185         * argp/argp-help.c: Likewise.
44186         * posix/wordexp.c: Likewise.
44187         * sysdeps/posix/spawni.c: Likewise.
44188         * nss/nss_files/files-initgroups.c: Likewise.
44189         * stdio-common/reg-modifier.c: Include <stdlib.h>.
44190         * nss/nss_files/files-initgroups.c: Likewise.
44191         * nss/nss_db/db-netgrp.c: Likewise.
44192         * nss/nss_db/db-initgroups.c: Likewise.
44193         * io/fchmodat.c: Include <sys/stat.h>.
44195         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
44196         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
44198         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
44199         [HAVE_MMAP].
44201         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
44202         Add multiple inclusion protection.
44204 2012-07-27  David S. Miller  <davem@davemloft.net>
44206         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44208 2012-07-27  Gary Benson  <gbenson@redhat.com>
44210         [BZ #14298]
44211         * elf/rtld.c: Include <stap-probe.h>.
44212         (dl_main): Added static probes "init_start" and "init_complete".
44213         * elf/dl-load.c: Include <stap-probe.h>.
44214         (lose): Take new parameter "nsid".
44215         Added static probe "map_failed".
44216         (_dl_map_object_from_fd): Pass namespace id to lose.
44217         Added static probe "map_start".
44218         (open_verify): Pass namespace id to lose.
44219         * elf/dl-open.c: Include <stap-probe.h>.
44220         (dl_open_worker) Added static probes "map_complete", "reloc_start"
44221         and "reloc_complete".
44222         * elf/dl-close.c: Include <stap-probe.h>.
44223         (_dl_close_worker): Added static probes "unmap_start" and
44224         "unmap_complete".
44225         * elf/rtld-debugger-interface.txt: New file documenting the above.
44227 2012-07-26  Roland McGrath  <roland@hack.frob.com>
44229         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
44230         rather than a string variable.
44231         * sunrpc/rpc_main.c (h_output): Likewise.
44232         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
44234 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
44236         * inet/check_native.c: New file.
44238 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
44240         [BZ #13629]
44241         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
44242         if larger part has absolute value 1.0.
44243         * math/s_clog10.c (__clog10): Likewise.
44244         * math/s_clog10f.c (__clog10f): Likewise.
44245         * math/s_clog10l.c (__clog10l): Likewise.
44246         * math/s_clogf.c (__clogf): Likewise.
44247         * math/s_clogl.c (__clogl): Likewise.
44248         * math/libm-test.inc (clog_test): Add more tests.
44249         (clog10_test): Likewise.
44250         * sysdeps/i386/fpu/libm-test-ulps: Update.
44251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44253         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
44254         (pltexit): Likewise.
44255         (La_regs): Likewise.
44256         (La_retval): Likewise.
44257         (int_retval): Likewise.
44258         Update #error for removed macros to refer only to definitions in
44259         tst-audit.h.
44260         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
44261         macro.
44262         (pltexit): Likewise.
44263         (La_regs): Likewise.
44264         (La_retval): Likewise.
44265         (int_retval): Likewise.
44266         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
44267         macro.
44268         (pltexit): Likewise.
44269         (La_regs): Likewise.
44270         (La_retval): Likewise.
44271         (int_retval): Likewise.
44272         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
44273         macro.
44274         (pltexit): Likewise.
44275         (La_regs): Likewise.
44276         (La_retval): Likewise.
44277         (int_retval): Likewise.
44278         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
44279         macro.
44280         (pltexit): Likewise.
44281         (La_regs): Likewise.
44282         (La_retval): Likewise.
44283         (int_retval): Likewise.
44284         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
44285         macro.
44286         (pltexit): Likewise.
44287         (La_regs): Likewise.
44288         (La_retval): Likewise.
44289         (int_retval): Likewise.
44290         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
44291         macro.
44292         (pltexit): Likewise.
44293         (La_regs): Likewise.
44294         (La_retval): Likewise.
44295         (int_retval): Likewise.
44296         * sysdeps/generic/tst-audit.h: Update comment to refer only to
44297         macro definitions in tst-audit.h.
44298         * sysdeps/i386/tst-audit.h: New file.
44299         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
44300         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
44301         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
44302         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
44303         * sysdeps/sh/tst-audit.h: Likewise.
44304         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
44305         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
44306         * sysdeps/x86_64/tst-audit.h: Likewise.
44308 2012-07-26  Andreas Jaeger  <aj@suse.de>
44310         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
44311         ptrace.
44313         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
44314         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
44315         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
44316         PTRACE_O_MASK.
44317         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
44318         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
44319         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
44321         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
44322         value.
44324         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
44325         _sigsys.
44326         (si_call_addr, si_syscall, si_arch): Define new macro.
44327         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
44328         _sigsys.
44329         (si_call_addr, si_syscall, si_arch): Define new marcro.
44330         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
44331         _sigsys.
44332         (si_call_addr, si_syscall, si_arch): Define new macro.
44333         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
44334         _sigsys.
44335         (si_call_addr, si_syscall, si_arch): Define new macro.
44337 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
44339         [BZ #13717]
44340         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44341         Change to 2.4.21 where previously 2.4.1.
44342         * sysdeps/unix/sysv/linux/configure: Regenerated.
44343         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
44344         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
44345         Linux kernel version.
44346         (__ASSUME_STD_AUXV): Remove.
44347         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
44348         kernel version.
44349         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
44350         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
44351         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
44352         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
44353         (__ASSUME_NETLINK_SUPPORT): Likewise.
44354         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
44355         (__no_netlink_support): Remove conditional definition.
44356         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
44357         Remove.
44358         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
44359         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
44360         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
44361         (if_nameindex_ioctl): Remove.
44362         (if_nameindex_netlink): Do not handle __no_netlink_support.
44363         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
44364         code.
44365         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
44366         Remove conditional code.
44367         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
44368         code.
44369         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
44370         unconditional.
44371         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
44372         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
44373         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
44374         Remove.
44375         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
44376         [!__ASSUME_STD_AUXV]: Remove conditional code.
44377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
44378         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
44379         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
44380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
44381         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
44382         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
44383         code.
44384         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
44385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44386         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
44387         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
44388         conditional code.
44389         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
44390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
44391         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
44392         code.
44393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44394         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
44395         conditional code.
44396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
44397         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44398         code unconditional.
44399         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44400         conditional code.
44401         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44402         unconditional.
44403         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44404         conditional code.
44405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44406         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44407         unconditional.
44408         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44409         conditional code.
44410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
44411         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44412         code unconditional.
44413         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44414         conditional code.
44415         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44416         unconditional.
44417         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44418         conditional code.
44419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
44420         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44421         code unconditional.
44422         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44423         conditional code.
44424         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44425         unconditional.
44426         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44427         conditional code.
44429 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
44431         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
44432         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
44433         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
44434         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
44435         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
44436         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
44437         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
44438         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
44439         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
44440         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
44441         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
44442         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
44443         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
44444         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
44445         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
44446         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
44447         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
44448         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
44449         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
44450         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
44451         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
44452         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
44453         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
44455 2012-07-25  Florian Weimer  <fweimer@redhat.com>
44457         * Versions.def: Add GLIBC_2.17.
44458         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
44459         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
44460         Introduce __libc_secure_getenv.
44461         * stdlib/Versions (2.17): Add secure_getenv
44462         (GLIBC_PRIVATE): Add __libc_secure_getenv.
44463         * stdlib/secure-getenv.c: Rename __secure_getenv to
44464         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
44465         symbol __secure_getenv for GLIBC_2.0.
44466         * stdlib/tst-secure-getenv.c: New.
44467         * stdlib/Makefile (tests): Add testcase.
44468         * manual/startup.texi (Environment Access): Document
44469         secure_getenv.
44470         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
44471         __libc_secure_getenv.
44472         * inet/ruserpass.c (ruserpass): Likewise.
44473         * malloc/mtrace.c (mtrace): Likewise.
44474         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
44475         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
44476         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
44477         * sysdeps/posix/tempname.c: Likewise.  Evaluate
44478         HAVE_SECURE_GETENV.
44479         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
44480         __secure_getenv to __libc_secure_getenv.
44481         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
44482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44483         Likewise.
44484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44485         Likewise.
44486         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
44487         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
44488         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
44489         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
44490         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
44491         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
44492         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
44494 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
44496         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
44497         (struct La_i86_retval): Likewise.
44498         (struct La_x86_64_regs): Likewise.
44499         (struct La_x86_64_retval): Likewise.
44500         (struct La_x32_regs): Likewise.
44501         (struct La_x32_retval): Likewise.
44502         (struct La_ppc32_regs): Likewise.
44503         (struct La_ppc32_retval): Likewise.
44504         (struct La_ppc64_regs): Likewise.
44505         (struct La_ppc64_retval): Likewise.
44506         (struct La_sh_regs): Likewise.
44507         (struct La_sh_retval): Likewise.
44508         (struct La_s390_32_regs): Likewise.
44509         (struct La_s390_32_retval): Likewise.
44510         (struct La_s390_64_regs): Likewise.
44511         (struct La_s390_64_retval): Likewise.
44512         (struct La_sparc32_regs): Likewise.
44513         (struct La_sparc32_retval): Likewise.
44514         (struct La_sparc64_regs): Likewise.
44515         (struct La_sparc64_retval): Likewise.
44516         (struct audit_ifaces): Remove architecture-specific pltenter and
44517         pltexit members.
44518         * sysdeps/i386/ldsodefs.h: New file.
44519         * sysdeps/powerpc/ldsodefs.h: Likewise.
44520         * sysdeps/s390/ldsodefs.h: Likewise.
44521         * sysdeps/sh/ldsodefs.h: Likewise.
44522         * sysdeps/sparc/ldsodefs.h: Likewise.
44523         * sysdeps/x86_64/ldsodefs.h: Likewise.
44525 2012-07-25  Marek Polacek  <polacek@redhat.com>
44527         [BZ #6808]
44528         * math/libm-test.inc (yn_test): Add another test.
44529         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
44530         to ERANGE when the result is +-Inf.
44531         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
44532         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
44533         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
44534         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
44536 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
44538         * conform/data/time.h-data (NULL): Use macro-constant.  Require
44539         equal to 0.
44540         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
44541         clock_t.
44542         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
44544 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
44546         * configure.in <sysdeps resolving>: Correct printing
44547         Implies_before.
44548         * configure: Regenerate.
44550 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
44552         * math/w_ilogb.c: Include <limits.h>.
44553         * math/w_ilogbl.c: Likewise.
44555 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
44557         * manual/lang.texi (__va_copy): Document primarily as ISO C99
44558         va_copy.  Document allowing for unavailable va_copy only as
44559         pre-C99 compatibility.
44560         * manual/string.texi (Copying and Concatenation): Use va_copy
44561         instead of __va_copy in concat example.
44563 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
44565         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
44566         (__sendto): Use create_address_port.  Initialize APORT and deallocate
44567         it if not null.
44569         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
44570         with O_NOLINK passed to __file_name_lookup.
44572         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
44573         with O_NOLINK passed to __file_name_lookup.
44575         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
44576         negative N or less than NGIDS.
44578         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
44579         type to string_t.  Set ERANGE as errno and return it if NAME is not big
44580         enough.  Use memcpy instead of strncpy.
44582 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
44584         * elf/Makefile (check-data): Remove.
44585         (localplt.data): New vpath directive.
44586         ($(objpfx)check-localplt.out): Use localplt.data from vpath
44587         instead of $(check-data).
44588         * scripts/data/localplt-generic.data: Move to ...
44589         * sysdeps/generic/localplt.data: ... here.
44590         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
44591         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
44592         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
44593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
44594         ... here.
44595         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
44596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
44597         ... here.
44598         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
44599         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
44600         ... here.
44601         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
44602         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
44603         ... here.
44604         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
44605         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
44606         ... here.
44607         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
44608         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
44609         ... here.
44611 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44613         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
44614         PPC32 and PPC64 files.
44615         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
44616         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
44618 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44620         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
44621         __makecontext_ret to ...
44622         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
44623         ... here and call exit if uc_link is NULL.  New file.
44624         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
44625         __makecontext_ret.S.
44626         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
44627         __makecontext_ret to ...
44628         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
44629         ... here and call exit if uc_link is NULL.  New file.
44630         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
44631         __makecontext_ret.S.
44633 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44635         * elf/elf.h (R_390_IRELATIVE): New definition.
44636         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
44637         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
44638         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
44639         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
44640         (elf_machine_lazy_rel): Likewise.
44641         * sysdeps/s390/dl-irel.h: New file.
44642         * sysdeps/s390/s390-64/memcpy.S: New asm code.
44643         * sysdeps/s390/s390-64/memset.S: New asm code.
44644         * sysdeps/s390/s390-64/memcmp.S: New asm code.
44645         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
44646         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
44647         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
44648         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
44649         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
44650         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
44651         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
44652         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
44653         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
44654         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
44655         * sysdeps/s390/s390-32/memcpy.S: New asm code.
44656         * sysdeps/s390/s390-32/memset.S: New asm code.
44657         * sysdeps/s390/s390-32/memcmp.S: New asm code.
44659 2012-07-17  Marek Polacek  <polacek@redhat.com>
44661         [BZ #14349]
44662         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
44663         * sysdeps/s390/s390-64/configure.in: Likewise.
44664         * sysdeps/sparc/configure.in: Likewise.
44665         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
44666         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
44667         * sysdeps/i386/configure.in: Likewise.
44668         * sysdeps/x86_64/configure.in: Likewise.
44669         * sysdeps/sh/configure.in: Likewise.
44670         * sysdeps/s390/s390-32/configure: Regenerated.
44671         * sysdeps/s390/s390-64/configure: Likewise.
44672         * sysdeps/x86_64/configure: Likewise.
44673         * sysdeps/sh/configure: Likewise.
44674         * sysdeps/powerpc/powerpc64/configure: Likewise.
44675         * sysdeps/powerpc/powerpc32/configure: Likewise.
44676         * sysdeps/sparc/configure: Likwise.
44677         * sysdeps/i386/configure: Likewise.
44679         * elf/dl-open.c: Comment fixes.
44681 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
44683         * Makefile [CXX] (check-data): Remove.
44684         [CXX] (c++-types.data): New vpath directive.
44685         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
44686         vpath.  Do not allow for C++ type data being missing.
44687         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
44688         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
44689         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
44690         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
44691         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
44692         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
44693         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
44694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
44695         ... here.
44696         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
44697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
44698         ... here.
44699         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
44700         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
44701         ... here.
44702         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
44703         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
44704         ... here.
44705         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
44706         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
44707         ... here.
44708         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
44709         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
44710         ... here.
44711         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
44712         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
44713         ... here.
44714         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
44715         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
44717         * elf/tls-macros.h (TLS_LE): Move architecture-specific
44718         definitions to architecture-specific files.
44719         (TLS_IE): Likewise.
44720         (TLS_LD): Likewise.
44721         (TLS_GD): Likewise.
44722         * sysdeps/i386/tls-macros.h: New file.
44723         * sysdeps/powerpc/tls-macros.h: Likewise.
44724         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
44725         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
44726         * sysdeps/sh/tls-macros.h: Likewise.
44727         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
44728         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
44729         * sysdeps/x86_64/tls-macros.h: Likewise.
44731 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
44733         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
44734         zero value for regular exit case.
44736         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
44737         (__start_context): Preserve zero value for regular exit case.
44739 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
44740             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44742         * manual/setjmp.texi (setcontext): Clarify normal process
44743         termination when uc_link is the null pointer.
44744         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
44745         exit call.
44747 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
44749         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
44750         preprocessor.  Test for each exception mask separately.
44752 2012-07-16  Andreas Jaeger  <aj@suse.de>
44754         * po/ru.po: Update from translation team.
44756 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
44758         * conform/data/string.h-data (NULL): Use macro-constant.  Require
44759         equal to 0.
44760         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
44761         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
44762         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
44763         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
44764         [ISO || ISO99 || ISO11] (*_t): Do not allow.
44766 2012-07-13  Andreas Jaeger  <aj@suse.de>
44768         * po/fr.po: Update from translation team.
44770 2012-07-12  Marek Polacek  <polacek@redhat.com>
44772         [BZ #14173]
44773         * math/libm-test.inc (yn_test): Add test for BZ #14173.
44774         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
44775         loop condition.
44777 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
44779         [BZ #13717]
44780         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44781         Change to 2.4.1 where previously 2.4.0.
44782         * sysdeps/unix/sysv/linux/configure: Regenerated.
44783         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
44784         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
44785         version.
44786         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
44787         (__ASSUME_AT_CLKTCK): Remove.
44788         (__ASSUME_AT_PAGESIZE): Likewise.
44789         (__ASSUME_AT_XID): Likewise.
44790         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
44791         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
44792         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
44793         unconditionally.
44794         (HAVE_AUX_PAGESIZE): Likewise.
44795         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
44796         [__ASSUME_AT_CLKTCK]: Make code unconditional.
44797         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
44799 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
44801         [BZ #14307]
44802         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
44803         the temporary buffer used to invoke __gethostbyname2_r,
44804         __gethostbyaddr_r and gethostbyname4_r to make room for struct
44805         host_data / struct gaih_addrtuple.
44806         * resolv/nss_dns/dns-host.c (global scope): Move definition of
44807         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
44808         header file nss/nsswitch.h.
44809         * nss/nsswitch.h (global scope): Add definition of implementation
44810         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
44811         resolv/nss_dns/dns-host.c).
44813 2012-07-11  Andreas Jaeger  <aj@suse.de>
44815         * po/fr.po: Update from translation team.
44817         * po/sv.po: Update from translation team
44818         * po/fr.po: Another update from translation team.
44820 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44822         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
44823         for subnormals or multiply small sinh result by itself.
44824         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
44825         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44827 2012-07-11  David S. Miller  <davem@davemloft.net>
44829         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44831 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
44833         [BZ #14347]
44834         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
44835         (INTERNAL_MARK): Shift it here.
44837 2012-07-10  Marek Polacek  <polacek@redhat.com>
44839         [BZ #14151]
44840         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
44841         libc_cv_asm_global_directive with .globl.
44842         * configure: Regenerated.
44843         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
44844         with .globl.
44845         * sysdeps/i386/configure: Regenerated.
44846         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
44847         with .globl.
44848         * sysdeps/x86_64/configure: Regenerated.
44849         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
44850         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
44851         * elf/tst-unique2mod2.c: Likewise.
44852         * elf/tst-unique2mod1.c: Likewise.
44853         * elf/tst-unique1mod2.c: Likewise.
44854         * elf/tst-unique1mod1.c: Likewise.
44855         * sysdeps/s390/s390-32/sysdep.h: Likewise.
44856         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
44857         * sysdeps/s390/s390-64/sysdep.h: Likewise.
44858         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44859         * sysdeps/mach/sysdep.h: Likewise.
44860         * sysdeps/i386/sysdep.h: Likewise.
44861         * sysdeps/i386/i386-mcount.S: Likewise.
44862         * sysdeps/x86_64/_mcount.S: Likewise.
44863         * sysdeps/x86_64/sysdep.h: Likewise.
44864         * sysdeps/sh/_mcount.S: Likewise.
44865         * sysdeps/sh/sysdep.h: Likewise.
44866         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
44867         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
44868         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
44869         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44870         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
44871         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
44872         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
44873         * locale/localeinfo.h: Likewise.
44874         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
44875         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
44877 2012-07-09  Roland McGrath  <roland@hack.frob.com>
44879         [BZ #14336]
44880         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
44881         system".
44882         * manual/message.texi (The Uniforum approach): Likewise.
44883         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
44884         (glibc iconv Implementation): Likewise.
44886 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
44888         [BZ #14337]
44889         * math/s_clog.c (__clog): Avoid scaling a value down where that
44890         could result in underflow.
44891         * math/s_clog10.c (__clog10): Likewise.
44892         * math/s_clog10f.c (__clog10f): Likewise.
44893         * math/s_clog10l.c (__clog10l): Likewise.
44894         * math/s_clogf.c (__clogf): Likewise.
44895         * math/s_clogl.c (__clogl): Likewise.
44896         * math/libm-test.inc (clog_test): Add more tests.
44897         (clog10_test): Likewise.
44898         * sysdeps/i386/fpu/libm-test-ulps: Update.
44899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44901 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
44903         [BZ #14283]
44904         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
44905         by 7 not 8 to examine high bit of fractional part.
44907         [BZ #14042]
44908         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
44909         for call to __mcount_internal.
44910         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
44911         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
44912         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
44914 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
44916         [BZ #14154]
44917         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
44918         approximation for values within 0x1p-13f of an odd multiple of
44919         pi/4.
44920         * math/libm-test.inc (tan_test): Do not allow spurious underflow
44921         exception.  Add more tests.
44922         * sysdeps/i386/fpu/libm-test-ulps: Update.
44924         [BZ #6778]
44925         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
44926         inputs and return -1 for them.  Do not check for +Inf in case not
44927         reachable for +Inf.
44928         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
44929         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
44930         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
44931         and return -1 for them.  Do not check for +Inf in case not
44932         reachable for +Inf.
44933         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
44934         define.
44935         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
44936         and return -1 for them.  Do not check for +Inf in case not
44937         reachable for +Inf.
44938         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
44939         spurious underflow.
44940         * sysdeps/i386/fpu/libm-test-ulps: Update.
44941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44943 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
44945         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
44947 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
44949         [BZ #14157]
44950         [BZ #14331]
44951         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
44952         could result in spurious underflow.  Scale down values above
44953         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
44954         * math/s_csqrtf.c (__csqrtf): Likewise.
44955         * math/s_csqrtl.c (__csqrtl): Likewise.
44956         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
44957         spurious underflow.
44958         * sysdeps/i386/fpu/libm-test-ulps: Update.
44959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44961 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
44963         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
44964         xopen-msg.sed.
44965         * catgets/xopen-msg.awk: New file.
44966         * catgets/xopen-msg.sed: Removed.
44968         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
44969         po2text.sed.
44970         * intl/po2test.awk: New file.
44971         * intl/po2test.sed: Removed.
44973 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
44975         [BZ #14328]
44976         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
44977         or multiply small sinh result by itself.
44978         * math/s_ctanf.c (__ctanf): Likewise.
44979         * math/s_ctanh.c (__ctanh): Likewise.
44980         * math/s_ctanhf.c (__ctanhf): Likewise.
44981         * math/s_ctanhl.c (__ctanhl): Likewise.
44982         * math/s_ctanl.c (__ctanl): Likewise.
44983         * math/libm-test.inc (ctan_test_tonearest): New function.
44984         (ctan_test_towardzero): Likewise.
44985         (ctan_test_downward): Likewise.
44986         (ctan_test_upward): Likewise.
44987         (ctanh_test_tonearest): Likewise.
44988         (ctanh_test_towardzero): Likewise.
44989         (ctanh_test_downward): Likewise.
44990         (ctanh_test_upward): Likewise.
44991         (main): Call these new functions.
44992         * sysdeps/i386/fpu/libm-test-ulps: Update.
44993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44995 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
44997         * .gitignore: Delete /ports entry.
44999 2012-07-03  Andreas Jaeger  <aj@suse.de>
45001         * po/bg.po: Update from translation team.
45002         * po/cs.po: Likewise.
45003         * po/de.po: Likewise.
45004         * po/hr.po: Likewise.
45005         * po/nl.pl: Likewise.
45006         * po/pl.po: Likewise.
45007         * po/vi.po: Likewise.
45009 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
45011         * Makeconfig [!+link] (+link-before-libc): New variable.
45012         [!+link] (+link-after-libc): Likewise.
45013         [!+link] (+link-tests): Likewise.
45014         [!+link] (+link): Define in terms of $(+link-before-libc) and
45015         $(+link-after-libc).
45016         [!+link-static] (+link-static-before-libc): New variable.
45017         [!+link-static] (+link-static-after-libc): Likewise.
45018         [!+link-static] (+link-static-tests): Likewise.
45019         [!+link-static] (+link-static): Define in terms of
45020         $(+link-static-before-libc) and $(+link-static-after-libc).
45021         [build-shared] (link-libc-before-gnulib): New variable.
45022         [build-shared] (link-libc-tests): Likewise.
45023         [build-shared] (link-libc): Define in terms of
45024         $(link-libc-before-gnulib).
45025         [!build-shared] (link-libc-tests): New variable.
45026         (link-libc-static-tests): New variable.
45027         [!gnulib] (gnulib-arch): New variable.
45028         [!gnulib] (gnulib-tests): Likewise.
45029         [!gnulib] (static-gnulib-arch): Likewise.
45030         [!gnulib] (static-gnulib-tests): Likewise.
45031         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
45032         Define with "=" instead of ":=".
45033         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
45034         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
45035         * Rules (binaries-all-notests): New variable.
45036         (binaries-all-tests): Likewise.
45037         (binaries-static-notests): Likewise.
45038         (binaries-static-tests): Likewise.
45039         (binaries-all): Define using $(binaries-all-notests) and
45040         $(binaries-all-tests).
45041         (binaries-static): Define using $(binaries-static-notests) and
45042         $(binaries-static-tests).
45043         (binaries-shared-tests): New variable.
45044         (binaries-shared-notests): Likewise.
45045         (binaries-shared): Remove variable.
45046         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
45047         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
45048         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
45049         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
45050         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
45051         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
45052         * elf/Makefile (sln-modules): New variable.
45053         (extra-objs): Add $(sln-modules:=.o).
45054         (ldconfig-modules): Add static-stubs.
45055         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
45056         * elf/static-stubs.c: New file.
45058         [BZ #14283]
45059         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
45060         by 7 not 8 to examine high bit of fractional part.  Use volatile
45061         variables when splitting into final array of floats if
45062         __FLT_EVAL_METHOD__ != 0.
45063         * math/libm-test.inc (cos_test): Add another test.
45064         (sin_test): Likewise.
45065         * sysdeps/i386/fpu/libm-test-ulps: Update.
45067         [BZ #14273]
45068         * math/libm-test.inc (cosh_test): Add more tests.
45070         * version.h (RELEASE): Set to "development".
45071         (VERSION): Set to "2.16.90".
45073 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
45075         * NEWS: Update copyright. Remove last-updated date.
45076         Mention math library bug fixes and timezone data changes.
45077         * README: Mention GNU/Hurd, x32, and HPPA support status.
45079 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
45081         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
45083 2012-06-27  Andreas Jaeger  <aj@suse.de>
45085         * manual/contrib.texi (Contributors): Add Samuel Thibault.
45087 2012-06-25  Andreas Jaeger  <aj@suse.de>
45089         * sysdeps/s390/fpu/libm-test-ulps: Update.
45091 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
45092             Thomas Schwinge  <thomas@codesourcery.com>
45094         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
45095         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
45096         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
45097         fanotify_mark.
45099 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
45101         * sysdeps/mach/start.c: Remove file.
45102         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
45103         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
45104         * sysdeps/sh/init-first.c: Likewise.
45106         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
45107         registers for frame unwinding purposes, add CFI directives.
45108         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
45109         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
45110         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
45111         Likewise.
45113         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
45114         __fortify_fail returning.
45115         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
45117         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
45118         sysdeps/sh/____longjmp_chk.S.
45119         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
45120         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
45121         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
45122         (gen-as-const-headers): Append sigaltstack-offsets.sym.
45124         * sysdeps/sh/abort-instr.h: New file.
45125         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
45126         process in case exit returns.
45128         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
45129         initialize the GOT register before use.
45131         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
45132         calculation of ARGC > 4.
45134         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
45135         meaningful names to some local labels.
45137 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45138             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45140         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
45141         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
45142         (__arch_compare_and_exchange_val_16_acq): Likewise.
45143         (__arch_compare_and_exchange_val_32_acq): Likewise.
45144         (atomic_exchange_and_add): Fix gUSA sequence.
45145         (atomic_add): Likewise.
45146         (atomic_add_negative): Likewise.
45147         (atomic_add_zero): Likewise.
45148         (atomic_bit_test_set): Likewise.
45150 2012-06-22  Andreas Schwab  <schwab@redhat.com>
45152         [BZ #13579]
45153         * include/link.h (struct link_map): Add l_free_initfini.
45154         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
45155         l_initfini.
45156         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
45157         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
45158         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
45159         set.
45161 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
45163         * configure.in: Use AC_LANG_SOURCE.
45164         * configure: Regenerate.
45166 2012-06-22  Roland McGrath  <roland@hack.frob.com>
45168         * configure.in (libc_cv_localstatedir): New substituted variable.
45169         * configure: Regenerated.
45170         * config.make.in (localstatedir): New variable, substituted from
45171         libc_cv_localstatedir.
45172         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
45173         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
45174         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
45175         * sysdeps/gnu/configure: Regenerated.
45177 2012-06-21  Jeff Law  <law@redhat.com>
45179         [BZ #14277]
45180         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
45181         free.  Simplify list management for _LIBC case.
45183 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
45185         [BZ #14273]
45186         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
45187         Clear sign bit of 64-bit integer value before comparing against
45188         overflow value.
45190         * sysdeps/mach/configure: Regenerated.
45192 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
45194         [BZ #14278]
45195         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
45197 2012-06-21  Jeff Law  <law@redhat.com>
45199         [BZ #13882]
45200         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
45201         uint16_t for elements in the "seen" array to avoid char overflows.
45202         * elf/dl-fini.c (_dl_sort_fini): Likewise.
45203         * elf/dl-open.c (dl_open_worker): Likewise.
45205 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
45207         * scripts/list-sources.sh: Scan PORTS for translations.
45208         * po/libc.pot: Regenerated.
45210 2012-06-21  Andreas Jaeger  <aj@suse.de>
45212         [BZ #12194]
45213         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
45214         warning.
45215         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
45216         * bits/byteswap-16.h (__bswap_16): Likewise.
45217         * bits/byteswap.h (__bswap_constant_16): Likewise.
45219 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
45221         [BZ #14117]
45222         * sysdeps/i386/fpu_control.h: Removed.
45223         * sysdeps/x86_64/fpu_control.h: Moved to ...
45224         * sysdeps/x86/fpu_control.h: Here.
45226         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
45227         (_FPU_SETCW): Likewise.
45229 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
45231         [BZ #14117]
45232         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
45233         * sysdeps/x86/fpu/bits/mathinline.h: This.
45234         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
45236         [BZ #14050]
45237         [BZ #14117]
45238         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
45239         functions if __x86_64__ is defined.
45241 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
45243         * string/endian.h: Add !__ASSEMBLER__ condition for including
45244         conversion interfaces.
45246 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
45248         [BZ #14241]
45249         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
45250         of ABS(x) in calculating zero to negative powers other than odd
45251         integers.
45252         * math/libm-test.inc (pow_test): Add more tests.
45254 2012-06-15  Andreas Jaeger  <aj@suse.de>
45256         * manual/contrib.texi (Contributors): Update entry of Liubov
45257         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
45258         Machado Filho.
45260 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
45262         * string/string.h: Add __wur to GNU version of strerror_r.
45264 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
45266         [BZ #14229]
45267         * string/Makefile (tests): Add tst-strtok_r.
45268         * string/tst-strtok_r.c: New file.
45269         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
45270         RAX_LP/RDX_LP on SAVE_PTR.
45272 2012-06-14  Roland McGrath  <roland@hack.frob.com>
45274         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
45276 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
45278         * libm_test.inc (csqrt_test): Allow more spurious underflow
45279         exceptions.
45280         (j0_test): Likewise.
45281         (j1_test): Likewise.
45282         (y0_test): Likewise.
45283         (y1_test): Likewise.
45285 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
45287         * po/Makefile (libc.pot): Use UTF-8 charset.
45289 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
45291         [BZ #14210]
45292         Suppress sign-conversion warning from FD_SET.
45293         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
45294         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
45295         not unsigned long int.
45296         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
45298 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
45300         [BZ #14050]
45301         [BZ #14117]
45302         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
45303         __extern_always_inline instead of __extern_inline.
45304         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
45305         (__signbit): Likewise.
45306         (__signbitl): Support C++ namespace.
45307         (lrintf): New inline function.
45308         (lrint): Likewise.
45309         (llrintf): Likewise.
45310         (llrint): Likewise.
45311         (fmaxf): Likewise.
45312         (fmax): Likewise.
45313         (fminf): Likewise.
45314         (fmin): Likewise.
45315         (rint): Likewise.
45316         (rintf): Likewise.
45317         (ceil): Likewise.
45318         (ceilf): Likewise.
45319         (floor): Likewise.
45320         (floorf): Likewise.
45321         (nearbyint): Likewise.
45322         (nearbyintf): Likewise.
45324 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
45326         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
45327         non-default versions.
45329 2012-06-11  Roland McGrath  <roland@hack.frob.com>
45331         [BZ #14218]
45332         * manual/argp.texi (Argp): Reword argp_parse description slightly.
45334 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
45336         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
45337         (FE_UPWARD, FE_DOWNWARD): Don't define.
45338         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
45339         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
45341         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
45342         reading it.
45343         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
45344         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45346 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45348         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45349         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
45350         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
45351         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
45353 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
45355         [BZ #14117]
45356         * sysdeps/i386/fpu/bits/fenv.h: Removed.
45357         * sysdeps/i386/fpu/Implies: New file.
45358         * sysdeps/x86_64/fpu/Implies: Likewise.
45359         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
45360         * sysdeps/x86/fpu/bits/fenv.h: This.
45362         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
45363         __SSE_MATH__.
45365 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
45367         [BZ #14134]
45368         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
45369         character 0xffff that matches the last element of the
45370         conversion table.
45372 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45374         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
45375         fmodl commit.
45377 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45379         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
45380         values higher than 25.6283.
45382 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45384         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
45385         subnormal exponent extraction and add some __builtin_expect.
45386         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
45387         Fix for subnormal mantissa calculation.
45389 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
45391         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
45392         cpu2 is -1 and errno is not ENOSYS.
45394 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
45396         [BZ #14117]
45397         * sysdeps/i386/i486/bits/string.h: Renamed to ...
45398         * sysdeps/x86/bits/string.h: This.
45399         * sysdeps/x86_64/bits/string.h: Removed.
45401         * sysdeps/i386/i486/bits/string.h: Define inline functions only
45402         if not compiling for x86-64, but compiling for >= i486.
45404         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
45405         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
45407         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
45408         New macro from Linux kernel 3.4.0.
45409         (FP_XSTATE_MAGIC2): Likewise.
45410         (FP_XSTATE_MAGIC2_SIZE): Likewise.
45411         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
45412         (struct _fpx_sw_bytes): New struct.
45413         (struct _xsave_hdr): Likewise.
45414         (struct _ymmh_state): Likewise.
45415         (struct _xstate): Likewise.
45417         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
45418         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
45419         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
45420         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
45421         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
45422         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
45424         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
45425         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
45426         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
45427         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
45428         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
45429         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
45431 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45433         [BZ #13743]
45434         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
45435         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
45436         (sysdep_headers): Include sys/platform/ppc.h.
45437         * sysdeps/powerpc/test-gettimebase.c: Test for
45438         __ppc_get_timebase() to catch future ISA opcode/insn changes.
45439         * manual/Makefile (appendices): Include platform.texi.
45440         * manual/contrib.texi (Contributors): Update @node pointers.
45441         * manual/maint.texi (Maintenance): Likewise.
45442         (Platform): New node.
45443         * manual/platform.texi: New file.  Document the new features.
45445 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45446             Jakub Jelinek  <jakub@redhat.com>
45448         [BZ #14188]
45449         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
45450         where __builtin_expect is unavailable.
45452 2012-06-03  David S. Miller  <davem@davemloft.net>
45454         * stdlib/longlong.h: Updated from GCC.
45456 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
45458         [BZ #14042]
45459         * sysdeps/powerpc/powerpc32/mcount.c: New file.
45460         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
45461         __mcount_internal.
45462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
45463         (GLIBC_2.16): Likewise.
45465 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
45467         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
45469 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
45471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
45472         (default-abi): New variable.
45473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
45474         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
45475         variable.
45476         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
45477         Likewise.
45478         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
45479         Likewise.
45480         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
45481         Likewise.
45483         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
45484         definition.  Document in comment.
45486 2012-06-01  David S. Miller  <davem@davemloft.net>
45488         * stdlib/longlong.h: Updated from GCC.
45490 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
45492         [BZ #14117]
45493         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
45494         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
45495         sys/debugreg.h sys/io.h here.
45496         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
45497         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
45498         sys/io.h.
45499         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
45500         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
45501         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
45502         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
45503         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
45504         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
45506         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
45507         Define only if __x86_64__ is defined.
45509 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
45511         [BZ #14048]
45512         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
45513         Use int64_t for variable i.
45514         * math/libm-test.inc (fmod_test): Add more tests.
45516         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
45517         z computation is not scheduled after fetestexcept.
45518         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
45519         Use math_force_eval instead of asm to ensure calculation scheduled
45520         before exception test.
45521         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
45522         Ensure a1 + u.d computation is not scheduled after fetestexcept.
45524 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
45526         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
45527         computation is not scheduled after fetestexcept.
45529 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
45531         [BZ #14117]
45532         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
45533         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
45535 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45537         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
45538         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
45540 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
45542         [BZ #14117]
45543         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
45544         <bits/wordsize.h>.
45545         (__WCHAR_MIN): Support __WORDSIZE == 64.
45546         (__WCHAR_MAX): Likewise.
45548         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
45549         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
45551         [BZ #14183]
45552         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
45553         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
45555         [BZ #14117]
45556         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
45557         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
45559         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
45560         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
45562         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
45563         Defined to 1 if __x86_64__ isn't defined.
45564         (_STAT_VER_LINUX_OLD): New.
45565         (st_atime): Remove duplicate.
45566         (st_mtime): Likewise.
45567         (st_ctime): Likewise.
45569 2012-05-31  David S. Miller  <davem@davemloft.net>
45571         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
45572         entries.
45574 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
45576         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
45577         gen-libm-test.pl.
45579         [BZ #14132]
45580         * elf/dl-reloc.c: Include <_itoa.h>.
45581         (_dl_reloc_bad_type): Remove use of INTUSE.
45582         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
45583         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
45584         * stdio-common/psiginfo.c (psiginfo): Likewise.
45585         * stdio-common/psignal.c (psignal): Likewise.
45586         * string/strsignal.c (strsignal): Likewise.
45587         * include/signal.h (_sys_siglist): Declare hidden proto.
45588         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
45589         INTVARDEF with libc_hidden_data_def.
45590         * stdio-common/itoa-udigits.c: Likewise.
45591         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
45592         (_itoa_lower_digits_internal): Remove declaration.
45593         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
45594         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
45595         (_sys_sigabbrev_internal): Remove aliases.
45596         (_sys_siglist): Define hidden alias.
45598 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
45600         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45601         bits/sysctl.h.
45603 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
45605         [BZ #14117]
45606         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
45607         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
45609         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
45610         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
45611         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
45612         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
45613         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
45614         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
45616         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
45617         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
45618         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
45620         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
45621         with __addr.
45622         (insw): Likewise.
45623         (insl): Likewise.
45624         (outsb): Likewise.
45625         (outsw): Likewise.
45626         (outsl): Likewise.
45628         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
45629         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
45630         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
45632         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
45633         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
45634         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
45635         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
45636         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
45637         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
45639         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
45640         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
45642         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
45643         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
45645         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
45646         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
45647         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
45649         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
45650         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
45651         to ...
45652         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
45654         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
45655         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
45656         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
45658         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
45659         for x86-64.
45660         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
45662 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
45664         * math/math.h (M_El): Use two more decimal places.
45665         (M_LOG2El): Likewise.
45666         (M_LOG10El): Likewise.
45667         (M_LN2l): Likewise.
45668         (M_LN10l): Likewise.
45669         (M_PIl): Likewise.
45670         (M_PI_2l): Likewise.
45671         (M_PI_4l): Likewise.
45672         (M_1_PIl): Likewise.
45673         (M_2_PIl): Likewise.
45674         (M_2_SQRTPIl): Likewise.
45675         (M_SQRT2l): Likewise.
45676         (M_SQRT1_2l): Likewise.
45678 2012-05-31  David S. Miller  <davem@davemloft.net>
45680         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
45681         values between float registers.
45682         * sysdeps/sparc/sparc64/memset.S: Likewise.
45683         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45685 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
45687         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
45688         -D_FORTIFY_SOURCE=1.
45689         (CPPFLAGS-tst-longjmp_chk.c): Define.
45690         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
45691         (CPPFLAGS-tst-longjmp_chk2.c): Define.
45692         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
45693         CFLAGS-tst-wchar-h.c.
45695 2012-05-31  Marek Polacek  <polacek@redhat.com>
45697         [BZ #14132]
45698         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
45699         __endmntent_internal): Remove declaration.
45700         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
45701         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
45702         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
45704 2012-05-30  David S. Miller  <davem@davemloft.net>
45706         * sysdeps/sparc/sparc32/soft-fp/q_util.c
45707         (___Q_simulate_exceptions): Use real FP ops rather than writing
45708         into the %fsr.
45709         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
45710         Likewise.
45712 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
45714         [BZ #14117]
45715         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
45716         * sysdeps/x86/bits/xtitypes.h: This.
45718         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
45719         * sysdeps/x86/bits/wordsize.h: This.
45721         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
45722         * sysdeps/x86/bits/huge_vall.h: This.
45724         * sysdeps/i386/bits/select.h: Removed.
45725         * sysdeps/x86_64/bits/select.h: Renamed to ...
45726         * sysdeps/x86/bits/select.h: This.
45728         * sysdeps/i386/bits/setjmp.h: Removed.
45729         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
45730         * sysdeps/x86/bits/setjmp.h: This.
45732         * sysdeps/i386/bits/mathdef.h: Removed.
45733         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
45734         * sysdeps/x86/bits/mathdef.h: This.
45736 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
45738         [BZ #14132]
45739         * include/sys/socket.h (__connect_internal)
45740         (__libc_sa_len_internal): Remove declaration.
45741         (__connect, __libc_sa_len): Declare hidden_proto.
45742         (SA_LEN): Remove use of INTUSE.
45743         * socket/connect.c: Add libc_hidden_def.
45744         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
45745         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
45746         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
45747         alias.
45748         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
45749         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
45750         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
45751         of adding _internal alias.
45753 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
45755         [BZ #14117]
45756         * sysdeps/i386/bits/link.h: Removed.
45757         * sysdeps/i386/bits/linkmap.h: Likewise.
45758         * sysdeps/x86_64/bits/link.h: Renamed to ...
45759         * sysdeps/x86/bits/link.h: This.
45760         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
45761         * sysdeps/x86/bits/linkmap.h: This.
45763         * sysdeps/i386/bits/endian.h: Removed.
45764         * sysdeps/x86_64/bits/endian.h: Renamed to ...
45765         * sysdeps/x86/bits/endian.h: This.
45767         * sysdeps/i386/bits/byteswap.h: Removed.
45768         * sysdeps/i386/bits/byteswap-16.h: Likewise.
45769         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
45770         * sysdeps/x86/bits/byteswap.h: This.
45771         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
45772         * sysdeps/x86/bits/byteswap-16.h: This.
45773         * sysdeps/i386/Implies: Add x86.
45774         * sysdeps/x86_64/Implies: Likewise.
45776 2012-05-30  David S. Miller  <davem@davemloft.net>
45778         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
45779         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
45780         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
45781         (FP_TRAPPING_EXCEPTIONS): Define.
45782         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
45783         (FP_TRAPPING_EXCEPTIONS): Define.
45784         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
45785         subnormals only when inexact has been signalled or underflow
45786         exceptions are enabled.
45787         (_FP_PACK_CANONICAL): Likewise.
45789 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
45791         [BZ #14183]
45792         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
45793         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
45795 2012-05-30  Richard Henderson  <rth@twiddle.net>
45797         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
45798         with #ifndef NOT_IN_libc.
45800         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
45801         marked to avoid plt entry.
45803 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
45805         [BZ #14112]
45806         * Makeconfig (default-abi): New macro.
45807         (abi-includes): Likewise.
45808         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
45809         $(abi-$(default-abi)-lib-soname) for soname if defined.
45810         ($(common-objpfx)gnu/lib-names.stmp): Generate from
45811         abi-variants.
45812         * Makefile (installed-stubs): Likewise.
45813         * include/stubs-biarch.h: Removed.
45814         * scripts/lib-names.awk: Only handle one library at a time.
45815         * scripts/soversions.awk: Remove WORDSIZE support.
45816         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
45817         entries.
45818         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
45819         Removed.
45820         (syscall-list-default-condition): Likewise.
45821         (syscall-list-default-condition): Likewise.
45822         (syscall-list-includes): Likewise.
45823         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
45824         syscall-list-* with abi-*.  Handle undefined abi-variants.
45825         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
45826         * sysdeps/unix/sysv/linux/i386/Implies: New file.
45827         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
45828         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
45829         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
45830         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
45831         Removed.
45832         (syscall-list-32-options): Likewise.
45833         (syscall-list-32-condition): Likewise.
45834         (syscall-list-64-options): Likewise.
45835         (syscall-list-64-condition): Likewise.
45836         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
45837         macro.
45838         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
45839         Renamed to ...
45840         (abi-*): This.
45841         (abi-64-ld-soname): New macro.
45842         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
45843         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
45844         Renamed to ...
45845         (abi-*): This.
45846         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
45847         * sysdeps/x86_64/x32/shlib-versions: Likewise.
45849 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
45851         * sysdeps/unix/sysv/linux/kernel-features.h
45852         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
45853         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
45854         include <kernel-features.h>.
45855         [!__NR_ftruncate64]: Remove conditional code.
45856         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45857         [__NR_ftruncate64]: Make code unconditional.
45858         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45859         * sysdeps/unix/sysv/linux/truncate64.c: Do not
45860         include <kernel-features.h>.
45861         [!__NR_ftruncate64]: Remove conditional code.
45862         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45863         [__NR_ftruncate64]: Make code unconditional.
45864         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
45866         include <kernel-features.h>.
45867         [!__NR_ftruncate64]: Remove conditional code.
45868         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45869         [__NR_ftruncate64]: Make code unconditional.
45870         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
45872         include <kernel-features.h>.
45873         [!__NR_ftruncate64]: Remove conditional code.
45874         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45875         [__NR_ftruncate64]: Make code unconditional.
45876         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45878         * configure.in (libc_cv_fpie): Weaken to a compile test using
45879         LIBC_TRY_CC_OPTION.
45880         * configure: Regenerated.
45882 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45884         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
45885         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
45886         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
45887         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45888         Refreshed.
45889         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
45890         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
45891         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
45892         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
45893         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
45894         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45895         Refreshed.
45897 2012-05-27  David S. Miller  <davem@davemloft.net>
45899         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
45900         (___Q_zero): New.
45901         (__Q_simulate_exceptions): Return void.  Change to simulate
45902         exceptions by writing into the %fsr.
45903         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
45904         (__Qp_handle_exceptions): Likewise.
45905         (numbers): Delete.
45906         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
45907         __Qp_handle_exceptions.
45908         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
45909         __Qp_handle_exceptions.
45910         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
45911         as unused and give dummy FP_RND_NEAREST initializer.
45912         (FP_INHIBIT_RESULTS): Define.
45913         (___Q_simulate_exceptions): Update declaration.
45914         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
45915         formatting.
45916         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
45917         as unused and give dummy FP_RND_NEAREST initializer.
45918         (__Qp_handle_exceptions): Update declaration.
45919         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
45920         formatting.
45922 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
45924         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
45925         the temporary FPU control word.
45926         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
45927         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
45928         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
45929         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
45930         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
45931         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
45932         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
45933         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
45934         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
45935         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
45936         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45938 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45940         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
45941         fields.
45943 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
45945         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
45946         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
45947         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
45948         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
45949         Likewise.
45950         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
45951         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
45952         Likewise.
45954 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
45956         * po/h.po: Update from translation team.
45958 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
45960         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
45962         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
45963         handling of denormals.
45964         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
45965         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
45966         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
45967         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
45968         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
45969         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
45970         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
45971         Likewise.
45973 2012-05-26  Marek Polacek  <polacek@redhat.com>
45975         [BZ #14152]
45976         * math/libm-test.inc (fma_test): Don't always expect underflow
45977         exception.
45979 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45981         [BZ #12416]
45982         * elf/tst-execstack.c: Include stackinfo.h.
45983         (do_test): Adjust test case to ensure that pthread_getattr_np
45984         behaviour remains the same after marking stack executable.
45986 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
45988         * sysdeps/unix/sysv/linux/kernel-features.h
45989         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
45990         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
45991         kernel-features.h.
45992         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
45993         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
45994         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
45995         kernel-features.h.
45996         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
45997         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
45999 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
46001         * configure.in: Define the default includes to being none.
46002         * configure: Regenerated.
46004 2012-05-25  Roland McGrath  <roland@hack.frob.com>
46006         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
46007         * sysdeps/x86_64/setjmp.S: Likewise.
46008         * sysdeps/i386/bsd-setjmp.S: Likewise.
46009         * sysdeps/i386/bsd-_setjmp.S: Likewise.
46010         * sysdeps/i386/setjmp.S: Likewise.
46011         * sysdeps/i386/__longjmp.S: Likewise.
46012         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
46013         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
46015         * include/stap-probe.h: New file.
46016         * configure.in: Handle --enable-systemtap.
46017         * configure: Regenerated.
46018         * config.h.in (USE_STAP_PROBE): New #undef.
46019         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
46020         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
46021         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
46023 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
46025         [BZ #13717]
46026         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
46027         to 2.4.0 where earlier.
46028         * sysdeps/unix/sysv/linux/configure: Regenerated.
46029         * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/i386/fchownat.c (fchownat)
46038         [__ASSUME_32BITUIDS]: Make code unconditional.
46039         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
46040         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
46041         <kernel-features.h>.
46042         [__ASSUME_32BITUIDS]: Make code unconditional.
46043         [!__ASSUME_32BITUIDS]: Remove conditional code.
46044         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
46045         <kernel-features.h>.
46046         [__ASSUME_32BITUIDS]: Make code unconditional.
46047         [!__ASSUME_32BITUIDS]: Remove conditional code.
46048         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
46049         <kernel-features.h>.
46050         [__ASSUME_32BITUIDS]: Make code unconditional.
46051         [!__ASSUME_32BITUIDS]: Remove conditional code.
46052         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
46053         <kernel-features.h>.
46054         [__ASSUME_32BITUIDS]: Make code unconditional.
46055         [!__ASSUME_32BITUIDS]: Remove conditional code.
46056         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
46057         <kernel-features.h>.
46058         [__ASSUME_32BITUIDS]: Make code unconditional.
46059         [!__ASSUME_32BITUIDS]: Remove conditional code.
46060         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
46061         <kernel-features.h>.
46062         [__ASSUME_32BITUIDS]: Make code unconditional.
46063         [!__ASSUME_32BITUIDS]: Remove conditional code.
46064         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
46065         <kernel-features.h>.
46066         [__ASSUME_32BITUIDS]: Make code unconditional.
46067         [!__ASSUME_32BITUIDS]: Remove conditional code.
46068         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
46069         <kernel-features.h>.
46070         [__ASSUME_32BITUIDS]: Make code unconditional.
46071         [!__ASSUME_32BITUIDS]: Remove conditional code.
46072         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
46073         <kernel-features.h>.
46074         [__ASSUME_32BITUIDS]: Make code unconditional.
46075         [!__ASSUME_32BITUIDS]: Remove conditional code.
46076         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
46077         <kernel-features.h>.
46078         [__ASSUME_32BITUIDS]: Make code unconditional.
46079         [!__ASSUME_32BITUIDS]: Remove conditional code.
46080         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
46081         <kernel-features.h>.
46082         [__NR_setresgid] (__setresgid): Do not declare.
46083         [__ASSUME_32BITUIDS]: Make code unconditional.
46084         [!__ASSUME_32BITUIDS]: Remove conditional code.
46085         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
46086         <kernel-features.h>.
46087         [__NR_setresuid] (__setresuid): Do not declare.
46088         [__ASSUME_32BITUIDS]: Make code unconditional.
46089         [!__ASSUME_32BITUIDS]: Remove conditional code.
46090         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
46091         <kernel-features.h>.
46092         [__ASSUME_32BITUIDS]: Make code unconditional.
46093         [!__ASSUME_32BITUIDS]: Remove conditional code.
46094         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
46095         <kernel-features.h>.
46096         [__ASSUME_32BITUIDS]: Make code unconditional.
46097         [!__ASSUME_32BITUIDS]: Remove conditional code.
46098         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
46099         <kernel-features.h>.
46100         [__ASSUME_32BITUIDS]: Make code unconditional.
46101         [!__ASSUME_32BITUIDS]: Remove conditional code.
46102         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
46103         <kernel-features.h>.
46104         [__ASSUME_32BITUIDS]: Make code unconditional.
46105         [!__ASSUME_32BITUIDS]: Remove conditional code.
46106         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
46107         <kernel-features.h>.
46108         [__ASSUME_32BITUIDS]: Make code unconditional.
46109         [!__ASSUME_32BITUIDS]: Remove conditional code.
46110         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
46111         <kernel-features.h>.
46112         [__ASSUME_32BITUIDS]: Make code unconditional.
46113         [!__ASSUME_32BITUIDS]: Remove conditional code.
46114         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
46115         <kernel-features.h>.
46116         [__ASSUME_32BITUIDS]: Make code unconditional.
46117         [!__ASSUME_32BITUIDS]: Remove conditional code.
46118         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
46119         <kernel-features.h>.
46120         [__ASSUME_32BITUIDS]: Make code unconditional.
46121         [!__ASSUME_32BITUIDS]: Remove conditional code.
46122         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
46123         <kernel-features.h>.
46124         [__ASSUME_32BITUIDS]: Make code unconditional.
46125         [!__ASSUME_32BITUIDS]: Remove conditional code.
46126         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
46127         <kernel-features.h>.
46128         [__ASSUME_32BITUIDS]: Make code unconditional.
46129         [!__ASSUME_32BITUIDS]: Remove conditional code.
46130         * sysdeps/unix/sysv/linux/kernel-features.h
46131         (__ASSUME_SETRESUID_SYSCALL): Remove.
46132         (__ASSUME_SETRESGID_SYSCALL): Likewise.
46133         (__ASSUME_32BITUIDS): Likewise.
46134         (__ASSUME_LDT_WORKS): Likewise.
46135         (__ASSUME_O_DIRECTORY): Likewise.
46136         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
46137         architecture but not kernel version.
46138         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
46139         (__ASSUME_MMAP2_SYSCALL): Likewise.
46140         (__ASSUME_STAT64_SYSCALL): Likewise.
46141         (__ASSUME_IPC64): Likewise.
46142         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
46143         <kernel-features.h>.
46144         [__ASSUME_32BITUIDS]: Make code unconditional.
46145         [!__ASSUME_32BITUIDS]: Remove conditional code.
46146         * sysdeps/unix/sysv/linux/opendir.c: Do not include
46147         <kernel-features.h>.
46148         [__ASSUME_O_DIRECTORY]: Make code unconditional.
46149         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
46150         132096]: Remove conditional code.
46151         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
46152         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
46153         <kernel-features.h>.
46154         [__ASSUME_32BITUIDS]: Make code unconditional.
46155         [!__ASSUME_32BITUIDS]: Remove conditional code.
46156         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
46157         <kernel-features.h>.
46158         [__ASSUME_32BITUIDS]: Make code unconditional.
46159         [!__ASSUME_32BITUIDS]: Remove conditional code.
46160         * sysdeps/unix/sysv/linux/setegid.c: Do not include
46161         <kernel-features.h>.
46162         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
46163         unconditional.
46164         (__setresgid): Do not declare.
46165         [__ASSUME_32BITUIDS]: Make code unconditional.
46166         [!__ASSUME_32BITUIDS]: Remove conditional code.
46167         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
46168         <kernel-features.h>.
46169         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
46170         unconditional.
46171         (__setresuid): Do not declare.
46172         [__ASSUME_32BITUIDS]: Make code unconditional.
46173         [!__ASSUME_32BITUIDS]: Remove conditional code.
46174         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
46175         <kernel-features.h>.
46176         [__ASSUME_32BITUIDS]: Make code unconditional.
46177         [!__ASSUME_32BITUIDS]: Remove conditional code.
46178         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
46179         <kernel-features.h>.
46180         [__ASSUME_32BITUIDS]: Make code unconditional.
46181         [!__ASSUME_32BITUIDS]: Remove conditional code.
46183 2012-05-25  Richard Henderson  <rth@twiddle.net>
46185         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
46186         dl_hwcap to ifunc resolver.
46187         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
46188         elf_ifunc_invoke.
46189         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
46190         dl_hwcap to ifunc resolver.
46191         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
46193 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
46195         [BZ #14153]
46196         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
46197         for |x| <= 2**-26, not 2**-57.
46198         * math/libm-test.inc (acos_test): Do not allow spurious underflow
46199         exception.
46201 2012-05-24  Jeff Law  <law@redhat.com>
46203         * stdio-common/Makefile (tests): Add bug25.
46204         * stdio-common/bug25.c: New test.
46206 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
46208         [BZ #13576]
46209         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
46210         multiple of MALLOC_ALIGNMENT in size.
46211         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
46213 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
46215         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
46216         Require >= 256.
46217         (FILENAME_MAX): Use macro-int-constant.
46218         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
46219         (_IOFBF): Use macro-int-constant.
46220         (_IOLBF): Likewise.
46221         (_IONBF): Likewise.
46222         (SEEK_CUR): Likewise.
46223         (SEEK_END): Likewise.
46224         (SEEK_SET): Likewise.
46225         (TMP_MAX): Likewise.
46226         (EOF): Use macro-int-constant.  Require < 0.
46227         (NULL): Use macro-constant.  Require == 0.
46228         (stdin): Require type to be FILE *.
46229         (stdout): Likewise.
46230         (stderr): Likewise.
46231         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
46232         macro-int-constant.
46233         (EXIT_SUCCESS): Likewise.
46234         (NULL): Use macro-constant.  Require == 0.
46235         (RAND_MAX): Use macro-int-constant.
46236         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
46237         [C99-based standards] (strtof): Require function.
46238         [C99-based standards] (strtold): Likewise.
46239         [C99-based standards] (strtoll): Likewise.
46240         [C99-based standards] (strtoull): Likewise.
46241         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
46242         [ISO || ISO99 || ISO11] (limits.h): Likewise.
46243         [ISO || ISO99 || ISO11] (math.h): Likewise.
46244         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
46245         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
46246         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46248 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
46250         [BZ #14132]
46251         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
46252         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
46253         * intl/dgettext.c (DCGETTEXT): Likewise.
46254         * intl/gettext.c (DCGETTEXT): Likewise.
46255         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
46256         * posix/regex_internal.h (gettext): Likewise.
46257         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
46258         Remove declaration.
46259         * include/argz.h (__argz_count_internal)
46260         (__argz_stringify_internal): Remove declaration.
46261         (__argz_count, __argz_stringify): Declare hidden proto.
46262         * intl/dcgettext.c: Remove use of INTDEF.
46263         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
46264         * string/argz-stringify.c: Likewise.
46265         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
46266         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
46267         Declare hidden proto.
46268         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
46269         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
46270         Declare hidden proto.
46271         * include/stdio.h (__asprintf_internal): Don't declare.
46272         (__asprintf): Don't define as macro.  Declare hidden proto.
46273         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
46274         (__fsetlocking): Declare hidden proto.
46275         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
46276         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
46277         hidden proto.
46278         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
46279         (_IO_setlinebuf): Remove use of INTUSE.
46280         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
46281         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
46282         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
46283         Remove declaration.
46284         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
46285         (_IO_do_flush): Remove use of INTUSE.
46286         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
46287         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
46288         (_IO_adjust_column, _IO_least_wmarker)
46289         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
46290         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
46291         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
46292         (_IO_default_doallocate, _IO_wdefault_doallocate)
46293         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
46294         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
46295         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
46296         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
46297         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
46298         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
46299         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
46300         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
46301         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
46302         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
46303         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
46304         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
46305         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
46306         proto.
46307         (_IO_flush_all_internal, _IO_adjust_column_internal)
46308         (_IO_default_uflow_internal, _IO_default_finish_internal)
46309         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
46310         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
46311         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
46312         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
46313         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
46314         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
46315         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
46316         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
46317         (_IO_file_close_internal, _IO_file_close_it_internal)
46318         (_IO_file_underflow_internal, _IO_file_overflow_internal)
46319         (_IO_file_init_internal, _IO_file_attach_internal)
46320         (_IO_file_fopen_internal, _IO_file_read_internal)
46321         (_IO_file_sync_internal, _IO_file_seek_internal)
46322         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
46323         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
46324         (_IO_str_underflow_internal, _IO_str_overflow_internal)
46325         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
46326         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
46327         (_IO_list_all_internal, _IO_link_in_internal)
46328         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
46329         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
46330         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
46331         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
46332         (_IO_do_write_internal, _IO_padn_internal)
46333         (_IO_getline_info_internal, _IO_getline_internal)
46334         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
46335         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
46336         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
46337         (_IO_vfscanf_internal, _IO_vfprintf_internal)
46338         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
46339         (_IO_init_internal, _IO_un_link_internal): Don't declare.
46340         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
46341         with libc_hidden_ver, remove use of INTUSE.
46342         * libio/genops.c: Likewise.
46343         * libio/freopen.c: Likewise.
46344         * libio/freopen64.c: Likewise.
46345         * libio/iofclose.c: Likewise.
46346         * libio/iofdopen.c: Likewise.
46347         * libio/iofflush.c: Likewise.
46348         * libio/iofflush_u.c: Likewise.
46349         * libio/iofgets.c: Likewise.
46350         * libio/iofgets_u.c: Likewise.
46351         * libio/iofopen.c: Likewise.
46352         * libio/iofopncook.c: Likewise.
46353         * libio/iofread.c: Likewise.
46354         * libio/iofread_u.c: Likewise.
46355         * libio/ioftell.c: Likewise.
46356         * libio/iofwrite.c: Likewise.
46357         * libio/iogetline.c: Likewise.
46358         * libio/iogets.c: Likewise.
46359         * libio/iogetwline.c: Likewise.
46360         * libio/iopadn.c: Likewise.
46361         * libio/iopopen.c: Likewise.
46362         * libio/ioseekoff.c: Likewise.
46363         * libio/ioseekpos.c: Likewise.
46364         * libio/iosetbuffer.c: Likewise.
46365         * libio/iosetvbuf.c: Likewise.
46366         * libio/ioungetc.c: Likewise.
46367         * libio/ioungetwc.c: Likewise.
46368         * libio/iovdprintf.c: Likewise.
46369         * libio/iovsprintf.c: Likewise.
46370         * libio/iovsscanf.c: Likewise.
46371         * libio/memstream.c: Likewise.
46372         * libio/obprintf.c: Likewise.
46373         * libio/oldfileops.c: Likewise.
46374         * libio/oldiofclose.c: Likewise.
46375         * libio/oldiofdopen.c: Likewise.
46376         * libio/oldiofopen.c: Likewise.
46377         * libio/oldiopopen.c: Likewise.
46378         * libio/oldstdfiles.c: Likewise.
46379         * libio/putc.c: Likewise.
46380         * libio/setbuf.c: Likewise.
46381         * libio/setlinebuf.c: Likewise.
46382         * libio/stdfiles.c: Likewise.
46383         * libio/strops.c: Likewise.
46384         * libio/vasprintf.c: Likewise.
46385         * libio/vscanf.c: Likewise.
46386         * libio/vsnprintf.c: Likewise.
46387         * libio/vswprintf.c: Likewise.
46388         * libio/wfiledoalloc.c: Likewise.
46389         * libio/wfileops.c: Likewise.
46390         * libio/wgenops.c: Likewise.
46391         * libio/wmemstream.c: Likewise.
46392         * libio/wstrops.c: Likewise.
46393         * libio/__fpurge.c: Likewise.
46394         * libio/__fsetlocking.c: Likewise.
46395         * assert/assert.c: Likewise.
46396         * debug/fgets_chk.c: Likewise.
46397         * debug/fgets_u_chk.c: Likewise.
46398         * debug/fread_chk.c: Likewise.
46399         * debug/fread_u_chk.c: Likewise.
46400         * debug/gets_chk.c: Likewise.
46401         * debug/obprintf_chk.c: Likewise.
46402         * debug/vasprintf_chk.c: Likewise.
46403         * debug/vdprintf_chk.c: Likewise.
46404         * debug/vsnprintf_chk.c: Likewise.
46405         * debug/vsprintf_chk.c: Likewise.
46406         * malloc/mtrace.c: Likewise.
46407         * misc/error.c: Likewise.
46408         * misc/syslog.c: Likewise.
46409         * stdio-common/asprintf.c: Likewise.
46410         * stdio-common/fxprintf.c: Likewise.
46411         * stdio-common/getw.c: Likewise.
46412         * stdio-common/isoc99_fscanf.c: Likewise.
46413         * stdio-common/isoc99_scanf.c: Likewise.
46414         * stdio-common/isoc99_vfscanf.c: Likewise.
46415         * stdio-common/isoc99_vscanf.c: Likewise.
46416         * stdio-common/isoc99_vsscanf.c: Likewise.
46417         * stdio-common/printf-prs.c: Likewise.
46418         * stdio-common/printf_fp.c: Likewise.
46419         * stdio-common/printf_fphex.c: Likewise.
46420         * stdio-common/printf_size.c: Likewise.
46421         * stdio-common/putw.c: Likewise.
46422         * stdio-common/scanf.c: Likewise.
46423         * stdio-common/sprintf.c: Likewise.
46424         * stdio-common/tmpfile.c: Likewise.
46425         * stdio-common/vfprintf.c: Likewise.
46426         * stdio-common/vfscanf.c: Likewise.
46427         * stdlib/strfmon_l.c: Likewise.
46428         * sunrpc/openchild.c: Likewise.
46429         * sunrpc/xdr_stdio.c: Likewise.
46430         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
46431         * sysdeps/mach/hurd/tmpfile.c: Likewise.
46433 2012-05-24  Roland McGrath  <roland@hack.frob.com>
46435         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
46437         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
46438         in the third column, to generate for the shared library an IFUNC
46439         that uses _dl_vdso_vsym.
46440         * Makerules (COMPILE.c, compile-stdin.c): New variables.
46441         * Makeconfig (object-suffixes-noshared): New variable.
46443         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
46444         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
46445         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
46446         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
46448         [BZ #14132]
46449         * include/sys/time.h (__gettimeofday): Remove macro.
46450         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
46451         * time/gettimeofday.c (__gettimeofday): Remove #undef.
46452         Remove INTDEF.
46453         (__gettimeofday): Add libc_hidden_def.
46454         (gettimeofday): Add libc_hidden_weak.
46455         * sysdeps/mach/gettimeofday.c: Likewise.
46456         * sysdeps/posix/gettimeofday.c: Likewise.
46457         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
46458         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
46459         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
46460         (__gettimeofday_internal): Remove strong_alias.
46461         (__gettimeofday): Add libc_hidden_def.
46462         (gettimeofday): Add libc_hidden_weak.
46463         * sysdeps/unix/syscalls.list (gettimeofday):
46464         Remove __gettimeofday_internal alias.
46466 2012-05-24  Daniel Jacobowitz  <drow@false.org>
46467             H.J. Lu  <hongjiu.lu@intel.com>
46469         [BZ #12495]
46470         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
46471         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
46472         (largebin_index_32_big): New.
46473         (largebin_index): Use it for 16-byte alignment.
46474         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
46475         correction with front_misalign.
46477 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
46479         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
46480         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
46481         Likewise.
46482         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
46483         Likewise.
46484         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
46485         Likewise.
46486         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
46487         Likewise.
46488         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
46489         Likewise.
46490         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
46491         Likewise.
46492         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
46493         Likewise.
46494         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
46495         Likewise.
46496         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
46497         Likewise.
46498         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
46499         Likewise.
46500         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
46501         Likewise.
46502         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
46503         Likewise.
46505         * scripts/data/c++-types-x32-linux-gnu.data: New file.
46506         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
46508 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
46510         [BZ #10846]
46511         [BZ #14036]
46512         * math/libm-test.inc (exp_test): Add test from bug 14036.
46513         (pow_test): Add test from bug 10846.
46515         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
46516         and other flags.
46517         (special_function): Do not include flags in test name.
46518         (parse_args): Likewise.
46519         * sysdeps/i386/fpu/libm-test-ulps: Update.
46520         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46521         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
46522         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
46523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46525         * math/gen-libm-test.pl (%beautify): Add entries for underflow
46526         exceptions.
46527         * math/libm-test.inc ("Philosophy"): Update comment about
46528         exception testing.
46529         (UNDERFLOW_EXCEPTION): New macro.
46530         (UNDERFLOW_EXCEPTION_OK): Likewise.
46531         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
46532         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
46533         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
46534         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
46535         (INVALID_EXCEPTION_OK): Update value.
46536         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46537         (OVERFLOW_EXCEPTION_OK): Likewise.
46538         (IGNORE_ZERO_INF_SIGN): Likewise.
46539         (test_exceptions): Handle underflow exceptions.
46540         (acos_test): Update for underflow exception expectations.
46541         (cexp_test): Likewise.
46542         (clog_test): Likewise.
46543         (clog10_test): Likewise.
46544         (csqrt_test): Likewise.
46545         (ctan_test): Likewise.
46546         (ctanh_test): Likewise.
46547         (exp_test): Likewise.
46548         (exp10_test): Likewise.
46549         (exp2_test): Likewise.
46550         (expm1_test): Likewise.
46551         (fma_test): Likewise.
46552         (j0_test): Likewise.
46553         (jn_test): Likewise.
46554         (nexttoward_test): Likewise.
46555         (pow_test): Likewise.
46556         (scalbn_test): Likewise.
46557         (scalbln_test): Likewise.
46558         (tan_test): Likewise.
46559         (y1_test): Likewise.
46560         * sysdeps/i386/fpu/libm-test-ulps: Update.
46561         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46563 2012-05-23  David S. Miller  <davem@davemloft.net>
46565         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
46566         (__libc_sigaction): Remove unused local variables.
46568 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
46570         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
46572 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
46574         mktime: avoid signed integer overflow
46575         * time/mktime.c (__mktime_internal): Do not mishandle the case
46576         where diff == INT_MIN.
46578         mktime: simplify computation of average
46579         * time/mktime.c (ranged_convert): Use new time_t_avg function
46580         instead of rolling our own (probably-slower) code.
46582         mktime: do not assume signed right shift propagates sign bit
46583         * time/mktime.c (isdst_differ): New static function.
46584         (__mktime_internal): No need to normalize tm_isdst now.
46585         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
46586         tm_isdst values.
46588         mktime: merge another wrapv change from gnulib
46589         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
46590         from some compilers.
46592         mktime: remove incorrect attempt at unusual arithmetics
46593         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
46594         The code didn't really work on such machines anyway.
46595         (TYPE_MINIMUM): Assume two's complement.
46596         (twos_complement_arithmetic): Verify that long_int and time_t
46597         are two's complement (or unsigned, in the latter case).
46599         mktime: check signed shifts on long_int and time_t, too
46600         * time/mktime.c (SHR): Check that shifts work as desired
46601         on the types long_int and time_t too, as SHR is used on
46602         such types.
46604         mktime: do not assume 'long' is wide enough
46605         * time/mktime.c (verify): Move decl up.
46606         (long_int): New type.
46607         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
46608         to remove assumption in the code that 'long' is wide enough to
46609         store year values.  This assumption is not true on x32 and on
46610         some non-glibc platforms.
46612         mktime: merge wrapv change from gnulib
46613         * time/mktime.c (WRAPV): New macro.
46614         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
46615         (guess_time_tm, __mktime_internal): Do not assume that signed
46616         integer overflow wraps around; modern compilers generate code
46617         where this assumption is no longer valid.
46619 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
46621         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
46622         Replace "jmp L(pseudo_end)" with "ret".
46623         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
46624         Likewise.
46626 2012-05-23  Andreas Jaeger  <aj@suse.de>
46628         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
46629         * sysdeps/unix/sysv/linux/poll.c: Remove file.
46631 2012-05-23  Andreas Jaeger  <aj@suse.de>
46632             Maximilian Attems  <max@stro.at>
46634         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
46635         New macros.
46637 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
46639         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
46640         code so that pseudo_end is just ret and the stack pointer is
46641         correct also for static library in error case.
46643 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
46645         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
46646         move to syscalls.list.
46647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
46648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
46649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
46650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
46652         * manual/install.texi (Running make install): Do not mention Linux
46653         kernel version for which pt_chown is not needed.
46654         (Linux): Do not mention problems with nscd with 2.0 kernels.
46655         * INSTALL: Regenerated.
46657 2012-05-23  Andreas Jaeger  <aj@suse.de>
46659         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
46660         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
46661         macro.
46662         * sysdeps/unix/sysv/linux/s390/bits/mman.h
46663         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46664         * sysdeps/unix/sysv/linux/sh/bits/mman.h
46665         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46666         * sysdeps/unix/sysv/linux/i386/bits/mman.h
46667         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46668         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
46669         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46670         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
46671         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46672         * sysdeps/unix/sysv/linux/bits/in.h
46673         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
46675 2012-05-22  Roland McGrath  <roland@hack.frob.com>
46677         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
46678         (PREPARE_VERSION): Just use assert instead, it will be elided
46679         under [NDEBUG] anyway.
46681 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
46683         * sysdeps/unix/sysv/linux/Makefile: Include
46684         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
46685         (sysdep_routines): Remove sysctl.
46686         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
46687         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
46688         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
46689         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
46690         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
46692 2012-05-22  Andreas Jaeger  <aj@suse.de>
46694         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
46695         that pseudo_end is just ret and the stack pointer is correct also
46696         for static library in error case.
46698 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
46700         [BZ #14122]
46701         * nss/nsswitch.c (defconfig_entries): New variable.
46702         (__nss_database_lookup): Don't leak defconfig entries.
46703         (nss_parse_service_list): Don't leak on error paths.
46704         (free_database_entries): New function.
46705         (free_defconfig): New function.
46706         (free_mem): Move common code to free_database_entries.
46708 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
46710         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
46711         Add arch_prctl.
46712         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
46714         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
46715         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
46716         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
46717         New macro.
46718         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
46719         (INTERNAL_SYSCALL_TYPES): Likewise.
46720         (LOAD_ARGS_TYPES_[1-6]): Likewise.
46721         (LOAD_REGS_TYPES_[1-6]): Likewise.
46722         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
46723         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
46725 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46727         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
46728         copysignl for GLIBC_2_0.
46729         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
46730         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
46731         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
46732         logbl for GLIBC_2_0.
46733         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
46734         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
46736 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
46738         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
46739         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
46741         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
46742         Use "neg %eax".
46744         * time/mktime.c: Update copyright years.
46746 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
46748         mktime: merge comment-quoting-style change from gnulib
46749         * time/mktime.c: Quote 'like this' in comments.
46750         The GNU coding standards suggest that we no longer quote `like this',
46751         as "`" and "'" are typically rendered asymmetrically nowadays.
46752         The typical gnulib style is to quote 'like this' when quoting
46753         code, and "like this" when quoting English.
46755         * time/mktime.c (compile-command): Add "-I.".
46757         mktime: merge mktime-internal.h change from gnulib
46758         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
46760         mktime: merge time_r change from gnulib
46761         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
46763         mktime: merge DEBUG change from gnulib
46764         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
46765         case system <time.h> has a #define.
46767         mktime: merge <sys/types.h> change from gnulib
46768         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
46769         since <time.t> is now guaranteed to define time_t.
46771         mktime: merge HAVE_CONFIG_H change from gnulib
46772         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
46774 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
46776         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
46777         Use "neg %eax".
46779         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
46780         __rlim_t cast.
46781         (struct rusage): Use anonymous union to pad each field to
46782         __syscall_slong_t.
46784 2012-05-21  David S. Miller  <davem@davemloft.net>
46786         * Makefules (o-iterator): Remove .s cases.
46787         (compile-command.s): Delete.
46788         (COMPILE.s): Delete.
46789         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
46791 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
46793         * configure.in (libc_cv_predef_stack_protector): Only consider
46794         "foobar" and "__stack_chk_fail" lines in libc_undefs.
46795         * configure: Regenerated.
46797 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
46799         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
46800         New macro.  Use R*LP on int and pointer.
46801         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
46802         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
46803         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
46804         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
46806         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
46807         [__WORDSIZE_TIME64_COMPAT32] instead of
46808         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
46809         (struct utmp): Likewise.
46810         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
46811         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
46812         Renamed to ...
46813         (__WORDSIZE_TIME64_COMPAT32): This.
46814         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
46815         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
46816         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
46817         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
46818         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
46819         (__WORDSIZE_TIME64_COMPAT32): New macro.
46821 2012-05-21  Andreas Jaeger  <aj@suse.de>
46823         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
46824         only if [SHARED]. Add prototype for __wcschr_ia32.
46826 2012-05-21  Roland McGrath  <roland@hack.frob.com>
46828         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
46829         of %rbp unmolested in the jmp_buf while mangling the low bits.
46830         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
46831         unmolested high bits of %rbp while demangling the low bits.
46832         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
46834 2012-05-21  Andreas Jaeger  <aj@suse.de>
46836         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
46837         * sunrpc/svc_simple.c: Use it for registerrpc.
46838         * sunrpc/xcrypt.c: Use it for passwd2des.
46840         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
46842 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
46844         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
46845         Don't define if [__SYSCALL_WORDSIZE != 32].
46846         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
46847         New macro.
46849 2012-05-21  Bruno Haible  <bruno@clisp.org>
46850             Andreas Jaeger  <aj@suse.de>
46852         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
46853         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
46854         inptr and inend for must_buffer_ch.
46855         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
46856         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
46857         * stdio-common/Makefile (tests): Remove bug15.
46858         (bug15-ENV): Remove macro.
46859         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
46860         anymore.
46862 2012-05-19  Andreas Jaeger  <aj@suse.de>
46863             Roland McGrath  <roland@hack.frob.com>
46865         * manual/contrib.texi: Completely rewritten. It contains now an
46866         alphabetical list of contributors and their contributions.
46868 2012-05-21  Richard Henderson  <rth@twiddle.net>
46870         * misc/getauxval.c (__getauxval): Use unsigned long int.
46871         * misc/sys/auxv.h: Include <sys/cdefs.h>.
46872         (getauxval): Use unsigned long int.
46874 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
46876         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
46878 2012-05-21  Roland McGrath  <roland@hack.frob.com>
46880         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
46881         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
46882         __alignof__ (long double).
46884 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46886         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46888 2012-05-20  Richard Henderson  <rth@twiddle.net>
46890         * misc/getauxval.c: New file.
46891         * misc/sys/auxv.h: New file.
46892         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
46893         (routines): Add getauxval.
46894         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
46895         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
46896         * elf/dl-sysdep.c (_dl_auxv): Remove.
46897         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
46898         * elf/dl-support.c (_dl_auxv): New variable.
46899         (_dl_aux_init): Initialize it.
46900         * manual/startup.texi (Auxiliary Vector): New node.
46901         * sysdeps/generic/bits/hwcap.h: New file.
46902         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
46903         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
46904         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
46905         * sysdeps/sparc/sysdep.h: ... here.  Include it.
46906         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
46907         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
46908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46909         Update.
46910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
46911         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
46912         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
46913         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
46914         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
46915         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
46916         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
46917         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
46919 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46921         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46923 2012-05-19  David S. Miller  <davem@davemloft.net>
46925         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46927 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
46929         [BZ #14123]
46930         * math/s_ccosh.c: Include <float.h>
46931         (__ccosh): Avoid internal overflow calculating sinh and cosh
46932         values before multiplying by sin and cos values.
46933         * math/s_ccoshf.c: Likewise.
46934         * math/s_ccoshl.c: Likewise.
46935         * math/s_csin.c: Likewise.
46936         * math/s_csinf.c: Likewise.
46937         * math/s_csinl.c: Likewise.
46938         * math/s_csinh.c: Likewise.
46939         * math/s_csinhf.c: Likewise.
46940         * math/s_csinhl.c: Likewise.
46941         * math/libm-test.inc (ccos_test): Add more tests.
46942         (ccosh_test): Likewise.
46943         (csin_test): Likewise.
46944         (csinh_test): Likewise.
46945         * sysdeps/i386/fpu/libm-test-ulps: Update.
46946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46948 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
46950         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
46951         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
46953         * sysdeps/x86_64/x32/_itoa.h: Add comment.
46955 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
46957         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
46958         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
46959         * sysdeps/powerpc/soft-fp/Versions: Likewise.
46960         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
46961         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
46962         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
46963         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
46964         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
46965         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
46966         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
46967         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
46968         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
46969         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
46970         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
46971         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
46972         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
46973         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
46974         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
46975         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
46976         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
46977         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
46978         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
46979         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
46980         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
46981         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
46982         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
46983         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
46984         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
46985         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
46986         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
46987         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
46989 2012-05-18  Andreas Jaeger  <aj@suse.de>
46991         * csu/.gitignore: Delete.
46993 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
46995         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
46996         (timex): Use __syscall_slong_t.
46998 2012-05-18  Andreas Jaeger  <aj@suse.de>
46999             Carlos O'Donell  <carlos_odonell@mentor.com>
47001         * manual/install.texi (Configuring and compiling): Update
47002         description about files modified in the source directory.
47003         * INSTALL: Regenerated.
47005 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
47007         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
47008         value.  Use "or" to set return value to -1.
47009         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
47010         negate return value.
47012 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47014         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
47015         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
47016         failure if the compiler has Graphite support disabled.
47017         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
47018         Likewise.
47019         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
47020         (CFLAGS-memmove.c): Likewise.
47021         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
47022         Likewise.
47024 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
47026         * sysdeps/x86_64/x32/_itoa.h: New file.
47028         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
47029         getdents system call only if kernel and user dirents have the
47030         same d_ino and d_off.
47032         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47033         LLONG_MAX != LONG_MAX.
47034         (_itoa_word): Use _ITOA_WORD_TYPE on value.
47035         (_fitoa_word): Likewise.
47037         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
47038         years.
47039         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
47040         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
47041         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
47043         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
47044         include <bits/wordsize.h>.  Check __x86_64__ instead of
47045         __WORDSIZE.
47046         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
47047         if __x86_64__ is defined.  Use anonymous union on fpstate.
47049         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
47050         anonymous union.
47052 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
47054         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
47055         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
47056         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
47057         Refer to _rtld_local_ro instead of _rtld_global_ro.
47058         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
47059         Likewise.
47060         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
47061         Likewise.
47062         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
47063         Likewise.
47064         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
47065         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
47066         of _rtld_global, and rtld_progname instead of _dl_argv[0].
47068         * sysdeps/powerpc/powerpc32/dl-machine.c
47069         (__elf_machine_runtime_setup) [PROF]: Don't reference
47070         _dl_prof_resolve.
47072 2012-05-18  Andreas Jaeger  <aj@suse.de>
47074         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
47075         function only available for GCCs before 3.4 since GCC 3.4
47076         introduced a builtin.
47077         (lrint): Likewise.
47078         (llrintf): Likewise.
47079         (llrint): Likewise.
47080         (fmaxf): Likewise.
47081         (fmax): Likewise.
47082         (fminf): Likewise.
47083         (fmin): Likewise.
47084         (rint): Likewise.
47085         (rintf): Likewise.
47086         (nearbyint): Likewise.
47087         (nearbyintf): Likewise.
47088         (ceil): Likewise.
47089         (ceilf): Likewise.
47090         (floor): Likewise.
47091         (floorf): Likewise.
47093 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47095         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
47096         on both fields and cast pointer to __syscall_ulong_t.
47098         * bits/types.h (__fsword_t): New type.
47099         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
47100         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
47101         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47102         (__FSWORD_T_TYPE): Likewise.
47103         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47104         (__FSWORD_T_TYPE): Likewise.
47105         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47106         (__FSWORD_T_TYPE): Likewise.
47107         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
47108         (__FSWORD_T_TYPE): Likewise.
47109         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
47110         __SWORD_TYPE with __fsword_t.
47111         (statfs64): Likewise.
47113 2012-05-17  David S. Miller  <davem@davemloft.net>
47115         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
47117 2012-05-17  Andreas Jaeger  <aj@suse.de>
47119         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
47120         warning.
47122 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47124         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
47126 2012-05-17  Andreas Jaeger  <aj@suse.de>
47128         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
47129         when it is used.
47131 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
47133         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
47135 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47137         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
47138         * sysdeps/x86_64/tst-mallocalign1.c: New file.
47140 2012-05-17  Andreas Jaeger  <aj@suse.de>
47141             Carlos O'Donell  <carlos_odonell@mentor.com>
47143         [BZ #14059]
47144         * sysdeps/x86_64/multiarch/init-arch.h
47145         (bit_YMM_Usable): Rename to...
47146         (bit_AVX_Usable): ... this.
47147         (bit_FMA4_Usable): New macro.
47148         (bit_XMM_state): New macro.
47149         (bit_YMM_state): New macro.
47150         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
47151         [__ASSEMBLER__] (index_AVX_Usable): ... this.
47152         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
47153         (CPUID_OSXSAVE): New macro.
47154         (CPUID_AVX): New macro.
47155         (CPUID_FMA4): New macro.
47156         (index_YMM_Usable): Rename to...
47157         (index_AVX_Usable): ... this.
47158         (HAS_AVX): Use HAS_ARCH_FEATURE.
47159         (HAS_FMA4): Likewise.
47160         (HAS_YMM_USABLE): Remove.
47161         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47162         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
47163         are present.
47164         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
47165         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
47166         * sysdeps/x86_64/multiarch/Makefile: Likewise.
47167         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
47168         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
47170 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
47172         * math/libm-test.c: Support platforms without multiple rounding modes.
47173         * math/bug-nextafter.c: Support platforms without FP exceptions.
47174         * math/bug-nexttoward.c: Likewise.
47175         * math/test-fenv.c: Likewise.
47176         * math/test-misc.c: Likewise.
47177         * stdlib/bug-getcontext.c: Likewise.
47179 2012-05-17  Andreas Jaeger  <aj@suse.de>
47181         * manual/examples/search.c (critter_cmp): Change signature to
47182         avoid warnings.
47183         * manual/string.texi (Collation Functions): Likewise.
47185 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47187         * bits/types.h: Fold copyright years.
47188         * bits/typesizes.h: Likewise.
47189         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
47190         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
47191         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
47192         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
47193         * time/time.h: Likewise.
47195 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
47197         [BZ #208]
47198         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
47199         in instead of returning them.  Return void.
47200         (__libc_mallinfo): Accumulate over all arenas.
47201         (__malloc_stats): Adjust for change in int_mallinfo interface.
47203 2012-05-16  Roland McGrath  <roland@hack.frob.com>
47205         [BZ #10375]
47206         * configure.in (NM): Add AC_CHECK_TOOL for it.
47207         (libc_extra_cflags): New substituted variable.
47208         Check for -fstack-protector being used implicitly.
47209         * configure: Regenerated.
47210         * config.make.in (config-extra-cflags): New variable,
47211         gets @libc_extra_cflags@.
47212         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
47214         [BZ #10375]
47215         * configure.in: Check for _FORTIFY_SOURCE being predefined.
47216         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
47217         * configure: Regenerated.
47218         * config.make.in (CPPUNDEFS): New substituted variable.
47219         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
47220         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
47221         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
47223 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47225         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
47226         (mq_attr): Use __syscall_slong_t.
47228 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47230         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
47231         Check __x86_64__ instead of __WORDSIZE.
47232         (_STAT_VER_LINUX): Likewise.
47233         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
47234         __syscall_ulong_t and __syscall_slong_t.
47235         (stat64): Likewise.
47237 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47239         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
47241 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47243         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
47245 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47247         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
47248         __syscall_ulong_t.
47250         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
47251         include <bits/wordsize.h>.  Check __x86_64__ instead of
47252         __WORDSIZE.
47253         (greg_t): Use "__extension__ long long int" if __x86_64__ is
47254         defined.
47255         (mcontext_t): Replace "unsigned long" with "unsigned long long".
47257         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
47258         include <bits/wordsize.h>.  Check __x86_64__ instead of
47259         __WORDSIZE.
47260         (user_regs_struct): Use "__extension__ unsigned long long"
47261         instead of "unsigned long" if __x86_64__ is defined.
47262         (user): Likewise.  Pad after pointer field if __ILP32__ is
47263         defined.
47265 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
47267         * configure.in (makeinfo): Require version 4.5 or later.  Allow
47268         versions 5 to 9.
47269         * configure: Regenerated.
47270         * manual/install.texi (texinfo): Increase version requirement to
47271         4.5 or later.
47272         * INSTALL: Regenerated.
47274         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
47276 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47278         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
47280         * sysdeps/x86_64/x32/ffs.c: New file.
47282         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
47283         __syscall_ulong_t.
47284         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
47285         defined.  Use __syscall_ulong_t.
47286         (shminfo): Use __syscall_ulong_t.
47287         (shm_info): Likewise.
47289         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
47290         __syscall_ulong_t.
47292         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
47293         <bits/wordsize.h>.
47294         (msgqnum_t): Use __syscall_ulong_t.
47295         (msglen_t): Likewise.
47296         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
47297         __syscall_ulong_t.
47299         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
47300         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
47302         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
47304         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
47305         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
47307         * sysvipc/sys/msg.h (msgbuf): Replace long int with
47308         __syscall_slong_t.
47310         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
47311         include <bits/wordsize.h>.  Check __x86_64__ instead of
47312         __WORDSIZE.
47314         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
47315         "unsigned long long int" if __x86_64__ is defined.
47316         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
47318         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
47319         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
47320         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
47322         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
47323         <stdint.h>.
47324         (GET_PC): Cast to uintptr_t first.
47325         (GET_FRAME): Likewise.
47326         (GET_STACK): Likewise.
47328         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
47329         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
47330         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
47331         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
47332         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
47333         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
47334         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
47335         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
47336         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
47337         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
47338         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
47339         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
47340         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
47341         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
47342         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
47343         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
47344         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
47345         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
47346         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
47347         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
47348         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
47349         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
47350         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
47351         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
47352         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
47353         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
47354         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
47355         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
47356         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
47358 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
47360         * Makerules (+depfiles): Also collect depfiles from .oS in
47361         $(extra-objs).
47362         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
47363         .oS, $(libnldbl-routines)).
47365         * Makerules (native-compile-mkdep-flags): Define.
47366         * sunrpc/Makefile (extra-objs): Add $(addprefix
47367         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
47368         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
47369         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
47370         calling $(make-target-directory).
47372 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47374         * bits/types.h (__snseconds_t): Removed.
47375         * time/time.h (struct timespec): Replace __snseconds_t with
47376         __syscall_slong_t.
47377         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
47378         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
47379         Likewise.
47380         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47381         (__SNSECONDS_T_TYPE): Likewise.
47382         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47383         (__SNSECONDS_T_TYPE): Likewise.
47384         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47385         (__SNSECONDS_T_TYPE): Likewise.
47387 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47389         * sysdeps/mach/hurd/bits/typesizes.h
47390         (__SYSCALL_SLONG_TYPE): New macro.
47391         (__SYSCALL_ULONG_TYPE): Likewise.
47393 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47395         * bits/types.h (__syscall_slong_t): New type.
47396         (__syscall_ulong_t): Likewise.
47398         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
47399         (__SYSCALL_ULONG_TYPE): Likewise.
47400         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47401         (__SYSCALL_SLONG_TYPE): Likewise.
47402         (__SYSCALL_ULONG_TYPE): Likewise.
47403         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47404         (__SYSCALL_SLONG_TYPE): Likewise.
47405         (__SYSCALL_ULONG_TYPE): Likewise.
47406         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47407         (__SYSCALL_SLONG_TYPE): Likewise.
47408         (__SYSCALL_ULONG_TYPE): Likewise.
47410 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47412         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
47413         Add sigaltstack-offsets.sym.
47414         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
47415         <sigaltstack-offsets.h>.
47416         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
47417         longjmp_msg pointer.
47418         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
47419         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
47420         signal stack.
47421         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
47423 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
47425         * elf/stackguard-macros.h: Remove file.
47426         * sysdeps/generic/stackguard-macros.h: New file.
47427         * sysdeps/i386/stackguard-macros.h: Likewise.
47428         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
47429         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
47430         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
47431         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
47432         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
47433         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
47434         * sysdeps/x86_64/stackguard-macros.h: Likewise.
47435         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
47436         <elf/stackguard-macros.h>.
47438         [BZ #14109]
47439         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
47440         __aligned__ in attribute.
47441         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
47442         (gregset_t): Likewise.
47444 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47446         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
47447         * sysdeps/x86_64/64/Implies-after: Here.  New file.
47448         * sysdeps/x86_64/x32/Implies-after: New file.
47450 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47452         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
47453         and access return value for _dl_profile_fixup.  Use R10_LP to
47454         load frame size.
47456 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47458         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
47460 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47462         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
47463         * sysdeps/x86_64/x32/sysdep.h: New file.
47465 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47467         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
47468         * sysdeps/x86_64/setjmp.S: Likewise.
47470 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47472         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
47473         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
47474         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
47475         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
47476         remove unused global constant.
47478 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
47480         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
47481         include of <not-cancel.h>.
47483 2012-05-15  Roland McGrath  <roland@hack.frob.com>
47485         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
47487 2012-05-15  Jeff Law  <law@redhat.com>
47488             Andreas Jaeger  <aj@suse.de>
47490         [BZ #13594]
47491         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
47492         out from...
47493         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
47494         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
47495         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
47496         code changing __hst_map_handle.map.
47498 2012-05-15  Roland McGrath  <roland@hack.frob.com>
47500         * configure.in (sysnames): Look for Implies-before and Implies-after
47501         files.
47502         * configure: Regenerated.
47504 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47506         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
47507         8-byte data alignment with LP_SIZE alignment.
47509 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47511         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
47512         into R10_LP.
47514 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47516         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
47518 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47520         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
47521         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
47522         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
47523         Likewise.
47524         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
47526 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47528         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
47529         (stackinfo_sub_sp): Likewise.
47531 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47533         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
47534         RAX_LP.
47536 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47538         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
47539         into R*_LP.
47541 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47543         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
47544         sizes into R*_LP.
47546 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47548         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
47550 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47552         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
47553         into R11_LP and load __x86_64_shared_cache_size_half into
47554         R8_LP.
47556 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47558         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
47559         R8_LP.
47561 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47563         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
47564         logb for POWER7.
47565         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
47566         logbf for POWER7.
47567         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
47568         logbl for POWER7.
47569         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
47570         powerpc32/power7/fpu/s_logb.c via #include.
47571         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
47572         powerpc32/power7/fpu/s_logbf.c via #include.
47573         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
47574         powerpc32/power7/fpu/s_logbl.c via #include.
47576 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
47578         * README.libm: Remove file.
47580 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47582         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
47583         count for x32.  Use R*_LP and omit operand-size suffix.
47585 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47587         * shlib-versions: Move x86_64-.*-linux.* entries to ...
47588         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
47589         * sysdeps/x86_64/x32/shlib-versions: New file.
47591 2012-05-14  Roland McGrath  <roland@hack.frob.com>
47593         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
47594         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
47595         Use _dl_fatal_printf instead.
47597 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
47599         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
47600         set if not set by the user.  Do not allow for being unset.
47601         * sysdeps/unix/sysv/linux/configure: Regenerated.
47603 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47605         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
47606         the `q' suffix from lea and replace .quad with ASM_ADDR.
47608 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47610         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
47611         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
47612         instead of $17.
47613         (PTR_DEMANGLE): Likewise.
47615 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47617         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
47618         (LP_OP): Likewise.
47619         (ASM_ADDR): Likewise.
47620         (RAX_LP): Likewise.
47621         (RBP_LP): Likewise.
47622         (RBX_LP): Likewise.
47623         (RCX_LP): Likewise.
47624         (RDI_LP): Likewise.
47625         (RSI_LP): Likewise.
47626         (RSP_LP): Likewise.
47627         (R8_LP): Likewise.
47628         (R9_LP): Likewise.
47629         (R10_LP): Likewise.
47630         (R10_LP): Likewise.
47631         (R11_LP): Likewise.
47632         (R12_LP): Likewise.
47633         (R13_LP): Likewise.
47634         (R14_LP): Likewise.
47635         (R15_LP): Likewise.
47637 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47639         * sysdeps/x86_64/x32/dl-machine.h: New file.
47641 2012-05-14  Andreas Jaeger  <aj@suse.de>
47643         * manual/Makefile (subdir): Remove export of subdir.
47644         (all): Remove target.
47645         (.PHONY): Remove all from list.
47646         (mkinstalldirs): Remove.
47647         (.PHONY): Remove installdirs from list.
47648         ($(inst_infodir)/libc.info): Use make-target-directory.
47649         (installdirs): Remove.
47650         (subdir_%): Remove.
47651         (glibc-targets): Remove.
47652         (lib): Remove.
47653         (stubs): Remove.
47654         ($(objpfx)stubs ../po/manual.pot): Remove.
47655         ($(objpfx)stamp%): Remove.
47656         (make-target-directory): Remove.
47657         (subdir_install): Remove.
47658         (routines): Remove.
47659         (aux): Remove.
47660         (sources): Remove.
47661         (objects): Remove.
47662         (headers): Remove.
47664         [BZ #13750]
47665         * manual/.gitignore: Remove, it's not needed anymore.
47666         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
47667         all files in it.
47668         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
47669         directory.
47670         (texis): Renamed to $(objpfx)texis.
47671         (texis-path): New, contains path to generated files.
47672         (chapters.%): Use texis-path for complete path, add extra argument
47673         libc-texinfo.sh.
47674         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
47675         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
47676         (summary,texi, stamp-summary): Use complete path of
47677         files. Generate files in build dir.
47678         (dir-add.texi): Build in build dir.
47679         (libm-err.texi,stamp-libm-err): Likewise.
47680         (version.texi, stamp-version): Likewise.
47681         (.%c.texi): Likewise.
47682         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
47683         (mostlyclean): Remove target.
47684         (realclean): Remove target.
47685         (generated): Add new variable with contents from mostlyclean and
47686         realclean, remove entries duplicated in common-mostlyclean, add
47687         stamp-libm-err and stamp-version.
47688         (generated-dirs): Add libc directory.
47689         ($(inst_infodir)/libc.info): Install files from build dir.
47691         * manual/install.texi (Configuring and compiling): Adjust since
47692         the info files are not part of the tar ball anymore.
47694 2012-05-14  Andreas Jaeger  <aj@suse.de>
47696         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
47697         variable.
47699 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
47701         [BZ #13717]
47702         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
47703         to 2.2.0 where earlier.
47704         * sysdeps/unix/sysv/linux/configure: Regenerated.
47705         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
47706         Remove conditional code.
47707         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
47708         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
47709         Remove conditional code.
47710         [!__NR_lchown]: Likewise.
47711         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47712         [__NR_lchown]: Likewise.
47713         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
47714         comment referencing __ASSUME_LCHOWN_SYSCALL.
47715         * sysdeps/unix/sysv/linux/i386/sigaction.c
47716         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47717         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47718         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
47719         Remove conditional code.
47720         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
47721         (__protocol_available): Remove #if 0 code.
47722         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
47723         conditional code.
47724         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
47725         * sysdeps/unix/sysv/linux/kernel-features.h
47726         (__ASSUME_GETCWD_SYSCALL): Don't define.
47727         (__ASSUME_REALTIME_SIGNALS): Likewise.
47728         (__ASSUME_PREAD_SYSCALL): Likewise.
47729         (__ASSUME_PWRITE_SYSCALL): Likewise.
47730         (__ASSUME_POLL_SYSCALL): Likewise.
47731         (__ASSUME_LCHOWN_SYSCALL): Likewise.
47732         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
47733         non-SPARC.
47734         (__ASSUME_SIOCGIFNAME): Don't define.
47735         (__ASSUME_MSG_NOSIGNAL): Likewise.
47736         (__ASSUME_SENDFILE): Define unconditionally.
47737         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
47738         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
47739         conditional code.
47740         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
47741         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
47742         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
47743         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47744         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
47745         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
47746         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
47748         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47749         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
47751         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47752         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
47754         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47755         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
47757         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47758         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
47760         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47761         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
47763         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47764         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
47766         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47767         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
47769         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47770         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47771         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
47772         Remove conditional code.
47773         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47774         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
47775         Remove conditional code.
47776         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47777         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
47778         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
47779         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
47780         Remove conditional code.
47781         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47782         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
47783         Remove conditional code.
47784         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47785         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
47786         Remove conditional code.
47787         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47788         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
47789         Remove conditional code.
47790         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47791         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
47792         Remove conditional code.
47793         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47794         * sysdeps/unix/sysv/linux/sh/pwrite64.c
47795         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47796         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47797         * sysdeps/unix/sysv/linux/sigaction.c
47798         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47799         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47800         * sysdeps/unix/sysv/linux/sigpending.c
47801         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47802         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47803         * sysdeps/unix/sysv/linux/sigprocmask.c
47804         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47805         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47806         * sysdeps/unix/sysv/linux/sigsuspend.c
47807         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47808         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47809         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
47810         (__libc_missing_rt_sigs): Remove.
47811         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
47812         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
47813         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
47814         Remove conditional code.
47815         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
47816         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
47817         return 1.
47818         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
47819         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
47820         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
47821         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
47823 2012-05-14  Andreas Jaeger  <aj@suse.de>
47825         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
47826         it's not used in glibc.
47827         (__coshm1): Likewise.
47828         (__acosh1p): Likewise.
47829         (__sgn): Likewise.
47831         * manual/string.texi (Copying and Concatenation): Add missing
47832         variable in concat example.
47833         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
47835 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47837         [BZ #14103]
47838         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
47839         __builtin_clzl with __builtin_clzll.
47841 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47843         [BZ #14104]
47844         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
47845         libc_freeres_ptr.
47847 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47849         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
47850         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
47851         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
47852         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
47854 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
47856         * NEWS: Update ia64 info.
47858 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
47860         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
47861         used as bcopy.
47863 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
47865         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
47866         * sysdeps/unix/syscalls.list (dup3): Likewise.
47867         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
47868         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
47870 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
47872         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
47873         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
47875 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
47877         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
47878         thread pointer.
47879         (TLS_IE): Use mov/add instead of movq/addq to load thread
47880         pointer.
47881         (TLS_GD_PREFIX): New.
47882         (TLS_GD): Use it.
47884 2012-05-11  David S. Miller  <davem@davemloft.net>
47886         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
47887         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
47888         (_FPU_SETCW): Likewise.
47890 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
47892         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
47893         is 32-byte aligned.
47895 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
47897         [BZ #11837]
47898         * iconvdata/gb18030.c: Update tables.
47899         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
47900         characters specially.
47901         (BODY for TO_LOOP): Add encoding of missing ranges.
47903 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
47905         [BZ #13673]
47906         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
47907         * sysdeps/mach/hurd/dup3.c: Likewise.
47908         * sysdeps/mach/hurd/readlinkat.c: Likewise.
47909         * sysdeps/powerpc/memmove.c:: Likewise.
47911 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
47913         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
47914         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
47916 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
47918         * elf/elf.h (R_X86_64_RELATIVE64): New.
47919         (R_X86_64_NUM): Updated.
47920         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
47921         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
47922         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
47923         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
47924         tst-quad1pie tst-quad2pie
47925         (modules-names): Add tst-quadmod1 tst-quadmod2.
47926         ($(objpfx)tst-quad1): New dependency.
47927         ($(objpfx)tst-quad2): Likewise.
47928         ($(objpfx)tst-quad1pie): Likewise.
47929         ($(objpfx)tst-quad2pie): Likewise.
47930         * sysdeps/x86_64/tst-quad1.c: New file.
47931         * sysdeps/x86_64/tst-quad1pie.c: New file.
47932         * sysdeps/x86_64/tst-quad2.c: Likewise.
47933         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
47934         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
47935         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
47936         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
47937         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
47939 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47941         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
47942         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
47943         * streams/stropts.h (t_scalar_t): Define type.
47945         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
47946         (_PATH_PRESERVE): Set to "/var/lib".
47947         (_PATH_RWHODIR): Set to "/var/spool/rwho".
47949         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
47950         instead of int.
47952         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
47953         if __dir_mkfile succeeded.
47955         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
47956         checking for _hurd_dtablesize.  Unlock it right after having
47957         finished _hurd_dtable allocation.
47959 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47961         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
47962         * sysdeps/mach/hurd/configure: Regenerated.
47963         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
47964         special-casing to...
47965         * sysdeps/gnu/configure.in: ... this new file.
47966         * sysdeps/unix/sysv/linux/configure: Regenerated.
47967         * sysdeps/gnu/configure: New generated file.
47969         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
47970         for Linux: use nsec instead of usec, as well as:
47971         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
47972         members of type struct timespec.
47973         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
47974         New macros.
47975         (struct stat64): Likewise.
47976         (_STATBUF_ST_NSEC): New macro.
47977         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
47979         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
47980         __strtoul_internal rather than strtoul.
47982 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
47984         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
47985         and reject them.
47987 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47989         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
47990         which preserves existing values.
47991         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
47993 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
47995         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
47996         TIMEOUT values.  Return EINVAL for NFDS values either negative or
47997         greater than FD_SETSIZE.
47999 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48001         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
48002         allocated, call __vm_protect to finish enabling the existing space, and
48003         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
48004         allocate the remainder.
48006 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48008         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
48009         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
48011 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48013         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
48014         sysdeps/mach/hurd/readlink.c.
48016         * posix/tst-sysconf.c (posix_options): Only use
48017         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
48018         _POSIX_SYNCHRONIZED_IO when they are defined
48019         * sysdeps/mach/hurd/bits/posix_opt.h:
48020         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
48021         (_XOPEN_REALTIME): Undefine macro.
48022         (_XOPEN_REALTIME_THREADS): Undefine macro.
48023         (_XOPEN_SHM): Undefine macro.
48024         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
48025         macro to -1.
48026         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
48027         macro to -1.
48028         (_POSIX_ASYNC_IO): Undefine macro.
48029         (_POSIX_PRIORITIZED_IO): Undefine macro.
48030         (_POSIX_SPIN_LOCKS): Define macro to -1.
48032         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
48033         SA_NODEFER, SA_RESETHAND.
48034         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
48035         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
48036         F_DUPFD_CLOEXEC.
48038 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48040         * elf/Makefile (pldd-modules): Define unconditionally.
48042 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48044         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
48046 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48048         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
48049         Return ENOENT when name is empty.
48050         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
48052 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48054         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
48056         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
48058 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48060         Fix mlock in all cases except non-readable pages.
48061         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
48062         instead of VM_PROT_ALL as parameter to __vm_wire function.
48064         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
48065         (__mkdir): When path is `/', just fail with EEXIST.
48066         * sysdeps/mach/hurd/mkdirat.c: Likewise.
48068 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48070         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
48071         <sys/uio.h> (for writev).
48072         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
48073         and <sys/param.h> (for MIN).
48075 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48077         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
48078         REQUESTED_TIME.  Properly set the remaining time and return EINTR
48079         if interrupted.
48081 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48083         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
48084         Depend on against $(link-rpcuserlibs).
48086 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48088         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
48089         (__libc_stack_end): Do not use attribute_relro.
48090         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
48091         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
48092         to libthread-provided value.
48093         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
48094         attribute_relro.
48096 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48098         [BZ #3748]
48099         * bits/libc-lock.h (__libc_once_get): New macro.
48100         * sysdeps/mach/bits/libc-lock.h: Likewise.
48101         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
48102         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
48103         instead of using implementation details.
48105         * libio/fileops.c: Unconditionally include <kernel-features.h>.
48106         * libio/freopen.c: Likewise.
48107         * libio/freopen64.c: Likewise.
48108         * misc/syslog.c: Likewise.
48109         * nscd/connections.c: Likewise.
48110         * nscd/netgroupcache.c: Likewise.
48111         * sysdeps/posix/getcwd.c: Likewise.
48113 2012-05-10  Roland McGrath  <roland@hack.frob.com>
48115         * math/w_ilogbf.c: Add #include <limits.h>.
48117 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48119         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
48120         path instead of returning without unlocking.
48122         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
48123         immediate-write ioctls.
48124         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
48126 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48128         * sysdeps/mach/hurd/i386/init-first.c (init): Use
48129         __builtin_frame_address instead of making assumptions about the
48130         location of the return address relative to DATA.  Force early load of
48131         the return address.
48132         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
48133         __builtin_frame_address.
48135         dup3 for GNU Hurd.
48136         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
48137         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
48138         implement dup3 and do some further code clean-ups.
48139         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
48140         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
48142 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48144         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
48146         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
48147         HURD_CRITICAL_END around holding _hurd_dtable_lock.
48148         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
48149         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
48150         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
48151         d->port.lock.
48153         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
48154         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
48155         when handler == SIG_ERR, not when handler != SIG_ERR.
48157 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48159         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
48160         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
48161         definitions.
48163         accept4 for GNU Hurd.
48164         * include/sys/socket.h (__libc_accept4): New prototype.
48165         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
48166         to implement __libc_accept4.
48167         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
48168         __libc_accept4.
48169         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
48171         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
48172         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
48173         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
48174         signal-defines.sym.
48176 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48178         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
48180 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48182         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
48183         assertion on O_CLOEXEC flag.
48184         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
48185         * hurd/intern-fd.c: Likewise.
48186         * hurd/port2fd.c: Likewise.
48188 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48190         [BZ #3906]
48191         * bits/in.h (IPV6_PKTINFO): Define new macro.
48192         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
48194 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48196         [BZ #13954]
48197         [BZ #13955]
48198         [BZ #13956]
48199         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
48200         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48201         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
48202         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
48203         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48204         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
48205         * math/libm-test.inc (logb_test) : Additional logb tests.
48207 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
48208             Andreas Jaeger  <aj@suse.de>
48210         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
48211         * configure: Regenerated.
48212         * config.h.in (LINK_OBSOLETE_RPC): New macro.
48213         * config.make.in (link-obsolete-rpc): New substituted variable.
48214         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
48215         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
48216         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
48217         (shared-only-routines): Don't set it under [link-obsolete-rpc],
48218         so that libc.a contains the symbols.
48219         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
48220         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
48221         * sunrpc/auth_none.c: Likewise.
48222         * sunrpc/auth_unix.c: Likewise.
48223         * sunrpc/authdes_prot.c: Likewise.
48224         * sunrpc/authuxprot.c: Likewise.
48225         * sunrpc/clnt_gen.c: Likewise.
48226         * sunrpc/clnt_perr.c: Likewise.
48227         * sunrpc/clnt_raw.c: Likewise.
48228         * sunrpc/clnt_simp.c: Likewise.
48229         * sunrpc/clnt_tcp.c: Likewise.
48230         * sunrpc/clnt_udp.c: Likewise.
48231         * sunrpc/clnt_unix.c: Likewise.
48232         * sunrpc/des_crypt.c: Likewise.
48233         * sunrpc/des_soft.c: Likewise.
48234         * sunrpc/get_myaddr.c: Likewise.
48235         * sunrpc/key_call.c: Likewise.
48236         * sunrpc/key_prot.c: Likewise.
48237         * sunrpc/netname.c: Likewise.
48238         * sunrpc/pm_getmaps.c: Likewise.
48239         * sunrpc/pm_getport.c: Likewise.
48240         * sunrpc/pmap_clnt.c: Likewise.
48241         * sunrpc/pmap_prot.c: Likewise.
48242         * sunrpc/pmap_prot2.c: Likewise.
48243         * sunrpc/pmap_rmt.c: Likewise.
48244         * sunrpc/publickey.c: Likewise.
48245         * sunrpc/rpc_cmsg.c: Likewise.
48246         * sunrpc/rpc_common.c: Likewise.
48247         * sunrpc/rpc_dtable.c: Likewise.
48248         * sunrpc/rpc_prot.c: Likewise.
48249         * sunrpc/rpc_thread.c: Likewise.
48250         * sunrpc/rtime.c: Likewise.
48251         * sunrpc/svc.c: Likewise.
48252         * sunrpc/svc_auth.c: Likewise.
48253         * sunrpc/svc_raw.c: Likewise.
48254         * sunrpc/svc_run.c: Likewise.
48255         * sunrpc/svc_tcp.c: Likewise.
48256         * sunrpc/svc_udp.c: Likewise.
48257         * sunrpc/svc_unix.c: Likewise.
48258         * sunrpc/svcauth_des.c: Likewise.
48259         * sunrpc/xcrypt.c: Likewise.
48260         * sunrpc/xdr.c: Likewise.
48261         * sunrpc/xdr_array.c: Likewise.
48262         * sunrpc/xdr_float.c: Likewise.
48263         * sunrpc/xdr_intXX_t.c: Likewise.
48264         * sunrpc/xdr_mem.c: Likewise.
48265         * sunrpc/xdr_rec.c: Likewise.
48266         * sunrpc/xdr_ref.c: Likewise.
48267         * sunrpc/xdr_sizeof.c: Likewise.
48268         * sunrpc/xdr_stdio.c: Likewise.
48270 2012-05-10  Roland McGrath  <roland@hack.frob.com>
48272         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
48273         change.  Update copyright years.
48275 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
48277         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
48279 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
48280             Joseph Myers  <joseph@codesourcery.com>
48281             Paul Pluzhnikov  <ppluzhnikov@google.com>
48283         [BZ #14012]
48284         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
48285         requiring rpcgen.
48286         [cross-compiling] (extra-libs): Likewise.
48287         [cross-compiling] (extra-libs-others): Likewise.
48288         [cross-compiling] (librpcsvc-routines): Likewise.
48289         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
48290         [cross-compiling] (omit-deps): Likewise.
48291         (sunrpc-CPPFLAGS): New variable.
48292         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
48293         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
48294         (cross-rpcgen-objs): New variable.
48295         (extra-objs): Append $(cross-rpcgen-objs).
48296         ($(cross-rpcgen-objs)): New rule.
48297         ($(objpfx)cross-rpcgen): Likewise.
48298         (rpcgen-cmd): Define to use $(built-program-file).  Expand
48299         comment.
48300         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
48301         ($(objpfx)x%.stmp): Likewise.
48302         * sunrpc/proto.h [IS_IN_build] (_): Define.
48303         [IS_IN_build] (_libc_intl_domainname): Likewise.
48305 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48307         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
48308         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
48309         and R_X86_64_TPOFF64.
48311 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
48313         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
48314         sysdeps/unix/sysv/syscalls.list.
48315         (stime): Likewise.
48316         (utime): Likewise.
48317         * sysdeps/unix/sysv/syscalls.list: Remove file.
48319 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
48321         [BZ #3440]
48322         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
48323         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
48324         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
48325         (__LC_IDENTIFICATION): Make these macros useful in #if
48326         expressions, as required by C99.
48328 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
48330         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
48331         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
48332         after this.
48334 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
48336         * stdlib/longlong.h: Updated from GCC.
48338 2012-05-09  Andreas Jaeger  <aj@suse.de>
48340         * nscd/nscd.c (run_modes): Make named enum, reorder so that
48341         default is first entry.
48342         (run_mode): Set type.
48343         (main): Remove informal message about syslog.
48344         (options): Fix typo.
48346         [BZ #14053]
48347         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
48348         to asm.
48349         (lrint): Likewise.
48350         (llrintf): Likewise.
48351         (llrint): Likewise.
48352         (rint): Likewise.
48353         (rintf): Likewise.
48354         (nearbyint): Likewise.
48355         (nearbyintf): Likewise.
48357 2012-05-09  Andreas Jaeger  <aj@suse.de>
48358             Pedro Alves  <palves@redhat.com>
48360         * nscd/nscd.c (run_mode): Use enum.
48361         (main): Cleanup coding style issue.
48363 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
48364             Andreas Jaeger  <aj@suse.de>
48366         * nscd/nscd.c (go_background): Replaced with...
48367         (run_mode): ... this.
48368         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
48369         (options): Add -F --foreground.
48370         (main): Implement it.
48371         (parse_opt): Parse it.
48373 2012-05-09  Andreas Jaeger  <aj@suse.de>
48375         [BZ #14083]
48376         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
48377         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
48378         -Wconversion warning.
48379         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
48380         Likewise.
48382 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
48384         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
48385         == 0.
48386         (LC_ALL): Use macro-int-constant.
48387         (LC_COLLATE): Likewise.
48388         (LC_CTYPE): Likewise.
48389         (LC_MESSAGES): Likewise.
48390         (LC_MONETARY): Likewise.
48391         (LC_NUMERIC): Likewise.
48392         (LC_TIME): Likewise.
48393         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
48394         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
48395         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48396         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
48397         Specify type.
48398         [C99-based standards] (float_t): Expect type.
48399         [C99-based standards] (double_t): Expect type.
48400         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
48401         type.
48402         [C99-based standards] (HUGE_VALL): Likewise.
48403         [C99-based standards] (INFINITY): Likewise.
48404         [C99-based standards] (NAN): Likewise.
48405         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
48406         [C99-based standards] (FP_NAN): Likewise.
48407         [C99-based standards] (FP_NORMAL): Likewise.
48408         [C99-based standards] (FP_SUBNORMAL): Likewise.
48409         [C99-based standards] (FP_ZERO): Likewise.
48410         [C99-based standards] (FP_FAST_FMA): Use
48411         optional-macro-int-constant.  Specify type.  Require == 1.
48412         [C99-based standards] (FP_FAST_FMAF): Likewise.
48413         [C99-based standards] (FP_FAST_FMAL): Likewise.
48414         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
48415         [C99-based standards] (FP_ILOGBNAN): Likewise.
48416         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
48417         Specify type.
48418         [C99-based standards] (MATH_ERREXCEPT): Likewise.
48419         [C99-based standards] (math_errhandling): Specify type.
48420         [ISO99 || ISO11] (signgam): Do not allow.
48421         [non-C99-based standards] (copysignf): Do not allow.
48422         [non-C99-based standards] (exp2f): Likewise.
48423         [non-C99-based standards] (log2f): Likewise.
48424         [non-C99-based standards] (modff): Allow.
48425         [non-C99-based standards] (erff): Do not allow.
48426         [non-C99-based standards] (erfcf): Likewise.
48427         [non-C99-based standards] (gammaf): Likewise.
48428         [non-C99-based standards] (hypotf): Likewise.
48429         [non-C99-based standards] (j0f): Likewise.
48430         [non-C99-based standards] (j1f): Likewise.
48431         [non-C99-based standards] (jnf): Likewise.
48432         [non-C99-based standards] (lgammaf): Likewise.
48433         [non-C99-based standards] (tgammaf): Likewise.
48434         [non-C99-based standards] (y0f): Likewise.
48435         [non-C99-based standards] (y1f): Likewise.
48436         [non-C99-based standards] (ynf): Likewise.
48437         [non-C99-based standards] (isnanf): Likewise.
48438         [non-C99-based standards] (acoshf): Likewise.
48439         [non-C99-based standards] (asinhf): Likewise.
48440         [non-C99-based standards] (atanhf): Likewise.
48441         [non-C99-based standards] (cbrtf): Likewise.
48442         [non-C99-based standards] (expm1f): Likewise.
48443         [non-C99-based standards] (ilogbf): Likewise.
48444         [non-C99-based standards] (log1pf): Likewise.
48445         [non-C99-based standards] (logbf): Likewise.
48446         [non-C99-based standards] (nextafterf): Likewise.
48447         [non-C99-based standards] (remainderf): Likewise.
48448         [non-C99-based standards] (rintf): Likewise.
48449         [non-C99-based standards] (scalbf): Likewise.
48450         [non-C99-based standards] (copysignl): Likewise.
48451         [non-C99-based standards] (exp2l): Likewise.
48452         [non-C99-based standards] (log2l): Likewise.
48453         [non-C99-based standards] (modfl): Allow.
48454         [non-C99-based standards] (erfl): Do not allow.
48455         [non-C99-based standards] (erfcl): Likewise.
48456         [non-C99-based standards] (gammal): Likewise.
48457         [non-C99-based standards] (hypotl): Likewise.
48458         [non-C99-based standards] (j0l): Likewise.
48459         [non-C99-based standards] (j1l): Likewise.
48460         [non-C99-based standards] (jnl): Likewise.
48461         [non-C99-based standards] (lgammal): Likewise.
48462         [non-C99-based standards] (tgammal): Likewise.
48463         [non-C99-based standards] (y0l): Likewise.
48464         [non-C99-based standards] (y1l): Likewise.
48465         [non-C99-based standards] (ynl): Likewise.
48466         [non-C99-based standards] (isnanl): Likewise.
48467         [non-C99-based standards] (acoshl): Likewise.
48468         [non-C99-based standards] (asinhl): Likewise.
48469         [non-C99-based standards] (atanhl): Likewise.
48470         [non-C99-based standards] (cbrtl): Likewise.
48471         [non-C99-based standards] (expm1l): Likewise.
48472         [non-C99-based standards] (ilogbl): Likewise.
48473         [non-C99-based standards] (log1pl): Likewise.
48474         [non-C99-based standards] (logbl): Likewise.
48475         [non-C99-based standards] (nextafterl): Likewise.
48476         [non-C99-based standards] (remainderl): Likewise.
48477         [non-C99-based standards] (rintl): Likewise.
48478         [non-C99-based standards] (scalbl): Likewise.
48479         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48480         [non-C99-based standards] (FP_*): Do not allow.
48481         [C99-based standards] (FP_*): Change to
48482         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
48483         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48484         allow.
48485         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
48486         (SIG_ERR): Likewise.
48487         [X/Open-based standards] (SIG_HOLD): Likewise.
48488         (SIG_IGN): Likewise.
48489         (SIGABRT): Use macro-int-constant.  Specify type.  Require
48490         positive value.
48491         (SIGFPE): Likewise.
48492         (SIGILL): Likewise.
48493         (SIGINT): Likewise.
48494         (SIGSEGV): Likewise.
48495         (SIGTER): Likewise.
48496         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
48497         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
48498         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
48499         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
48500         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
48501         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
48502         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
48503         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
48504         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
48505         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
48506         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
48507         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
48508         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
48509         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
48510         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
48511         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
48512         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
48513         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
48514         [X/Open-based standards] (SIGTRAP): Likewise.
48515         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
48516         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
48517         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
48518         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
48519         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48520         allow.
48522 2012-05-08  Ian Wienand  <ianw@vmware.com>
48524         [BZ #14080]
48525         * time/tzset.c (__tzset_parse_tz): Update default rules for
48526         daylight time changes in the Energy Policy Act of 2005.
48528 2012-05-09  Andreas Jaeger  <aj@suse.de>
48530         [BZ #13983]
48531         * elf/ldconfig.c (parse_conf): Change string to make clear that
48532         ldconfig only issued a warning if ld.so.conf does not exist.
48534 2012-05-08  David S. Miller  <davem@davemloft.net>
48536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
48537         movxtod instead of popping the value on the stack.
48539         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48541 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
48543         * config.h.in: Add HAVE_ARM_PCS_VFP.
48545 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
48547         [BZ #13979]
48548         * include/features.h: Warn if user requests __FORTIFY_SOURCE
48549         checking but the checks are disabled for any reason.
48551 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
48553         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
48554         and ELF64_R_TYPE with ELFW(R_TYPE).
48556 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
48558         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
48559         (ulimit): Likewise.
48561         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
48562         (settimeofday): Likewise.
48564 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
48566         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
48567         a struct th_u2 inside the union, and move tu_block/tu_code into
48568         a new th_u3 union of tu_block/tu_code inside of that.  Move
48569         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
48570         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
48571         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
48572         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
48573         (th_stuff): Change to th_u1.tu_stuff.
48574         (th_data): Define.
48575         (th_msg): Change to th_u1.th_u2.tu_data.
48577 2012-05-07  David S. Miller  <davem@davemloft.net>
48579         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48581         [BZ #14074]
48582         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
48583         (SETUP_PIC_REG): Use it.
48584         (SETUP_PIC_REG_LEAF): Use it.
48586 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
48588         [BZ #13885]
48589         [BZ #13923]
48590         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48591         USE_AS_EXPM1L.
48592         (EXPL_FINITE): Likewise.
48593         (FLDLOG): Likewise.
48594         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
48595         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
48596         e_expl.S.
48597         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48598         USE_AS_EXPM1L.
48599         (EXPL_FINITE): Likewise.
48600         (FLDLOG): Likewise.
48601         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
48602         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
48603         e_expl.S.
48604         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
48605         test of -max_value argument for long double.
48606         * sysdeps/i386/fpu/libm-test-ulps: Update.
48607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48609 2012-05-06  David S. Miller  <davem@davemloft.net>
48611         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
48612         quad soft-float symbols whose references which are compiler
48613         generated.
48614         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
48616 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
48618         [BZ #13884]
48619         [BZ #13914]
48620         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48621         USE_AS_EXP10L.
48622         (EXPL_FINITE): Likewise.
48623         (FLDLOG): Likewise.
48624         (c0): Likewise.
48625         (c1): Likewise.
48626         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
48627         Adjust comments for base varying.
48628         (__expl_finite): Change alias to EXPL_FINITE.
48629         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
48630         e_expl.S.
48631         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
48632         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
48633         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
48634         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
48635         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48636         USE_AS_EXP10L.
48637         (EXPL_FINITE): Likewise.
48638         (FLDLOG): Likewise.
48639         (c0): Likewise.
48640         (c1): Likewise.
48641         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
48642         Adjust comments for base varying.
48643         (__expl_finite): Change alias to EXPL_FINITE.
48644         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
48645         tests for bugs.
48646         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48648         [BZ #14064]
48649         * math/libm-test.inc (check_float_internal): Correct ulp
48650         calculation for subnormal expected results.
48652 2012-05-06  Andreas Jaeger  <aj@suse.de>
48654         * Makeconfig (+math-flags): New, set to -frounding-math.
48655         (+cflags): Add +math-flags so that all of glibc gets compiled with
48656         it.
48658         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
48660 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
48662         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
48663         Disable one test.
48665         [BZ #13787]
48666         [BZ #13922]
48667         [BZ #14036]
48668         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
48669         (__ieee754_expl): Allow for and saturate large arguments.
48670         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
48671         (u_threshold): Likewise.
48672         (__exp): Call __ieee754_exp before checking for overflow and
48673         underflow.
48674         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
48675         (u_threshold): Likewise.
48676         (__expf): Call __ieee754_expf before checking for overflow and
48677         underflow.
48678         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
48679         (u_threshold): Likewise.
48680         (__expl): Call __ieee754_expl before checking for overflow and
48681         underflow.
48682         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
48683         (__ieee754_expl): Allow for and saturate large arguments.
48684         * math/libm-test.inc (exp_test): Add another test.  Do not allow
48685         missing overflow exception on overflow.
48686         (expm1_test): Do not allow missing overflow exception on overflow.
48688         * sysdeps/i386/fpu/e_expl.c: Move to ...
48689         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
48690         rather than using inline asm.
48691         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
48692         * sysdeps/x86_64/fpu/e_expl.S: Copy from
48693         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
48695         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
48696         (nice): Likewise.
48697         (poll): Likewise.
48698         (signal): Likewise.
48699         (time): Likewise.
48700         (times): Likewise.
48702 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
48704         * sysdeps/unix/syscalls.list (adjtime): Add entry from
48705         sysdeps/unix/common/syscalls.list.
48706         (fchmod): Likewise.
48707         (fchown): Likewise.
48708         (ftruncate): Likewise.
48709         (getrusage): Likewise.
48710         (gettimeofday): Likewise.
48711         (setpgid): Likewise.
48712         (setregid): Likewise.
48713         (setreuid): Likewise.
48714         (sigaction): Likewise.
48715         (truncate): Likewise.
48716         (vhangup): Likewise.
48717         * sysdeps/unix/common/syscalls.list: Remove file.
48718         * sysdeps/unix/bsd/Implies: Don't include unix/common.
48719         * sysdeps/unix/sysv/linux/Implies: Likewise.
48721 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
48723         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
48724         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
48725         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
48726         Moved to ...
48727         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
48728         Here.
48729         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
48730         to ...
48731         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
48732         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
48733         to ...
48734         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
48735         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
48736         to ...
48737         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
48738         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
48739         to ...
48740         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
48741         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
48742         to ...
48743         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
48744         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
48745         to ...
48746         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
48747         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
48748         to ...
48749         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
48750         Here.
48751         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
48752         to ...
48753         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
48754         Here.
48755         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
48756         to ...
48757         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
48758         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
48759         Moved to ...
48760         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
48761         Here.
48762         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
48763         to ...
48764         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
48766 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
48768         * sysdeps/unix/common/bits/dirent.h: Remove file.
48769         * sysdeps/unix/common/bits/fcntl.h: Likewise.
48771         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
48772         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
48773         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
48774         * sysdeps/unix/bsd/isatty.c: Likewise.
48775         * sysdeps/unix/bsd/tcdrain.c: Likewise.
48776         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
48777         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
48779 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48781         [BZ #13563]
48782         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
48783         long double comparison inaccuracies.
48784         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
48785         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48787 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
48789         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
48790         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
48792 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
48794         [BZ #14049]
48795         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
48796         nonzero digits before rounding a hex value.
48797         * stdlib/tst-strtod.c (tests): Add another test.
48799 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48801         * sysdeps/s390/fpu/libm-test-ulps: Update.
48803 2012-05-03  Andreas Jaeger  <aj@suse.de>
48805         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
48806         does not get optimized out.
48807         (malloc_opt_barrier): New.
48809 2012-05-03  Andreas Jaeger  <aj@suse.de>
48810             Roland McGrath  <roland@hack.frob.com>
48812         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
48813         intermediate file deletion.
48814         (generated): Add .symlist files.
48816 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
48818         [BZ #13775]
48819         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
48820         Redirect under this condition.
48821         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
48822         [__USE_GNU] (__dprintf_chk): Not under this condition.
48823         [__USE_GNU] (__vdprintf_chk): Likewise.
48824         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
48825         under this condition.
48826         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
48827         [__USE_XOPEN2K8] (dprintf): Define under this condition.
48828         [__USE_XOPEN2K8] (vdprintf): Likewise.
48829         [__USE_GNU] (__dprintf_chk): Not under this condition.
48830         [__USE_GNU] (__vdprintf_chk): Likewise.
48831         [__USE_GNU] (dprintf): Likewise.
48832         [__USE_GNU] (vdprintf): Likewise.
48834 2012-05-03  Roland McGrath  <roland@hack.frob.com>
48836         * elf/Makefile (common-generated): Set this instead of generated for
48837         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
48838         $(all-built-dso)-derived lists.
48840 2012-05-03  Andreas Jaeger  <aj@suse.de>
48842         * sysdeps/i386/fpu/libm-test-ulps: Update.
48844         * FAQ: Removed.
48845         * FAQ.in: Likewise.
48846         * scripts/gen-FAQ.pl: Likewise.
48847         * manual/install.texi (Installation): Point to online location of
48848         FAQ.
48849         * Makefile (files-for-dist): Remove FAQ.
48850         (FAQ): Remove.
48852 2012-05-02  Allan McRae  <allan@archlinux.org>
48854         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
48855         (LDFLAGS-reldepmod5.so): Likewise.
48856         (LDFLAGS-reldep6mod1.so): Likewise.
48857         (LDFLAGS-reldep6mod4.so): Likewise.
48858         (LDFLAGS-reldep8mod3.so): Likewise.
48859         (LDFLAGS-unload4mod1.so): Likewise.
48860         (LDFLAGS-unload4mod2.so): Likewise.
48861         (LDFLAGS-tst-initorder): Likewise.
48862         (LDFLAGS-tst-initordera2.so): Likewise.
48863         (LDFLAGS-tst-initordera3.so): Likewise.
48864         (LDFLAGS-tst-initordera4.so): Likewise.
48865         (LDFLAGS-tst-initorderb2.so): Likewise.
48866         (LDFLAGS-noload): Likewise.
48867         (LDFLAGS-next): Likewise.
48868         (LDFLAGS-order2mod1.so): Likewise.
48869         (LDFLAGS-order2mod2.so): Likewise.
48870         (LDFLAGS-tst-initorder2): Likewise.
48871         (LDFLAGS-tst-initorder2a.so): Likewise.
48872         (LDFLAGS-tst-initorder2b.so): Likewise.
48873         (LDFLAGS-tst-initorder2c.so): Likewise.
48874         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
48876 2012-05-02  David S. Miller  <davem@davemloft.net>
48878         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48880 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
48882         [BZ #14055]
48883         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
48885 2012-05-02  Andreas Jaeger  <aj@suse.de>
48887         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
48888         since we manipulate rounding mode.
48889         (CPPFLAGS-test-idouble.c): Likewise.
48890         (CPPFLAGS-test-ifloat.c): Likewise.
48891         (CFLAGS-test-ldouble.c): Likewise.
48892         (CFLAGS-test-double.c): Likewise.
48893         (CFLAGS-test-float.c): Likewise.
48894         (CFLAGS-test-misc.c): Likewise.
48895         (CFLAGS-test-test-fenv.c): Likewise.
48897 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48899         [BZ #2550]
48900         [BZ #2570]
48901         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
48902         comparisons to determine direction to adjust input.
48904 2012-05-01  Roland McGrath  <roland@hack.frob.com>
48906         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
48907         output to the target.
48909         * scripts/localplt.awk: New file.
48910         * elf/Makefile ($(objpfx)check-localplt): Target removed.
48911         (check-localplt-CFLAGS): Variable removed.
48912         ($(all-built-dso:=.jmprel)): New static pattern rule.
48913         (generated): Add those targets.
48914         (localplt-built-dso): New variable.
48915         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
48917         * elf/check-localplt.c: File removed.
48919         * scripts/check-execstack.awk: New file.
48920         * elf/Makefile ($(objpfx)check-execstack): Target removed.
48921         (check-execstack-CFLAGS): Variable removed.
48922         ($(objpfx)check-execstack.h): Target removed.
48923         ($(objpfx)execstack-default): New target.
48924         (generated): Add that instead of check-execstack.h.
48925         ($(all-built-dso:=.phdr)): New static pattern rule.
48926         (generated): Add those targets.
48927         * elf/check-execstack.c: File removed.
48929         * scripts/check-textrel.awk: New file.
48930         * elf/Makefile ($(objpfx)check-textrel): Target removed.
48931         (check-textrel-CFLAGS): Variable removed.
48932         (all-built-dso): Use := to define.o
48933         ($(all-built-dso:=.dyn)): New static pattern rule.
48934         (generated): Add those targets.
48935         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
48936         * config.make.in (READELF): New substituted variable.
48937         * elf/check-textrel.c: File removed.
48939 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
48941         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48942         allow.
48943         * conform/data/ctype.h-data [C99-based standards] (isblank):
48944         Expect function.
48945         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
48946         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
48947         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48948         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
48949         Specify type.  Require positive value.
48950         (EILSEQ): Likewise.
48951         (ERANGE): Likewise.
48952         [ISO || POSIX] (EILSEQ): Do not expect.
48953         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
48954         Specify type.  Require positive value.
48955         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
48956         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
48957         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
48958         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
48959         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
48960         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
48961         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
48962         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
48963         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
48964         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
48965         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
48966         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
48967         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
48968         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
48969         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
48970         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
48971         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
48972         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
48973         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
48974         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
48975         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
48976         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
48977         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
48978         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
48979         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
48980         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
48981         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
48982         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
48983         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
48984         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
48985         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
48986         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
48987         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
48988         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
48989         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
48990         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
48991         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
48992         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
48993         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
48994         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
48995         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
48996         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
48997         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
48998         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
48999         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
49000         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
49001         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
49002         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
49003         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
49004         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
49005         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
49006         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
49007         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
49008         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
49009         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
49010         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
49011         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
49012         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
49013         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
49014         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
49015         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
49016         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
49017         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
49018         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
49019         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
49020         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
49021         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
49022         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
49023         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
49024         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
49025         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
49026         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
49027         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
49028         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
49029         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
49030         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
49031         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
49032         Require >= 2.
49033         (FLT_ROUNDS): Expect as macro, not constant.
49034         (FLT_MANT_DIG): Use macro-int-constant.
49035         (DBL_MANT_DIG): Likewise.
49036         (LDBL_MANT_DIG): Likewise.
49037         (FLT_DIG): Likewise.
49038         (DBL_DIG): Likewise.
49039         (LDBL_DIG): Likewise.
49040         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
49041         (DBL_MIN_EXP): Likewise.
49042         (LDBL_MIN_EXP): Likewise.
49043         (FLT_MAX_EXP): Use macro-int-constant.
49044         (DBL_MAX_EXP): Likewise.
49045         (LDBL_MAX_EXP): Likewise.
49046         (FLT_MAX_10_EXP): Likewise.
49047         (DBL_MAX_10_EXP): Likewise.
49048         (LDBL_MAX_10_EXP): Likewise.
49049         (FLT_MAX): Use macro-constant.
49050         (DBL_MAX): Likewise.
49051         (LDBL_MAX): Likewise.
49052         (FLT_EPSILON): Use macro-constant.  Give upper bound.
49053         (DBL_EPSILON): Likewise.
49054         (LDBL_EPSILON): Likewise.
49055         (FLT_MIN): Likewise.
49056         (DBL_MIN): Likewise.
49057         (LDBL_MIN): Likewise.
49058         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
49059         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
49060         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
49061         [ISO11] (FLT_HAS_SUBNORM): Likewise.
49062         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
49063         [ISO11] (DBL_DECIMAL_DIG): Likewise.
49064         [ISO11] (FLT_DECIMAL_DIG): Likewise.
49065         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
49066         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
49067         [ISO11] (FLT_TRUE_MIN): Likewise.
49068         [ISO11] (LDBL_TRUE_MIN): Likewise.
49069         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49070         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
49071         (SCHAR_MIN): Use macro-int-constant.  Specify type.
49072         (SCHAR_MAX): Likewise.
49073         (UCHAR_MAX): Likewise.
49074         (CHAR_MIN): Likewise.
49075         (CHAR_MAX): Likewise.
49076         (MB_LEN_MAX): Use macro-int-constant.
49077         (SHRT_MIN): Use macro-int-constant.  Specify type.
49078         (SHRT_MAX): Likewise.
49079         (USHRT_MAX): Likewise.
49080         (INT_MAX): Likewise.
49081         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
49082         bound negative.
49083         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
49084         bound with "U".
49085         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
49086         bound with "L".
49087         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
49088         bound negative.  Suffix upper bound with "L".
49089         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
49090         bound with "UL".
49091         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
49092         Specify type.
49093         [C99-based standards] (LLONG_MAX): Likewise.
49094         [C99-based standards] (ULLONG_MAX): Likewise.
49095         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
49096         == 0.
49097         [ISO11] (max_align_t): Require type.
49098         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49100         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
49101         from $CFLAGS, without defining away __attribute__ calls.
49102         (checknamespace): Use $CFLAGS_namespace.
49104         * conform/conformtest.pl (@keywords): Only include C99 keywords
49105         for standards based on C99 or C11.
49107         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
49108         Disable tests.
49109         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
49110         UNIX98]: Likewise.
49112         * conform/conformtest.pl: Handle "macro-int-constant" and test for
49113         usability of symbols in #if.
49115         * conform/conformtest.pl: If macro or constant types start
49116         "promoted:", expect the symbol to be of the following type
49117         promoted by the integer promotions.
49119         * conform/conformtest.pl: Parse all "constant" and "macro" lines
49120         in one place.  Also handle "macro-constant".
49122         * conform/conformtest.pl: Only accept expected macro values with
49123         "==".  Parse all "macro" lines in one place.
49124         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
49126         * conform/conformtest.pl: Handle braced types on "constant" lines
49127         instead of handling "typed-constant".
49128         * conform/data/signal.h-data: Use "constant" instead of
49129         "typed-constant".
49131         * conform/conformtest.pl: Handle "optional-" at start of lines in
49132         one place rather than duplicating several cases.  Handle each
49133         format of "macro" line with initial "optional-".
49135         * conform/conformtest.pl: Only accept expected constant or
49136         optional-constant values with "==".  Parse all "constant" lines in
49137         one place.  Parse all "optional-constant" lines in one place.
49138         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
49139         * conform/data/fmtmsg.h-data: Likewise.
49140         * conform/data/netinet/in.h-data: Likewise.
49141         * conform/data/tar.h-data: Likewise.
49142         * conform/data/limits.h-data: Use "==" form on "constant" and
49143         "optional-constant" lines.
49145         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
49146         Use -std=c99 for XOPEN2K.
49147         (@knownproblems): Remove.
49148         (newtoken): Don't check %isknown.
49150         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
49151         Do not expect macro.
49152         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
49153         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
49154         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
49155         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
49156         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
49157         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
49158         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
49159         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
49160         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
49161         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
49162         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
49163         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
49164         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
49165         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
49166         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
49167         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
49168         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
49169         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
49170         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
49171         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
49172         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
49173         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
49174         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
49175         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
49176         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
49177         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
49178         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
49179         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
49180         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
49181         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
49182         [XPG3] (acosh): Likewise.
49183         [XPG3] (asinh): Likewise.
49184         [XPG3] (atanh): Likewise.
49185         [XPG3] (cbrt): Likewise.
49186         [XPG3] (expm1): Likewise.
49187         [XPG3] (ilogb): Likewise.
49188         [XPG3] (log1p): Likewise.
49189         [XPG3] (logb): Likewise.
49190         [XPG3] (nextafter): Likewise.
49191         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
49192         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
49193         [XPG3] (remainder): Likewise.
49194         [XPG3] (rint): Likewise.
49195         [XPG3 || XPG4 || UNIX98] (round): Likewise.
49196         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
49197         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
49198         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
49199         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
49200         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
49201         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
49202         [UNIX98 || XOPEN2K] (scalb): Expect.
49203         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
49204         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
49205         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
49206         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
49207         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
49208         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
49209         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
49210         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
49211         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
49212         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
49213         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
49214         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
49215         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
49216         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
49217         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
49218         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
49219         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
49220         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
49221         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
49222         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
49223         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
49224         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
49225         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
49226         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
49227         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
49228         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
49229         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
49230         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
49231         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
49232         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
49233         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
49234         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
49235         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
49236         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
49237         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
49238         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
49239         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
49240         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
49241         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
49242         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
49243         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
49244         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
49245         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
49246         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
49247         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
49248         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
49249         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
49250         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
49251         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
49252         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
49253         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
49254         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
49255         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
49256         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
49257         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
49258         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
49259         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
49260         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
49261         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
49262         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
49263         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
49264         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
49265         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
49266         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
49267         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
49268         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
49269         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
49270         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
49271         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
49272         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
49273         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
49274         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
49275         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
49276         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
49277         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
49278         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
49279         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
49280         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
49281         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
49282         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
49283         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
49284         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
49285         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
49286         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
49287         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
49288         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
49289         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
49290         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
49291         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
49292         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
49293         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
49294         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
49295         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
49296         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
49297         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
49298         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
49299         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
49300         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
49301         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
49302         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
49303         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
49304         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
49305         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
49306         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
49307         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
49308         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
49309         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
49310         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
49311         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
49312         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
49313         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
49314         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
49315         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
49316         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
49317         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
49318         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
49319         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
49320         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
49321         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
49322         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
49323         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
49324         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
49325         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
49326         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
49327         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
49328         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
49329         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
49330         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
49331         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
49332         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
49333         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
49334         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
49335         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
49336         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
49337         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
49338         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
49339         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
49341         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
49342         _XOPEN_SOURCE_EXTENDED for XPG4.
49344         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
49346         * Makeconfig (localtime): Remove variable.
49347         (inst_localtime-file): Likewise.
49349 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
49351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
49352         Update.
49353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49354         Update.
49355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
49356         Update.
49357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49358         Update.
49359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
49360         Update.
49361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
49362         Update.
49363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49364         Update.
49365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
49366         Update.
49367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49368         Update.
49370 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
49372         [BZ #2550]
49373         [BZ #2570]
49374         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
49375         comparisons to determine direction to adjust input.
49376         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
49377         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
49378         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
49379         Likewise.
49380         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
49381         Likewise.
49382         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
49383         Likewise.
49384         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
49385         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
49386         Likewise.
49387         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
49388         Likewise.
49389         * math/libm-test.inc (nexttoward_test): Add more tests.
49391 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
49393         [BZ #14040]
49394         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
49395         in version GLIBC_2.1, not GLIBC_2.0.
49396         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
49397         Likewise.
49399 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
49401         [BZ #13942]
49402         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
49403         (1 - x) * (1 + x).
49404         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
49405         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
49406         * math/libm-test.inc (acos_test): Add more tests.
49407         (asin_test): Likewise.
49408         * sysdeps/i386/fpu/libm-test-ulps: Update.
49409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49411         [BZ #14034]
49412         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
49413         of square root.
49414         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
49415         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
49416         * math/libm-test.inc (acos_test_tonearest): New function.
49417         (acos_test_towardzero): Likewise.
49418         (acos_test_downward): Likewise.
49419         (acos_test_upward): Likewise.
49420         (asin_test_tonearest): Likewise.
49421         (asin_test_towardzero): Likewise.
49422         (asin_test_downward): Likewise.
49423         (asin_test_upward): Likewise.
49424         (main): Call the new functions.
49425         * sysdeps/i386/fpu/libm-test-ulps: Update.
49426         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49428         [BZ #13884]
49429         [BZ #13924]
49430         * math/e_exp10.c: Include <float.h>.
49431         (__ieee754_exp10): Handle underflow here rather than multiplying
49432         large negative argument by M_LN10.
49433         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
49434         of __ieee754_expf.
49435         * math/e_exp10l.c: Include <float.h>.
49436         (__ieee754_exp10l): Handle underflow here rather than multiplying
49437         large negative argument by M_LN10l.
49438         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
49439         spurious overflow exception on underflow.
49441 2012-04-29  Marek Polacek  <polacek@redhat.com>
49443         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
49444         (__fortify_function): New macro.
49445         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
49446         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
49447         __extern_always_inline.
49448         * libio/bits/stdio2.h: Likewise.
49449         * libio/bits/stdio.h: Likewise.
49450         * string/string.h: Likewise.
49451         * string/bits/string3.h: Likewise.
49452         * include/stdio.h: Likewise.
49453         * stdlib/bits/stdlib.h: Likewise.
49454         * stdlib/stdlib.h: Likewise.
49455         * rt/bits/mqueue2.h: Likewise.
49456         * rt/mqueue.h: Likewise.
49457         * posix/bits/unistd.h: Likewise.
49458         * posix/unistd.h: Likewise.
49459         * io/bits/poll2.h: Likewise.
49460         * io/bits/fcntl2.h: Likewise.
49461         * io/fcntl.h: Likewise.
49462         * io/sys/poll.h: Likewise.
49463         * misc/bits/syslog.h: Likewise.
49464         * misc/bits/syslog-ldbl.h: Likewise.
49465         * misc/sys/syslog.h: Likewise.
49466         * socket/bits/socket2.h: Likewise.
49467         * socket/sys/socket.h: Likewise.
49468         * debug/tst-chk1.c: Likewise.
49469         * wcsmbs/bits/wchar2.h: Likewise.
49470         * wcsmbs/bits/wchar-ldbl.h: Likewise.
49471         * wcsmbs/wchar.h: Likewise.
49473 2012-04-29  Andreas Jaeger  <aj@suse.de>
49475         * Makerules (tests): Remove enable-check-abi protection.
49476         (check-abi-warn): Remove.
49477         (check-abi-%): Remove check-abi-warn usage.
49479         * configure.in: Remove check-abi configure option.
49480         * configure: Regenerated.
49481         * config.make.in (enable-check-abi): Remove.
49483 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
49485         [BZ #14033]
49486         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
49487         double functions to double *_finite functions.
49489         [BZ #13941]
49490         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
49491         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
49492         LDBL_MIN_EXP.
49493         * stdio-common/Makefile (tests): Add tst-sprintf3.
49494         * stdio-common/tst-sprintf3.c: New file.
49496         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
49497         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
49499 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
49501         * conform/conformtest.pl: Remove duplicate typed-constant
49502         handling.
49504 2012-04-28  David S. Miller  <davem@davemloft.net>
49506         * Makerules (%.abilist): Add vpath on sysdep_dirs.
49507         (check-abi-%): Remove AWK script prerequisite and explicit
49508         abilist directory.
49509         (check-abi): Rewrite to just diff the symlist with the abilist.
49510         (config-tls, config-abi-config): Delete, no longer used.
49511         (update-abi-%): Remove AWK script and explicit abilist directory.
49512         (update-abi): Rewrite to simply compare and conditionally copy the
49513         symlist and the sysdep abilist file.  Remove update-abi-config
49514         checks.
49515         * abilist/ld.abilist: Remove.
49516         * abilist/libBrokenLocale.abilist: Remove.
49517         * abilist/libanl.abilist: Remove.
49518         * abilist/libcrypt.abilist: Remove.
49519         * abilist/libdl.abilist: Remove.
49520         * abilist/librt.abilist: Remove.
49521         * abilist/libthread_db.abilist: Remove.
49522         * abilist/libutil.abilist: Remove.
49523         * scripts/extract-abilist.awk: Remove.
49524         * scripts/merge-abilist.awk: Remove.
49525         * sysdeps/generic/libcidn.abilist: New file.
49526         * sysdeps/generic/libnss_compat.abilist: New file.
49527         * sysdeps/generic/libnss_db.abilist: New file.
49528         * sysdeps/generic/libnss_dns.abilist: New file.
49529         * sysdeps/generic/libnss_files.abilist: New file.
49530         * sysdeps/generic/libnss_hesiod.abilist: New file.
49531         * sysdeps/generic/libnss_nis.abilist: New file.
49532         * sysdeps/generic/libnss_nisplus.abilist: New file.
49533         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
49534         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
49535         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
49536         file.
49537         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
49538         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
49539         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
49540         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
49541         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
49542         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
49543         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
49544         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
49545         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
49546         file.
49547         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
49548         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
49549         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
49550         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
49551         file.
49552         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
49553         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
49554         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
49555         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
49556         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
49557         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
49558         file.
49559         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
49560         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
49561         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
49562         file.
49563         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
49564         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
49565         New file.
49566         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
49567         New file.
49568         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
49569         New file.
49570         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
49571         New file.
49572         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
49573         New file.
49574         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
49575         New file.
49576         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
49577         New file.
49578         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
49579         New file.
49580         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
49581         New file.
49582         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
49583         New file.
49584         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
49585         New file.
49586         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
49587         New file.
49588         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
49589         New file.
49590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
49591         file.
49592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
49593         New file.
49594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
49595         New file.
49596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
49597         file.
49598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
49599         New file.
49600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
49601         New file.
49602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
49603         file.
49604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
49605         New file.
49606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49607         New file.
49608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
49609         New file.
49610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
49611         New file.
49612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
49613         New file.
49614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
49615         New file.
49616         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
49617         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
49618         file.
49619         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
49620         New file.
49621         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
49622         file.
49623         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
49624         file.
49625         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
49626         file.
49627         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
49628         file.
49629         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
49630         file.
49631         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49632         New file.
49633         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
49634         file.
49635         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
49636         file.
49637         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
49638         New file.
49639         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
49640         file.
49641         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
49642         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
49643         file.
49644         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
49645         New file.
49646         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
49647         file.
49648         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
49649         file.
49650         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
49651         file.
49652         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
49653         file.
49654         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
49655         file.
49656         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49657         New file.
49658         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
49659         file.
49660         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
49661         file.
49662         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
49663         New file.
49664         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
49665         file.
49666         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
49667         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
49668         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
49669         file.
49670         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
49671         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
49672         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
49673         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
49674         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
49675         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
49676         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
49677         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
49678         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
49679         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
49680         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
49681         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
49682         file.
49683         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
49684         New file.
49685         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
49686         file.
49687         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
49688         file.
49689         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
49690         file.
49691         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
49692         file.
49693         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
49694         file.
49695         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
49696         New file.
49697         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
49698         New file.
49699         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
49700         file.
49701         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
49702         New file.
49703         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
49704         file.
49705         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
49706         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
49707         file.
49708         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
49709         New file.
49710         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
49711         file.
49712         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
49713         file.
49714         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
49715         file.
49716         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
49717         file.
49718         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
49719         file.
49720         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
49721         New file.
49722         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
49723         New file.
49724         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
49725         file.
49726         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
49727         New file.
49728         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
49729         file.
49731 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
49733         * conform/conformtest.pl: Fix typo in handling typed-constant from
49734         allow-header.
49736 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
49738         * README: Cut down references to pre-2.6 Linux kernels and
49739         Linuxthreads.  Update lists of configurations in libc and ports
49740         and sort alphabetically.  Say "or newer" with Linux kernel version
49741         requirements.
49743         * config.h.in [IS_IN_build]: Allow compiling without optimization.
49745 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49747         [BZ #887]
49748         * math/libm-test.inc (logb_test_downward): New test to expose
49749         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
49750         rounding mode.
49752 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
49754         [BZ #14027]
49755         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
49756         to be done.
49757         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
49758         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
49760 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
49762         * sysdeps/unix/i386/brk.S: Remove file.
49763         * sysdeps/unix/i386/dl-brk.S: Likewise.
49764         * sysdeps/unix/i386/pipe.S: Likewise.
49765         * sysdeps/unix/i386/sigreturn.S: Likewise.
49766         * sysdeps/unix/i386/syscall.S: Likewise.
49767         * sysdeps/unix/i386/vfork.S: Likewise.
49768         * sysdeps/unix/i386/wait.S: Likewise.
49770         * sysdeps/unix/common/tcsendbrk.c: Move to ...
49771         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
49773         * configure.in (arm*-none*): Do not allow without
49774         --enable-hacker-mode.
49775         (netbsd*): Remove case setting base_os.
49776         (386bsd*): Likewise.
49777         (freebsd*): Likewise.
49778         (bsdi*): Likewise.
49779         (osf*): Likewise.
49780         (sunos*): Likewise.
49781         (ultrix*): Likewise.
49782         (newsos*): Likewise.
49783         (dynix*): Likewise.
49784         (*bsd*): Likewise.
49785         (sysv*): Likewise.
49786         (isc*): Likewise.
49787         (esix*): Likewise.
49788         (sco*): Likewise.
49789         (minix*): Likewise.
49790         (irix4*): Likewise.
49791         (irix6*): Likewise.
49792         (solaris[2-9]*): Likewise.
49793         (none): Likewise.
49794         * configure: Regenerated.
49796 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49798         [BZ #11521]
49799         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
49800         overflow or cancellation in calculating denominator.
49801         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
49802         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
49803         down expression to avoid unexpected rounding in newer GCCs.
49804         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
49806 2012-04-26  David S. Miller  <davem@davemloft.net>
49808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
49809         long-double compat symbols.
49810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
49811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
49812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
49813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
49814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
49815         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
49816         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
49817         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
49818         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
49819         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
49820         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
49821         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
49822         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49824 2012-04-25  David S. Miller  <davem@davemloft.net>
49826         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
49827         HWCAP_* values only after the memory barriers have been defined.
49828         (atomic_full_barrier): Define.
49829         (atomic_read_barrier): Define.
49830         (atomic_write_barrier): Define.
49832 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49834         * shlib-versions: Add libgcc_s version information.
49835         * sysdeps/generic/libgcc_s.h: Remove.
49836         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
49837         libgcc_s.h.
49838         * sysdeps/gnu/unwind-resume.c: Likewise.
49839         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
49841 2012-04-25  David S. Miller  <davem@davemloft.net>
49843         * sysdeps/unix/sparc/brk.S: Delete.
49844         * sysdeps/unix/sparc/dl-brk.S: Delete.
49845         * sysdeps/unix/sparc/pipe.S: Delete.
49846         * sysdeps/unix/sparc/sysdep.S: Delete.
49847         * sysdeps/unix/sparc/sysdep.h: Delete.
49848         * sysdeps/unix/sparc/vfork.S: Delete.
49849         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
49850         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
49851         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
49852         (ret_ERRVAL, r0, r1, MOVE): Define.
49853         (JUMPTARGET): Remove.
49854         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
49855         sysdeps/unix/sparc/sysdep.h
49856         (ENTRY, END): Remove.
49857         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49859 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
49861         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
49862         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
49863         -DIS_IN_build.
49865         * timezone/README: Update upstream location and email address for
49866         tzcode and tzdata.
49867         * timezone/zdump.c: Update from tzcode 2012b.
49868         * timezone/zic.c: Likewise.
49870         * configure.in (libc_cv_as_needed): Remove test.
49871         * configure: Regenerated.
49872         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
49873         conditional definition.
49874         [$(have-as-needed) != yes] (no-as-needed): Likewise.
49875         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
49876         * config.make.in (have-as-needed): Remove variable.
49878 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
49879             Paul Pluzhnikov  <ppluzhnikov@google.com>
49881         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
49882         strings correctly.
49884 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
49886         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
49887         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
49888         * sysdeps/sh/strlen.S: Likewise.
49890 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
49892         * sysdeps/unix/fork.S: Remove file.
49893         * sysdeps/unix/i386/fork.S: Likewise.
49894         * sysdeps/unix/sparc/fork.S: Likewise.
49896         * sysdeps/unix/system.c: Remove file.
49897         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
49899         * sysdeps/unix/getegid.S: Remove file.
49900         * sysdeps/unix/geteuid.S: Likewise.
49902 2012-04-24  Roland McGrath  <roland@hack.frob.com>
49904         * scripts/check-localplt.awk: New file.
49905         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
49906         of diff.
49907         * scripts/data/localplt-generic.data: Add a comment.
49909         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
49910         NODE when __dir_mkfile failed.
49911         * sysdeps/mach/hurd/symlinkat.c: Likewise.
49912         Reported by Ludovic Courtès <ludo@gnu.org>.
49914 2012-04-24  Andreas Jaeger  <aj@suse.de>
49916         * Makerules (common-clean): Also remove gen-as-const-headers
49917         files.
49919 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
49921         * Makerules (native-compile): Do not change working directory for
49922         build.  Use $(OUTPUT_OPTION) in command.
49923         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
49925 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49927         [BZ #13886]
49928         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
49929         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
49930         * math/libm-test.inc (floor_test): Add more tests.
49931         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
49933 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
49935         * sysdeps/unix/getdents.c: Remove file.
49936         * sysdeps/unix/sysv/getdents.c: Likewise.
49937         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
49939         * sysdeps/unix/syscalls.list (madvise): Add syscall from
49940         sysdeps/unix/mman/syscalls.list.
49941         (mmap): Likewise.
49942         (mprotect): Likewise.
49943         (msync): Likewise.
49944         (munmap): Likewise.
49945         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
49946         * sysdeps/unix/mman/syscalls.list: Remove.
49947         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
49949         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
49950         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
49951         * configure: Regenerated.
49952         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
49953         $(libgcc_s_suffix).
49954         * config.make.in (libgcc_s_suffix): Remove variable.
49956 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
49958         * sysdeps/unix/sysv/gethostname.c: Move to ...
49959         * sysdeps/posix/gethostname.c: ... here.
49961         * sysdeps/unix/execve.S: Remove file.
49963         * sysdeps/unix/_exit.S: Remove file.
49965 2012-04-23  Andreas Jaeger  <aj@suse.de>
49967         [BZ #13739]
49968         * manual/Makefile: Remove make dist support, there's no
49969         need for a stand-alone documentation tar ball.
49970         (TEXI2DVI): Define always, it's not in Makeconfig.
49971         (dist): Removed.
49972         (tar-it): Removed.
49973         (edition): Removed.
49974         (glibc-doc-$(edition).tar): Removed
49975         (%.Z): Removed.
49976         (%.gz): Removed.
49977         (%.uu): Removed.
49978         (ETAGS): Remove, it's in Makeconfig.
49979         (move-if-change): Remove, it's in Makeconfig.
49981 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
49983         [BZ #13970]
49984         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
49985         (strtod, strtof, strtold, strtol, strtoul, strtoq)
49986         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
49987         (strtod_l, strtof_l, strtold_l): Remove __wur.
49988         It is not necessarily an error to ignore strtol's return value.
49989         One can reliably look at the stored endptr to decide whether
49990         the number had valid syntax.
49992 2012-04-21  Andreas Jaeger  <aj@suse.de>
49994         [BZ #13739]
49995         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
49997 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
49999         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
50000         * sysdeps/unix/sysv/Versions: Remove file.
50002 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
50004         [BZ #13927]
50005         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50007 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
50009         [BZ #7064]
50010         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
50011         version from __vm86.
50013 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
50015         * sysdeps/unix/common/lxstat.c: Remove file.
50016         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
50018         * sysdeps/unix/sysv/Makefile: Remove file.
50020         * sysdeps/unix/sysv/direct.h: Remove file.
50022         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
50023         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
50024         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
50025         * sysdeps/unix/sysv/bits/signum.h: Likewise.
50026         * sysdeps/unix/sysv/bits/stat.h: Likewise.
50027         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
50028         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
50030         * sysdeps/unix/sysv/setrlimit.c: Remove file.
50032         * sysdeps/unix/xmknod.c: Remove file.
50033         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
50035         * sysdeps/unix/sysv/settimeofday.c: Remove file.
50037         * sysdeps/unix/sysv/i386/time.S: Remove file.
50039         * sysdeps/unix/fxstat.c: Remove file.
50040         * sysdeps/unix/xstat.c: Likewise.
50041         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
50043         * sysdeps/unix/sysv/sigaction.c: Remove file.
50045         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
50046         (sysdep_headers): Remove variable.
50047         [termio.h not in sysdep_headers] (generated): Likewise.
50048         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
50049         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
50050         * sysdeps/unix/sysv/tcdrain.c: Likewise.
50051         * sysdeps/unix/sysv/tcflow.c: Likewise.
50052         * sysdeps/unix/sysv/tcflush.c: Likewise.
50053         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
50054         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
50055         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
50056         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
50057         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
50059         * sysdeps/unix/siglist.c: Remove file.
50061         * sysdeps/unix/getppid.S: Remove file.
50063         * sysdeps/unix/mkdir.c: Remove file.
50064         * sysdeps/unix/rmdir.c: Likewise.
50066 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
50068         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
50069         ERR_MAX value.
50070         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
50071         errlist-compat value.
50073 2012-04-18  David S. Miller  <davem@davemloft.net>
50075         * sysdeps/generic/memcopy.h (reg_char): Delete.
50076         * debug/strcat_chk.c: Use char, not reg_char.
50077         * debug/strcpy_chk.c: Likewise.
50078         * debug/strncat_chk.c: Likewise.
50079         * debug/strncpy_chk.c: Likewise.
50080         * string/memchr.c: Likewise.
50081         * string/memrchr.c: Likewise.
50082         * string/rawmemchr.c: Likewise.
50083         * string/strcat.c: Likewise.
50084         * string/strchr.c: Likewise.
50085         * string/strchrnul.c: Likewise.
50086         * string/strcmp.c: Likewise.
50087         * string/strcpy.c: Likewise.
50088         * string/strncat.c: Likewise.
50089         * string/strncmp.c: Likewise.
50090         * string/strncpy.c: Likewise.
50092 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
50094         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
50095         __builtin_memcopy is called when src and dest ranges are known to not
50096         overlap.
50098 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
50100         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
50101         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
50102         fwd_align_merge macro call.
50103         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
50104         bwd_align_merge macro call.
50105         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50107 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
50109         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
50110         bwd_align_merge macros.
50111         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
50112         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
50113         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50115 2012-04-18  David S. Miller  <davem@davemloft.net>
50117         * sysdeps/sparc/sparc64/memcopy.h: Delete.
50119 2012-04-18  Andreas Jaeger  <aj@suse.de>
50121         [BZ# 6794]
50122         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
50123         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
50124         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50126         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
50127         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
50128         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50130         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
50131         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
50132         Adjust for changed ldbl-128 files.
50134         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
50135         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
50136         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50138 2012-04-17  David S. Miller  <davem@davemloft.net>
50140         * sysdeps/sparc/sparc32/memcopy.h: Delete.
50142 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
50144         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
50145         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
50146         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
50147         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
50148         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
50149         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
50151 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50153         [BZ #6794]
50154         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
50155         * math/libm-test.inc: Add ilogb errno and exception tests.
50156         * math/w_ilogb.c: New file: ilogb wrapper.
50157         * math/w_ilogbf.c: New file: ilogbf wrapper.
50158         * math/w_ilogbl.c: New file: ilogbl wrapper.
50159         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
50160         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
50161         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
50162         exception being thrown with 0.0 as argument.
50163         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
50164         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
50165         exception being thrown with 0.0 as argument.
50166         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
50167         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50168         exception being thrown with 0.0 as argument.
50169         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
50170         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50171         exception being thrown with 0.0 as argument.
50172         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
50173         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
50174         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
50175         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
50176         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
50177         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
50178         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
50179         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
50180         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
50182 2012-04-17  Petr Baudis  <pasky@ucw.cz>
50184         * include/sys/uio.h: Change __vector to __iovec to avoid clash
50185         with altivec.
50187 2012-04-16  Marek Polacek  <polacek@redhat.com>
50189         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
50191 2012-04-16  Marek Polacek  <polacek@redhat.com>
50193         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
50194         operands of fdivp instruction.
50196 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
50198         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
50199         * elf/tst-auditmod3b.c: Likewise.
50200         * elf/tst-auditmod4b.c: Likewise.
50201         * elf/tst-auditmod5b.c: Likewise.
50202         * elf/tst-auditmod6b.c: Likewise.
50203         * elf/tst-auditmod6c.c: Likewise.
50204         * elf/tst-auditmod7b.c: Likewise.
50205         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
50206         * sysdeps/x86_64/preconfigure.in: Likewise.
50207         * sysdeps/x86_64/preconfigure: Regenerated.
50209 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
50211         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
50212         __ILP32__.
50214 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
50216         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50217         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
50219 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
50221         [BZ #13973]
50222         * locale/iso-639.def: Fix gl language name. Spotted by
50223         Yaron Shahrabani.
50225 2012-04-12  Roland McGrath  <roland@hack.frob.com>
50227         [BZ #2074]
50228         * libio/libio.h (__io_write_fn): Update comment.
50230 2012-04-12  Petr Baudis  <pasky@ucw.cz>
50232         [BZ #2074]
50233         * stdio.texi (Hook Functions): The user provided writer function
50234         is not allowed to return -1.
50236 2012-04-11  David S. Miller  <davem@davemloft.net>
50238         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50240 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
50242         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
50243         Add a leading slash to rtkaio.
50245 2012-04-11  Jim Meyering  <meyering@redhat.com>
50247         [BZ #11959]
50248         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
50249         It is not necessarily an error to ignore fwrite's return
50250         value.  One can reliably use ferror to test for errors after
50251         the fact.
50253 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
50255         * bits/types.h (__snseconds_t): New type.
50256         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
50258         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
50259         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50260         (__SNSECONDS_T_TYPE): Likewise.
50261         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50262         (__SNSECONDS_T_TYPE): Likewise.
50263         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50264         (__SNSECONDS_T_TYPE): Likewise.
50266 2012-04-10  Andreas Jaeger  <aj@suse.de>
50268         [BZ #2636]
50269         * manual/time.texi (Processor Time): Return type of times is
50270         elapsed real time since an arbitrary point in the past.
50271         (CPU Time): Move CLK_TCK from here...
50272         (Processor Time): ...to here.  Correct description.
50273         * manual/conf.texi (Constants for Sysconf): Correct description of
50274         _SC_CLK_TCK.
50276 2012-04-10  David S. Miller  <davem@davemloft.net>
50278         [BZ #13967]
50279         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
50280         where the is a gap between DT_REL(A) and DT_JMPREL.
50282 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
50284         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
50285         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
50286         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
50288 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50290         * elf/dl-support.c (_dl_inhibit_cache): New variable.
50291         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
50292         (dl_main): Handle --inhibit-cache.
50293         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
50294         _dl_inhibit_cache.
50295         * elf/dl-load.c (_dl_map_object): Use it.
50296         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
50298 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
50300         [BZ #13872]
50301         * sysdeps/i386/fpu/e_powl.S (p78): New object.
50302         (__ieee754_powl): Saturate large exponents rather than testing for
50303         overflow of y*log2(x).
50304         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50305         * math/libm-test.inc (pow_test): Do not permit spurious overflow
50306         exceptions.
50308         [BZ #11521]
50309         * math/s_ctan.c: Include <float.h>.
50310         (__ctan): Avoid internal overflow or cancellation in calculating
50311         denominator.
50312         * math/s_ctanf.c: Likewise.
50313         * math/s_ctanl.c: Likewise.
50314         * math/s_ctanh.c: Likewise.
50315         * math/s_ctanhf.c: Likewise.
50316         * math/s_ctanhl.c: Likewise.
50317         * math/libm-test.inc (ctan_test): Add more tests.
50318         (ctanh_test): Likewise.
50319         * sysdeps/i386/fpu/libm-test-ulps: Update.
50320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50322 2012-04-09  Andreas Jaeger  <aj@suse.de>
50324         [BZ #6894]
50325         * manual/filesys.texi (Directory Entries): Mention that d_namlen
50326         is an optional BSD extension.
50328         [BZ #10254]
50329         * manual/stdio.texi (Opening Streams): Document additional fopen
50330         parameters.
50332 2012-04-09  Roland McGrath  <roland@hack.frob.com>
50334         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
50335         %eax without telling the compiler.
50337 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
50339         [BZ # 13963]
50340         * manual/install.texi: Use sourceware.org.
50342 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
50344         [BZ #13873]
50345         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
50346         (__ieee754_pow): Generate overflow and underflow using huge*huge
50347         and tiny*tiny rather than just returning constant infinity or zero
50348         for large exponents.
50349         * math/libm-test.inc (pow_test): Require overflow exceptions for
50350         applicable cases of large exponents.
50352         [BZ #706]
50353         * sysdeps/i386/fpu/e_pow.S (p10): New object.
50354         (__ieee754_pow): Use iterative multiplication algorithm only for
50355         integer exponents with absolute value below 1024.  Check for odd
50356         integer exponents when using algorithm for real exponents.
50357         * math/libm-test.inc (pow_test): Add more tests.
50358         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50360 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
50362         [BZ #13705]
50363         * math/libm-test.inc (exp_test): Do not allow overflow exception
50364         on underflow test.
50366 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
50368         [BZ #13705]
50369         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
50370         instead of __kernel_standard_f.
50372 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
50374         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
50375         * sysdeps/x86_64/memset_chk.S: Likewise.
50377 2012-04-08  Andreas Jaeger  <aj@suse.de>
50379         [BZ #10153]
50380         * manual/startup.texi (Environment Access): Describe return value
50381         for putenv and setenv.
50383         [BZ #6895]
50384         * manual/filesys.texi (Directory Entries): Add description for
50385         DT_LNK.
50387         [BZ #6890]
50388         * manual/filesys.texi (Directory Entries): Clarify that it's file
50389         system not operating system in the description of DT_UNKNOWN.
50391         [BZ #6578]
50392         * manual/syslog.texi (closelog): Fix reference, it's openlog.
50394 2012-04-08  Stephen Compall  <s11@member.fsf.org>
50396         [BZ #6649]
50397         * manual/llio.texi (Opening and Closing Files): Add cross
50398         reference to explain mode argument.
50400 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
50402         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
50403         * sysdeps/x86_64/memset_chk.S: Likewise.
50405 2012-04-07  David S. Miller  <davem@davemloft.net>
50407         * elf/elf.h (R_SPARC_WDISP10): Define.
50408         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
50409         R_SPARC_SIZE32.
50410         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
50411         R_SPARC_SIZE64 and R_SPARC_H34.
50413 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
50415         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
50416         conditions and remove no longer applicable assertion.
50418 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
50420         * bits/byteswap.h: Include <features.h>.
50421         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
50422         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
50424 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
50426         * bits/byteswap.h (__bswap_16): Removed.
50427         Include <bits/byteswap-16.h> to get __bswap_16.
50428         * sysdeps/i386/bits/byteswap.h: Likewise.
50429         * sysdeps/s390/bits/byteswap.h: Likewise.
50430         * sysdeps/x86_64/bits/byteswap.h: Likewise.
50431         * bits/byteswap-16.h: New file.
50432         * sysdeps/i386/bits/byteswap-16.h: Likewise.
50433         * sysdeps/s390/bits/byteswap-16.h: Likewise.
50434         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
50435         * string/Makefile (headers): Add bits/byteswap-16.h.
50437 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
50439         [BZ #13895]
50440         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
50441         extra indirection.
50442         * nss/Makefile (tests-static, tests): Add tst-nss-static.
50443         * nss/tst-nss-static.c: New.
50445 2012-04-06  Robert Millan  <rmh@gnu.org>
50447         [BZ #6486]
50448         * manual/llio.texi (File Position Primitive): lseek
50449         refers to WHENCE when it really means OFFSET.
50451 2012-04-06  Andreas Jaeger  <aj@suse.de>
50453         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
50454         strncmp declarations.
50456         * abilist/libc.abilist: Add __poll and __ppoll.
50458 2012-04-05  David S. Miller  <davem@davemloft.net>
50460         * scripts/check-local-headers.sh: Accept a host triplet in the
50461         path matched by the exclude regexp.
50463         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
50464         definition.
50465         * sysdeps/powerpc/powerpc32/dl-machine.h
50466         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
50467         * sysdeps/s390/s390-32/dl-machine.h
50468         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50469         * sysdeps/sparc/sparc32/dl-machine.h
50470         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50471         * sysdeps/sparc/sparc64/dl-machine.h
50472         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50474         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
50475         lazy binding.
50476         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
50477         undefined symbol errors.
50479         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
50480         DT_NEEDED entries.
50482 2012-04-05  Michael Matz  <matz@suse.de>
50484         [BZ #13592]
50485         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
50487 2012-04-05  Andreas Jaeger  <aj@suse.de>
50489         [BZ #13908]
50490         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
50491         comment.
50493 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
50495         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
50496         which ROUND is no valid rounding mode.
50498 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
50500         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
50501         read again.
50502         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
50504 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
50506         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
50507         an exception using FPU order intentionally.
50509 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
50511         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
50512         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
50513         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
50514         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
50516 2012-04-05  Simon Josefsson  <simon@josefsson.org>
50518         [BZ #12340]
50519         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
50520         EINVAL when BUFLEN is too smal.
50522 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
50524         [BZ #13553]
50525         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
50526         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
50528 2012-04-03  Andreas Jaeger  <aj@suse.de>
50530         [BZ #13938]
50531         * manual/setjmp.texi (System V contexts): Fix sentence.
50533         [BZ #13926]
50534         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
50535         New macro for this case.
50536         [!__GNUC__] (__bswap_64): New inline function for this case.
50537         * sysdeps/x86_64/bits/byteswap.h: Likewise.
50538         * bits/byteswap.h: Likewise.
50539         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
50540         ull, guard with __GLIBC_HAVE_LONG_LONG.
50542         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
50543         __GLIBC_HAVE_LONG_LONG.
50545         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
50546         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
50548 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50550         [BZ #13691]
50551         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
50552         inptr and inend, rather than using last_ch.
50554 2012-04-02  David S. Miller  <davem@davemloft.net>
50556         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
50557         * stdio-common/printf-parse.h (read_int): Change return type to
50558         'int', return -1 on INT_MAX overflow.
50559         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
50560         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
50561         overflows INT_MAX.  Check for overflow of in-format-string precision
50562         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
50563         SIZE_MAX not INT_MAX for integer overflow test.
50564         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
50565         skip the construct in the format string but do not record anything.
50566         * stdio-common/bug22.c: Adjust to test both width/prevision
50567         INT_MAX overflow as well as total length INT_MAX overflow.  Check
50568         explicitly for proper errno values.
50570 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
50572         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
50573         CHAR_MAX.
50574         * string/test-strcmp.c [! WIDE]: Likewise.
50575         * time/tst-mktime2.c: Likewise for INT_MAX.
50576         * string/test-string.h: #include <sys/param.h> for MIN.
50578         * csu/init-first.c (__libc_init_first): Call __ctype_init.
50579         * sysdeps/i386/init-first.c (init): Likewise.
50580         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
50581         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
50582         * sysdeps/sh/init-first.c (init): Likewise.
50584 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
50586         * po/ru.po: Update from translation team.
50587         * po/vi.po: Likewise.
50589 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
50591         * resolv/nss_dns/dns-host.c: Merge copyright years.
50593 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50595         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50596         Optimize memcpy with prefetch if
50597         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
50598         src, dst pointers have unequal 16 byte alignments.
50600 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
50602         [BZ #13928]
50603         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
50604         from a CNAME entry and return the minimum ttl for the query.
50605         (gaih_getanswer_slice): Likewise.
50607 2012-03-30  Jeff Law  <law@redhat.com>
50609         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
50610         due to long keys.
50611         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
50612         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
50614         * resolv/nss_dns/dns-host.c: Update copyright year.
50616 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
50618         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
50619         requests to save a system call.  Fix check that all bytes are sent.
50621         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
50622         comments for sendmmsg.
50624 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50626         [BZ #13691]
50627         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
50628         with only 1 character between 0x0041 and 0x01b0.
50629         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
50630         * wcsmbs/tst-mbsnrtowcs.c: New file.
50632 2012-03-29  David S. Miller  <davem@davemloft.net>
50634         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
50635         small copies by hand.
50637 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50639         [BZ #13761]
50640         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
50641         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
50642         group memberships.
50644 2012-03-28  David S. Miller  <davem@davemloft.net>
50646         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
50647         that branches into memcpy.
50648         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
50649         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
50650         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
50651         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
50652         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
50653         bits.
50654         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
50655         implementation too.
50656         * sysdeps/sparc/mempcpy.S: New file.
50658         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
50659         the IFUNC routine in the libc case.
50660         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
50662         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
50663         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
50664         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
50665         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
50666         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
50667         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
50668         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
50669         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
50671         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
50672         loop to 256 bytes instead of 64 bytes and fix test signedness.
50674         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
50675         * sysdeps/sparc/sparc32/Makefile: rather than here...
50676         * sysdeps/sparc/sparc64/Makefile: and here.
50678 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
50680         * malloc/mallocbug.c: Avoid warnings about unused variables.
50682 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
50684         [BZ #13760]
50685         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
50686         in the right place. Discard and retry query if response is
50687         larger than input buffer size.
50689 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
50691         [BZ #369]
50692         [BZ #2678]
50693         [BZ #3866]
50694         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
50695         x for large integer exponent.
50696         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
50697         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
50698         sign of result as needed afterwards.
50699         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
50700         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
50701         result for underflowing pow the same as for overflow.
50702         (__kernel_standard_l): Handle powl overflow and underflow here
50703         rather than calling __kernel_standard.
50704         * math/libm-test.inc (pow_test): Add more tests.
50706         [BZ #3868]
50707         [BZ #13879]
50708         [BZ #13910]
50709         [BZ #13911]
50710         [BZ #13912]
50711         [BZ #13913]
50712         [BZ #13915]
50713         [BZ #13916]
50714         [BZ #13917]
50715         [BZ #13918]
50716         [BZ #13919]
50717         [BZ #13920]
50718         [BZ #13921]
50719         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
50720         * sysdeps/ieee754/k_standard.c: Include <float.h>.
50721         (__kernel_standard_l): New function.
50722         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
50723         __kernel_standard.
50724         * math/w_acosl.c (__acosl): Likewise.
50725         * math/w_asinl.c (__asinl): Likewise.
50726         * math/w_atan2l.c (__atan2l): Likewise.
50727         * math/w_atanhl.c (__atanhl): Likewise.
50728         * math/w_coshl.c (__coshl): Likewise.
50729         * math/w_exp10l.c (__exp10l): Likewise.
50730         * math/w_exp2l.c (__exp2l): Likewise.
50731         * math/w_fmodl.c (__fmodl): Likewise.
50732         * math/w_hypotl.c (__hypotl): Likewise.
50733         * math/w_j0l.c (__j0l, __y0l): Likewise.
50734         * math/w_j1l.c (__j1l, __y1l): Likewise.
50735         * math/w_jnl.c (__jnl, __ynl): Likewise.
50736         * math/w_lgammal.c (__lgammal): Likewise.
50737         * math/w_log10l.c (__log10l): Likewise.
50738         * math/w_log2l.c (__log2l): Likewise.
50739         * math/w_logl.c (__logl): Likewise.
50740         * math/w_powl.c (__powl): Likewise.
50741         * math/w_remainderl.c (__remainderl): Likewise.
50742         * math/w_scalbl.c (sysv_scalbl): Likewise.
50743         * math/w_sinhl.c (__sinhl): Likewise.
50744         * math/w_sqrtl.c (__sqrtl): Likewise.
50745         * math/w_tgammal.c (__tgammal): Likewise.
50746         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
50747         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
50748         * math/libm-test.inc (acos_test): Add more tests.
50749         (acosh_test): Likewise.
50750         (asin_test): Likewise.
50751         (atanh_test): Likewise.
50752         (exp_test): Likewise.
50753         (exp10_test): Likewise.
50754         (exp2_test): Likewise.
50755         (expm1_test): Likewise.
50756         (lgamma_test): Likewise.
50757         (log_test): Likewise.
50758         (log10_test): Likewise.
50759         (log1p_test): Likewise.
50760         (log2_test): Likewise.
50761         (pow_test): Do not allow some spurious overflow exceptions.
50762         (sqrt_test): Add more tests.
50763         (tgamma_test): Likewise.
50764         (y0_test): Likewise.
50765         (y1_test): Likewise.
50766         (yn_test): Likewise.
50768 2012-03-27  Anton Blanchard  <anton@samba.org>
50770         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
50771         MAP_HUGETLB.
50772         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50773         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
50774         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50776 2012-03-27  David S. Miller  <davem@davemloft.net>
50778         * conform/Makefile: Run run-conformtest.sh using $(BASH).
50780         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
50781         have-as-vis3 check.
50783 2012-03-27  Andreas Jaeger  <aj@suse.de>
50785         * sysdeps/x86_64/elf/configure.in: Moved to ...
50786         * sysdeps/x86_64/configure.in: ... here.
50787         * sysdeps/x86_64/elf/start.S: Moved to ...
50788         * sysdeps/x86_64/start.S: ... here.
50789         * sysdeps/x86_64/elf/configure: Delete.
50791         * sysdeps/x86_64/configure.in: Merge contents from
50792         sysdeps/i386/configure.in (without i686 check).
50794         * sysdeps/i386/elf/Versions: Merge into ...
50795         * sysdeps/i386/Versions: ... this.
50796         * sysdeps/i386/elf/Versions: Delete file.
50797         * sysdeps/i386/elf/start.S: Moved to ...
50798         * sysdeps/i386/start.S: ...here.
50799         * sysdeps/i386/elf/configure.in: Merge into...
50800         * sysdeps/i386/configure.in: ...here.
50801         * sysdeps/i386/elf/configure.in: Delete file.
50802         * sysdeps/i386/elf/configure: Delete file.
50804         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
50805         * debug/backtracesyms.c: ... here.
50806         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
50807         * debug/backtracesymsfd.c: ... here.
50808         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
50809         * sysdeps/generic/ifunc-sel.h: ... here.
50811         * sysdeps/unix/i386/start.c: Delete file.
50812         * sysdeps/unix/sparc/start.c: Delete file.
50813         * sysdeps/unix/start.c: Delete file.
50815         * sysdeps/sh/elf/configure.in: Moved to ...
50816         * sysdeps/sh/configure.in: ... here.
50817         * sysdeps/sh/elf/start.S: Moved to ...
50818         * sysdeps/sh/start.S: ... here.
50819         * sysdeps/sh/elf/configure: Delete file.
50821         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
50822         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
50823         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
50824         * sysdeps/powerpc/powerpc64/entry.h: ... here.
50825         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
50826         * sysdeps/powerpc/powerpc64/start.S: here.
50827         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
50828         * sysdeps/powerpc/powerpc64/Makefile: ... this.
50829         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
50830         * sysdeps/powerpc/powerpc64/configure.in: ... this.
50831         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
50833         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
50834         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
50835         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
50836         * sysdeps/powerpc/powerpc32/start.S: ... here.
50837         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
50838         * sysdeps/powerpc/powerpc32/configure.in: ... this.
50839         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
50841         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
50842         * sysdeps/powerpc/ifunc-sel.h: ... here.
50843         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
50844         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
50846         * sysdeps/sparc/elf/configure.in: Moved to ...
50847         * sysdeps/sparc/configure.in: ... here.
50848         * sysdeps/sparc/elf/configure: Delete file.
50849         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
50850         * sysdeps/sparc/sparc32/start.S: ... here.
50851         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
50852         * sysdeps/sparc/sparc64/start.S: ... here.
50853         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
50854         * sysdeps/sparc/sparc32/Makefile: ... this.
50855         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
50856         * sysdeps/sparc/sparc64/Makefile: ... this.
50858         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
50859         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
50860         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
50861         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
50862         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
50863         * sysdeps/s390/s390-32/setjmp.S: ... here.
50864         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
50865         * sysdeps/s390/s390-32/configure.in: ... here.
50866         * sysdeps/s390/s390-32/elf/configure: Delete file.
50867         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
50868         * sysdeps/s390/s390-32/start.S: ... here.
50870         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
50871         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
50872         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
50873         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
50874         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
50875         * sysdeps/s390/s390-64/setjmp.S: ... here.
50876         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
50877         * sysdeps/s390/s390-64/configure.in: ... here
50878         * sysdeps/s390/s390-64/elf/configure: Delete file.
50879         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
50880         * sysdeps/s390/s390-64/start.S: ... here.
50881         * sysdeps/s390/s390-64/elf/configure: Delete.
50883         * configure.in: Remove support for elf directories in sysdeps.
50885         * configure: Regenerated.
50886         * sysdeps/i386/configure: Regenerated.
50887         * sysdeps/powerpc/powerpc32/configure: Regenerated.
50888         * sysdeps/powerpc/powerpc64/configure: Regenerated.
50889         * sysdeps/s390/s390-32/configure: Regenerated.
50890         * sysdeps/s390/s390-64/configure: Regenerated.
50891         * sysdeps/sh/configure: Regenerated.
50892         * sysdeps/sparc/configure: Regenerated.
50893         * sysdeps/x86_64/configure: Regenerated.
50895 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
50897         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50899         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
50900         denormal result into account.
50902 2012-03-25  Roland McGrath  <roland@hack.frob.com>
50904         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
50905         Reported by Allan McRae <allan@archlinux.org>.
50907 2012-03-23  Jeff Law  <law@redhat.com>
50909         * nss/getnssent.c (__nss_getent): Fix typo.
50911 2012-03-23  David S. Miller  <davem@davemloft.net>
50913         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50915 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
50917         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
50918         to pad to uint64_t for each field.
50919         (dl_tls_index): Replace unsigned long with uint64_t.
50921 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
50922         Paul Pluzhnikov  <ppluzhnikov@google.com>
50924         [BZ #6528]
50925         * grp/Makefile (otherlibs): Don't set it.
50926         * inet/Makefile (otherlibs): Likewise.
50927         * login/Makefile (otherlibs): Likewise.
50928         * nscd/Makefile (otherlibs): Likewise.
50929         * posix/Makefile (otherlibs): Likewise.
50930         * pwd/Makefile (otherlibs): Likewise.
50931         * rt/Makefile (otherlibs): Likewise.
50932         * sunrpc/Makefile (otherlibs): Likewise.
50933         * nss/Makefile (otherlibs): Likewise.
50934         Add libnss_files to routines and static-only-routines.
50935         ($(objpfx)getent): Remove rule.
50936         * resolv/Makefile: Add libnss_dns and libresolv to routines and
50937         static-only-routines.
50939 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
50941         [BZ #13892]
50942         * math/s_cexp.c: Include <float.h>.
50943         (__cexp): Handle exp result overflowing not necessarily
50944         overflowing both real and imaginary parts of result.
50945         * math/s_cexpf.c: Likewise.
50946         * math/s_cexpl.c: Likewise.
50947         * math/libm-test.inc (cexp_test): Add more tests.
50948         * sysdeps/i386/fpu/libm-test-ulps: Update.
50949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50951 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
50953         * include/link.h (ELFW): New macro.
50954         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
50955         Replace ELF64_R_TYPE with ELFW(R_TYPE).
50957 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
50959         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
50960         with uint64_t.
50962 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
50964         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
50965         declaration.
50966         (struct La_x32_retval): Likewise.
50968 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
50970         * sysdeps/x86_64/preconfigure.in: New file.
50971         * sysdeps/x86_64/preconfigure: New generated file.
50973 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
50975         [BZ #13824]
50976         * math/e_exp2l.c: Include <float.h>.
50977         (__ieee754_exp2l): Handle overflow and underflow cases
50978         separately.  Only pass fractional part of argument to
50979         __ieee754_expl.
50980         * math/libm-test.inc (exp2_test): Add more tests.
50982         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
50983         negating x to take absolute value.
50984         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
50985         Likewise.
50986         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
50987         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
50988         Likewise.
50989         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
50990         computing low part if x was negated.
50991         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
50993 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
50995         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
50996         la_x32_gnu_pltexit.
50997         (pltexit): Cast int_retval to ptrdiff_t.
50998         * elf/tst-auditmod3b.c: Likewise.
50999         * elf/tst-auditmod4b.c: Likewise.
51000         * elf/tst-auditmod5b.c: Likewise.
51001         * elf/tst-auditmod6b.c: Likewise.
51002         * elf/tst-auditmod6c.c: Likewise.
51003         * elf/tst-auditmod7b.c: Likewise.
51005         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
51006         and x32_gnu_pltexit.
51008         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
51009         __ELF_NATIVE_CLASS.
51010         (La_x32_regs): New macro.
51011         (La_x32_retval): Likewise.
51012         (la_x32_gnu_pltenter): New function prototype.
51013         (la_x32_gnu_pltexit): Likewise.
51015 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
51017         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
51018         exponent.
51020         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51022         * configure.in (libc_cv_cc_nofma): Check for option to disable
51023         generation of FMA instructions.
51024         * configure: Regenerate.
51025         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
51026         * sysdeps/ieee754/dbl-64/Makefile: New file.
51027         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
51028         Remove brandred-fma4.
51029         (CFLAGS-brandred-fma4.c): Remove.
51030         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
51031         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
51032         define.
51033         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
51034         define.
51036 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
51038         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
51039         LLONG_MAX != LONG_MAX.
51040         (_itoa_word): Use _ITOA_WORD_TYPE on value.
51041         (_fitoa_word): Likewise.
51042         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
51043         LLONG_MAX != LONG_MAX.
51044         * stdio-common/_itowa.h: Include <_itoa.h>.
51045         (_itowa_word): Use _ITOA_WORD_TYPE on value.
51046         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
51047         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
51048         only if not defined.
51049         (_ITOA_WORD_TYPE): Likewise.
51050         (_itoa_word): Use _ITOA_WORD_TYPE on value.
51051         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
51053 2012-03-21  David S. Miller  <davem@davemloft.net>
51055         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51057 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
51059         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
51060         of x86_64 when setting libc_cv_slibdir, libdir and
51061         libc_cv_localedir.
51062         * sysdeps/unix/sysv/linux/configure: Regenerated.
51064 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
51066         * manual/lang.texi (Old Varargs): Remove section.
51067         (How Variadic): Update menu.
51068         (va_start): Do not mention varargs.h.
51070 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
51071             Joseph Myers  <joseph@codesourcery.com>
51073         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
51074         link test.
51075         * configure: Regenerated.
51077 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
51079         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
51080         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
51081         conformtest.pl
51083 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
51085         * NOTES: Remove.
51086         * Makefile (files-for-dist): Remove NOTES.
51087         (NOTES): Remove rule.
51088         * README: Don't refer to NOTES.
51089         * manual/creature.texi: Don't include macros.texi.
51090         * manual/intro.texi (creature.texi): Remove comment referring to
51091         NOTES.
51093         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
51094         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
51095         * configure: Regenerated.
51096         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
51097         LIBC_TRY_CC_OPTION.
51098         (libc_cv_as_i686): Likewise.
51099         (libc_cv_cc_avx): Likewise.
51100         (libc_cv_cc_sse2avx): Likewise.
51101         (libc_cv_cc_fma4): Likewise.
51102         (libc_cv_cc_novzeroupper): Likewise.
51103         * sysdeps/i386/configure: Regenerated.
51105         [BZ #13883]
51106         * sysdeps/i386/fpu/s_cexp.S: Remove.
51107         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
51108         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
51109         * math/libm-test.inc (cexp_test): Add more tests.
51110         * sysdeps/i386/fpu/libm-test-ulps: Update.
51111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51113 2012-03-21  Allan McRae  <allan@archlinux.org>
51115         * timezone/Makefile: Do not install iso3166.tab and zone.tab
51117 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
51119         [BZ #13871]
51120         * math/w_exp2.c: Do not include <float.h>.
51121         (o_threshold, u_threshold): Remove.
51122         (__exp2): Calculate result before checking finiteness and calling
51123         __kernel_standard.
51124         * math/w_exp2f.c: Likewise.
51125         * math/w_exp2l.c: Likewise.
51126         * math/libm-test.inc (exp2_test): Require overflow exception for
51127         1e6 input.
51129         [BZ #3866]
51130         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
51131         range of signed 64-bit integers before using fistpll.  Remove
51132         checks for whether integers fit in mantissa bits.
51133         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
51134         the range of signed 32-bit integers before using fistpl.  Remove
51135         checks for whether integers fit in mantissa bits.
51136         * sysdeps/i386/fpu/e_powl.S (p64): New object.
51137         (__ieee754_powl): Test for y outside the range of signed 64-bit
51138         integers before using fistpll.  Reduce 64-bit values to 63-bit
51139         ones as needed.
51140         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
51141         divide-by-zero is raised for zero to large negative powers.
51142         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
51143         (__ieee754_powl): Test for y outside the range of signed 64-bit
51144         integers before using fistpll.  Reduce 64-bit values to 63-bit
51145         ones as needed.
51146         * math/libm-test.inc (pow_test): Add more tests.
51148 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
51150         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
51151         <stdio-common/_itoa.h>.
51152         * debug/segfault.c: Likewise.
51153         * elf/dl-cache.c: Likewise.
51154         * elf/dl-minimal.c: Likewise.
51155         * elf/dl-misc.c: Likewise.
51156         * elf/dl-sysdep.c: Likewise.
51157         * elf/dl-version.c: Likewise.
51158         * elf/rtld.c: Likewise.
51159         * hurd/hurdsock.c: Likewise.
51160         * hurd/lookup-retry.c: Likewise.
51161         * malloc/malloc.c: Likewise.
51162         * malloc/mtrace.c: Likewise.
51163         * nscd/nscd_getgr_r.c: Likewise.
51164         * nscd/nscd_getpw_r.c: Likewise.
51165         * nscd/nscd_getserv_r.c: Likewise.
51166         * posix/getopt_init.c: Likewise.
51167         * posix/wordexp.c: Likewise.
51168         * stdio-common/_itoa.c: Likewise.
51169         * stdio-common/printf_fphex.c: Likewise.
51170         * stdio-common/vfprintf.c: Likewise.
51171         * string/_strerror.c: Likewise.
51172         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
51173         * sysdeps/i386/i686/hp-timing.h: Likewise.
51174         * sysdeps/mach/_strerror.c: Likewise.
51175         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
51176         * sysdeps/mach/hurd/sethostid.c: Likewise.
51177         * sysdeps/mach/hurd/xmknodat.c: Likewise.
51178         * sysdeps/mach/xpg-strerror.c: Likewise.
51179         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
51180         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
51181         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
51182         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
51183         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
51184         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
51185         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
51186         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
51187         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
51188         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
51189         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
51190         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
51191         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
51192         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
51193         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
51194         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
51195         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
51196         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
51197         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
51198         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
51199         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
51201         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
51203         * stdio-common/_itoa.h: Moved to ...
51204         * sysdeps/generic/_itoa.h: Here.
51206         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
51208         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
51209         instead of "_itoa.h" and "_itowa.h".
51210         * stdio-common/vfprintf.: Likewise.
51212 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
51214         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
51215         <bits/wordsize.h>.
51216         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
51217         (__signbit): Likwise.
51218         (llrintf): Likwise.
51219         (llrint): Likwise.
51221 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
51223         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
51224         __WORDSIZE != 64.
51226 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
51228         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
51229         OVERFLOW_EXCEPTION_OK.
51230         * math/libm-test.inc ("Philosophy"): Update comment about
51231         exception testing.
51232         (OVERFLOW_EXCEPTION): Define.
51233         (OVERFLOW_EXCEPTION_OK): Likewise.
51234         (INVALID_EXCEPTION_OK): Renumber.
51235         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51236         (IGNORE_ZERO_INF_SIGN): Likewise.
51237         (test_exceptions): Handle FE_OVERFLOW.
51238         (exp10_test): Expect overflow exceptions.
51239         (exp2_test): Likewise.
51240         (expm1_test): Likewise.
51241         (nextafter_test): Likewise.
51242         (pow_test): Likewise.
51243         (scalbn_test): Likewise.
51244         (scalbln_test): Likewise.
51246 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51248         * sysdeps/x86_64/bits/atomic.h
51249         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
51250         64bit integer.
51251         (atomic_exchange_acq): Likewise.
51252         (__arch_exchange_and_add_body): Likewise.
51253         (__arch_add_body): Likewise.
51254         (atomic_add_negative): Likewise.
51255         (atomic_add_zero): Likewise.
51257 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51259         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
51260         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
51262 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51264         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
51265         Check __x86_64__ instead of __WORDSIZE.
51267 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51269         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
51271 2012-03-19  David S. Miller  <davem@davemloft.net>
51273         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51275         * sysdeps/sparc/fpu/fenv_private.h: New file.
51276         * sysdeps/sparc/fpu/math_private.h: Use it.
51277         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
51278         Remove.
51279         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
51280         (libc_feholdexcept_setroundl): Remove.
51281         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
51282         Remove.
51283         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
51284         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
51286 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51288         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
51289         int64_t instead of long int.
51290         (INSERT_WORDS64): Likwise.
51292 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51294         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
51295         _Unwind_GetCFA return to _Unwind_Ptr first.
51297 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
51299         [BZ #13629]
51300         * math/s_clog.c: Include <float.h>.
51301         (__clog): Scale large or subnormal inputs.
51302         * math/s_clogf.c: Likewise.
51303         * math/s_clogl.c: Likewise.
51304         * math/s_clog10.c: Include <float.h>.
51305         (M_LOG10_2): Define.
51306         (__clog10): Scale large or subnormal inputs.
51307         * math/s_clog10f.c: Likewise.
51308         * math/s_clog10l.c: Likewise.
51309         * math/libm-test.inc (clog_test): Add more tests.
51310         (clog10_test): Likewise.
51311         * sysdeps/i386/fpu/libm-test-ulps: Update.
51312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51314         [BZ #11451]
51315         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
51316         x and y.
51317         * math/libm-test.inc (atan2_test): Add another test.
51319         * Makerules (common-objdir-compile): Remove.
51320         * sysdeps/unix/Makefile (config-generated): Do not add
51321         $(unix-generated) to variable.
51322         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
51323         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
51324         Remove rule.
51325         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
51326         Likewise.
51327         [generic bits/local_lim.h] (before-compile): Do not append to
51328         variable.
51329         [generic bits/local_lim.h] (common-generated): Likewise.
51330         [generic sys/param.h] (before-compile): Do not append to variable.
51331         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
51332         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
51333         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
51334         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
51335         include.
51336         [generic sys/param.h] (sys/param.h-includes): Remove variable.
51337         [generic sys/param.h] (sys/param.h-includes): Remove rule.
51338         [generic sys/param.h] ($(addprefix
51339         $(common-objpfx),$(sys/param.h-includes))): Likewise.
51340         [generic sys/param.h] (common-generated): Do not append to
51341         variable.
51342         [generic sys/param.h] (sysdep_headers): Likewise.
51343         [generic bits/errno.h] (before-compile): Do not append to
51344         variable.
51345         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
51346         rule.
51347         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
51348         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
51349         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
51350         [generic bits/errno.h] (common-generated): Do not append to
51351         variable.
51352         [generic bits/ioctls.h] (before-compile): Do not append to
51353         variable.
51354         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
51355         rule.
51356         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
51357         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
51358         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
51359         rule.
51360         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
51361         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
51362         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
51363         [generic bits/ioctls.h] (common-generated): Do not append to
51364         variable.
51365         [generic sys/syscall.h] (syscall.h): Remove variable.
51366         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
51367         rule.
51368         [generic sys/syscall.h] (before-compile): Do not append to
51369         variable.
51370         [generic sys/syscall.h] (common-generated): Likewise.
51371         * sysdeps/unix/errnos-tmpl.c: Remove file.
51372         * sysdeps/unix/errnos.awk: Likewise.
51373         * sysdeps/unix/ioctls-tmpl.c: Likewise.
51374         * sysdeps/unix/ioctls.awk: Likewise.
51375         * sysdeps/unix/mk-local_lim.c: Likewise.
51376         * sysdeps/unix/snarf-ioctls: Likewise.
51378 2012-03-19  Richard Henderson  <rth@twiddle.net>
51380         * sysdeps/i386/fpu/fenv_private.h: New file.
51381         * sysdeps/i386/fpu/math_private.h: Use it.
51382         (math_opt_barrier, math_force_eval): Remove.
51383         (libc_feholdexcept_setround_53bit): Remove.
51384         (libc_feupdateenv_53bit): Remove.
51385         * sysdeps/x86_64/fpu/math_private.h: Likewise.
51386         (math_opt_barrier, math_force_eval): Remove.
51387         (libc_feholdexcept): Remove.
51388         (libc_feholdexcept_setround): Remove.
51389         (libc_fetestexcept, libc_fesetenv): Remove.
51390         (libc_feupdateenv_test): Remove.
51391         (libc_feupdateenv, libc_feholdsetround): Remove.
51392         (libc_feresetround): Remove.
51394         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
51395         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
51397         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
51398         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
51399         (libc_feupdateenv_testl): New.
51400         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
51401         (libc_feupdateenv_testf): New.
51402         (libc_feupdateenv): Use libc_feupdateenv_test.
51403         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
51404         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
51406         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
51407         (libc_feholdsetroundf, libc_feholdsetroundl): New.
51408         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
51409         (libc_feresetround_noex): New.
51410         (libc_feresetround_noexf): New.
51411         (libc_feresetround_noexl): New.
51412         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
51413         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
51414         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
51415         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
51416         SET_RESTORE_ROUND.
51417         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
51418         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
51419         (__cos): Likewise.
51420         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
51421         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
51422         SET_RESTORE_ROUND_NOEX.
51423         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
51424         SET_RESTORE_ROUND_NOEXF.
51425         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
51426         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
51427         (libc_feholdsetroundf): New.
51428         (libc_feresetround, libc_feresetroundf): New.
51430         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
51431         (libc_feholdexcept_setround_53bit): Convert from macro to function.
51432         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
51434         * sysdeps/generic/math_private.h: Include <fenv.h>.
51435         (default_libc_feholdexcept): New.
51436         (default_libc_feholdexcept_setround): New.
51437         (default_libc_fesetenv, default_libc_feupdateenv): New.
51438         (libc_feholdexcept): Only define if undefined.
51439         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
51440         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
51441         (libc_feholdexcept_setroundl): Likewise.
51442         (libc_feholdexcept_setround_53bit): Likewise.
51443         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
51444         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
51445         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
51446         (libc_feupdateenv_53bit): Likewise.
51447         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
51448         (libc_feholdexcept): Convert from macro to inline function.
51449         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
51450         (libc_fesetenv, libc_feupdateenv): Likewise.
51452         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
51453         not previously defined.
51454         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
51455         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
51456         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
51457         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
51458         * sysdeps/ieee754/flt-32/math_private.h: New file.
51459         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
51460         math_private.h below SET_FLOAT_WORD.
51461         (__isnan, __isinf_ns, __finite): Remove.
51462         (__isnanf, __isinf_nsf, __finitef): Remove.
51464 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
51466         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51468 2012-03-17  David S. Miller  <davem@davemloft.net>
51470         [BZ #6471]
51471         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
51472         for 2.16.
51474 2012-03-16  David S. Miller  <davem@davemloft.net>
51476         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
51477         warnings.
51479         [BZ #6471]
51480         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
51481         properly.
51482         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
51483         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
51484         sysdep_routines when subdir is sysvipc.
51485         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
51486         __getshmlba helper.
51488         * sysdeps/sparc/fpu/libm-test/ulps: Update.
51490 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
51492         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
51493         [__LP64__].
51495 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
51497         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
51498         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
51499         (__lround): Renamed to ...
51500         (__llround): This.  Replace long int with long long int.
51501         Define lround functions as aliases of llround functions.
51502         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
51504 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
51506         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
51507         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
51508         adresses to uintptr_t.  Replace "long int" and "unsigned long
51509         int" with "greg_t" on va_arg.
51511 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
51513         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
51514         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
51516         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
51517         Move e_machine check before EI_CLASS check.  Handle x32
51518         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
51519         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
51520         SKIP_EM_IA_64 and include
51521         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
51523         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
51524         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
51525         (add_system_dir): New macro.
51527         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
51528         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
51530 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
51532         [BZ #2551]
51533         [BZ #2552]
51534         [BZ #2553]
51535         [BZ #2554]
51536         [BZ #2562]
51537         [BZ #2563]
51538         [BZ #2565]
51539         [BZ #2566]
51540         [BZ #2576]
51541         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
51542         (y0): Likewise.
51543         * math/w_j0f.c (j0f): Likewise.
51544         (y0f): Likewise.
51545         * math/w_j0l.c (__j0l): Likewise.
51546         (__y0l): Likewise.
51547         * math/w_j1.c (j1): Likewise.
51548         (y1): Likewise.
51549         * math/w_j1f.c (j1f): Likewise.
51550         (y1f): Likewise.
51551         * math/w_j1l.c (__j1l): Likewise.
51552         (__y1l): Likewise.
51553         * math/w_jn.c (jn): Likewise.
51554         (yn): Likewise.
51555         * math/w_jnf.c (jnf): Likewise.
51556         (ynf): Likewise.
51557         * math/w_jnl.c (__jnl): Likewise.
51558         (__ynl): Likewise.
51559         * math/libm-test.inc (j0_test): Add more tests.
51560         (j1_test): Likewise.
51561         (jn_test): Likewise.  Add trailing semicolon to existing test.
51562         (y0_test): Likewise.
51563         (y1_test): Likewise.
51564         * sysdeps/i386/fpu/libm-test-ulps: Update.
51565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51567         [BZ #13851]
51568         [BZ #13854]
51569         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
51570         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
51571         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
51572         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
51573         (__tanl): Set errno for infinite argument.
51574         * sysdeps/i386/fpu/mptan.c: Remove.
51575         * sysdeps/i386/fpu/s_tan.S: Likewise.
51576         * sysdeps/i386/fpu/s_tanl.S: Likewise.
51577         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
51578         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
51579         * math/libm-test.inc (tan_test): Add more tests and enable more
51580         tests for double and long double.
51581         * sysdeps/i386/fpu/libm-test-ulps: Update.
51582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51584 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
51586         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
51587         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
51589 2012-03-16  Roland McGrath  <roland@hack.frob.com>
51591         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
51592         * configure.in: Use it for both main tree and add-ons.
51593         * configure: Regenerated.
51595 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
51597         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
51599 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
51601         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
51602         in comment.
51604         [BZ #13851]
51605         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
51606         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
51607         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
51608         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
51609         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
51610         infinite argument.
51611         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
51612         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
51613         != 0 for prec == 2.
51614         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
51615         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
51616         * sysdeps/i386/fpu/s_cosl.S: Likewise.
51617         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
51618         * sysdeps/i386/fpu/s_sinl.S: Likewise.
51619         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
51620         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
51621         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
51622         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
51623         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
51624         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
51625         * math/libm-test.inc (cos_test): Add more tests and enable more
51626         tests for long double.
51627         (sin_test): Likewise.
51628         (sincos_test): Likewise.
51629         * sysdeps/i386/fpu/libm-test-ulps: Update.
51630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51632 2012-03-16  David S. Miller  <davem@davemloft.net>
51634         * sysdeps/sparc/fpu/math_private.h: New file.
51636 2012-03-15  David S. Miller  <davem@davemloft.net>
51638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
51639         file.
51640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
51641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
51642         file.
51643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
51644         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
51645         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
51646         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
51647         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
51648         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
51649         sysdep routines.
51650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
51652         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
51653         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
51655         * sysdeps/sparc/sparc-ifunc.h: New file.
51656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
51657         sparc-ifunc.h
51658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
51659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
51660         Likewise.
51661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
51662         Likewise.
51663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
51664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
51665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
51667         Likewise.
51668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
51669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
51670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
51671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
51672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
51673         Likewise.
51674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
51675         Likewise.
51676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
51677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
51678         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
51679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
51680         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
51681         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
51682         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
51683         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
51684         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
51685         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
51686         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
51687         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
51688         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
51689         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
51690         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
51691         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
51692         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
51693         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
51694         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
51695         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
51696         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
51697         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
51698         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
51699         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
51701 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
51703         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
51704         scaling.
51705         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51707 2012-03-15  Andreas Jaeger  <aj@suse.de>
51709         [BZ #13852]
51710         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
51711         ieee754/flt-32 implementation for sin, cos and sincos.
51712         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
51713         * sysdeps/i386/fpu/s_cosf.S: Likewise.
51714         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
51715         * sysdeps/i386/fpu/s_sinf.S: Likewise.
51716         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
51717         ieee754/flt-32 implementation for tan.
51719         * math/libm-test.inc (cos_test): Enable some large input tests for
51720         float as well
51721         (sin_test): Likewise.
51722         (sincos_test): Likewise.
51723         (tan_test): Add tests for large input.
51725         * sysdeps/i386/fpu/libm-test-ulps: Update.
51727 2012-03-15  Andreas Jaeger  <aj@suse.de>
51729         [BZ #13658]
51730         * math/libm-test.inc (cos_test): Add more test cases.
51731         (sin_test): Likewise.
51732         (sincos_test): Likewise.
51734 2012-03-15  Andreas Jaeger  <aj@suse.de>
51736         [BZ #13837]
51737         * math/libm-test.inc (cos_test): Add a test case for large input
51738         value.
51739         (sin_test): Likewise.
51740         (sincos_test): Likewise.
51742 2012-03-15  Andreas Jaeger  <aj@suse.de>
51743             Joseph Myers  <joseph@codesourcery.com>
51745         [BZ #13658]
51746         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
51747         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
51748         * sysdeps/i386/fpu/branred.c: Likewise.
51749         * sysdeps/i386/fpu/dosincos.c: Likewise.
51750         * sysdeps/i386/fpu/mpa.c: Likewise.
51751         * sysdeps/i386/fpu/s_cos.S: Likewise.
51752         * sysdeps/i386/fpu/s_sin.S: Likewise.
51753         * sysdeps/i386/fpu/s_sincos.S: Likewise.
51754         * sysdeps/i386/fpu/sincos32.c: Likewise.
51756         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
51757         Define.
51758         (libc_feupdateenv_53bit): Define.
51759         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
51760         Define.
51761         (libc_feupdateenv_53bit): Define.
51763         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
51764         53 bit (without extend i386 double precision).
51766         * math/libm-test.inc (sincos_test): Add tests for large input.
51767         (sin): Likewise.
51768         (cos): Likewise.
51770         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
51772 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
51774         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51776 2012-03-15  David S. Miller  <davem@davemloft.net>
51778         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
51779         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
51780         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
51781         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
51782         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
51783         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
51784         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
51785         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
51786         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
51787         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
51788         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
51789         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
51790         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
51791         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
51792         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
51793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
51794         file.
51795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
51796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
51797         file.
51798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
51799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
51800         file.
51801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
51802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
51803         file.
51804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
51805         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
51806         fmin/fmax sysdep routines.
51807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
51809 2012-03-14  David S. Miller  <davem@davemloft.net>
51811         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
51812         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
51813         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
51814         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
51815         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
51816         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
51817         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
51818         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
51819         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
51820         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
51821         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
51822         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
51823         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
51824         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
51825         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
51826         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
51827         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
51828         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
51829         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
51830         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
51831         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
51832         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
51833         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
51834         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
51835         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
51836         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
51837         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
51838         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
51839         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
51840         routines.
51841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
51842         file.
51843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
51844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
51845         file.
51846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
51847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
51848         file.
51849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
51850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
51851         file.
51852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
51853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
51854         file.
51855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
51856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
51857         file.
51858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
51859         file.
51860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
51861         file.
51862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
51863         file.
51864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
51865         New file.
51866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
51867         file.
51868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
51869         file.
51870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
51871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
51872         file.
51873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
51874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
51875         file.
51876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
51877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
51878         file.
51879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
51880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
51881         VIS3 routines.
51883         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
51884         New file.
51886         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51888         * sysdeps/sparc/configure.in: New file.
51889         * sysdeps/sparc/configure: Generate.
51890         * configure.in (libc_cv_sparc_as_vis3): Substitute.
51891         * configure: Regenerate.
51892         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
51893         * config.make.in (have-as-vis3): New.
51894         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
51895         available use -Av9d instead of -Av9a.
51896         * sysdeps/sparc/sparc64/Makefile: Likewise.
51897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
51898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
51899         New file.
51900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
51901         file.
51902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
51903         New file.
51904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
51905         file.
51906         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
51907         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
51908         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
51909         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
51910         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
51912         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
51913         fzeros/fnegs to load 0x80000000 into a float register instead of
51914         using the stack.
51915         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
51917 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
51919         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51920         bits/syscall.h.
51921         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
51922         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
51923         ($(inst_includedir)/bits/syscall.h): Remove rule.
51924         ($(objpfx)bits/syscall.d): Include instead of
51925         $(objpfx)syscall-list.d.
51926         (generated): Change syscall-list.h and syscall-list.d to
51927         bits/syscall.h and bits/syscall.d.
51929 2012-03-14  Roland McGrath  <roland@hack.frob.com>
51931         [BZ #13846]
51932         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
51934 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
51936         [BZ #13841]
51937         * math/s_csqrt.c: Include <float.h>.
51938         (__csqrt): Scale large or subnormal inputs.
51939         * math/s_csqrtf.c: Likewise.
51940         * math/s_csqrtl.c: Likewise.
51941         * math/libm-test.inc (csqrt_test): Add more tests.
51942         * sysdeps/i386/fpu/libm-test-ulps: Update.
51943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51945         [BZ #13840]
51946         * math/libm-test.inc (hypot_test): Add more tests.
51948 2012-03-13  David S. Miller  <davem@davemloft.net>
51950         [BZ #13840]
51951         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
51952         double-precision for the calculation instead of scaling.
51954 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
51956         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
51957         manipulate bits before adding and subtracting TWO52[sx].
51958         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
51959         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
51960         Likewise.
51961         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
51963 2012-03-13  David S. Miller  <davem@davemloft.net>
51965         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
51966         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
51967         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
51968         rtld-global-offsets.h
51969         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51971         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
51972         large parameters.
51974         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
51976         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
51977         'err' in the ifdef scope in which it is actually used.
51979         * nss/nss_db/db-init.c: Include string.h
51981 2012-03-12  David S. Miller  <davem@davemloft.net>
51983         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
51984         masking out of the most significant byte of random value used.
51985         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51986         Fix coding style in previous change.
51988         * sysdeps/unix/sysv/linux/kernel-features.h
51989         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
51990         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
51991         expression.
51992         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
51993         later.
51995 2012-03-11  David S. Miller  <davem@davemloft.net>
51997         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
51998         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
51999         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
52000         for 'resultvar' otherwise things get truncated on 64-bit.
52002         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52003         Fix masking out of the most significant byte of random value used.
52005         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52007 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
52009         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52011 2012-03-09  David S. Miller  <davem@davemloft.net>
52013         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
52014         variables with appropriate CPP guards.
52015         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
52016         from the frame pointer, not the stack pointer.  Correct layout
52017         comments.  Fix test on resulting framesize and the management of
52018         the outregs buffer for pltexit.  Preserve floating point return
52019         values across _dl_call_pltexit call.
52020         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
52021         framesize and the management of the outregs buffer for pltexit.
52022         Preserve floating point return values across _dl_call_pltexit
52023         call.
52024         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
52025         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
52026         (la_sparc64_gnu_pltexit): New functions.
52027         (print_exit): Fix format string for return register value.
52029 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
52031         * sunrpc/Makefile (others): Add rpcgen.
52032         ($(objpfx)rpcgen): Remove special build rule and dependency on
52033         libc.
52034         * sunrpc/rpcgen.c: New file.
52036 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
52038         [BZ #13673]
52039         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
52040         * stdio-common/bug-vfprintf-nargs.c: Likewise.
52041         * sysdeps/i386/crti.S: Likewise.
52042         * sysdeps/i386/crtn.S: Likewise.
52043         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
52044         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
52045         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
52046         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
52047         * sysdeps/sh/crti.S: Likewise.
52048         * sysdeps/sh/crtn.S: Likewise.
52049         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
52051         [BZ #13673]
52052         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
52053         with URL.
52054         * locale/programs/locfile-kw.gperf: Likewise.
52055         * locale/programs/charmap-kw.h: Regenerated.
52056         * locale/programs/locfile-kw.h: Likewise.
52058         [BZ #13673]
52059         * intl/plural.y: Replace FSF snail mail address with URL.
52060         * intl/plural.c: Regenerated.
52062 2012-03-09  Richard Henderson  <rth@twiddle.net>
52064         * include/math_private.h: Remove file.
52065         * math/math_private.h: Move file ...
52066         * sysdeps/generic/math_private.h: ... here.
52068         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
52069         * sysdeps/powerpc/fpu/math_private.h: Likewise.
52070         * sysdeps/x86_64/fpu/math_private.h: Likewise.
52072         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
52073         and <math_private.h>.
52074         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
52075         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
52076         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
52077         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
52078         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
52079         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
52080         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52081         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52082         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52083         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52084         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52085         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52086         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52087         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52088         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52089         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52090         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52091         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52092         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52093         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52094         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52095         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52096         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52097         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52098         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
52099         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52100         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52101         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52102         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52103         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52104         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52105         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52106         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
52107         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52108         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
52109         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52110         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52111         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
52112         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
52113         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52114         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
52115         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
52116         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
52117         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
52118         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
52119         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
52120         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
52121         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
52122         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52123         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
52124         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
52125         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
52126         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
52127         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
52128         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
52129         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52130         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52131         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
52132         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
52133         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
52134         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52135         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
52136         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52137         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
52138         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
52139         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52140         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52141         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52142         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
52143         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
52144         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
52145         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52146         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
52147         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52148         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
52149         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
52150         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
52151         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52152         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
52153         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
52154         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
52155         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
52156         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
52157         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52158         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52159         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
52160         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
52161         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
52162         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52163         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52164         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52165         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52166         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52167         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52168         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52169         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52170         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52171         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52172         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52173         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52174         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52175         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52176         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52177         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52178         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52179         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52180         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52181         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52182         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52183         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52184         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52185         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52186         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52187         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52188         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
52189         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52190         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52191         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
52192         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52193         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52194         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52195         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
52196         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52197         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
52198         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52199         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
52200         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52201         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
52202         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
52203         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
52204         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
52205         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52206         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52207         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
52208         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
52209         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
52210         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52211         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
52212         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
52213         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52214         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52215         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
52216         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
52217         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
52218         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
52219         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
52220         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
52221         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
52222         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
52223         * sysdeps/ieee754/k_standard.c: Likewise.
52224         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52225         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52226         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52227         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52228         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52229         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52230         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52231         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52232         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52233         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52234         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52235         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52236         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52237         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52238         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52239         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52240         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
52241         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52242         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52243         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
52244         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
52245         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
52246         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52247         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
52248         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
52249         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
52250         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
52251         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
52252         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
52253         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52254         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
52255         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
52256         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
52257         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
52258         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
52259         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
52260         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
52261         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
52262         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
52263         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
52264         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
52265         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
52266         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
52267         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
52268         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
52269         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
52270         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
52271         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
52272         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
52273         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52274         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52275         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
52276         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
52277         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
52278         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52279         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52280         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
52281         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
52282         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
52283         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
52284         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52285         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
52286         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
52287         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52288         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52289         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52290         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52291         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52292         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52293         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52294         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52295         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52296         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52297         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52298         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52299         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52300         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
52301         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52302         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52303         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
52304         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
52305         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
52306         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
52307         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
52308         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
52309         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
52310         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
52311         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
52312         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
52313         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
52314         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
52315         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
52316         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
52317         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
52318         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
52319         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
52320         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
52321         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
52322         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
52323         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
52324         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
52325         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
52326         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52327         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
52328         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
52329         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52330         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52331         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
52332         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
52333         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
52334         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
52335         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
52336         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52337         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52338         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52339         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52340         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
52341         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52342         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52343         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
52344         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52345         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52346         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52347         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52348         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52349         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
52350         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
52351         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
52352         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
52353         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52354         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
52355         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
52356         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
52357         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
52358         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
52359         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
52360         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
52361         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
52362         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
52363         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
52364         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
52365         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
52366         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
52367         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
52368         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
52369         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
52370         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
52371         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
52372         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
52373         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
52374         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
52375         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52376         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
52377         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
52378         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
52379         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
52380         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
52381         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
52382         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
52383         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
52384         * sysdeps/ieee754/s_lib_version.c: Likewise.
52385         * sysdeps/ieee754/s_matherr.c: Likewise.
52386         * sysdeps/ieee754/s_signgam.c: Likewise.
52387         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52388         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52389         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
52390         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
52391         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
52392         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
52393         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
52394         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
52395         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
52396         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
52397         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
52398         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
52399         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
52400         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
52401         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
52402         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
52403         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
52404         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
52405         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
52406         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52407         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52409 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
52411         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
52412         * sunrpc/rpc_main.c: Likewise.
52413         * sunrpc/rpc_svcout.c: Likewise.
52415 2012-03-09  David S. Miller  <davem@davemloft.net>
52417         * include/math_private.h: New file.
52419 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
52421         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
52422         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
52423         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
52424         from <bits/socket_type.h>.
52425         (enum __socket_type): Don't define here.
52426         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
52427         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52428         bits/socket_type.h.
52430         [BZ #13566]
52431         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
52432         checking __USE_GNU.
52434         * Makerules ($(inst_includedir)/%.h): New rule.
52435         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
52436         (install-others): Remove variable setting.
52437         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
52439 2012-03-08  Richard Henderson  <rth@twiddle.net>
52441         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
52442         from macro to inline function; merge with the
52443         !__LIBC_INTERNAL_MATH_INLINES version.
52444         (__ieee754_sqrtf): Likewise.
52446         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
52447         to inline function.
52448         (__rintf, __floor, __floorf): Likewise.
52450         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
52451         macro to inline function.
52452         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
52454         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
52455         not <math/math_private.h>.
52457 2012-03-08  David S. Miller  <davem@davemloft.net>
52459         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
52460         copyright year.
52461         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
52463 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
52465         * resolv/gai_misc.c (handle_requests): Fix struct timespec
52466         normalization.
52467         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
52468         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
52470 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
52472         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
52473         be defined individually, they must be defined as a block.  Define
52474         S for printing a string instead of hidint the different by using a
52475         macro for adding the 'l'.
52476         * stdio-common/tst-fphex-wide.c: Adjust.
52478 2012-03-07  Marek Polacek  <polacek@redhat.com>
52480         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
52482 2012-03-08  Marek Polacek  <polacek@redhat.com>
52484         [BZ #13806]
52485         * stdio-common/Makefile (tests): Add tst-fphex-wide.
52486         * stdio-common/tst-fphex.c: Define a few macros to make the
52487         test reusable.  Use them.
52488         * stdio-common/tst-fphex-wide.c: New file.
52490 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
52492         [BZ #6911]
52493         * manual/macros.texi (gnusystems): New macro.
52494         (nongnusystems): Likewise.
52495         (gnulinuxhurdsystems): Likewise.
52496         (gnuhurdsystems): Likewise..
52497         (gnulinuxsystems): Likewise.
52498         * manual/charset.texi: Use new macros or @theglibc{} to refer to
52499         variants of the GNU system, not "GNU system".
52500         * manual/conf.texi: Likewise.
52501         * manual/errno.texi: Likewise.  Update example of errno macro
52502         expansion.
52503         * manual/filesys.texi: Likewise.
52504         (getumask): Document as specific to GNU/Hurd.
52505         * manual/install.texi: Likewise.  Reword some references to
52506         GNU/Linux.
52507         * manual/intro.texi: Likewise.
52508         * manual/io.texi: Likewise.
52509         (File Name Portability): Detail which constraints are inapplicable
52510         to all GNU systems and which are only inapplicable to GNU/Hurd.
52511         * manual/job.texi: Likewise.
52512         * manual/llio.texi: Likewise.
52513         (O_NOCTTY): Document as present on GNU/Linux.
52514         * manual/maint.texi: Likewise.
52515         * manual/memory.texi: Likewise.
52516         * manual/pattern.texi: Likewise.
52517         * manual/pipe.texi: Likewise.
52518         * manual/process.texi: Likewise.
52519         * manual/resource.texi: Likewise.
52520         (RUSAGE_CHILDREN): Remove statement about specifying a particular
52521         child on GNU/Hurd.
52522         * manual/setjmp.texi: Likewise.
52523         * manual/signal.texi: Likewise.
52524         * manual/startup.texi: Likewise.
52525         * manual/stdio.texi: Likewise.
52526         * manual/terminal.texi: Likewise.
52527         (ONLCR): Document as POSIX.
52528         (OXTABS): Document availability on GNU/Linux as XTABS.
52529         (ONOEOT): Document availability separately from other bits.
52530         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
52531         * manual/time.texi: Likewise.
52532         * manual/users.texi: Likewise.
52533         * INSTALL: Regenerated.
52534         * sysdeps/gnu/errlist.c: Regenerated.
52536         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
52537         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
52538         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
52539         puts.
52540         * configure: Regenerated.
52542 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
52544         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
52545         default includes instead of AC_HEADER_CHECK.
52546         * sysdeps/i386/configure: Regenerated.
52548         [BZ #10716]
52549         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
52550         * math/s_cacoshf.c (__cacoshf): Likewise.
52551         * math/s_cacoshl.c (__cacoshl): Likewise.
52552         * math/s_casinh.c (__casinh): Set signs of result from argument.
52553         * math/s_casinhf.c (__casinhf): Likewise.
52554         * math/s_casinhl.c (__casinhl): Likewise.
52555         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
52556         (casinh_test): Add more tests.
52557         * sysdeps/i386/fpu/libm-test-ulps: Update.
52558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52560 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
52562         * po/zh_TW.po: Update from translation team.
52564         * login/Makefile (distribute): Remove variable.
52565         * catgets/Makefile: Likewise.
52566         * mach/Makefile: Likewise.
52567         * malloc/Makefile: Likewise.
52568         * misc/Makefile: Likewise.
52569         * iconv/Makefile: Likewise.
52570         * nscd/Makefile: Likewise.
52571         * hurd/Makefile: Likewise.
52572         * manual/Makefile: Likewise.
52573         * locale/Makefile: Likewise.
52574         * intl/Makefile: Likewise.
52575         * conform/Makefile: Likewise.
52576         * nss/Makefile: Likewise.
52577         * time/Makefile: Likewise.
52578         * soft-fp/Makefile: Likewise.
52579         * dirent/Makefile: Likewise.
52580         * gmon/Makefile: Likewise.
52581         * po/Makefile: Likewise.
52582         * rt/Makefile: Likewise.
52583         * socket/Makefile: Likewise.
52584         * math/Makefile: Likewise.
52585         * signal/Makefile: Likewise.
52586         * debug/Makefile: Likewise.
52587         * elf/Makefile: Likewise.
52588         * timezone/Makefile: Likewise.
52589         * stdlib/Makefile: Likewise.
52590         * iconvdata/Makefile: Likewise.
52591         * sunrpc/Makefile: Likewise.
52592         * io/Makefile: Likewise.
52593         * argp/Makefile: Likewise.
52594         * inet/Makefile: Likewise.
52595         * hesiod/Makefile: Likewise.
52596         * grp/Makefile: Likewise.
52597         * csu/Makefile: Likewise.
52598         * wctype/Makefile: Likewise.
52599         * crypt/Makefile: Likewise.
52600         * libio/Makefile: Likewise.
52601         * string/Makefile: Likewise.
52602         * nis/Makefile: Likewise.
52603         * resolv/Makefile: Likewise.
52604         * stdio-common/Makefile: Likewise.
52605         * wcsmbs/Makefile: Likewise.
52606         * dlfcn/Makefile: Likewise.
52607         * posix/Makefile: Likewise.
52609         [BZ #6959]
52610         * timezone/Makefile: Don't install timezone files, just the programs
52611         and scripts.
52613 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
52615         * nss/databases.def: Add missing gshadow entry.
52617         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
52619 2012-03-06  Marek Polacek  <polacek@redhat.com>
52621         [BZ #13726]
52622         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
52623         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
52624         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
52625         * stdio-common/tst-long-dbl-fphex.c: New file.
52627 2012-03-06  David S. Miller  <davem@davemloft.net>
52629         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52630         (set_obp_int): New function.
52631         (get_obp_int): New function.
52632         (__get_clockfreq_via_dev_openprom): Likewise.
52633         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
52634         Avoid unused variable warnings on 'val' and use builtin_expect.
52635         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
52636         __builtin_expect.
52637         (INLINE_CLONE_SYSCALL): Likewise.
52639 2012-03-05  David S. Miller  <davem@davemloft.net>
52641         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52643 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
52645         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52647         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
52648         only for |x| >= 40.
52649         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52651 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
52653         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
52654         Replace gettimeofday with __vdso_gettimeofday.
52656         * sysdeps/unix/sysv/linux/x86_64/init-first.c
52657         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
52658         __vdso_clock_gettime and __vdso_getcpu.
52660         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
52661         time with __vdso_time.
52663 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
52665         * manual/lang.texi (size_t): Note types to which size_t may be
52666         equivalent with the GNU C Library, but do not describe when
52667         differences between them are significant.
52669 2012-03-05  Andreas Jaeger  <aj@suse.de>
52671         * sysdeps/i386/fpu/libm-test-ulps: Update.
52673 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
52675         [BZ #3976]
52676         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
52677         (__ieee754_pow): Save and restore rounding mode and use
52678         round-to-nearest for main computations.
52679         * math/libm-test.inc (pow_test_tonearest): New function.
52680         (pow_test_towardzero): Likewise.
52681         (pow_test_downward): Likewise.
52682         (pow_test_upward): Likewise.
52683         (main): Call the new functions.
52684         * sysdeps/i386/fpu/libm-test-ulps: Update.
52685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52687         [BZ #3976]
52688         * math/libm-test.inc (cosh_test_tonearest): New function.
52689         (cosh_test_towardzero): Likewise.
52690         (cosh_test_downward): Likewise.
52691         (cosh_test_upward): Likewise.
52692         (sinh_test_tonearest): Likewise.
52693         (sinh_test_towardzero): Likewise.
52694         (sinh_test_downward): Likewise.
52695         (sinh_test_upward): Likewise.
52696         (main): Call the new functions.
52697         * sysdeps/i386/fpu/libm-test-ulps: Update.
52698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52700 2012-03-05  Tom de Vries  <tom@codesourcery.com>
52702         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
52703         default stack guard is set in last bytes.
52704         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
52706 2012-03-05  Kees Cook  <keescook@chromium.org>
52708         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
52710         [BZ #13656]
52711         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
52712         possibly allocate from heap instead of stack.
52713         * stdio-common/bug-vfprintf-nargs.c: New file.
52714         * stdio-common/Makefile (tests): Add nargs overflow test.
52716 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
52718         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52720 2012-03-03  Marek Polacek  <polacek@redhat.com>
52722         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
52723         * math/math_private.h: Likewise.
52724         * stdlib/tst-strtod.c: Likewise.
52725         * sysdeps/i386/i486/bits/atomic.h: Likewise.
52726         * sysdeps/x86_64/bits/atomic.h: Likewise.
52728 2012-03-02  David S. Miller  <davem@davemloft.net>
52730         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
52731         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
52732         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
52733         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
52734         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
52735         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
52736         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
52737         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
52739 2012-03-02  Roland McGrath  <roland@hack.frob.com>
52741         [BZ #13792]
52742         * manual/examples/README: New file, says the example source files
52743         can be used under GPL>=2.
52744         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
52745         line containing just "*/".
52746         * manual/examples/add.c: Add copyright header (GPL>=2).
52747         * manual/examples/argp-ex1.c: Likewise.
52748         * manual/examples/argp-ex2.c: Likewise.
52749         * manual/examples/argp-ex3.c: Likewise.
52750         * manual/examples/argp-ex4.c: Likewise.
52751         * manual/examples/atexit.c: Likewise.
52752         * manual/examples/db.c: Likewise.
52753         * manual/examples/dir.c: Likewise.
52754         * manual/examples/dir2.c: Likewise.
52755         * manual/examples/execinfo.c: Likewise.
52756         * manual/examples/filecli.c: Likewise.
52757         * manual/examples/filesrv.c: Likewise.
52758         * manual/examples/fmtmsgexpl.c: Likewise.
52759         * manual/examples/genpass.c: Likewise.
52760         * manual/examples/inetcli.c: Likewise.
52761         * manual/examples/inetsrv.c: Likewise.
52762         * manual/examples/isockad.c: Likewise.
52763         * manual/examples/longopt.c: Likewise.
52764         * manual/examples/memopen.c: Likewise.
52765         * manual/examples/memstrm.c: Likewise.
52766         * manual/examples/mkfsock.c: Likewise.
52767         * manual/examples/mkisock.c: Likewise.
52768         * manual/examples/mygetpass.c: Likewise.
52769         * manual/examples/pipe.c: Likewise.
52770         * manual/examples/popen.c: Likewise.
52771         * manual/examples/rprintf.c: Likewise.
52772         * manual/examples/search.c: Likewise.
52773         * manual/examples/select.c: Likewise.
52774         * manual/examples/setjmp.c: Likewise.
52775         * manual/examples/sigh1.c: Likewise.
52776         * manual/examples/sigusr.c: Likewise.
52777         * manual/examples/stpcpy.c: Likewise.
52778         * manual/examples/strdupa.c: Likewise.
52779         * manual/examples/strftim.c: Likewise.
52780         * manual/examples/strncat.c: Likewise.
52781         * manual/examples/subopt.c: Likewise.
52782         * manual/examples/swapcontext.c: Likewise.
52783         * manual/examples/termios.c: Likewise.
52784         * manual/examples/testopt.c: Likewise.
52785         * manual/examples/testpass.c: Likewise.
52786         * manual/examples/timeval_subtract.c: Likewise.
52788         [BZ #13792]
52789         * manual/time.texi (Elapsed Time): Move timeval_subtract example
52790         function to ...
52791         * manual/timeval_subtract.c.texi: ... here, new file.
52793 2012-03-02  David S. Miller  <davem@davemloft.net>
52795         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
52797 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
52799         [BZ #3976]
52800         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
52801         (__sin): Save and restore rounding mode and use round-to-nearest
52802         for all computations.
52803         (__cos): Save and restore rounding mode and use round-to-nearest
52804         for all computations.
52805         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
52806         <fenv.h>.
52807         (tan): Save and restore rounding mode and use round-to-nearest for
52808         all computations.
52809         * math/libm-test.inc (cos_test_tonearest): New function.
52810         (cos_test_towardzero): Likewise.
52811         (cos_test_downward): Likewise.
52812         (cos_test_upward): Likewise.
52813         (sin_test_tonearest): Likewise.
52814         (sin_test_towardzero): Likewise.
52815         (sin_test_downward): Likewise.
52816         (sin_test_upward): Likewise.
52817         (tan_test_tonearest): Likewise.
52818         (tan_test_towardzero): Likewise.
52819         (tan_test_downward): Likewise.
52820         (tan_test_upward): Likewise.
52821         (main): Call the new functions.
52822         * sysdeps/i386/fpu/libm-test-ulps: Update.
52823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52825         [BZ #10135]
52826         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
52827         small n, then large n, before computing and testing k+n.
52828         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
52829         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
52830         Likewise.
52831         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
52832         Likewise.
52833         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
52834         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
52835         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
52836         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
52837         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
52838         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
52839         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
52840         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
52841         * math/libm-test.inc (scalbn_test): Add more tests.
52842         (scalbln_test): Likewise.
52844         * manual/filesys.texi (mode_t): Describe constraints on size and
52845         signedness, not exact equivalence to a particular type.
52846         (ino_t): Likewise.
52847         (ino64_t): Likewise.
52848         (dev_t): Likewise.
52849         (nlink_t): Likewise.
52850         (blkcnt_t): Likewise.
52851         (blkcnt64_t): Likewise.
52852         * manual/llio.texi (off_t): Likewise.
52854         [BZ #3976]
52855         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
52856         (__ieee754_exp): Save and restore rounding mode and use
52857         round-to-nearest for all computations.
52858         * math/libm-test.inc (exp_test_tonearest): New function.
52859         (exp_test_towardzero): Likewise.
52860         (exp_test_downward): Likewise.
52861         (exp_test_upward): Likewise.
52862         (main): Call the new functions.
52863         * sysdeps/i386/fpu/libm-test-ulps: Update.
52864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52866 2012-03-01  Chris Demetriou  <cgd@google.com>
52868         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
52869         have predictable order.
52871 2012-03-01  David S. Miller  <davem@davemloft.net>
52873         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
52875         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
52876         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
52877         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
52878         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
52880         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
52881         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
52882         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
52883         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
52884         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
52885         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
52886         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
52887         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
52888         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
52890         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52892         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
52893         * sysdeps/sparc/fpu/libm-test-ulps: to here.
52894         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
52896         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
52897         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52898         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
52899         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
52900         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
52901         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
52902         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
52903         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52904         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
52905         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
52906         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
52907         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52908         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52909         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
52910         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
52911         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52912         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
52913         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
52914         * sysdeps/sparc/elf/configure: Regenerated.
52916 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
52918         * configure.in (AS, LD): Require binutils 2.20 or later.
52919         * configure: Regenerated.
52920         * manual/install.texi (Tools for Compilation): Give binutils 2.20
52921         as required minimum version.
52922         * INSTALL: Regenerated.
52924         [BZ #2541]
52925         [BZ #4108]
52926         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
52927         before squaring exponent.
52928         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
52929         bottom long double and 27 bits of top long double before squaring
52930         exponent.
52931         * math/libm-test.inc (erfc_test): Add more tests.
52932         * sysdeps/i386/fpu/libm-test-ulps: Update.
52933         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52936 2012-03-01  Kai Tietz  <ktietz@redhat.com>
52938         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
52939         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
52940         containing bit-fields.
52941         * soft-fp/extended.h (_FP_UNION_E): Likewise.
52942         * soft-fp/single.h (_FP_UNION_S): Likewise.
52943         * soft-fp/double.h (_FP_UNION_D): Likewise.
52945 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
52947         [BZ #13786]
52948         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
52949         not include ../strcmp.S.
52950         [USE_AS_STRNCASECMP_L]: Likewise.
52951         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
52952         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
52953         * sysdeps/i386/i686/multiarch/strncase_l-c.c
52954         (__strncasecmp_l_ia32): Define as alias to
52955         __strncasecmp_l_nonascii.
52957         [BZ #5794]
52958         * math/libm-test.inc (expm1_test): Add test for bug 5794.
52959         * sysdeps/i386/fpu/libm-test-ulps: Update.
52960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52962         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
52963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52965 2012-02-29  Jeff Law  <law@redhat.com>
52967         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
52968         out of bounds read.
52970 2012-02-29  Marek Polacek  <polacek@redhat.com>
52972         [BZ #13706]
52973         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
52974         * elf/Makefile: Add rules to run tst-unused-dep.out.
52976 2012-02-28  David S. Miller  <davem@davemloft.net>
52978         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
52979         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
52980         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
52981         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
52982         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
52983         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
52985 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
52987         * math/libm-test.inc (llround_test): Move one test from
52988         lround_test.  Use TEST_f_L in moved test.
52989         (lround_test): Move misplaced test to llround_test.  Add testcase
52990         from bug 2561.
52992 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
52994         * sysdeps/x86_64/fpu/e_expf.S: New file.
52995         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
52997 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
52999         [BZ #13637]
53000         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
53001         of remain_len that may cause incomplete multi-byte character and
53002         false match.
53003         * posix/bug-regex33.c: New file.
53004         * posix/Makefile (tests): Add bug-regex33.
53006 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
53008         * manual/macros.texi: New file.
53009         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
53010         * manual/libc.texinfo: Include macros.texi.
53011         * manual/creatute.texi: Likewise.
53012         * manual/install.texi: Likewise.
53013         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
53014         @glibcadj{} in references to the GNU C Library.
53015         * manual/charset.texi: Likewise.
53016         * manual/conf.texi: Likewise.
53017         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
53018         when not using those macros.
53019         * manual/creature.texi: Likewise.
53020         * manual/crypt.texi: Likewise.
53021         * manual/errno.texi: Likewise.
53022         * manual/filesys.texi: Likewise.
53023         * manual/header.texi: Likewise.
53024         * manual/install.texi: Likewise.
53025         * manual/intro.texi: Likewise.
53026         * manual/io.texi: Likewise.
53027         * manual/job.texi: Likewise.
53028         * manual/lang.texi: Likewise.
53029         * manual/libc.texiinfo: Likewise.
53030         * manual/llio.texi: Likewise.
53031         * manual/locale.texi: Likewise.
53032         * manual/maint.texi: Likewise.
53033         * manual/math.texi: Likewise.
53034         * manual/memory.texi: Likewise.
53035         * manual/message.texi: Likewise.
53036         * manual/nss.texi: Likewise.
53037         * manual/pattern.texi: Likewise.
53038         * manual/process.texi: Likewise.
53039         * manual/resource.texi: Likewise.
53040         * manual/search.texi: Likewise.
53041         * manual/setjmp.texi: Likewise.
53042         * manual/signal.texi: Likewise.
53043         * manual/socket.texi: Likewise.
53044         * manual/startup.texi: Likewise.
53045         * manual/stdio.texi: Likewise.
53046         * manual/string.texi: Likewise.
53047         * manual/sysinfo.texi: Likewise.
53048         * manual/syslog.texi: Likewise.
53049         * manual/terminal.texi: Likewise.
53050         * manual/time.texi: Likewise.
53051         * manual/users.texi: Likewise.
53052         * INSTALL: Regenerated.
53053         * NOTES: Regenerated.
53054         * sysdeps/gnu/errlist.c: Regenerated.
53056 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
53058         * include/dirent.h: Include <dirstream.h> before
53059         <dirent/dirent.h>.
53061 2012-02-28  David S. Miller  <davem@davemloft.net>
53063         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
53064         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
53065         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
53066         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
53068 2012-02-27  David S. Miller  <davem@davemloft.net>
53070         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
53071         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
53072         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
53073         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
53075         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
53076         frame pointer instead of stack pointer relative arg slot.
53077         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
53078         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
53079         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
53081 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
53083         [BZ #3992]
53084         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
53086 2012-02-27  David S. Miller  <davem@davemloft.net>
53088         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
53089         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
53090         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
53091         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
53092         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
53093         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
53094         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
53095         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
53097 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
53099         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
53100         later.  Allow versions 5-9.
53101         * configure: Regenerated.
53102         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
53103         required minimum version and 4.6 as recommended version.  Do not
53104         mention bugs in GCC 2.7 and 2.8.
53105         * INSTALL: Regenerated.
53107 2012-02-27  David S. Miller  <davem@davemloft.net>
53109         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
53110         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
53111         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
53112         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
53113         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
53114         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
53115         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
53116         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
53118         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
53119         manipulate bits before adding and subtracting TWO112[sx].
53120         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
53122 2012-02-27  Roland McGrath  <roland@hack.frob.com>
53124         [BZ #13775]
53125         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
53126         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
53127         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
53128         being in POSIX, because they are in 1003.1-2008.
53130         * rt/tst-aio.c: Include <fcntl.h>.
53131         * rt/tst-aio7.c: Likewise.
53132         * rt/tst-aio64.c: Likewise.
53134         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
53136 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
53138         * manual/install.texi (--with-headers): Describe headers as
53139         interface headers, not private headers.
53140         (Specific advice for GNU/Linux systems): Describe use of headers
53141         from "make headers_install", not private headers from older
53142         kernels.
53143         * INSTALL: Regenerated.
53144         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
53145         Change to 2.6.19.
53146         * sysdeps/unix/sysv/linux/configure: Regenerated.
53148         * manual/llio.texi (fclean): Remove documentation.
53150         * manual/Makefile (libc-texi-generated): New variable.  Include
53151         version.texi.
53152         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
53153         $(libc-texi-generated), not duplicated list of files.
53154         (version.texi, stamp-version): New rules.
53155         (realclean): Remove $(libc-texi-generated), not individual files
53156         from that list.  Do not remove dir-add.texinfo.
53157         * manual/libc.texinfo: Comment out uses of edition numbers and
53158         references to printed manual.  Remove last-updated dates.
53159         (EDITION): Comment out.
53160         (ISBN): Likewise.
53161         (VERSION, UPDATED): Remove.
53162         (version.texi): Include.
53164 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
53166         * sysdeps/posix/spawni.c: Include <signal.h>.
53167         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
53168         * sysdeps/pthread/aio_fsync.c: Likewise.
53170 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
53172         * conform/Makefile (tests): Run only when not cross-compiling and
53173         when fast-check is not defined.
53175         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
53176         * conform/data/limits.h-data: Fixes for POSIX2008.
53177         * conform/run-conformtest.sh: Run all tests.
53178         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
53179         headers.
53180         * include/bits/dlfcn.h: Likewise.
53181         * include/langinfo.h: Likewise.
53182         * include/monetary.h: Likewise.
53183         * include/sys/poll.h: Likewise.
53185         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
53186         for __USE_GNU.
53187         * posix/spawn.h: Define __need_sigset_t.
53188         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
53189         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
53190         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
53191         to get sigevent_t only.
53192         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
53193         only for __USE_GNU.
53194         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53195         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
53196         process_vm_writev only for __USE_GNU.
53197         * termios/termios.h: Declare tcgetsid also for POSIX2008.
53199         * conform/Makefile: For now ignore errors from run-conformtest.
53200         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
53201         POSIX to avoid namespace pollution.  Don't prepend headers.
53202         * conform/data/aio.h-data: Fixes for POSIX testing.
53203         * conform/data/fcntl.h-data: Likewise.
53204         * conform/data/glob.h-data: Likewise.
53205         * conform/data/grp.h-data: Likewise.
53206         * conform/data/pthread.h-data: Likewise.
53207         * conform/data/pwd.h-data: Likewise.
53208         * conform/data/signal.h-data: Likewise.
53209         * conform/data/spawn.h-data: Likewise.
53210         * conform/data/stdio.h-data: Likewise.
53211         * conform/data/stdlib.h-data: Likewise.
53212         * conform/data/stropts.h-data: Likewise.
53213         * conform/data/sys/mman.h-data: Likewise.
53214         * conform/data/sys/stat.h-data: Likewise.
53215         * conform/data/sys/types.h-data: Likewise.
53216         * conform/data/sys/wait.h-data: Likewise.
53217         * conform/data/time.h-data: Likewise.
53218         * conform/data/unistd.h-data: Likewise.
53219         * conform/data/utime.h-data: Likewise.
53221         * io/sys/stat.h: fchmod was always in POSIX.
53222         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
53223         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
53224         * rt/aio.h: Define __need_timespec before including <time.h>.
53225         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
53226         struct.  Add forward declaration of pthread_attr_t and use it in
53227         sigevent.
53228         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53229         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53230         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
53231         always remove CLK_TCK definition.
53233 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
53235         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
53237 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
53239         * conform/run-conformtest.sh: New file.
53240         * conform/Makefile: Run run-conformtest for tests.
53241         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
53242         support.
53244         * conform/data/uchar.h-data: New file.
53245         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
53246         * conform/data/arpa/inet.h-data: Likewise.
53247         * conform/data/assert.h-data: Likewise.
53248         * conform/data/complex.h-data: Likewise.
53249         * conform/data/cpio.h-data: Likewise.
53250         * conform/data/ctype.h-data: Likewise.
53251         * conform/data/dirent.h-data: Likewise.
53252         * conform/data/dlfcn.h-data: Likewise.
53253         * conform/data/errno.h-data: Likewise.
53254         * conform/data/fcntl.h-data: Likewise.
53255         * conform/data/float.h-data: Likewise.
53256         * conform/data/fmtmsg.h-data: Likewise.
53257         * conform/data/fnmatch.h-data: Likewise.
53258         * conform/data/ftw.h-data: Likewise.
53259         * conform/data/glob.h-data: Likewise.
53260         * conform/data/grp.h-data: Likewise.
53261         * conform/data/iconv.h-data: Likewise.
53262         * conform/data/inttypes.h-data: Likewise.
53263         * conform/data/langinfo.h-data: Likewise.
53264         * conform/data/libgen.h-data: Likewise.
53265         * conform/data/limits.h-data: Likewise.
53266         * conform/data/locale.h-data: Likewise.
53267         * conform/data/math.h-data: Likewise.
53268         * conform/data/monetary.h-data: Likewise.
53269         * conform/data/mqueue.h-data: Likewise.
53270         * conform/data/ndbm.h-data: Likewise.
53271         * conform/data/net/if.h-data: Likewise.
53272         * conform/data/netdb.h-data: Likewise.
53273         * conform/data/netinet/in.h-data: Likewise.
53274         * conform/data/nl_types.h-data: Likewise.
53275         * conform/data/poll.h-data: Likewise.
53276         * conform/data/pthread.h-data: Likewise.
53277         * conform/data/pwd.h-data: Likewise.
53278         * conform/data/regex.h-data: Likewise.
53279         * conform/data/sched.h-data: Likewise.
53280         * conform/data/search.h-data: Likewise.
53281         * conform/data/semaphore.h-data: Likewise.
53282         * conform/data/setjmp.h-data: Likewise.
53283         * conform/data/signal.h-data: Likewise.
53284         * conform/data/spawn.h-data: Likewise.
53285         * conform/data/stdarg.h-data: Likewise.
53286         * conform/data/stdio.h-data: Likewise.
53287         * conform/data/stdlib.h-data: Likewise.
53288         * conform/data/string.h-data: Likewise.
53289         * conform/data/strings.h-data: Likewise.
53290         * conform/data/stropts.h-data: Likewise.
53291         * conform/data/sys/ipc.h-data: Likewise.
53292         * conform/data/sys/mman.h-data: Likewise.
53293         * conform/data/sys/msg.h-data: Likewise.
53294         * conform/data/sys/resource.h-data: Likewise.
53295         * conform/data/sys/select.h-data: Likewise.
53296         * conform/data/sys/sem.h-data: Likewise.
53297         * conform/data/sys/shm.h-data: Likewise.
53298         * conform/data/sys/socket.h-data: Likewise.
53299         * conform/data/sys/stat.h-data: Likewise.
53300         * conform/data/sys/statvfs.h-data: Likewise.
53301         * conform/data/sys/time.h-data: Likewise.
53302         * conform/data/sys/timeb.h-data: Likewise.
53303         * conform/data/sys/times.h-data: Likewise.
53304         * conform/data/sys/types.h-data: Likewise.
53305         * conform/data/sys/uio.h-data: Likewise.
53306         * conform/data/sys/un.h-data: Likewise.
53307         * conform/data/sys/utsname.h-data: Likewise.
53308         * conform/data/sys/wait.h-data: Likewise.
53309         * conform/data/syslog.h-data: Likewise.
53310         * conform/data/tar.h-data: Likewise.
53311         * conform/data/termios.h-data: Likewise.
53312         * conform/data/utime.h-data: Likewise.
53313         * conform/data/utmpx.h-data: Likewise.
53314         * conform/data/varargs.h-data: Likewise.
53315         * conform/data/wchar.h-data: Likewise.
53316         * conform/data/wctype.h-data: Likewise.
53317         * conform/data/wordexp.h-data: Likewise.
53319         * include/stropts.h: New file.
53320         * include/uchar.h: New file.
53321         * include/aio.h: Changes to allow conformtest.pl to use the headers.
53322         * include/assert.h: Likewise.
53323         * include/ctype.h: Likewise.
53324         * include/dirent.h: Likewise.
53325         * include/dlfcn.h: Likewise.
53326         * include/fcntl.h: Likewise.
53327         * include/fnmatch.h: Likewise.
53328         * include/glob.h: Likewise.
53329         * include/grp.h: Likewise.
53330         * include/libio.h: Likewise.
53331         * include/locale.h: Likewise.
53332         * include/math.h: Likewise.
53333         * include/net/if.h: Likewise.
53334         * include/netdb.h: Likewise.
53335         * include/netinet/in.h: Likewise.
53336         * include/pthread.h: Likewise.
53337         * include/pwd.h: Likewise.
53338         * include/regex.h: Likewise.
53339         * include/sched.h: Likewise.
53340         * include/search.h: Likewise.
53341         * include/setjmp.h: Likewise.
53342         * include/signal.h: Likewise.
53343         * include/stdio.h: Likewise.
53344         * include/stdlib.h: Likewise.
53345         * include/string.h: Likewise.
53346         * include/sys/cdefs.h: Likewise.
53347         * include/sys/mman.h: Likewise.
53348         * include/sys/msg.h: Likewise.
53349         * include/sys/resource.h: Likewise.
53350         * include/sys/select.h: Likewise.
53351         * include/sys/socket.h: Likewise.
53352         * include/sys/stat.h: Likewise.
53353         * include/sys/statvfs.h: Likewise.
53354         * include/sys/time.h: Likewise.
53355         * include/sys/times.h: Likewise.
53356         * include/sys/uio.h: Likewise.
53357         * include/sys/utsname.h: Likewise.
53358         * include/sys/wait.h: Likewise.
53359         * include/termios.h: Likewise.
53360         * include/time.h: Likewise.
53361         * include/ulimit.h: Likewise.
53362         * include/unistd.h: Likewise.
53363         * include/utime.h: Likewise.
53364         * include/wchar.h: Likewise.
53365         * include/wctype.h: Likewise.
53366         * include/wordexp.h: Likewise.
53368         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
53370         * time/time.h: TIME_UTC must be a macro.
53371         Make timespec_get available for ISO C11 only as well.
53373 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
53375         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
53376         Reported by Peng Haitao <penght@cn.fujitsu.com>.
53378 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
53380         * configure.in: Use -o not -a in test for unsupported multi-arch.
53382 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
53384         * manual/texinfo.tex: Update to version 2012-01-19.16.
53386 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
53388         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
53390 2012-02-24  Roland McGrath  <roland@hack.frob.com>
53392         [BZ #13738]
53393         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
53394         * manual/fdl-1.3.texi: New file.
53395         * manual/fdl-1.1.texi: File removed.
53397         [BZ #13738]
53398         * manual/libc.texinfo (FDL_VERSION): New @set.
53399         Use it for mention of FDL in cover text.
53400         (Documentation License): Use it in @include file name.
53402 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53403             Roland McGrath  <roland@hack.frob.com>
53405         [BZ #5461]
53406         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
53407         (not LONG_LONG_MAX and LONG_LONG_MIN.
53408         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
53409         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
53410         name.
53411         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
53413 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53415         [BZ #2547]
53416         [BZ #11365]
53417         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
53418         manipulate bits before adding and subtracting TWO23[sx].
53419         * math/libm-test.inc (nearbyint_test): Add more tests.
53421 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53423         [BZ #2548]
53424         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
53425         bits before adding and subtracting TWO23[sx].
53426         * math/libm-test.inc (rint_test): Add more tests.
53427         (rint_test_tonearest): Likewise.
53428         (rint_test_towardzero): Likewise.
53429         (rint_test_downward): Likewise.
53430         (rint_test_upward: Likewise.
53432 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53434         [BZ #10110]
53435         * include/stdc-predef.h: New file.  Extracted from features.h.
53436         * include/features.h: Include stdc-predef.h.
53437         * Makefile (headers): Add stdc-predef.h.
53438         * CONFORMANCE (Compiler limitations): Update.
53440 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53442         * manual/libc.texinfo (VERSION, UPDATED): Revert.
53444 2012-02-21  David S. Miller  <davem@davemloft.net>
53446         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
53447         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
53449 2012-02-20  David S. Miller  <davem@davemloft.net>
53451         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
53452         using a normal save/restore sequence, rather than allocating a
53453         dummy stack frame just to store a frame pointer and restore.
53454         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53456 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
53458         * manual/install.texi: Fix stray word in line-wrapped comment.
53460 2012-02-20  David S. Miller  <davem@davemloft.net>
53462         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
53463         both binutils and gcc support GOTDATA.
53465         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
53466         "rd %pc" in the PIC register setup sequences.
53468         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
53469         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
53470         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
53471         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
53472         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
53473         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
53474         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53475         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53476         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
53477         (SYSCALL_ERROR_HANDLER): Likewise.
53478         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
53479         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53480         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
53481         (SYSCALL_ERROR_HANDLER): Likewise.
53483         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
53484         (HAVE_GCC_GOTDATA): New.
53485         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
53486         relocation support in both binutils and gcc.
53487         * sysdeps/sparc/elf/configure: Regenerate.
53489         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
53490         * sysdeps/sparc/sparc32/elf/configure: Delete.
53491         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
53492         * sysdeps/sparc/sparc64/elf/configure: Delete.
53493         * sysdeps/sparc/elf/configure.in: New file.
53494         * sysdeps/sparc/elf/configure: Generate.
53496         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
53497         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
53498         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53499         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
53500         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
53502 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
53504         * manual/install.texi: Do not mention specific glibc version
53505         numbers.
53506         * manual/libc.texinfo (VERSION, UPDATED): Update.
53507         (@copying): Use @copyright{} and range of years.
53509 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
53511         [BZ #13695]
53512         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
53513         [crti.S not in sysdirs] (generated): Do not append.
53514         [crti.S not in sysdirs] (omit-deps): Likewise.
53515         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
53516         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
53517         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
53518         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
53519         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
53520         Likewise.
53521         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
53522         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
53523         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
53524         * csu/defs.awk: Remove file.
53525         * sysdeps/generic/initfini.c: Likewise.
53526         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
53527         variable.
53528         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
53529         Likewise.
53531 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
53533         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
53534         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
53535         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
53536         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
53537         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53538         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
53539         <bits/epoll.h>.
53540         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
53541         (__EPOLL_PACKED): Define to empty if not defined by
53542         <bits/epoll.h>.
53543         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
53544         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53545         bits/epoll.h.
53547 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
53549         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
53550         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
53551         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
53552         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
53553         <bits/timerfd.h>.
53554         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
53555         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53556         bits/timerfd.h.
53558 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
53560         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
53561         in C locale.
53562         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53563         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
53564         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
53565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53567 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
53569         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53570         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
53572 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
53574         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
53575         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
53576         defined.
53577         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
53578         Likewise.
53579         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
53580         entry for 2.16.
53582 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
53584         * math/w_acos.c: Use non-signaling floating-point comparisons.
53585         * math/w_acosf.c: Likewise.
53586         * math/w_acosh.c: Likewise.
53587         * math/w_acoshf.c: Likewise.
53588         * math/w_acoshl.c: Likewise.
53589         * math/w_acosl.c: Likewise.
53590         * math/w_asin.c: Likewise.
53591         * math/w_asinf.c: Likewise.
53592         * math/w_asinl.c: Likewise.
53593         * math/w_atanh.c: Likewise.
53594         * math/w_atanhf.c: Likewise.
53595         * math/w_atanhl.c: Likewise.
53596         * math/w_exp2.c: Likewise.
53597         * math/w_exp2f.c: Likewise.
53598         * math/w_exp2l.c: Likewise.
53599         * math/w_j0.c: Likewise.
53600         * math/w_j0f.c: Likewise.
53601         * math/w_j0l.c: Likewise.
53602         * math/w_j1.c: Likewise.
53603         * math/w_j1f.c: Likewise.
53604         * math/w_j1l.c: Likewise.
53605         * math/w_jn.c: Likewise.
53606         * math/w_jnf.c: Likewise.
53607         * math/w_log.c: Likewise.
53608         * math/w_log10.c: Likewise.
53609         * math/w_log10f.c: Likewise.
53610         * math/w_log10l.c: Likewise.
53611         * math/w_log2.c: Likewise.
53612         * math/w_log2f.c: Likewise.
53613         * math/w_log2l.c: Likewise.
53614         * math/w_logf.c: Likewise.
53615         * math/w_logl.c: Likewise.
53616         * math/w_sqrt.c: Likewise.
53617         * math/w_sqrtf.c: Likewise.
53618         * math/w_sqrtl.c: Likewise.
53619         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53620         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
53621         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53622         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
53623         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
53625 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
53627         [BZ #9739]
53628         * manual/string.texi (strnlen): Use correct parameter name in
53629         equivalent expression.
53631 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
53633         [BZ #11174]
53634         * manual/users.texi (seteuid): Consistently use neweuid for
53635         argument name.
53637 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
53639         [BZ #13704]
53640         * manual/nss.texi (Services in the NSS configuration): Correct
53641         list of services in example configuration file.
53643 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
53645         [BZ #11322]
53646         * manual/arith.texi: Remove statements about negative zero
53647         behaving identically to zero.
53649 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
53651         [BZ #5993]
53652         * manual/install.texi: Do not document upgrading from libc5.
53654 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
53656         [BZ #4596]
53657         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
53659 2012-02-18  David S. Miller  <davem@davemloft.net>
53661         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
53662         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
53663         %o7 across the call.
53664         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
53665         instead.
53666         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
53667         SETUP_PIC_REG_LEAF.
53668         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53669         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
53670         * sysdeps/sparc/crtn.S: Likewise.
53672 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
53674         * aout/Makefile: Remove.
53676 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
53678         [BZ #13058]
53679         * manual/examples/argp-ex1.c (main): Format definition in GNU
53680         style.
53681         * manual/examples/argp-ex2.c (main): Likewise.
53682         * manual/examples/argp-ex3.c (main): Likewise.
53683         * manual/examples/argp-ex4.c (main): Likewise.
53684         * manual/examples/longopt.c (main): Use new-style prototype
53685         definition.
53686         * manual/examples/strncat.c (main): Specify return type and use
53687         (void) for arguments.
53688         * manual/examples/subopt.c (main): Use char **argv argument.
53690 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
53692         [BZ #5077]
53693         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
53694         rounding modes.
53696 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
53698         [BZ #6907]
53699         * manual/string.texi (strchr): Change when strchrnul is
53700         recommended.
53702 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
53704         [BZ #174]
53705         * manual/locale.texi (setlocale): Document LOCPATH.
53707 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
53709         [BZ #10210]
53710         * manual/process.texi (execle): Move @dots{} before last argument.
53712 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
53714         [BZ #12047]
53715         * manual/charset.texi (Generic Charset Conversion): Fix typo
53716         (LC_TYPE -> LC_CTYPE).
53718 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
53720         [BZ #5805]
53721         * manual/arith.texi (scalbn): Use @var{} on parameter names.
53722         (scalbnf): Likewise.
53723         (scalbnl): Likewise.
53724         (scalbln): Likewise.
53725         (scalblnf): Likewise.
53726         (scalblnl): Likewise.
53727         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
53728         (vwarnx): Likewise.
53729         (verr): Likewise.
53730         (verrx): Likewise.
53731         * manual/filesys.texi (telldir): Use braces around return type.
53732         * manual/llio.texi (mmap): Add space after comma.
53733         (mmap64): Likewise.
53734         * manual/math.texi (jn): Use @var{} on parameter names.
53735         (jnf): Likewise.
53736         (jnl): Likewise.
53737         (yn): Likewise.
53738         (ynf): Likewise.
53739         (ynl): Likewise.
53740         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
53741         line.
53742         * manual/resource.texi (ulimit): Use @dots{} instead of literal
53743         "...".
53744         (sched_get_priority_min): Remove semicolon on @deftypefun line.
53745         (sched_get_priority_max): Likewise.
53746         * manual/signal.texi (sigvec): Add space after comma.
53747         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
53748         names.
53749         (if_indextoname): Likewise.
53750         (if_freenameindex): Likewise.
53751         (sendto): Use ',' instead of '.' in prototype.
53752         * manual/startup.texi (syscall): Use @dots{} instead of literal
53753         "...".
53754         * manual/stdio.texi (__fpending): Separate initial words of
53755         paragraph from @deftypefun line.
53756         * manual/syslog.texi (syslog): Use @dots{} instead of literal
53757         "...".
53758         (vsyslog): Use @var{} on parameter names.
53759         * manual/terminal.texi (stty): Use @var{} on parameter names.
53760         * manual/users.texi (getutmp): Use @var{} on parameter names.
53761         (getutmpx): Likewise.
53763 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
53765         [BZ #6884]
53766         * manual/stdio.texi (fopen): Fix typos in description of
53767         ",ccs=STRING".
53769 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
53771         [BZ #4026]
53772         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
53773         get clock_id definition.
53775 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
53777         [BZ #4822]
53778         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
53779         (madvise): Cast every argument to void on its own.
53781 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
53783         [BZ #9902]
53784         * manual/startup.texi (Exit Status): Fix typo.
53786 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
53788         [BZ #10140]
53789         * manual/examples/argp-ex1.c: Include <stdlib.h>.
53790         * manual/examples/argp-ex2.c: Likewise.
53791         * manual/examples/argp-ex3.c: Likewise.
53793 2012-02-16  Richard Henderson  <rth@redhat.com>
53795         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
53796         * sysdeps/s390/s390-32/initfini.c: Remove.
53797         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
53798         * sysdeps/s390/s390-64/initfini.c: Remove.
53800 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53802         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
53803         compiler output for sysdeps/generic/initfini.c.
53804         * sysdeps/sh/elf/initfini.c: Remove file.
53806 2012-02-16  David S. Miller  <davem@davemloft.net>
53808         [BZ #11494]
53809         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
53811         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
53812         * sysdeps/sparc/crti.S: New file.
53813         * sysdeps/sparc/crtn.S: New file.
53814         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
53815         * sysdeps/sparc/sparc64/Makefile: Likewise.
53817 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
53819         [BZ #3335]
53820         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
53822 2012-02-15  Roland McGrath  <roland@hack.frob.com>
53824         [BZ #4822]
53825         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
53827         * mach/devstream.c (cookie_io_functions_t): Macro removed.
53828         (write, read, close): Likewise.
53829         Patch by Aurelien Jarno <aurelien@aurel32.net>.
53831 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
53833         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
53834         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
53835         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
53836         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
53837         <bits/signalfd.h>.
53838         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
53839         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53840         bits/signalfd.h.
53842 2012-02-14  Marek Polacek  <polacek@redhat.com>
53844         * sysdeps/x86_64/crti.S: New file.
53845         * sysdeps/x86_64/crtn.S: New file.
53846         * sysdeps/x86_64/elf/initfini.c: Remove file.
53848 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
53850         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
53851         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
53852         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
53853         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
53854         <bits/inotify.h>.
53855         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
53856         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53857         bits/inotify.h.
53859 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
53861         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
53862         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
53863         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
53864         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
53865         <bits/eventfd.h>.
53866         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
53867         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53868         bits/eventfd.h.
53870 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
53872         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
53873         __feraiseexcept instead of feraiseexcept.
53875         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
53876         nanosleep invocations.
53877         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
53878         strings, and add error checking for a nanosleep invocations.
53880 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
53882         Replace FSF snail mail address with URLs, as per GNU coding standards.
53883         Most of the snail mail addresses were wrong anyway, and omitting
53884         them makes the source code easier to maintain.  Almost all of the
53885         changes are to license notices and to locale LC_IDENTIFICATION
53886         addresses, except for this one:
53887         * manual/libc.texinfo: In "Published by", give the FSF's URL,
53888         not its snail mail address.
53890 2012-02-09  Richard Henderson  <rth@twiddle.net>
53892         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
53893         of kernel-features.h.
53895         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
53897 2012-02-08  Marek Polacek  <polacek@redhat.com>
53899         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
53900         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
53901         * sysdeps/gnu/_G_config.h: Likewise.
53902         * sysdeps/generic/_G_config.h: Likewise.
53904 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
53906         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
53907         tests.
53908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53910         * sysdeps/powerpc/powerpc32/crti.S: New file.
53911         * sysdeps/powerpc/powerpc32/crtn.S: New file.
53912         * sysdeps/powerpc/powerpc64/crti.S: New file.
53913         * sysdeps/powerpc/powerpc64/crtn.S: New file.
53915         * Makeconfig (have-initfini): Don't set.
53916         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
53917         * configure.in (nopic_initfini): Don't substitute.
53918         * config.h.in (HAVE_INITFINI): Don't #undef.
53919         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
53920         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
53922 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
53924         Support crti.S and crtn.S provided directly by architectures.
53925         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
53926         [crti.S in sysdirs] (omit-deps): Likewise.
53927         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
53928         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
53929         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
53930         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
53931         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
53932         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
53933         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
53934         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
53935         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
53936         compiler output for sysdeps/generic/initfini.c.
53937         * sysdeps/i386/elf/Makefile: Remove file.
53938         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
53940 2012-02-07  Marek Polacek  <polacek@redhat.com>
53942         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
53943         * sysdeps/gnu/_G_config.h: Likewise.
53944         * sysdeps/mach/hurd/_G_config.h: Likewise.
53946 2012-02-07  Marek Polacek  <polacek@redhat.com>
53948         * math/Makefile (tests): Add tst-CMPLX2.
53949         * math/tst-CMPLX2.c: New file.
53951 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
53953         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53955         * math/libm-test.inc (jn_test): Add missing L suffix.
53957 2012-02-06  Marek Polacek  <polacek@redhat.com>
53959         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
53960         * sysdeps/i386/fpu/e_powf.S: Likewise.
53961         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
53962         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
53963         * sysdeps/i386/fpu/e_acosh.S: Likewise.
53964         * sysdeps/i386/fpu/e_pow.S: Likewise.
53965         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
53966         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
53967         * sysdeps/i386/fpu/s_expm1.S: Likewise.
53968         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
53969         * sysdeps/i386/fpu/e_log2.S: Likewise.
53970         * sysdeps/i386/fpu/e_log2l.S: Likewise.
53971         * sysdeps/i386/fpu/e_scalb.S: Likewise.
53972         * sysdeps/i386/fpu/e_powl.S: Likewise.
53973         * sysdeps/i386/fpu/s_log1p.S: Likewise.
53974         * sysdeps/i386/fpu/e_log10f.S: Likewise.
53975         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
53976         * sysdeps/i386/fpu/e_logl.S: Likewise.
53977         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
53978         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
53979         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
53980         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
53981         * sysdeps/i386/fpu/e_log2f.S: Likewise.
53982         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
53983         * sysdeps/i386/fpu/e_log.S: Likewise.
53984         * sysdeps/i386/fpu/s_cexp.S: Likewise.
53985         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
53986         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
53987         * sysdeps/i386/fpu/e_logf.S: Likewise.
53988         * sysdeps/i386/fpu/e_log10l.S: Likewise.
53989         * sysdeps/i386/fpu/e_atanh.S: Likewise.
53990         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
53991         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
53992         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
53993         * sysdeps/i386/fpu/e_log10.S: Likewise.
53994         * sysdeps/i386/fpu/s_frexp.S: Likewise.
53995         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
53996         * sysdeps/i386/fpu/s_asinh.S: Likewise.
53997         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
53998         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
53999         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
54000         * sysdeps/i386/asm-syntax.h: Likewise.
54001         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
54002         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54003         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
54004         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
54005         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
54006         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
54007         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
54008         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
54009         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
54010         * sysdeps/powerpc/sysdep.h: Likewise.
54011         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
54012         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
54014 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
54016         [BZ #411]
54017         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
54019 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
54021         * sysdeps/i386/sysdep.h: Include <features.h>.
54022         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
54023         version.
54025 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
54027         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
54028         Define.
54029         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
54030         LOAD_PIC_REG_STR.
54032 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
54034         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
54035         (SETUP_PIC_REG): Use GET_PC_THUNK.
54036         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
54037         macro.
54039 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
54041         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
54042         for non-PIC compilation.
54043         (SETUP_PIC_REG): Add .p2align directive.
54044         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
54045         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
54046         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
54047         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
54048         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
54049         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
54050         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
54051         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54052         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
54053         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
54054         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
54055         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
54056         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
54057         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
54058         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
54059         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
54060         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
54061         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
54062         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
54063         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
54064         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
54065         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
54066         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
54067         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
54068         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
54069         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
54070         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
54071         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
54072         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
54073         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
54074         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
54075         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54076         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
54077         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
54078         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
54079         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
54080         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
54081         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
54082         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
54083         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
54084         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
54086 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
54088         * math/tst-CMPLX.c: Include <stdio.h>.
54090 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
54092         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
54093         float.
54094         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
54095         * sysdeps/sparc/bits/mathdef.h: Likewise.
54097 2012-01-31  Marek Polacek  <polacek@redhat.com>
54099         * libio/libio.h: Don't define _PARAMS.
54100         * locale/programs/config.h: Don't define PARAMS.
54101         * stdlib/strtol_l.c: Likewise.
54102         (__strtol_l): Remove PARAMS from the prototype.
54104 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
54106         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
54107         names.  Just use the correct names.  Remove unnecessary wrapper
54108         functions.
54109         * malloc/arena.c: Likewise.
54110         * malloc/hooks.c: Likewise.
54112         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
54113         ARENA_TEST says not to.  Simplify test for creation of a new arena.
54114         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
54116 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
54118         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
54119         into tail calls.
54120         (update_get_addr): New function.
54121         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
54122         GET_ADDR_MODULE parameter.
54124 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
54126         * crypt/cert.c: Remove __STDC__ conditionals.
54127         * crypt/crypt-entry.c: Likewise.
54128         * crypt/crypt_util.c: Likewise.
54129         * libio/filedoalloc.c: Likewise.
54130         * libio/fileops.c: Likewise.
54131         * libio/genops.c: Likewise.
54132         * libio/iofclose.c: Likewise.
54133         * libio/iofdopen.c: Likewise.
54134         * libio/iofopen.c: Likewise.
54135         * libio/iofopen64.c: Likewise.
54136         * libio/iogetdelim.c: Likewise.
54137         * libio/iopopen.c: Likewise.
54138         * libio/obprintf.c: Likewise.
54139         * libio/oldfileops.c: Likewise.
54140         * libio/oldiofclose.c: Likewise.
54141         * libio/oldiofdopen.c: Likewise.
54142         * libio/oldiofopen.c: Likewise.
54143         * libio/oldiopopen.c: Likewise.
54144         * libio/wfiledoalloc.c: Likewise.
54145         * libio/wgenops.c: Likewise.
54146         * locale/programs/xmalloc.c: Likewise.
54147         * misc/syslog.c: Likewise.
54148         * stdio-common/xbug.c: Likewise.
54149         * string/memchr.c: Likewise.
54150         * string/memcmp.c: Likewise.
54151         * string/memrchr.c: Likewise.
54152         * string/rawmemchr.c: Likewise.
54153         * sysdeps/posix/getcwd.c: Likewise.
54154         * time/strftime_l.c: Likewise.
54156 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
54158         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
54159         * config.make.in (config-cflags-sse2avx): Define.
54160         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
54161         Fix typo.
54163 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
54165         * scripts/config.guess: Update from upstream config git repository.
54166         * scripts/config.sub: Likewise.
54168 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
54170         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
54171         (EM_NUM): Update.
54172         (R_TILEPRO_*, R_TILEGX_*): New macros.
54174         * scripts/firstversions.awk: Fix bug in version range handling.
54176         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
54178         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
54180         * include/sys/epoll.h: New file.
54181         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
54182         libc_hidden_def.
54184 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
54186         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
54187         Avoid unnecessary __WORDSIZE == 64 test.
54188         (fmaxf): Use VEX format if possible.
54189         (fmax): Likewise.
54190         (fminf): Likewise.
54191         (fmin): Likewise.
54193         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
54194         * math/math_private.h: Remove libc_fegetround* and
54195         libc_fesetround*.
54196         * sysdeps/i386/configure.in: Check for -msse2avx.
54197         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
54198         also if SSE2AVX is defined.
54199         Remove libc_fegetround* and libc_fesetround*.
54200         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
54201         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
54202         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
54203         of HAS_YMM_USABLE.
54204         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54205         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54206         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54207         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54208         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54210         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
54212 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54214         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
54215         size is not set.
54216         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54218 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
54220         [BZ #13618]
54221         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
54222         relocation.
54223         * Makeconfig (libm): Define.
54224         * elf/Makefile: Add rules to build and run tst-relsort1.
54225         * elf/tst-relsort1.c: New file.
54226         * elf/tst-relsort1mod1.c: New file.
54227         * elf/tst-relsort1mod2.c: New file.
54229 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
54231         * math/s_ldexp.c: Remove __STDC__ conditionals.
54232         * math/s_ldexpf.c: Likewise.
54233         * math/s_ldexpl.c: Likewise.
54234         * math/s_nextafter.c: Likewise.
54235         * math/s_nexttowardf.c: Likewise.
54236         * math/s_significand.c: Likewise.
54237         * math/s_significandf.c: Likewise.
54238         * math/s_significandl.c: Likewise.
54239         * math/w_jnl.c: Likewise.
54240         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
54241         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
54242         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
54243         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
54244         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
54245         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54246         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
54247         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54248         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54249         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54250         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54251         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54252         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54253         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
54254         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54255         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54256         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54257         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54258         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54259         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54260         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54261         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54262         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54263         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54264         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54265         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54266         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54267         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54268         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
54269         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54270         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54271         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
54272         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54273         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
54274         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
54275         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54276         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
54277         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
54278         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
54279         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
54280         * sysdeps/ieee754/k_standard.c: Likewise.
54281         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54282         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54283         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
54284         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
54285         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
54286         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
54287         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54288         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
54289         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
54290         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
54291         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
54292         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
54293         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
54294         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
54295         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
54296         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
54297         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
54298         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54299         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54300         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
54301         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54302         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54303         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
54304         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
54305         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54306         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
54307         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54308         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54309         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54310         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
54311         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
54312         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
54313         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
54314         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
54315         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
54316         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
54317         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
54318         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
54319         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
54320         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
54321         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
54322         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
54323         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
54324         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
54325         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
54326         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
54327         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
54328         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54329         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
54330         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
54331         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
54332         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54333         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54334         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
54335         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
54336         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
54337         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
54338         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54339         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54340         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54341         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54342         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
54343         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
54344         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54345         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54346         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54347         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54348         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
54349         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
54350         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54351         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54352         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54353         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54354         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
54355         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
54356         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54357         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
54358         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
54359         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
54360         * sysdeps/ieee754/s_matherr.c: Likewise.
54361         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
54362         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
54363         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54364         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54366 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
54368         * crypt/md5.h: Remove __STDC__ conditionals.
54369         * libio/libioP.h: Likewise.
54370         * locale/programs/config.h: Likewise.
54371         * sysdeps/generic/sysdep.h: Likewise.
54372         * sysdeps/i386/asm-syntax.h: Likewise.
54373         * sysdeps/s390/asm-syntax.h: Likewise.
54374         * sysdeps/unix/sysdep.h: Likewise.
54375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
54376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
54378 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
54380         * libio/libio.h: Remove __STDC__ conditionals.
54381         * malloc/obstack.h: Likewise.
54382         * math/complex.h: Likewise.
54383         * math/math.h: Likewise.
54384         * sysdeps/generic/_G_config.h: Likewise.
54385         * sysdeps/gnu/_G_config.h: Likewise.
54386         * sysdeps/mach/hurd/_G_config.h: Likewise.
54387         * sysdeps/powerpc/bits/mathdef.h: Likewise.
54388         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
54389         * sysdeps/sparc/bits/mathdef.h: Likewise.
54391 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
54393         [BZ #13583]
54394         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
54395         Clean up HAS_* macros.
54396         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
54397         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
54398         possible.
54399         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
54400         HAS_AVX.
54401         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54402         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54403         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54404         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54405         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54407 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
54409         * elf/tst-unique3.cc (gets): Remove declaration.
54410         * elf/tst-unique3lib.cc (gets): Likewise.
54411         * elf/tst-unique3lib2.cc (gets): Likewise.
54412         * elf/tst-unique4.cc (gets): Likewise.
54414 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
54416         * include/stdio.h: Add C++ protection.  Add gets declarations and
54417         definitions.
54418         * debug/tst-chk1.c: Don't declare gets here.
54419         * stdio-common/tst-gets.c: Likewise.
54421 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
54423         * posix/glob: Remove directory.
54425 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
54427         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
54429 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
54431         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
54432         of the non-standard EPFNOSUPPORT.
54434 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54436         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
54437         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
54438         ANYWHERE set to 1 only on KERN_NO_SPACE error.
54440 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
54442         * wcsmbs/uchar.h: Test __STDC_VERSION__.
54444 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
54446         * nscd/aicache.c (addhstaiX): Do not cache negative results of
54447         transient errors.
54448         * nscd/grpcache.c (cache_addgr): Likewise.
54449         * nscd/hstcache.c (cache_addhst): Likewise.
54450         * nscd/initgrcache.c (addinitgroupsX): Likewise.
54451         * nscd/pwdcache.c (cache_addpw): Likewise.
54452         * nscd/servicescache.c (cache_addserv): Likewise.
54454 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
54456         * malloc/malloc.c: Various cleanups.
54457         * malloc/hooks.c: Likewise.
54459         * stdlib/Makefile (tests): Add bug-fmtmsg1.
54460         * stdlib/bug-fmtmsg1.c: New file.
54462         * stdlib/fmtmsg.c (init): Add missing unlock.
54463         Patch by Peng Haitao <penght@cn.fujitsu.com>.
54465 2012-01-12  Marek Polacek  <polacek@redhat.com>
54467         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
54468         and _GNU_SOURCE.
54470 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
54472         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
54473         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
54474         macro to ensure uniqueness of label name.
54475         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
54476         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
54478 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
54480         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
54482         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
54483         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
54484         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
54485         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
54487 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
54489         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
54491         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
54492         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
54493         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
54495         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
54497         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
54498         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
54499         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54500         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
54502         * math/bits/math-finite.h: Add ldexp support.
54504 2012-01-10  Marek Polacek  <polacek@redhat.com>
54506         * locale/programs/localedef.h (show_archive_content): Add noreturn
54507         attribute.
54509 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
54511         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
54513 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
54515         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
54517         * io/Makefile (headers): Add bits/poll2.h.
54519 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
54521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
54522         typo #include statement.
54524 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
54526         * include/sys/cdefs.h: Define __attribute_alloc_size.
54527         * catgets/gencat.c: Add alloc_size attribute and apply consistently
54528         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
54529         * elf/pldd.c: Likewise.
54530         * iconv/iconv_charmap.c: Likewise.
54531         * iconv/iconvconfig.c: Likewise.
54532         * iconv/strtab.c: Likewise.
54533         * locale/programs/locale.c: Likewise.
54534         * locale/programs/localedef.h: Likewise.
54535         * locale/programs/simple-hash.c: Likewise.
54536         * nscd/nscd.h: Likewise.
54537         * nss/makedb.c: Likewise.
54538         * sysdeps/generic/ldconfig.h: Likewise.
54539         * locale/programs/localedef.c: Remove xmalloc prototype.
54540         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
54542 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
54544         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
54545         appropriate.
54547 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
54549         * math/Makefile (tests): Add tst-CMPLX.
54550         * math/tst-CMPLX.c: New file.
54552         * math/complex.h (CMPLXL): Fix typo.
54554         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
54555         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
54556         GLIBC_2.16.
54557         * debug/tst-chk1.c: Add poll and ppoll tests.
54558         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
54559         * include/sys/poll.h: Add hidden proto for ppoll.
54560         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
54561         * sysdeps/mach/hurd/ppoll.c: Likewise.
54562         * io/ppoll.c: Likewise.
54563         * debug/poll_chk.c: New file.
54564         * debug/ppoll_chk.c: New file.
54565         * include/bits/poll2.h: New file.
54566         * io/bits/poll2.h: New file.
54568         [BZ #1350]
54569         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
54571         * configure.in: static is always set to yes.  Remove.
54572         * config.make.in: Don't set build-static.
54573         * Makeconfig: Remove use of build-static.
54574         * dlfcn/Makefile: Likewise.
54575         * elf/Makefile: Likewise.
54576         * math/Makefile: Likewise.
54577         * misc/Makefile: Likewise.
54578         * nptl/Makefile: Likewise.
54579         * sysdeps/mach/hurd/Makefile: Likewise.
54581         * configure.in: PWD_P is not used anymore.
54582         * config.make.in: Remove PWD_P entry.
54584         * configure.in: Remove last remnants of RANLIB.
54585         No need to check for signed size_t anymore.
54586         Don't set libc_commonpagesize and libc_relro_required here for Alpha
54587         and IA-64.
54588         Remove __builtin_expect test because we require at least gcc 3.4.
54589         * aclocal.m4: Likewise.
54591         * wcsmbs/mbrtoc16.c: Implement using towc function.
54592         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
54593         * wcsmbs/wcsmbsload.c: Likewise.
54594         * iconv/gconv_simple.c: Likewise.
54595         * iconv/gconv_int.h: Likewise.
54596         * iconv/gconv_builtin.h: Likewise.
54597         * iconv/iconv_prog.c: Remove CHAR16 handling.
54599         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
54601         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
54603         * configure.in: Remove --with-elf and --enable-bounded options.
54604         Dont set base_machine for ia64.  More non-ELF conditions removed.
54605         Remove testing and setting of leading underscore information.
54606         * config.make.in (build-bounded): Set to no.
54607         * config.h.in: Remove NO_UNDERSCORES entry.
54608         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
54609         them.
54610         * csu/start.c: Remove !NO_UNDERSCORE code.
54611         * locale/localeinfo.h: Likewise.
54612         * sysdeps/generic/machine-gmon.h: Likewise.
54613         * sysdeps/generic/sysdep.h: Likewise.
54614         * sysdeps/i386/sysdep.h: Likewise.
54615         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
54616         * sysdeps/mach/sysdep.h: Likewise.
54617         * sysdeps/s390/s390-32/sysdep.h: Likewise.
54618         * sysdeps/s390/s390-64/sysdep.h: Likewise.
54619         * sysdeps/sh/sysdep.h: Likewise.
54620         * sysdeps/sparc/sparc32/alloca.S: Likewise.
54621         * sysdeps/unix/i386/sysdep.S: Likewise.
54622         * sysdeps/unix/sparc/start.c: Likewise.
54623         * sysdeps/unix/sparc/sysdep.S: Likewise.
54624         * sysdeps/unix/sparc/sysdep.h: Likewise.
54625         * sysdeps/unix/start.c: Likewise.
54626         * sysdeps/unix/x86_64/sysdep.S: Likewise.
54627         * sysdeps/x86_64/sysdep.h: Likewise.
54629 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
54631         [BZ #13553]
54632         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
54633         for non-gcc.
54634         * argp/argp-fmtstream.h: Use const instead __const.
54635         * argp/argp.h: Likewise.
54636         * assert/assert.h: Likewise.
54637         * bits/fenv.h: Likewise.
54638         * bits/sched.h: Likewise.
54639         * bits/sigset.h: Likewise.
54640         * bits/sigthread.h: Likewise.
54641         * catgets/nl_types.h: Likewise.
54642         * conform/data/pthread.h-data: Likewise.
54643         * crypt/crypt-private.h: Likewise.
54644         * crypt/crypt.h: Likewise.
54645         * crypt/crypt_util.c: Likewise.
54646         * ctype/ctype.h: Likewise.
54647         * debug/execinfo.h: Likewise.
54648         * debug/mbsnrtowcs_chk.c: Likewise.
54649         * debug/mbsrtowcs_chk.c: Likewise.
54650         * debug/wcsnrtombs_chk.c: Likewise.
54651         * debug/wcsrtombs_chk.c: Likewise.
54652         * debug/wcstombs_chk.c: Likewise.
54653         * dirent/dirent.h: Likewise.
54654         * dlfcn/dlfcn.h: Likewise.
54655         * elf/neededtest4.c: Likewise.
54656         * grp/grp.h: Likewise.
54657         * gshadow/gshadow.h: Likewise.
54658         * iconv/gconv.h: Likewise.
54659         * iconv/gconv_int.h: Likewise.
54660         * iconv/gconv_simple.c: Likewise.
54661         * iconv/iconv.h: Likewise.
54662         * iconv/loop.c: Likewise.
54663         * iconv/skeleton.c: Likewise.
54664         * include/aio.h: Likewise.
54665         * include/aliases.h: Likewise.
54666         * include/argz.h: Likewise.
54667         * include/arpa/inet.h: Likewise.
54668         * include/assert.h: Likewise.
54669         * include/dirent.h: Likewise.
54670         * include/dlfcn.h: Likewise.
54671         * include/execinfo.h: Likewise.
54672         * include/fcntl.h: Likewise.
54673         * include/fenv.h: Likewise.
54674         * include/glob.h: Likewise.
54675         * include/grp.h: Likewise.
54676         * include/libintl.h: Likewise.
54677         * include/mntent.h: Likewise.
54678         * include/netdb.h: Likewise.
54679         * include/pwd.h: Likewise.
54680         * include/rpc/netdb.h: Likewise.
54681         * include/sched.h: Likewise.
54682         * include/search.h: Likewise.
54683         * include/shadow.h: Likewise.
54684         * include/signal.h: Likewise.
54685         * include/stdio.h: Likewise.
54686         * include/stdlib.h: Likewise.
54687         * include/string.h: Likewise.
54688         * include/sys/socket.h: Likewise.
54689         * include/sys/stat.h: Likewise.
54690         * include/sys/statfs.h: Likewise.
54691         * include/sys/statvfs.h: Likewise.
54692         * include/sys/syslog.h: Likewise.
54693         * include/sys/time.h: Likewise.
54694         * include/sys/uio.h: Likewise.
54695         * include/time.h: Likewise.
54696         * include/unistd.h: Likewise.
54697         * include/utmp.h: Likewise.
54698         * include/wchar.h: Likewise.
54699         * include/wctype.h: Likewise.
54700         * inet/aliases.h: Likewise.
54701         * inet/arpa/inet.h: Likewise.
54702         * inet/netinet/ether.h: Likewise.
54703         * inet/netinet/in.h: Likewise.
54704         * intl/libintl.h: Likewise.
54705         * io/bits/fcntl2.h: Likewise.
54706         * io/fcntl.h: Likewise.
54707         * io/ftw.h: Likewise.
54708         * io/sys/poll.h: Likewise.
54709         * io/sys/stat.h: Likewise.
54710         * io/sys/statfs.h: Likewise.
54711         * io/sys/statvfs.h: Likewise.
54712         * io/utime.h: Likewise.
54713         * libio/bits/stdio.h: Likewise.
54714         * libio/bits/stdio2.h: Likewise.
54715         * libio/libio.h: Likewise.
54716         * libio/libioP.h: Likewise.
54717         * libio/stdio.h: Likewise.
54718         * locale/lc-ctype.c: Likewise.
54719         * locale/locale.h: Likewise.
54720         * login/utmp.h: Likewise.
54721         * malloc/arena.c: Likewise.
54722         * malloc/malloc.c: Likewise.
54723         * malloc/malloc.h: Likewise.
54724         * malloc/mcheck.c: Likewise.
54725         * malloc/mtrace.c: Likewise.
54726         * math/bits/mathcalls.h: Likewise.
54727         * math/fenv.h: Likewise.
54728         * math/math_private.h: Likewise.
54729         * misc/bits/error.h: Likewise.
54730         * misc/bits/syslog.h: Likewise.
54731         * misc/err.h: Likewise.
54732         * misc/error.h: Likewise.
54733         * misc/fstab.h: Likewise.
54734         * misc/mntent.h: Likewise.
54735         * misc/regexp.h: Likewise.
54736         * misc/search.h: Likewise.
54737         * misc/sgtty.h: Likewise.
54738         * misc/sys/mman.h: Likewise.
54739         * misc/sys/syslog.h: Likewise.
54740         * misc/sys/uio.h: Likewise.
54741         * misc/sys/xattr.h: Likewise.
54742         * misc/ttyent.h: Likewise.
54743         * nis/rpcsvc/ypclnt.h: Likewise.
54744         * nss/nss.h: Likewise.
54745         * posix/bits/unistd.h: Likewise.
54746         * posix/fnmatch.h: Likewise.
54747         * posix/glob.h: Likewise.
54748         * posix/sched.h: Likewise.
54749         * posix/spawn.h: Likewise.
54750         * posix/sys/wait.h: Likewise.
54751         * posix/unistd.h: Likewise.
54752         * posix/wordexp.h: Likewise.
54753         * pwd/pwd.h: Likewise.
54754         * resolv/netdb.h: Likewise.
54755         * resource/sys/resource.h: Likewise.
54756         * rt/aio.h: Likewise.
54757         * rt/bits/mqueue2.h: Likewise.
54758         * rt/mqueue.h: Likewise.
54759         * shadow/shadow.h: Likewise.
54760         * signal/signal.h: Likewise.
54761         * socket/send.c: Likewise.
54762         * socket/sendto.c: Likewise.
54763         * socket/sys/socket.h: Likewise.
54764         * stdio-common/printf.h: Likewise.
54765         * stdlib/bits/stdlib.h: Likewise.
54766         * stdlib/fmtmsg.h: Likewise.
54767         * stdlib/monetary.h: Likewise.
54768         * stdlib/stdlib.h: Likewise.
54769         * stdlib/ucontext.h: Likewise.
54770         * streams/stropts.h: Likewise.
54771         * string/argz.h: Likewise.
54772         * string/bits/string2.h: Likewise.
54773         * string/string.h: Likewise.
54774         * string/strings.h: Likewise.
54775         * sunrpc/rpc/auth.h: Likewise.
54776         * sunrpc/rpc/auth_des.h: Likewise.
54777         * sunrpc/rpc/clnt.h: Likewise.
54778         * sunrpc/rpc/netdb.h: Likewise.
54779         * sunrpc/rpc/pmap_clnt.h: Likewise.
54780         * sunrpc/rpc/xdr.h: Likewise.
54781         * sysdeps/generic/inttypes.h: Likewise.
54782         * sysdeps/generic/net/if.h: Likewise.
54783         * sysdeps/generic/sys/swap.h: Likewise.
54784         * sysdeps/gnu/net/if.h: Likewise.
54785         * sysdeps/gnu/utmpx.h: Likewise.
54786         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
54787         * sysdeps/i386/i486/bits/string.h: Likewise.
54788         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
54789         * sysdeps/s390/bits/string.h: Likewise.
54790         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
54791         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
54792         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
54793         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
54794         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
54795         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
54796         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
54797         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
54798         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
54799         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
54800         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
54801         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
54802         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
54803         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
54804         * sysdeps/unix/sysv/linux/readv.c: Likewise.
54805         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
54806         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
54807         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54808         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
54809         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
54810         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
54811         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
54812         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
54813         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
54814         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
54815         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
54816         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
54817         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54818         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
54819         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
54820         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
54821         * sysvipc/sys/ipc.h: Likewise.
54822         * sysvipc/sys/msg.h: Likewise.
54823         * sysvipc/sys/sem.h: Likewise.
54824         * sysvipc/sys/shm.h: Likewise.
54825         * termios/termios.h: Likewise.
54826         * time/sys/time.h: Likewise.
54827         * time/time.h: Likewise.
54828         * wcsmbs/bits/wchar2.h: Likewise.
54829         * wcsmbs/uchar.h: Likewise.
54830         * wcsmbs/wchar.h: Likewise.
54831         * wctype/wctype.h: Likewise.
54833         [BZ #13551]
54834         * Makeconfig: Remove all but ELF support including AIX support.
54835         * Makerules: Likewise.
54836         * config.h.in: Likewise.
54837         * config.make.in: Likewise.
54838         * configure: Likewise.
54839         * configure.in: Likewise.
54840         * csu/Makefile: Likewise.
54841         * csu/version.c: Likewise.
54842         * debug/Makefile: Likewise.
54843         * dlfcn/Makefile: Likewise.
54844         * elf/Makefile: Likewise.
54845         * extra-lib.mk: Likewise.
54846         * iconv/Makefile: Likewise.
54847         * include/libc-symbols.h: Likewise.
54848         * include/shlib-compat.h: Likewise.
54849         * resolv/Makefile: Likewise.
54850         * resolv/res_libc.c: Likewise.
54851         * rt/Makefile: Likewise.
54852         * sysdeps/i386/asm-syntax.h: Likewise.
54853         * sysdeps/i386/sysdep.h: Likewise.
54854         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
54855         * sysdeps/mach/sysdep.h: Likewise.
54856         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
54857         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
54858         * sysdeps/s390/asm-syntax.h: Likewise.
54859         * sysdeps/s390/s390-32/sysdep.h: Likewise.
54860         * sysdeps/s390/s390-64/sysdep.h: Likewise.
54861         * sysdeps/sh/sysdep.h: Likewise.
54862         * sysdeps/unix/sparc/sysdep.h: Likewise.
54863         * sysdeps/wordsize-32/divdi3.c: Likewise.
54864         * sysdeps/x86_64/sysdep.h: Likewise.
54866         * argp/Versions: Remove _argp_unlock_xxx.
54868         [BZ #13559]
54869         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
54870         * abilist/libBrokenLocale.abilist: Likewise.
54871         * abilist/libanl.abilist: Likewise.
54872         * abilist/libc.abilist: Likewise.
54873         * abilist/libcrypt.abilist: Likewise.
54874         * abilist/libdl.abilist: Likewise.
54875         * abilist/libm.abilist: Likewise.
54876         * abilist/libnsl.abilist: Likewise.
54877         * abilist/libpthread.abilist: Likewise.
54878         * abilist/libresolv.abilist: Likewise.
54879         * abilist/librt.abilist: Likewise.
54880         * abilist/libthread_db.abilist: Likewise.
54881         * abilist/libutil.abilist: Likewise.
54882         * abilist/libnss_db.abilist: New file.
54884         * scripts/abilist.awk: Add support for indirect functions.
54886         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
54888         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
54890         * shlib-versions: Remove entries for ports architectures.
54892         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
54893         files in ports.
54894         * elf/stackguard-macros.h: Remove support for IA-64.
54895         * elf/tst-auditmod1.c: Likewise.
54896         * sysdeps/generic/ldsodefs.h: Likewise.
54898         * sysdeps/unix/sysv/linux/configure.in: Ports should define
54899         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
54900         configure files.
54902         [BZ #13552]
54903         * configure.in: Remove --enable-omitfp support.
54904         * FAQ.in: Adjust.
54905         * config.make.in: Likewise.
54906         * Makeconfig: Likewise.
54907         * manual/install.texi: Likewise.
54909         In case anyone cares, the IA-64 architecture could move to ports.
54910         * sysdeps/ia64/*: Removed.
54911         * sysdeps/unix/sysv/linux/ia64/*: Removed.
54912         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
54914         [BZ #13555]
54915         * configure.in: Remove entries for unsupported architectures.
54917         [BZ #13533]
54918         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
54919         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
54920         routines.
54921         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
54922         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
54923         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
54924         fall back to using wcrtomb.
54925         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
54926         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
54927         renaming.
54928         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
54929         * wcsmbs/tst-c16c32-1.c: New file.
54931         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
54932         local variable.
54934         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
54936         * elf/tst-unique3.cc: Add explicit declaration of gets.
54937         * elf/tst-unique3lib.cc: Likewise.
54938         * elf/tst-unique3lib2.cc: Likewise.
54939         * elf/tst-unique4.cc: Likewise.
54941         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
54943 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
54945         [BZ #13566]
54946         * assert/assert.h (static_assert): Don't define for C++.
54947         * libio/stdio.h (gets): Do declare for C++ <= C++11.
54948         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
54950 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
54952         * iconv/loop.c (single loop): Fix assertion in storing of
54953         remaining bytes.
54955         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
54957 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
54959         * posix/getconf.c: Update copyright year.
54960         * nss/getent.c: Likewise.
54961         * nss/makedb.c: Likewise.
54962         * iconv/iconvconfig.c: Likewise.
54963         * iconv/iconv_prog.c: Likewise.
54964         * elf/ldconfig.c: Likewise.
54965         * elf/pldd.c: Likewise.
54966         * elf/sotruss.ksh: Likewise.
54967         * catgets/gencat.c: Likewise.
54968         * csu/version.c: Likewise.
54969         * elf/ldd.bash.in: Likewise.
54970         * elf/sprof.c (print_version): Likewise.
54971         * locale/programs/locale.c: Likewise.
54972         * locale/programs/localedef.c: Likewise.
54973         * login/programs/pt_chown.c: Likewise.
54974         * nscd/nscd.c (print_version): Likewise.
54975         * debug/xtrace.sh: Likewise.
54976         * malloc/memusage.sh: Likewise.
54977         * malloc/mtrace.pl: Likewise.
54978         * debug/catchsegv.sh: Likewise.
54980 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
54982         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
54983         pure attribute.
54985 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
54987         [BZ #13533]
54988         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
54989         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
54990         transformations.
54991         * iconv/gconv_int.h: Likewise.
54992         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
54993         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
54994         from libc for GLIBC_2.16.
54995         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
54996         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
54997         * wcsmbs/uchar.h: Really define mbstate_t.
54998         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
54999         * wcsmbs/c16rtomb.c: New file.
55000         * wcsmbs/mbrtoc16.c: New file.
55001         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
55002         for C/POSIX locale.
55003         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
55004         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
55006         * wcsmbs/wchar.h: Add missing __restrict.
55008 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
55010         [BZ #13532]
55011         * time/Makefile (routines): Add timespec_get.
55012         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
55013         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
55014         timespec for ISO C11.
55015         * time/timespec_get.c: New file.
55016         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
55017         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
55019         [BZ #13531]
55020         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
55021         * stdlib/stdlib.h: Declare aligned_alloc.
55022         * Versions.def: Add GLIBC_2.16 for libc.
55023         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
55025         [BZ 13527]
55026         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
55027         ISO C11.
55029         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
55030         code.
55032         [BZ #13528]
55033         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
55035         [BZ #13529]
55036         * assert/assert.h (static_assert): Define.
55038         * version.h: Update for 2.16 development version.
55040         [BZ #13526]
55041         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
55042         _ISOC11_SOURCE.
55044         * version.h (RELEASE): Bump for 2.15 release.
55045         * include/features.h (__GLIBC_MINOR__): Bump to 15.
55047         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
55048         Patch by Marek Polacek <mpolacek@redhat.com>.
55050         * bits/byteswap.h: Protect long long constants with __extension__.
55051         * sysdeps/i386/bits/byteswap.h: Likewise.
55052         * sysdeps/ia64/bits/byteswap.h: Likewise.
55053         * sysdeps/s390/bits/byteswap.h: Likewise.
55054         * sysdeps/x86_64/bits/byteswap.h: Likewise.
55056 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55058         [BZ #13540]
55059         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
55060         destination buffer.
55061         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
55063 2011-12-23  Marek Polacek  <polacek@redhat.com>
55065         * elf/dl-addr.c (determine_info): Add inline keyword.
55066         * elf/tst-auditmod4b.c (check_avx): Likewise.
55067         * elf/tst-auditmod6b.c (check_avx): Likewise.
55068         * elf/tst-auditmod6c.c (check_avx): Likewise.
55069         * elf/tst-auditmod7b.c (check_avx): Likewise.
55071 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
55073         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
55074         !__SSE_MATH__.
55076 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55078         [BZ #13540]
55079         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
55080         processing for last bytes.
55082 2011-08-06  Bruno Haible  <bruno@clisp.org>
55084         [BZ #13061]
55085         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
55086         U+0385, not to U+1FEE.
55088         [BZ #13062]
55089         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
55090         entry for U+00A5 U+0301.
55092 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
55094         [BZ #13166]
55095         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
55096         buffer for the output is too small.
55098         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
55099         optimization.
55101         [BZ #13185]
55102         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
55103         SSE flags if possible.
55105 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55107         [BZ #13540]
55108         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
55109         processing for last bytes.
55111 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
55113         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
55114         (syscall-list-default-options, syscall-list-default-condition)
55115         (syscall-list-includes): Define.
55116         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
55117         list of ABIs and options and #if conditions for each ABI.  Do not
55118         handle common syscalls between ABIs specially.
55119         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
55120         Remove.
55121         (syscall-list-variants, syscall-list-32bit-options)
55122         (syscall-list-32bit-condition, syscall-list-64bit-options)
55123         (syscall-list-64bit-condition): Define.
55124         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
55125         (syscall-list-variants, syscall-list-32bit-options)
55126         (syscall-list-32bit-condition, syscall-list-64bit-options)
55127         (syscall-list-64bit-condition): Define.
55128         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
55129         Remove.
55130         (syscall-list-variants, syscall-list-32bit-options)
55131         (syscall-list-32bit-condition, syscall-list-64bit-options)
55132         (syscall-list-64bit-condition): Define.
55133         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
55134         Remove.
55135         (syscall-list-variants, syscall-list-32bit-options)
55136         (syscall-list-32bit-condition, syscall-list-64bit-options)
55137         (syscall-list-64bit-condition): Define.
55139 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
55141         * locale/iso-639.def: Add brx entry.
55143         [BZ #13328]
55144         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
55145         Proposed by Mariusz_Cukr <marcukr@op.pl>.
55147         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
55148         __feraiseexcept_renamed.
55150 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
55152         [BZ #13538]
55153         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
55154         EPOLLET with unsigned values.
55155         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55156         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
55158         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
55159         to large cancellation.
55160         * math/s_cacoshf.c: Likewise.
55161         * math/s_cacoshl.c: Likewise.
55163 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
55165         [BZ #13305]
55166         [BZ #12786]
55167         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
55168         * math/s_cacoshf.c: Likewise.
55169         * math/s_cacoshl.c: Likewise.
55171 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
55173         [BZ #13439]
55174         * iconv/gconv.h: Define __GCONV_SWAP.
55175         * iconvdata/unicode.c: The swap bit must be stored in __flags.
55176         * iconvdata/utf-16.c: Likewise.
55177         * iconvdata/utf-32.c: Likewise.
55179 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
55181         [BZ #13524]
55182         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
55183         numerator after shifting it by one limb.
55185 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
55187         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
55188         under [__USE_EXTERN_INLINES].
55190 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
55192         [BZ #13446]
55193         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
55195 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55197         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
55198         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
55199         optimized code.
55200         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
55201         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
55202         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
55203         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
55204         for strncasecmp/strncasecmp_l compilation.
55205         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
55206         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
55208 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
55210         [BZ #13484]
55211         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
55212         of __asm__.
55214 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
55216         [BZ #13506]
55217         * time/tzfile.c (__tzfile_read): Check values from file header.
55219 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
55221         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
55222         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
55223         * powerpc/powerpc32/dl-start.S: Likewise.
55224         * powerpc/powerpc32/elf/start.S: Likewise.
55225         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
55226         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
55227         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
55228         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
55229         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
55230         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
55231         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
55232         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
55233         * powerpc/powerpc32/fpu/s_round.S: Likewise.
55234         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
55235         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
55236         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
55237         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
55238         * powerpc/powerpc32/memset.S: Likewise.
55239         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
55240         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
55241         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
55242         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
55243         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
55244         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
55245         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
55246         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
55247         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
55248         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
55249         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
55250         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
55251         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
55253 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55255         * math/libm-test.inc: Added more nearbyint tests.
55256         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
55257         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
55258         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
55259         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
55261 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
55263         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
55264         FD_CLOEXEC.
55266 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55268         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
55269         Add wcscpy-ssse3 wcscpy-c.
55270         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
55271         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
55272         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
55273         * sysdeps/x86_64/wcschr.S: New file.
55274         * sysdeps/x86_64/wcsrchr.S: New file.
55275         * string/test-strcmp.c: Remove checking of wcscmp function for
55276         wrong alignments.
55277         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
55278         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
55279         wcsrchr-sse2 wcsrchr-c.
55280         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
55281         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
55282         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
55283         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
55284         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
55285         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
55286         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
55287         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
55288         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
55289         * wcsmbc/wcschr.c (WCSCHR): New macro.
55291 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55293         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
55294         * wcsmbs/test-wcsrchr.c: New file.
55295         * string/test-strrchr.c: Add wcsrchr support.
55296         (WIDE): New macro.
55297         * wcsmbs/test-wcscpy.c: New file.
55298         * string/test-strcpy.c: Add wcscpy support.
55299         (WIDE): New macro.
55301 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
55303         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
55304         the inner loop.
55306 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
55308         [BZ #13472]
55309         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
55311 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
55313         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
55314         Minor optimizations.
55316         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
55317         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
55318         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
55320 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
55322         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
55323         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
55324         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
55325         for gcc to avoid warnings.
55326         * inet/Makefile (tests): Add tst-checks.
55327         * inet/tst-checks.c: New file.
55329         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
55330         warning.
55332         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
55333         __wmemcmp_sse2.
55335         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
55336         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
55338         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
55340 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
55342         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
55343         problem.
55345         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
55347 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
55349         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
55350         conditional on GCC version.
55351         (__arch_compare_and_exchange_val_8_acq)
55352         (__arch_compare_and_exchange_val_16_acq)
55353         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
55354         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
55355         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
55357 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
55359         * sysdeps/sh/backtrace.c: New file.
55361 2011-12-02  Andreas Schwab  <schwab@redhat.com>
55363         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
55364         parenthesis.
55366 2011-12-01  Andreas Schwab  <schwab@redhat.com>
55368         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
55369         falling back to utime.
55371 2011-11-30  Andreas Schwab  <schwab@redhat.com>
55373         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
55374         expectations for float.
55376 2011-11-29  Andreas Schwab  <schwab@redhat.com>
55378         * locale/weight.h (findidx): Add parameter len.
55379         * locale/weightwc.h (findidx): Likewise.
55380         * posix/fnmatch_loop.c (FCT): Adjust caller.
55381         * posix/regcomp.c (build_equiv_class): Likewise.
55382         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
55383         * posix/regexec.c (check_node_accept_bytes): Likewise.
55384         * string/strcoll_l.c (STRCOLL): Likewise.
55385         * string/strxfrm_l.c (STRXFRM): Likewise.
55387 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
55389         * Makefile.in: Remove CVSOPT handling.
55390         * configure.in: Remove use of AC_REVISION.
55391         * iconvdata/Makefile (distribute): No need to filter out CVS.
55392         * scripts/list-sources.sh: Remove CVS, subversion and monotone
55393         handling.
55395 2011-11-16  Andreas Schwab  <schwab@redhat.com>
55397         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
55398         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
55399         [USE_AS_STRNCASECMP_L]: Likewise.
55400         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
55401         NO_TLS_DIRECT_SEG_REFS.
55402         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
55403         Fix argument offsets for non-PIC.
55404         [USE_AS_STRNCASECMP_L]: Likewise.
55405         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
55406         NO_TLS_DIRECT_SEG_REFS.
55408 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
55410         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
55411         O_CLOEXEC.
55412         * locale/loadlocale.c (_nl_load_locale): Likewise.
55414 2011-11-15  Andreas Schwab  <schwab@redhat.com>
55416         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
55417         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
55418         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
55419         (SYSCALL_GETTIME): Set errno on error.
55421         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
55422         count references to noai6ai_cached.
55424 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
55426         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
55428         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
55429         FD_CLOEXEC for /proc/self/maps.
55431         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
55432         FD_CLOEXEC for /proc/meminfo.
55434         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
55435         gai.conf.
55437         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
55438         FD_CLOEXEC for given file.
55440         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
55442         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
55443         FD_CLOEXEC for /etc/hosts.
55444         (_gethtent): Likewise.
55446         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
55448         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
55449         cancellation and set FD_CLOEXEC for /etc/netgroup.
55451         * nss/nss_files/files-key.c (search): Don't allow cancellation when
55452         reading /etc/publickey.
55454         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
55455         allow cancellation when reading /etc/group.
55457         * nss/nss_files/files-alias.c (internal_setent): Don't allow
55458         cancellation.
55459         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
55461         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
55462         when using data file.
55464         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
55466         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
55467         (write_nis_obj): Use "c" and "e" in fopen.
55469         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
55471         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
55473         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
55475         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
55477         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
55478         locale.alias.
55480         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
55482         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
55484         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
55486         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
55487         file parsing and set FD_CLOEXEC.
55489 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
55491         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
55493 2011-11-14  Andreas Schwab  <schwab@redhat.com>
55495         * malloc/arena.c (arena_get2): Don't call reused_arena when
55496         _int_new_arena failed.
55498 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
55500         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
55501         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
55502         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
55503         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
55504         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55505         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
55506         to compile strcasecmp and strncasecmp.
55507         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
55508         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
55510         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
55512 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
55514         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
55515         locale-defines.sym to gen-as-const-headers.
55516         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
55517         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
55518         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
55519         to compile strcasecmp and strncasecmp.
55520         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
55521         strcasecmp_l and strncasecmp_l.
55522         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
55523         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
55524         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
55525         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
55526         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
55527         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
55528         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
55529         * sysdeps/i386/i686/multiarch/strncase.S: New file.
55530         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
55531         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
55532         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
55534 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
55536         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
55537         result of SYSDEP_GETTIME_CPU to retval.
55538         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
55539         parameter list to macro.  Remove trailing semicolon.  Adjust users.
55541         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
55542         variable.
55544         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
55545         mantissa words.
55546         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
55548         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
55549         from unused variable.
55551         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
55552         DWARF definitions.
55553         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
55554         for assembling.
55556         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
55557         over namespaces.
55559         * sunrpc/rpc_prot.c (rejected): Fix case value.
55561         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
55562         unsigned long long int to avoid warnings in shift.
55564         * posix/regex_internal.c (re_string_reconstruct): Actually use result
55565         of use of trans.
55566         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
55567         variable tmp.
55569         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
55570         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
55571         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
55573         * nis/nis_table.c (nis_list): Use variable of correct type for
55574         result of __follow_path call.
55576 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55578         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
55579         of math functions ceil, trunc, floor, round, and sqrt, when
55580         avaliable on the platform.
55581         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
55582         name clash.
55583         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55584         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
55585         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
55587 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
55589         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
55590         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
55592 2011-11-11  Roland McGrath  <roland@hack.frob.com>
55594         * include/unistd.h: Fix __readlink return type.
55595         Reported by Chris Metcalf <cmetcalf@tilera.com>.
55597 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
55599         * stdlib/ucontext.h: Undo last change for makecontext.
55601 2011-11-11  Andreas Schwab  <schwab@redhat.com>
55603         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
55605         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
55606         * setjmp/setjmp.h: Mark functions as non-leaf.
55607         * setjmp/bits/setjmp2.h: Likewise.
55608         * stdlib/ucontext.h: Likewise.
55610 2011-11-10  Andreas Schwab  <schwab@redhat.com>
55612         * malloc/arena.c (_int_new_arena): Don't increment narenas.
55613         (reused_arena): Don't check arena limit.
55614         (arena_get2): Atomically check arena limit.
55616 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
55618         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
55619         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
55621         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
55622         instructions.
55624 2011-11-07  Andreas Schwab  <schwab@redhat.com>
55626         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
55627         handler when locking.
55629         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
55630         Fix size of allocated buffer.
55632 2011-11-04  Andreas Schwab  <schwab@redhat.com>
55634         [BZ #10103]
55635         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
55636         declarations for long double functions.
55637         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
55639         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
55641 2011-11-03  Andreas Schwab  <schwab@redhat.com>
55643         * nscd/nscd.c (main): Don't start AVC thread until credentials are
55644         installed.
55646         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
55647         is disabled.
55649 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55651         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
55653 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
55655         * include/alloca.h (stackinfo_alloca_round): Define.
55656         (extend_alloca): Use it.
55657         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
55658         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
55659         here.
55661         * scripts/check-local-headers.sh: Ignore libaudit.h.
55663         * nscd/Makefile (extra-objs): Make recursively expanded.
55665 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
55667         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
55668         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
55670         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
55671         * posix/tst-rfc3484-2.c: Likewise.
55672         * posix/tst-rfc3484-3.c: Likewise.
55674         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
55675         process_vm_writev.
55676         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
55677         process_vm_writev.
55678         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
55679         process_vm_writev from libc using GLIBC_2.15 version.
55681         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
55683 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
55685         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
55686         stack usage.
55688 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
55690         [BZ #13367]
55691         * nss/getent.c (initgroups_keys): Show error message in case no group
55692         names are given.
55694         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
55695         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
55696         __bump_nl_timestamp.
55697         * nscd/connections (nscd_init): When host database is served open
55698         netlink socket and request notification about configuration changes.
55699         (main_loop_poll): Track netlink file descriptor and bump timestamp
55700         in case data becomes available.
55701         (main_loop_epoll): Likewise.
55702         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
55703         (database_pers_head): Add extra_data fileds.
55704         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
55705         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
55706         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
55707         Adjust caller.
55708         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
55709         in6ai data, call __free_in6ai.
55710         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
55711         Add -DHAVE_NETLINK.
55712         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
55713         interface information.  Reuse previous data if netlink timestamp
55714         is not changed.
55715         (__bump_nl_timestamp): New function.
55716         (__free_in6ai): New function.
55718 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
55720         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
55721         close_not_cancel_no_status here.
55722         (__check_pf): Reorganize code a bit to not call close twice if OOM.
55724 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
55726         [BZ #13276]
55727         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
55728         return value.
55730         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
55731         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
55732         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
55734 2011-07-03  Andreas Jaeger  <aj@suse.de>
55736         [BZ #10709]
55737         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
55738         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
55739         * math/libm-test.inc (sin_test): Add test case.
55741 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
55743         [BZ #13337]
55744         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
55745         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
55747         * elf/chroot_canon.c (chroot_canon): Cleanups.
55749         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
55751         [BZ #13335]
55752         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
55753         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
55755         * string/test-strchr.c: Make usable for strchrnul testing.
55756         * string/test-strchrnul.c: New file.
55757         * string/Makefile (strop-tests): Add strchrnul.
55759         * po/it.po: Update from translation team.
55760         * po/es.po: Likewise.
55762 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
55764         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
55765         the three constants needed as parameters.  Drop the others.
55766         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
55767         __m128i_strloadu_tolower.
55768         Create and initialize variable zero and use it in all the places
55769         where _mm_setzero_si128 was used.
55771         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
55772         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
55773         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
55774         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
55775         anymore.
55776         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
55777         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
55778         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
55779         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
55780         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
55781         __mpranred, __mptan.
55782         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
55783         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
55784         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
55785         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
55786         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
55787         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
55788         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
55789         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
55790         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
55792 2011-10-28  Andreas Schwab  <schwab@redhat.com>
55794         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
55795         redefine if SHARED.
55796         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
55798         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
55799         wide char related routines to wcsmbs subdir.
55801 2011-10-27  Andreas Schwab  <schwab@redhat.com>
55803         [BZ #13344]
55804         * misc/sys/cdefs.h (__THROWNL): Define.
55805         * posix/unistd.h: Use __THREADNL instead of __THREAD
55806         for memory synchronization functions.
55808 2011-10-26  Roland McGrath  <roland@hack.frob.com>
55810         [BZ #13349]
55811         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
55812         doesn't exist.
55813         * manual/stdio.texi (Obstack Streams): Node removed.
55815 2011-10-26  Andreas Schwab  <schwab@redhat.com>
55817         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
55818         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55819         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55821         * math/math_private.h (math_force_eval): Allow non-addressable
55822         arguments.
55823         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
55825 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
55827         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
55828         file is not needed.
55830         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
55831         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
55832         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55833         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55834         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55835         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55836         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55837         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
55838         Add AVX variants.
55839         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
55840         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
55841         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
55842         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
55843         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
55844         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
55845         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
55846         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
55847         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
55848         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
55849         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
55850         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
55851         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
55852         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
55853         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
55854         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
55855         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
55856         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
55857         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
55859         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
55860         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
55862         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
55863         place.  Use VEX encoding when compiling for AVX.
55865 2011-10-25  Andreas Schwab  <schwab@redhat.com>
55867         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
55868         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
55870         * string/test-strchr.c (do_test): Don't generate NUL bytes.
55872 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
55874         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
55875         useless if() expression.
55876         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55877         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
55878         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55879         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55880         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55881         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55882         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
55883         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55884         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
55885         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55886         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55887         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
55888         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
55889         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
55890         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
55891         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55892         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55893         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55894         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
55896         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
55898 2011-10-25  Andreas Schwab  <schwab@redhat.com>
55900         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
55901         condition.
55902         * elf/dl-fini.c (_dl_sort_fini): Likewise.
55904 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
55906         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
55907         .text section.  Avoid duplicate constants.
55908         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
55909         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55910         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55911         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55912         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55913         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55914         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55915         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55916         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
55917         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
55918         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
55919         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
55920         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
55921         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
55922         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
55923         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
55924         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
55925         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
55926         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55927         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55928         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
55929         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
55930         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
55931         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
55932         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
55933         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
55934         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
55935         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
55936         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
55937         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
55938         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
55939         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
55940         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
55941         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
55942         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
55943         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
55944         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
55945         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
55946         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
55947         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
55948         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
55949         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
55950         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
55951         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
55952         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
55954 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
55956         * sysdeps/x86_64/dla.h: Move to ...
55957         * sysdeps/x86_64/fpu/dla.h: ...here.
55958         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
55959         situations.  Use __builtin_fma only for gcc 4.6 and up.
55961         * config.make.in: Add have-mfma4 entry.
55962         * configure.in: Substitute libc_cv_cc_fma4.
55963         * math/Makefile (dbl-only-routines): Add sincostab.
55964         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
55965         Use __sincostab not sincos.
55966         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
55967         name is a macro.
55968         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55969         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55970         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55971         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
55972         using __copysign.
55973         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
55974         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
55975         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
55976         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
55977         and __inv.
55978         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
55979         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
55980         __copysign.
55981         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
55982         define aliases when function name is a macro.
55983         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
55984         sysdeps/ieee754/dbl-64/sincos.tbl.
55985         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
55986         fma4-enabled routines.
55987         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
55988         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
55989         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
55990         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
55991         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
55992         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
55993         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
55994         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
55995         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
55996         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
55997         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
55998         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
55999         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
56000         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
56001         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
56002         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
56003         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
56004         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
56005         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
56006         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
56007         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
56008         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
56009         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
56010         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
56011         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
56012         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
56013         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
56014         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
56015         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
56016         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
56018         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
56019         rename.
56020         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56021         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56022         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56023         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56024         * sysdeps/ieee754/dbl-64/e_pow.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-24  Andreas Schwab  <schwab@redhat.com>
56031         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
56033 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
56035         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
56037         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
56038         prediction.
56039         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
56041         * string/strnlen.c: Don't define STRNLEN, reverse logic.
56042         Remove unused variable magic_bits.
56043         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
56045         * string/strnlen.c: Define and use STRNLEN macro.
56046         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
56047         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
56048         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
56049         * wcsmbs/wcslen.c: Define and use WCSLEN.
56050         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
56051         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
56052         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
56053         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
56054         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
56055         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
56056         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
56058 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56060         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56061         strnlen-sse2-no-bsf.
56062         Rename strlen-no-bsf to strlen-sse2-no-bsf.
56063         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
56064         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
56065         Add strnlen support.
56066         (USE_AS_STRNLEN): New macro.
56067         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
56068         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
56069         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
56070         * sysdeps/x86_64/wcslen.S: New file.
56072 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
56074         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
56075         XMM-moves are used for copying on small sizes.
56077 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56079         * wcsmbs/Makefile (strop-tests): Add wcschr.
56080         * wcsmbs/test-wcschr.c: New file.
56081         * string/test-strchr.c: Update.
56082         Add wcschr support.
56083         (WIDE): New macro.
56085 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56087         * wcsmbs/Makefile (strop-tests): Add wcslen.
56088         * wcsmbs/test-wcslen.c: New file.
56089         * string/test-strlen.c: Update.
56090         Add wcslen support.
56091         (WIDE): New macro.
56093 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
56095         * po/it.po: Update from translation team.
56097 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56099         * sysdeps/x86_64/wcscmp.S: Update.
56100         Fix wrong comparison semantics.
56101         wcscmp shall use signed comparison not unsigned.
56102         Don't use substraction to avoid overflow bug.
56103         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
56104         * wcsmbc/wcscmp.c: Likewise.
56105         * string/test-strcmp.c: Likewise.
56106         Add new tests to check cases with negative values.
56108 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
56110         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
56111         * sysdeps/x86_64/dla.h: ...here.  New file.
56112         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
56113         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56114         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56115         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56116         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56117         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56118         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56119         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56120         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56122 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
56124         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
56125         __ynl_finite aliases.
56127 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
56129         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56131         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
56132         define DLA_FMA.
56133         [DLA_FMA] (EMULV): Use DLA_FMA.
56134         [DLA_FMA] (MUL12): Use EMULV.
56135         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
56136         that are not needed.
56137         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56138         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56139         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56140         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56141         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56142         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56143         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56145 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
56147         * math/s_nan.c: Undef __nan.
56148         * math/s_nanf.c: Undef __nanf.
56149         * math/s_nanl.c: Undef __nanl.
56150         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
56151         "math_private.h".
56153 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
56155         * math/s_catan.c: Add branch predictions.
56156         * math/s_catanf.c: Likewise.
56157         * math/s_catanh.c: Likewise.
56158         * math/s_catanhf.c: Likewise.
56159         * math/s_catanhl.c: Likewise.
56160         * math/s_catanl.c: Likewise.
56161         * math/s_cexp.c: Likewise.
56162         * math/s_cexpf.c: Likewise.
56163         * math/s_cexpl.c: Likewise.
56164         * math/s_clog.c: Likewise.
56165         * math/s_clog10.c: Likewise.
56166         * math/s_clog10f.c: Likewise.
56167         * math/s_clog10l.c: Likewise.
56168         * math/s_clogf.c: Likewise.
56169         * math/s_clogl.c: Likewise.
56170         * math/s_csqrt.c: Likewise.
56171         * math/s_csqrtf.c: Likewise.
56172         * math/s_csqrtl.c: Likewise.
56173         * math/s_ctanf.c: Likewise.
56174         * math/s_ctanh.c: Likewise.
56175         * math/s_ctanhf.c: Likewise.
56176         * math/s_ctanhl.c: Likewise.
56177         * math/s_ctanl.c: Likewise.
56179         * math/math_private.h: Define __nan, __nanf, __nanl.
56180         * math/s_cacosh.c: Include <math_private.h>.
56181         * math/s_cacoshl.c: Likewise.
56182         * math/s_casinh.c: Likewise.
56183         * math/s_casinhf.c: Likewise.
56184         * math/s_casinhl.c: Likewise.
56185         * math/s_ccos.c: Rely entire on ccosh.
56186         * math/s_ccosf.c: Rely entire on ccoshf.
56187         * math/s_ccosl.c: Rely entirely on ccoshl.
56188         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
56189         Remove tests for FE_INVALID.
56190         * math/s_ccoshf.c: Likewise.
56191         * math/s_ccoshl.c: Likewise.
56192         * math/s_csin.c: Likewise.
56193         * math/s_csinf.c: Likewise.
56194         * math/s_csinh.c Likewise.
56195         * math/s_csinhf.c: Likewise.
56196         * math/s_csinhl.c: Likewise.
56197         * math/s_csinl.c: Likewise.
56198         * math/s_ctan.c: Likewise.
56199         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
56200         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
56201         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
56203 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
56205         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
56206         compilation problems.
56208         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
56209         __builtin_expect.
56211 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
56213         * sysdeps/i386/configure.in: Test for -mfma4 option.
56214         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
56215         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
56216         COMMON_CPUID_INDEX_80000001.
56217         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
56218         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
56219         use it if FMA3 is not supported.
56220         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
56222         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
56223         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56225 2011-10-20  Andreas Schwab  <schwab@redhat.com>
56227         [BZ #12892]
56228         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
56229         it would create a cycle with a link time dependency.
56231 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
56233         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
56234         instruction.
56235         * string/Makefile (strop-tests): Add rawmemchr.
56236         * string/test-rawmemchr.c: New file.
56238         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
56239         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
56240         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
56241         when compiling str{,n}casecmp and when AVX is available.  Hook up
56242         new optimized code in initializers.
56244 2011-10-19  Andreas Schwab  <schwab@redhat.com>
56246         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
56247         __feraiseexcept instead of feraiseexcept.
56249 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
56251         * math/math_private.h: Define defaults for libc_fetestexcept and
56252         libc_feupdateenv.
56253         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
56254         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
56255         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
56256         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
56257         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
56258         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
56259         libc_fetestexcept and libc_feupdateenv.
56261         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
56262         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
56263         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
56264         * sysdeps/x86_64/fpu/math_private.h: Define special version of
56265         libc_feholdexcept_setround.
56267         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
56268         Add s_nearbyint-c and s_nearbyintf-c.
56269         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
56270         nearbyintf inlines.
56271         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
56272         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
56273         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
56274         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
56276         * math/math_private.h: Define defaults for libc_fegetround,
56277         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
56278         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
56279         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
56280         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
56281         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
56282         standard functions.
56283         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56284         Remove comments and hacks for old compiler versions.
56285         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
56286         libc_fegetround, libc_fesetround, libc_feholdexcept, and
56287         libc_feholdexceptl.
56289 2011-10-18  Andreas Schwab  <schwab@redhat.com>
56291         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
56292         (__feraiseexcept_renamed): Add __NTH.
56293         (feraiseexcept): Add __NTH.  Rename local variables to fix
56294         namespace violations.
56296 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
56298         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
56300         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
56302         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
56303         recently added interfaces.
56304         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
56306         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
56307         about macro parameter expansion.
56309         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
56310         __NO_MATH_INLINES is defined.  Cleanups.
56312         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
56313         and __floorf is target has SSE4.1.
56314         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
56315         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
56316         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
56317         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
56319         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
56320         name.
56321         (floorf): Likewise.
56323         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
56325 2011-10-17  Andreas Schwab  <schwab@redhat.com>
56327         * misc/sys/cdefs.h: Fix last change.
56329         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
56330         database lookup.
56332 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
56334         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
56336         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
56337         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56338         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
56339         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56340         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56341         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
56342         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56343         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56344         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
56345         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
56346         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
56347         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
56348         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
56349         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
56350         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
56351         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
56352         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
56353         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
56354         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
56355         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
56356         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
56357         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
56359         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
56360         ceil, ceilf, floor, floorf.
56362         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
56363         Perform IRELATIVE relocations last.
56365         * elf/do-rel.h: Add another parameter nrelative, replacing the
56366         local variable with the same name.  Change name of the function
56367         to end in Rel or Rela (uppercase).
56368         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
56369         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
56370         elf_dynamic_do_##reloc function.
56372 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
56374         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
56375         is sufficient, at least on modern CPUs.
56377         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
56379         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
56380         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
56382         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
56383         __expl_finite.
56384         * math/bits/math-finite.h: Add entries for exp.
56385         * math/e_expl.c: Add __*_finite alias.
56386         * sysdeps/i386/fpu/e_exp.S: Likewise.
56387         * sysdeps/i386/fpu/e_expf.S: Likewise.
56388         * sysdeps/i386/fpu/e_expl.c: Likewise.
56389         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56390         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
56391         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
56392         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
56393         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
56394         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
56395         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
56397         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
56398         is sufficient, at least on modern CPUs.
56400         * ctype/ctype-info.c (__ctype_init): Define.
56401         * include/ctype.h (__ctype_init): Declare.
56402         (__ctype_b_loc): The variable is always initialized.
56403         (__ctype_toupper_loc): Likewise.
56404         (__ctype_tolower_loc): Likewise.
56405         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
56406         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
56408 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
56410         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
56412         * configure.in: Also look in $cxxmachine/include for C++ system
56413         headers.
56415 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56417         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
56418         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
56419         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
56420         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
56421         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
56422         (USE_AS_WMEMCMP): New macro.
56423         Fixing indents.
56424         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
56425         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
56426         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
56427         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
56428         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56429         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
56430         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
56431         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
56432         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
56433         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
56434         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
56435         (USE_AS_WMEMCMP): New macro.
56436         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
56437         * sysdeps/string/test-memcmp.c: Update.
56438         Fix simple_wmemcmp.
56439         Add new tests.
56440         * wcsmbs/wmemcmp.c: Update.
56441         (WMEMCMP): New macro.
56442         Fix overflow bug.
56444 2011-10-12  Andreas Jaeger  <aj@suse.de>
56446         [BZ #13268]
56447         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
56449 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
56451         * libio/iofwide.c (do_length): Avoid warning.
56453         * ctype/ctype.h (__isctype_f): Add missing __THROW.
56455 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
56457         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
56459         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
56460         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
56461         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
56462         * sysdeps/i386/i686/fpu/e_log.S: New file.
56463         * sysdeps/i386/i686/fpu/e_logf.S: New file.
56464         * sysdeps/i386/i686/fpu/e_logl.S: New file.
56466         * ctype/ctype.h: Add support for inlined isXXX functions when
56467         compiling C++ code.
56469 2011-10-14  Andreas Schwab  <schwab@redhat.com>
56471         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56473         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
56475 2011-10-13  Roland McGrath  <roland@hack.frob.com>
56477         [BZ #13291]
56478         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
56480 2011-10-13  Andreas Schwab  <schwab@redhat.com>
56482         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
56483         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
56484         feraiseexcept.
56486         * sysdeps/x86_64/memrchr.S: Check for zero size.
56488         * string/stratcliff.c: Add memrchr tests.
56490 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56492         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56493         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
56494         rawmemchr-sse2 rawmemchr-sse2-bsf.
56495         * sysdeps/i386/i686/multiarch/memchr.S: New file.
56496         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
56497         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
56498         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
56499         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
56500         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
56501         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
56502         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
56503         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
56504         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
56505         * string/memrchr.c (MEMRCHR): New macro.
56507 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
56509         Add integration with gcc's -ffinite-math-only and optimize wrapper
56510         functions in libm.
56511         * Versions.def: Define GLIBC_2.15 version for libm.
56512         * math/Makefile (headers): Add bits/math-finite.h.
56513         * math/bits/math-finite.h: New file.
56514         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
56515         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
56516         * math/e_acoshl.c: Add __*_finite alias.
56517         * math/e_acosl.c: Likewise.
56518         * math/e_asinl.c: Likewise.
56519         * math/e_atan2l.c: Likewise.
56520         * math/e_atanhl.c: Likewise.
56521         * math/e_coshl.c: Likewise.
56522         * math/e_exp10.c: Likewise.
56523         * math/e_exp10f.c: Likewise.
56524         * math/e_exp10l.c: Likewise.
56525         * math/e_exp2l.c: Likewise.
56526         * math/e_fmodl.c: Likewise.
56527         * math/e_gammal_r.c: Likewise.
56528         * math/e_hypotl.c: Likewise.
56529         * math/e_j0l.c: Likewise.
56530         * math/e_j1l.c: Likewise.
56531         * math/e_jnl.c: Likewise.
56532         * math/e_lgammal_r.c: Likewise.
56533         * math/e_log10l.c: Likewise.
56534         * math/e_log2l.c: Likewise.
56535         * math/e_logl.c: Likewise.
56536         * math/e_powl.c: Likewise.
56537         * math/e_sinhl.c: Likewise.
56538         * math/e_sqrtl.c: Likewise.
56539         * math/e_scalb.c: Completely rewritten and optimized.
56540         * math/e_scalbf.c: Likewise.
56541         * math/e_scalbl.c: Likewise.
56542         * math/w_acos.c: Likewise.
56543         * math/w_acosf.c: Likewise.
56544         * math/w_acosl.c: Likewise.
56545         * math/w_acosh.c: Likewise.
56546         * math/w_acoshf.c: Likewise.
56547         * math/w_acoshl.c: Likewise.
56548         * math/w_asin.c: Likewise.
56549         * math/w_asinf.c: Likewise.
56550         * math/w_asinl.c: Likewise.
56551         * math/w_atan2.c: Likewise.
56552         * math/w_atan2f.c: Likewise.
56553         * math/w_atan2l.c: Likewise.
56554         * math/w_atanh.c: Likewise.
56555         * math/w_atanhf.c: Likewise.
56556         * math/w_atanhl.c: Likewise.
56557         * math/w_exp10.c: Likewise.
56558         * math/w_exp10f.c: Likewise.
56559         * math/w_exp10l.c: Likewise.
56560         * math/w_fmod.c: Likewise.
56561         * math/w_fmodf.c: Likewise.
56562         * math/w_fmodl.c: Likewise.
56563         * math/w_j0.c: Likewise.
56564         * math/w_j0f.c: Likewise.
56565         * math/w_j0l.c: Likewise.
56566         * math/w_j1.c: Likewise.
56567         * math/w_j1f.c: Likewise.
56568         * math/w_j1l.c: Likewise.
56569         * math/w_jn.c: Likewise.
56570         * math/w_jnf.c: Likewise.
56571         * math/w_log.c: Likewise.
56572         * math/w_logf.c: Likewise.
56573         * math/w_logl.c: Likewise.
56574         * math/w_log10.c: Likewise.
56575         * math/w_log10f.c: Likewise.
56576         * math/w_log10l.c: Likewise.
56577         * math/w_log2.c: Likewise.
56578         * math/w_log2f.c: Likewise.
56579         * math/w_log2l.c: Likewise.
56580         * math/w_pow.c: Likewise.
56581         * math/w_powf.c: Likewise.
56582         * math/w_powl.c: Likewise.
56583         * math/w_remainder.c: Likewise.
56584         * math/w_remainderf.c: Likewise.
56585         * math/w_remainderl.c: Likewise.
56586         * math/w_scalb.c: Likewise.
56587         * math/w_scalbf.c: Likewise.
56588         * math/w_scalbl.c: Likewise.
56589         * math/w_sqrt.c: Likewise.
56590         * math/w_sqrtf.c: Likewise.
56591         * math/w_sqrtl.c: Likewise.
56592         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
56593         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
56594         used.
56595         * math/math_private.h: Declare __kernel_standard_f.
56596         * math/w_cosh.c: Remove cruft and optimize a bit.
56597         * math/w_coshf.c: Likewise.
56598         * math/w_coshl.c: Likewise.
56599         * math/w_exp2.c: Likewise.
56600         * math/w_exp2f.c: Likewise.
56601         * math/w_exp2l.c: Likewise.
56602         * math/w_hypot.c: Likewise.
56603         * math/w_hypotf.c: Likewise.
56604         * math/w_hypotl.c: Likewise.
56605         * math/w_lgamma.c: Likewise.
56606         * math/w_lgamma_r.c: Likewise.
56607         * math/w_lgammaf.c: Likewise.
56608         * math/w_lgammaf_r.c: Likewise.
56609         * math/w_lgammal.c: Likewise.
56610         * math/w_lgammal_r.c: Likewise.
56611         * math/w_sinh.c: Likewise.
56612         * math/w_sinhf.c: Likewise.
56613         * math/w_sinhl.c: Likewise.
56614         * math/w_tgamma.c: Likewise.
56615         * math/w_tgammaf.c: Likewise.
56616         * math/w_tgammal.c: Likewise.
56617         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
56618         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56619         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
56620         Minor optimizations.  Pretty printing.  Remove cruft.
56621         * sysdeps/i386/fpu/e_acosf.S: Likewise.
56622         * sysdeps/i386/fpu/e_acosh.S: Likewise.
56623         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
56624         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
56625         * sysdeps/i386/fpu/e_acosl.c: Likewise.
56626         * sysdeps/i386/fpu/e_asin.S: Likewise.
56627         * sysdeps/i386/fpu/e_asinf.S: Likewise.
56628         * sysdeps/i386/fpu/e_atan2.S: Likewise.
56629         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
56630         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
56631         * sysdeps/i386/fpu/e_atanh.S: Likewise.
56632         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
56633         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
56634         * sysdeps/i386/fpu/e_exp10.S: Likewise.
56635         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
56636         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
56637         * sysdeps/i386/fpu/e_exp2.S: Likewise.
56638         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
56639         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
56640         * sysdeps/i386/fpu/e_fmod.S: Likewise.
56641         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
56642         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
56643         * sysdeps/i386/fpu/e_hypot.S: Likewise.
56644         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
56645         * sysdeps/i386/fpu/e_log.S: Likewise.
56646         * sysdeps/i386/fpu/e_log10.S: Likewise.
56647         * sysdeps/i386/fpu/e_log10f.S: Likewise.
56648         * sysdeps/i386/fpu/e_log10l.S: Likewise.
56649         * sysdeps/i386/fpu/e_log2.S: Likewise.
56650         * sysdeps/i386/fpu/e_log2f.S: Likewise.
56651         * sysdeps/i386/fpu/e_log2l.S: Likewise.
56652         * sysdeps/i386/fpu/e_logf.S: Likewise.
56653         * sysdeps/i386/fpu/e_logl.S: Likewise.
56654         * sysdeps/i386/fpu/e_pow.S: Likewise.
56655         * sysdeps/i386/fpu/e_powf.S: Likewise.
56656         * sysdeps/i386/fpu/e_powl.S: Likewise.
56657         * sysdeps/i386/fpu/e_remainder.S: Likewise.
56658         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
56659         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
56660         * sysdeps/i386/fpu/e_scalb.S: Likewise.
56661         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56662         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56663         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
56664         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
56665         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
56666         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
56667         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56668         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56669         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
56670         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56671         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
56672         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
56673         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
56674         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56675         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
56676         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
56677         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
56678         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56679         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
56680         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
56681         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56682         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56683         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
56684         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56685         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56686         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
56687         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
56688         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56689         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56690         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
56691         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
56692         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
56693         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
56694         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
56695         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
56696         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56697         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
56698         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
56699         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
56700         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
56701         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
56702         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
56703         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
56704         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
56705         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
56706         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
56707         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
56708         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
56709         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
56710         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56711         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
56712         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
56713         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
56714         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
56715         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
56716         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
56717         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
56718         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
56719         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
56720         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
56721         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
56722         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
56723         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
56724         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
56725         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
56726         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
56727         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
56728         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56729         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56730         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
56731         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
56732         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
56733         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
56734         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
56735         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
56736         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
56737         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
56738         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
56739         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
56740         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
56741         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
56742         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
56743         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
56744         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56745         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
56746         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56747         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
56748         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
56749         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56750         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56751         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
56752         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
56753         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
56754         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
56755         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
56756         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56757         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
56758         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56759         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
56760         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56761         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
56762         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
56763         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
56764         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
56765         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
56766         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
56767         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
56768         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
56769         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
56770         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
56771         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
56772         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
56773         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
56774         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
56775         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
56776         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
56777         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
56778         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
56779         (__isnanf): Likewise.
56780         (__isinf_ns): Likewise.
56781         (__isinf_nsf): Likewise.
56782         (__finite): Likewise.
56783         (__finitef): Likewise.
56784         (__ieee754_sqrt): Define as macro.
56785         (__ieee754_sqrtf): Define as macro.
56786         (__ieee754_sqrtl): Define as macro.
56787         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
56788         inlined copy.
56789         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
56790         __FINITE_MATH_ONLY__ consistent.
56791         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
56793 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
56795         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
56796         of rawmemchr.
56798         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
56800 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
56802         * po/ja.po: Update from translation team.
56804 2011-10-08  Roland McGrath  <roland@hack.frob.com>
56806         * locale/programs/locarchive.c (prepare_address_space): New function.
56807         (create_archive, enlarge_archive, open_archive): Use it.
56809         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
56810         inside [SHARED], where it is used.
56812         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
56814         * nss/getent.c (netgroup_keys): Remove unused variable.
56815         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
56817 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
56819         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
56820         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
56821         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
56822         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
56823         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
56824         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
56825         * math/Makefile (libm-calls): Add s_isinf_ns.
56826         * math/divtc3.c: Use __isinf_nsl instead of isinf.
56827         * math/multc3.c: Likewise.
56828         * math/s_casin.c: Likewise.
56829         * math/s_casinf.c: Likewise.
56830         * math/s_casinl.c: Likewise.
56831         * math/s_ccos.c: Likewise.
56832         * math/s_ccosf.c: Likewise.
56833         * math/s_ccosl.c: Likewise.
56834         * math/s_ctan.c: Likewise.
56835         * math/s_ctanf.c: Likewise.
56836         * math/s_ctanh.c: Likewise.
56837         * math/s_ctanhf.c: Likewise.
56838         * math/s_ctanhl.c: Likewise.
56839         * math/s_ctanl.c: Likewise.
56840         * math/w_fmod.c: Likewise.
56841         * math/w_fmodf.c: Likewise.
56842         * math/w_fmodl.c: Likewise.
56843         * math/w_remainder.c: Likewise.
56844         * math/w_remainderf.c: Likewise.
56845         * math/w_remainderl.c: Likewise.
56846         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
56847         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
56848         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
56849         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
56850         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
56851         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
56852         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
56853         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
56855         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
56856         of the number.
56857         * stdio-common/printf_fphex.c: Likewise.
56858         * stdio-common/printf_size.c: Likewise.
56860         * math/e_exp10.c: Include math_private.h using <...> not "...".
56861         * math/e_exp10f.c: Likewise.
56862         * math/e_exp10l.c: Likewise.
56863         * math/e_exp2l.c: Likewise.
56864         * math/e_j0l.c: Likewise.
56865         * math/e_j1l.c: Likewise.
56866         * math/e_jnl.c: Likewise.
56867         * math/e_lgammal_r.c: Likewise.
56868         * math/e_rem_pio2l.c: Likewise.
56869         * math/e_scalb.c: Likewise.
56870         * math/e_scalbf.c: Likewise.
56871         * math/e_scalbl.c: Likewise.
56872         * math/k_cosl.c: Likewise.
56873         * math/k_sinl.c: Likewise.
56874         * math/k_tanl.c: Likewise.
56875         * math/s_cacoshf.c: Likewise.
56876         * math/s_catan.c: Likewise.
56877         * math/s_catanf.c: Likewise.
56878         * math/s_catanh.c: Likewise.
56879         * math/s_catanhf.c: Likewise.
56880         * math/s_catanhl.c: Likewise.
56881         * math/s_catanl.c: Likewise.
56882         * math/s_ccosh.c: Likewise.
56883         * math/s_ccoshf.c: Likewise.
56884         * math/s_ccoshl.c: Likewise.
56885         * math/s_cexp.c: Likewise.
56886         * math/s_cexpf.c: Likewise.
56887         * math/s_cexpl.c: Likewise.
56888         * math/s_clog.c: Likewise.
56889         * math/s_clog10.c: Likewise.
56890         * math/s_clog10f.c: Likewise.
56891         * math/s_clog10l.c: Likewise.
56892         * math/s_clogf.c: Likewise.
56893         * math/s_clogl.c: Likewise.
56894         * math/s_csin.c: Likewise.
56895         * math/s_csinf.c: Likewise.
56896         * math/s_csinh.c: Likewise.
56897         * math/s_csinhf.c: Likewise.
56898         * math/s_csinhl.c: Likewise.
56899         * math/s_csinl.c: Likewise.
56900         * math/s_csqrt.c: Likewise.
56901         * math/s_csqrtf.c: Likewise.
56902         * math/s_csqrtl.c: Likewise.
56903         * math/s_ctan.c: Likewise.
56904         * math/s_ctanf.c: Likewise.
56905         * math/s_ctanh.c: Likewise.
56906         * math/s_ctanhf.c: Likewise.
56907         * math/s_ctanhl.c: Likewise.
56908         * math/s_ctanl.c: Likewise.
56909         * math/s_ldexp.c: Likewise.
56910         * math/s_ldexpf.c: Likewise.
56911         * math/s_ldexpl.c: Likewise.
56912         * math/s_significand.c: Likewise.
56913         * math/s_significandf.c: Likewise.
56914         * math/s_significandl.c: Likewise.
56915         * math/w_acos.c: Likewise.
56916         * math/w_acosf.c: Likewise.
56917         * math/w_acosh.c: Likewise.
56918         * math/w_acoshf.c: Likewise.
56919         * math/w_acoshl.c: Likewise.
56920         * math/w_acosl.c: Likewise.
56921         * math/w_asin.c: Likewise.
56922         * math/w_asinf.c: Likewise.
56923         * math/w_asinl.c: Likewise.
56924         * math/w_atan2.c: Likewise.
56925         * math/w_atan2f.c: Likewise.
56926         * math/w_atan2l.c: Likewise.
56927         * math/w_atanh.c: Likewise.
56928         * math/w_atanhf.c: Likewise.
56929         * math/w_atanhl.c: Likewise.
56930         * math/w_cosh.c: Likewise.
56931         * math/w_coshf.c: Likewise.
56932         * math/w_coshl.c: Likewise.
56933         * math/w_dremf.c: Likewise.
56934         * math/w_exp10.c: Likewise.
56935         * math/w_exp10f.c: Likewise.
56936         * math/w_exp10l.c: Likewise.
56937         * math/w_exp2.c: Likewise.
56938         * math/w_exp2f.c: Likewise.
56939         * math/w_fmod.c: Likewise.
56940         * math/w_fmodf.c: Likewise.
56941         * math/w_fmodl.c: Likewise.
56942         * math/w_hypot.c: Likewise.
56943         * math/w_hypotf.c: Likewise.
56944         * math/w_hypotl.c: Likewise.
56945         * math/w_j0.c: Likewise.
56946         * math/w_j0f.c: Likewise.
56947         * math/w_j0l.c: Likewise.
56948         * math/w_j1.c: Likewise.
56949         * math/w_j1f.c: Likewise.
56950         * math/w_j1l.c: Likewise.
56951         * math/w_jn.c: Likewise.
56952         * math/w_jnf.c: Likewise.
56953         * math/w_jnl.c: Likewise.
56954         * math/w_lgamma.c: Likewise.
56955         * math/w_lgamma_r.c: Likewise.
56956         * math/w_lgammaf.c: Likewise.
56957         * math/w_lgammaf_r.c: Likewise.
56958         * math/w_lgammal.c: Likewise.
56959         * math/w_lgammal_r.c: Likewise.
56960         * math/w_log.c: Likewise.
56961         * math/w_log10.c: Likewise.
56962         * math/w_log10f.c: Likewise.
56963         * math/w_log10l.c: Likewise.
56964         * math/w_log2.c: Likewise.
56965         * math/w_log2f.c: Likewise.
56966         * math/w_log2l.c: Likewise.
56967         * math/w_logf.c: Likewise.
56968         * math/w_logl.c: Likewise.
56969         * math/w_pow.c: Likewise.
56970         * math/w_powf.c: Likewise.
56971         * math/w_powl.c: Likewise.
56972         * math/w_remainder.c: Likewise.
56973         * math/w_remainderf.c: Likewise.
56974         * math/w_remainderl.c: Likewise.
56975         * math/w_scalb.c: Likewise.
56976         * math/w_scalbf.c: Likewise.
56977         * math/w_scalbl.c: Likewise.
56978         * math/w_sinh.c: Likewise.
56979         * math/w_sinhf.c: Likewise.
56980         * math/w_sinhl.c: Likewise.
56981         * math/w_sqrt.c: Likewise.
56982         * math/w_sqrtf.c: Likewise.
56983         * math/w_sqrtl.c: Likewise.
56984         * math/w_tgamma.c: Likewise.
56985         * math/w_tgammaf.c: Likewise.
56986         * math/w_tgammal.c: Likewise.
56988         * po/ja.po: Update from translation team.
56990 2011-09-29  Andreas Jaeger  <aj@suse.de>
56992         [BZ #13179]
56993         * sunrpc/netname.c (netname2host): Fix logic.
56995         [BZ #6779]
56996         [BZ #6783]
56997         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
56998         correctly.
56999         * math/w_remainder.c (__remainder): Likewise.
57000         * math/w_remainderf.c (__remainderf): Likewise.
57001         * math/libm-test.inc (remainder_test): Add test cases.
57003 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57005         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
57006         sdiv_qrnnd.
57008 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
57010         * string/test-memcmp.c: Avoid unncessary #defines.
57011         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
57013 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57015         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
57016         Use new sse2 version for core i3 - i7 as it's faster
57017         than sse42 version.
57018         (bit_Prefer_PMINUB_for_stringop): New.
57019         * sysdeps/x86_64/rawmemchr.S: Update.
57020         Replace with faster SSE2 version.
57021         * sysdeps/x86_64/memrchr.S: New file.
57022         * sysdeps/x86_64/memchr.S: Update.
57023         Replace with faster SSE2 version.
57025 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
57027         * elf/dl-load.c (lose): Add cast to avoid warning.
57029 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
57031         * po/ca.po: Update from translation team.
57033         * inet/getnetgrent_r.c: Hook up nscd.
57034         * nscd/Makefile (routines): Add nscd_netgroup.
57035         (nscd-modules): Add netgroupcache.
57036         (CFLAGS-netgroupcache.c): Define.
57037         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
57038         (cache_search): Add const to second parameter.
57039         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
57040         INNETGR.
57041         (dbs): Add netgrdb entry.
57042         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
57043         (verify_persistent_db): Handle netgrdb.
57044         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
57045         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
57046         GETFDNETGR.
57047         (netgroup_response_header): Define.
57048         (innetgroup_response_header): Define.
57049         (datahead): Add netgroup_response_header and innetgroup_response_header
57050         elements.
57051         * nscd/nscd.conf: Add entries for netgroup cache.
57052         * nscd/nscd.h (dbtype): Add netgrdb.
57053         (_PATH_NSCD_NETGROUP_DB): Define.
57054         (netgroup_iov_disabled): Declare.
57055         (xmalloc, xcalloc, xrealloc): Move declarations here.
57056         (cache_search): Adjust prototype.
57057         Add netgroup-related prototypes.
57058         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
57059         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
57060         (__nscd_innetgr): Declare.
57061         * nscd/selinux.c (perms): Use access_vector_t as element type and
57062         add netgroup-related initializers.
57063         * nscd/netgroupcache.c: New file.
57064         * nscd/nscd_netgroup.c: New file.
57065         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
57066         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
57067         For four parameters use innetgr.
57068         * nss/nss_files/files-init.c: Add definition and callback for netgr.
57069         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
57070         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
57071         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
57073         * nscd/connections.c (register_traced_file): Don't register file
57074         for disabled databases.
57076 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
57078         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
57080         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
57081         from tree and freeing node.
57083 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
57085         * nss/nsswitch.c (__nss_database_lookup): Handle
57086         nss_parse_service_list out of memory case.
57088 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
57090         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
57091         out of memory case.
57093 2011-10-04  Andreas Schwab  <schwab@redhat.com>
57095         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
57096         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
57097         pass it down.
57098         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
57099         elf_machine_rela, elf_machine_lazy_rel.
57100         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
57101         (ELF_DYNAMIC_DO_REL): Likewise.
57102         (ELF_DYNAMIC_DO_RELA): Likewise.
57103         (ELF_DYNAMIC_RELOCATE): Likewise.
57104         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
57105         to ELF_DYNAMIC_DO_REL.
57106         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
57107         (dl_main): In trace mode always set __RTLD_NOIFUNC.
57108         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
57109         elf_machine_rela.
57110         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
57111         skip_ifunc, don't call ifunc function if non-zero.
57112         (elf_machine_rela): Likewise.
57113         (elf_machine_lazy_rel): Likewise.
57114         (elf_machine_lazy_rela): Likewise.
57115         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
57116         (elf_machine_lazy_rel): Likewise.
57117         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
57118         Likewise.
57119         (elf_machine_lazy_rel): Likewise.
57120         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57121         Likewise.
57122         (elf_machine_lazy_rel): Likewise.
57123         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
57124         (elf_machine_lazy_rel): Likewise.
57125         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
57126         (elf_machine_lazy_rel): Likewise.
57127         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
57128         (elf_machine_lazy_rel): Likewise.
57129         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
57130         (elf_machine_lazy_rel): Likewise.
57131         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
57132         (elf_machine_lazy_rel): Likewise.
57133         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
57134         (elf_machine_lazy_rel): Likewise.
57136 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
57138         * nss/nss_files/files-init.c (_nss_files_init): Use static
57139         initialization for all the *_traced_file variables.
57141 2011-09-28  Andreas Schwab  <schwab@redhat.com>
57143         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57145 2011-09-27  Roland McGrath  <roland@hack.frob.com>
57147         [BZ #13226]
57148         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
57150 2011-09-27  Andreas Schwab  <schwab@redhat.com>
57152         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
57153         Reread the line before reparsing it.
57155 2011-09-26  Andreas Schwab  <schwab@redhat.com>
57157         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
57159 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
57160             Maxim Kuvyrkov  <maxim@codesourcery.com>
57161             Joseph Myers  <joseph@codesourcery.com>
57163         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
57164         if needed for __stack_chk_guard.
57166 2011-09-19  Roland McGrath  <roland@hack.frob.com>
57168         * sysdeps/posix/spawni.c (script_execute): Always define it.
57169         It will be optimized away if unused.
57170         (maybe_script_execute): New function.
57171         (__spawni): Call it.
57173         * Makerules: Don't include tls.make.
57174         (config-tls): Always set to thread.
57175         * tls.make.c: File removed.
57177 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
57179         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
57180         * config.make.in (CPPFLAGS-config): New substituted variable.
57182 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
57184         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
57186         [BZ #13192]
57187         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
57188         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
57190 2011-09-15  Roland McGrath  <roland@hack.frob.com>
57192         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
57193         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
57194         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57195         (CALL_FAIL): Likewise.
57196         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
57197         (CALL_FAIL): Macro removed.
57198         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
57200 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
57202         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
57203         for __FINITE_MATH_ONLY__ == 1.
57205 2011-09-15  Andreas Schwab  <schwab@redhat.com>
57207         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
57208         __ieee754_sqrt instead of sqrt.
57209         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
57210         __ieee754_sqrtf instead of sqrtf.
57211         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
57212         __floorf instead of floorf.
57213         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
57214         __floorf, __truncf instead of floorf, truncf.
57216 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
57218         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
57220         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
57221         __extern_always_inline.
57222         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
57223         32-bit.
57225 2011-09-14  Andreas Schwab  <schwab@redhat.com>
57227         * elf/rtld.c (dl_main): Also relocate in dependency order when
57228         doing symbol dependency testing.
57230 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
57232         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57233         Always define `refsym'.
57235 2011-09-13  Andreas Schwab  <schwab@redhat.com>
57237         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
57238         (__FD_ELT): Renamed from __FDELT.
57239         * misc/bits/select2.h (__FD_ELT): Likewise.
57240         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
57241         __FD_MASK instead of __FDELT, __FDMASK.
57242         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
57243         Likewise.
57244         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
57245         Likewise.
57247         * elf/Makefile (gen-ldd): Fix pattern.
57249         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
57250         (init_tls): Likewise.
57252 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
57254         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
57256 2011-09-12  Andreas Schwab  <schwab@redhat.com>
57258         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
57259         `struct cmsghdr *' instead of `void *'.
57260         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
57261         Likewise.
57263 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
57265         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
57266         if non-absolute.
57267         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
57268         ldd_rewrite_script.
57270 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
57272         * configure.in: Remove --with-tls option.
57273         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
57274         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
57275         out in case it is missing.
57276         * sysdeps/ia64/elf/configure.in: Likewise.
57277         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
57278         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
57279         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
57280         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
57281         * sysdeps/sh/elf/configure.in: Likewise.
57282         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
57283         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
57284         * sysdeps/x86_64/elf/configure.in: Likewise.
57285         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
57286         * sysdeps/mach/hurd/tls.h: Likewise.
57288         [BZ #13067]
57289         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
57291         [BZ #13090]
57292         * configure.in: Fix use of AC_INIT.
57294         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
57296 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
57298         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
57299         __set_errno.
57300         * malloc/hooks.c: Likewise.
57302         [BZ #11929]
57303         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
57304         variables statically.
57305         (narenas): Initialize.
57306         (list_lock): Initialize.
57307         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
57308         initializtion of main_arena and list_lock.  Small cleanups.
57309         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
57310         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
57311         Add initializers to main_arena and mp_.
57312         (malloc_state): Remove pagesize member.  Change all users to use
57313         GLRO(dl_pagesize).
57315         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
57316         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
57317         is always initialized.
57319         * malloc/malloc.c: Removed unused configurations and dead code.
57320         * malloc/arena.c: Likewise.
57321         * malloc/hooks.c: Likewise.
57322         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
57324         * include/tls.h: Removed.  USE___THREAD must always be defined.
57325         * bits/libc-tsd.h: Don't handle !USE___THREAD.
57326         * elf/dl-libc.c: Likewise.
57327         * elf/dl-tsd.c: Likewise.
57328         * include/errno.h: Likewise.
57329         * include/netdb.h: Likewise.
57330         * include/resolv.h: Likewise.
57331         * inet/herrno-loc.c: Likewise.
57332         * inet/herrno.c: Likewise.
57333         * malloc/arena.c: Likewise.
57334         * malloc/hooks.c: Likewise.
57335         * malloc/malloc.c: Likewise.
57336         * resolv/res-state.c: Likewise.
57337         * resolv/res_libc.c: Likewise.
57338         * sysdeps/i386/dl-machine.h: Likewise.
57339         * sysdeps/ia64/dl-machine.h: Likewise.
57340         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
57341         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
57342         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
57343         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
57344         * sysdeps/sh/dl-machine.h: Likewise.
57345         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
57346         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
57347         * sysdeps/unix/i386/sysdep.S: Likewise.
57348         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57349         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
57350         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
57351         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
57352         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
57353         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
57354         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
57355         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
57356         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57357         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
57358         * sysdeps/unix/x86_64/sysdep.S: Likewise.
57359         * sysdeps/x86_64/dl-machine.h: Likewise.
57360         * tls.make.c: Likewise.
57362         * configure.in: Remove --with-__thread option.  Make tests for
57363         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
57364         tls_model attribute fail if no support is available.  Remove
57365         USE_IN_LIBIO.
57366         * Makeconfig: Adjust for dropped configure option.  All features are
57367         now mandatory.
57368         * Makerules: Likewise.
57369         * Versions.def: Likewise.
57370         * argp/argp-fmtstream.c: Likewise.
57371         * argp/argp-fmtstream.h: Likewise.
57372         * argp/argp-help.c: Likewise.
57373         * assert/assert.c: Likewise.
57374         * config.h.in: Likewise.
57375         * config.make.in: Likewise.
57376         * configure: Likewise.
57377         * configure.in: Likewise.
57378         * csu/Versions: Likewise.
57379         * csu/init.c: Likewise.
57380         * elf/tst-audit2.c: Likewise.
57381         * elf/tst-tls10.c: Likewise.
57382         * elf/tst-tls10.h: Likewise.
57383         * elf/tst-tls11.c: Likewise.
57384         * elf/tst-tls12.c: Likewise.
57385         * elf/tst-tls14.c: Likewise.
57386         * elf/tst-tlsmod11.c: Likewise.
57387         * elf/tst-tlsmod12.c: Likewise.
57388         * elf/tst-tlsmod13.c: Likewise.
57389         * elf/tst-tlsmod13a.c: Likewise.
57390         * elf/tst-tlsmod14a.c: Likewise.
57391         * elf/tst-tlsmod15b.c: Likewise.
57392         * elf/tst-tlsmod16a.c: Likewise.
57393         * elf/tst-tlsmod16b.c: Likewise.
57394         * elf/tst-tlsmod7.c: Likewise.
57395         * elf/tst-tlsmod8.c: Likewise.
57396         * elf/tst-tlsmod9.c: Likewise.
57397         * gmon/gmon.c: Likewise.
57398         * grp/fgetgrent_r.c: Likewise.
57399         * grp/putgrent.c: Likewise.
57400         * hurd/fopenport.c: Likewise.
57401         * include/libc-symbols.h: Likewise.
57402         * include/tls.h: Likewise.
57403         * intl/gettextP.h: Likewise.
57404         * intl/loadinfo.h: Likewise.
57405         * locale/global-locale.c: Likewise.
57406         * locale/localeinfo.h: Likewise.
57407         * mach/devstream.c: Likewise.
57408         * malloc/arena.c: Likewise.
57409         * malloc/set-freeres.c: Likewise.
57410         * misc/err.c: Likewise.
57411         * misc/getttyent.c: Likewise.
57412         * misc/mntent_r.c: Likewise.
57413         * posix/getopt.c: Likewise.
57414         * posix/wordexp.c: Likewise.
57415         * pwd/fgetpwent_r.c: Likewise.
57416         * resolv/Versions: Likewise.
57417         * resolv/res_hconf.c: Likewise.
57418         * shadow/fgetspent_r.c: Likewise.
57419         * shadow/putspent.c: Likewise.
57420         * stdio-common/printf_fphex.c: Likewise.
57421         * stdio-common/tmpfile.c: Likewise.
57422         * stdlib/abort.c: Likewise.
57423         * stdlib/fmtmsg.c: Likewise.
57424         * sunrpc/auth_unix.c: Likewise.
57425         * sunrpc/clnt_perr.c: Likewise.
57426         * sunrpc/clnt_tcp.c: Likewise.
57427         * sunrpc/clnt_udp.c: Likewise.
57428         * sunrpc/clnt_unix.c: Likewise.
57429         * sunrpc/openchild.c: Likewise.
57430         * sunrpc/svc_simple.c: Likewise.
57431         * sunrpc/svc_tcp.c: Likewise.
57432         * sunrpc/svc_udp.c: Likewise.
57433         * sunrpc/svc_unix.c: Likewise.
57434         * sunrpc/xdr.c: Likewise.
57435         * sunrpc/xdr_array.c: Likewise.
57436         * sunrpc/xdr_rec.c: Likewise.
57437         * sunrpc/xdr_ref.c: Likewise.
57438         * sunrpc/xdr_stdio.c: Likewise.
57440 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
57442         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57444 2011-07-03  Andreas Jaeger  <aj@suse.de>
57446         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
57447         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
57448         regenerate with gen-libm-tests.pl.
57450 2010-05-12  Petr Baudis  <pasky@suse.cz>
57452         [BZ #11589]
57453         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
57454         around j0() zero points by switching to j1().
57455         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57456         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57457         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
57458         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57460 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
57462         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
57463         instead of 0.
57464         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
57465         instead of 0.
57466         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57467         Patch in part by Pavel Roskin <proski@gnu.org>.
57469         [BZ #13138]
57470         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
57471         realloc.
57472         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
57473         Free memory block if necessary.
57475         [BZ #12847]
57476         * libio/genops.c (INTDEF): For string streams the _lock pointer can
57477         be NULL.  Don't lock in this case.
57479 2011-09-09  Roland McGrath  <roland@hack.frob.com>
57481         * elf/elf.h (ELFOSABI_GNU): New macro.
57482         (ELFOSABI_LINUX): Define to that.
57484 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
57486         * string/strncat.c (strncat): Undef the symbol in case it has been
57487         defined in bits/string.h.
57489 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
57491         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
57493         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
57494         link map.
57496 2011-08-17  Andreas Jaeger  <aj@suse.de>
57498         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
57500 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
57501             Ian Lance Taylor  <iant@google.com>
57503         * math/libm-test.inc (lround_test): New testcase.
57504         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
57506 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
57508         * Makefile: Remove support for automatic cvs check-ins.
57509         * Makerules: Likewise.
57510         * config.make.in: Likewise.
57511         * configure.in: Likewise.
57512         * intl/Makefile: Likewise.
57513         * locale/Makefile: Likewise.
57514         * po/Makefile: Likewise.
57515         * posix/Makefile: Likewise.
57516         * sysdeps/gnu/Makefile: Likewise.
57517         * sysdeps/mach/hurd/Makefile: Likewise.
57518         * sysdeps/sparc/sparc32/Makefile: Likewise.
57520         [BZ #13118]
57521         * posix/Makefile (bug-regex32-ENV): Define.
57522         Patch by John Stanley <jpsinthemix@verizon.net>.
57524         * misc/Makefile (headers): Add bits/select2.h.
57525         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
57526         * misc/bits/select2.h: New file.
57527         * include/bits/select2.h: New file.
57528         * debug/Makefile (routines): Add fdelt_chk.
57529         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
57530         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
57531         FD_ISSET.
57532         * debug/fdelt_chk.c: New file.
57534         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
57535         * wcsmbs/test-wmemcmp.c: Likewise.
57536         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
57537         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
57539 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57541         * string/Makefile (strop-tests): Add memcmp.
57542         * string/test-wmemcmp.c: New file.
57543         * string/test-memcmp.c: Add wmemcmp support.
57545 2011-09-08  Roland McGrath  <roland@hack.frob.com>
57547         [BZ #13153]
57548         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
57549         2011-07-19 change.
57551         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
57552         garbage value in a __mach_port_mod_refs call in the cases of the
57553         task-self and thread-self ports.
57555 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57557         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
57559 2011-09-08  Andreas Schwab  <schwab@redhat.com>
57561         * elf/dl-load.c (lose): Check for non-null L.
57563 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
57565         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
57567         * elf/dl-libc.c (dlerror_run): Pass back error code from
57568         dl_catch_error.
57570         [BZ #13123]
57571         * elf/dl-load.c (lose): Free l_origin if it is valid.
57573         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
57574         names.
57575         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
57576         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
57577         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
57578         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
57579         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
57580         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
57582 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57584         * sysdeps/powerpc/fpu/e_hypot.c: New file.
57585         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
57586         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
57587         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
57588         * sysdeps/powerpc/fpu/k_cosf.c: New file.
57589         * sysdeps/powerpc/fpu/k_sinf.c: New file.
57590         * sysdeps/powerpc/fpu/s_cosf.c: New file.
57591         * sysdeps/powerpc/fpu/s_sinf.c: New file.
57592         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
57593         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
57595 2011-08-15  Alan Modra  <amodra@gmail.com>
57597         [BZ #13092]
57598         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
57599         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
57600         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
57601         ppc_mcount to static-only-routines.
57602         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
57603         __mcount_internal.
57604         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
57605         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
57607 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
57609         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
57610         for finite and infinity parameters.
57612 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
57614         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
57615         and add nop instructions for throughput optimization.
57616         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
57618 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
57620         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
57621         aligned copy for power7 with vector-scalar instructions.
57622         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
57624 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
57626         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
57627         AVX check.
57629 2011-09-07  Andreas Schwab  <schwab@redhat.com>
57631         [BZ #13144]
57632         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
57633         last change.
57635 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
57637         * sysdeps/unix/sysv/linux/x86_64/init-first.c
57638         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
57639         syscall wrapper around clock_gettime in __vdso_clock_gettime.
57640         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
57641         clock_gettime.
57643 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
57645         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
57646         Forgot to demangle the pointer.
57648         * sysdeps/i386/sysdep.h: Define atom_text_section.
57649         * sysdeps/x86_64/sysdep.h: Likewise.
57650         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
57651         section with atom_text_section.
57652         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
57653         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
57654         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
57655         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
57656         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
57658         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
57659         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
57660         already be defined.  Change to take two parameters and don't assign
57661         result to variable.  Adjust all users.
57662         Define INTERNAL_GETTIME if not already defined.
57663         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
57664         call.
57665         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
57666         HAVE_CLOCK_GETTIME_VSYSCALL.
57667         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
57669         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
57670         gettimeofday vsyscall, just use time.
57672 2011-09-06  Andreas Schwab  <schwab@redhat.com>
57674         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
57675         <errno.h>.
57677 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
57679         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
57680         syscall on x86-64.
57681         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
57682         syscall.
57683         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
57684         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
57685         syscall if possible.
57687 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
57689         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
57690         e_ident.  Don't pass to find_mapsXX.
57691         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
57693 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57695         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57696         strchr-sse2-no-bsf strrchr-sse2-no-bsf
57697         * sysdeps/x86_64/multiarch/strchr.S: Update.
57698         Check bit_slow_BSF bit.
57699         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57700         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
57701         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
57703 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
57705         [BZ #13134]
57706         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
57707         before glibc 2.15.
57708         (tryshell): Define.
57709         (__spawni): Change last parameter to be flag.  Test
57710         SPAWN_XFLAGS_USE_PATH flag to use path or not.
57711         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
57712         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
57713         * posix/spawni.c: Likewise.
57714         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
57715         * posix/spawnp.c: Likewise.  Change normal version to use
57716         SPAWN_XFLAGS_USE_PATH.
57717         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
57718         SPAWN_XFLAGS_TRY_SHELL.
57720         [BZ #13150]
57721         * posix/glob.h: Remove gcc 1.x support.
57723         [BZ #13068]
57724         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
57726 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57728         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57729         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
57730         strrchr-sse2-bsf
57731         * sysdeps/i386/i686/multiarch/strchr.S: New file.
57732         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
57733         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
57734         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
57735         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
57736         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
57738 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57740         * sysdeps/x86_64/wcscmp.S: New file.
57742         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
57743         wcscmp-c wcscmp-sse2
57744         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
57745         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
57746         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
57747         * wcsmbs/wcscmp.c: Allow renaming.
57749 2011-09-05  David S. Miller  <davem@davemloft.net>
57751         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
57752         stack slot, rather than the struct return pointer slot.
57753         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
57754         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
57755         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
57756         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
57758 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
57760         * po/ja.po: Update from translation team.
57762         [BZ #13144]
57763         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
57764         kernel in 64-bit binaries.
57766 2011-09-01  David S. Miller  <davem@davemloft.net>
57768         * elf/elf.h (HWCAP_SPARC_*): Move to..
57769         * sysdeps/sparc/sysdep.h: this new file and add new values.
57770         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
57771         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
57772         _DL_HWCAP_COUNT to 24.
57773         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
57774         entries.
57775         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
57776         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
57777         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
57778         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
57779         instead of magic constants.
57780         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
57782 2011-08-31  David S. Miller  <davem@davemloft.net>
57784         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
57785         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
57786         Reimplement to do errno handling inline.
57787         (SYSCALL_ERROR_HANDLER): New macro.
57788         (__SYSCALL_STRING): Do not do errno handling in asm.
57789         (__CLONE_SYSCALL_STRING): Delete.
57790         (__INTERNAL_SYSCALL_STRING): Delete.
57791         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
57792         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
57793         (PSEUDO): Reimplement to do errno handling inline.
57794         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
57795         (SYSCALL_ERROR_HANDLER): New macro.
57796         (__SYSCALL_STRING): Do not do errno handling in asm.
57797         (__CLONE_SYSCALL_STRING): Delete.
57798         (__INTERNAL_SYSCALL_STRING): Delete.
57799         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
57800         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
57801         i386.
57802         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
57803         (inline_syscall*): Add 'err' argument.
57804         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
57805         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
57806         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
57807         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
57809         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
57810         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
57812 2011-08-30  Andreas Schwab  <schwab@redhat.com>
57814         * elf/rtld.c (dl_main): Relocate objects in dependency order.
57816 2011-08-29  Jiri Olsa <jolsa@redhat.com>
57818         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
57819         directive.
57821 2011-08-24  David S. Miller  <davem@davemloft.net>
57823         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
57825 2011-08-24  Andreas Schwab  <schwab@redhat.com>
57827         * elf/Makefile: Add rules to build and run unload8 test.
57828         * elf/unload8.c: New file.
57829         * elf/unload8mod1.c: New file.
57830         * elf/unload8mod1x.c: New file.
57831         * elf/unload8mod2.c: New file.
57832         * elf/unload8mod3.c: New file.
57834         * elf/dl-close.c (_dl_close_worker): Reset private search list if
57835         it wasn't used.
57837 2011-08-23  David S. Miller  <davem@davemloft.net>
57839         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
57840         subtract stack bias.
57841         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
57842         %sp not %fp in calculations.
57843         (_JMPBUF_UNWINDS_ADJ): Likewise.
57845         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
57846         (aio_suspend): Call it to force an exception region around the
57847         AIO_MISC_WAIT() invocation.
57849 2011-08-23  Andreas Schwab  <schwab@redhat.com>
57851         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
57852         backslash.
57854 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
57856         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
57857         protection macro.
57858         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
57859         and <dl-machine.h>.
57860         (Elf64_FuncDesc): Remove.
57862 2011-08-22  David S. Miller  <davem@davemloft.net>
57864         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
57865         sigaltstack check, add missing cfi directives.
57866         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
57867         missing cfi directives, and sigaltstack handling.
57869 2011-08-16  Andreas Schwab  <schwab@redhat.com>
57871         [BZ #11724]
57872         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
57873         object is seen twice.
57874         * elf/dl-fini.c (_dl_sort_fini): Likewise.
57876         * elf/Makefile (distribute): Add tst-initorder2.c.
57877         (tests): Add tst-initorder2.
57878         (modules-names): Add tst-initorder2a tst-initorder2b
57879         tst-initorder2c tst-initorder2d.  Add rules to build them.
57880         ($(objpfx)tst-initorder2.out): New rule.
57881         * elf/tst-initorder2.c: New file.
57882         * elf/tst-initorder2.exp: New file.
57884 2011-08-22  Andreas Schwab  <schwab@redhat.com>
57886         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
57888         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
57889         dependencies back to end of function.
57891         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57892         $(elfobjdir)/ld.so.
57894 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
57896         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
57897         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
57898         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
57899         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
57900         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
57901         of __vdso_gettimeofday.
57902         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
57903         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
57904         attribute_hidden.
57905         (_libc_vdso_platform_setup): Remove initialization of
57906         __vdso_gettimeofday and __vdso_time.
57908 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
57910         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
57911         and fgetc_unlocked.
57912         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
57913         getc_unlocked.
57915         * elf/dl-open.c (add_to_global): Report additions to the global scope
57916         for LD_DEBUG=scopes.
57917         (dl_open_worker): Also print scope of newly loaded dependencies.
57918         (_dl_show_scope): Indicate if there is no scope.
57920         [BZ #13114]
57921         * stdio-common/Makefile (tests): Add bug24.
57922         * stdio-common/bug24.c: New file.
57924 2011-08-19  Andreas Jaeger  <aj@suse.de>
57926         [BZ #13114]
57927         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
57928         non-existant file when using close-on-exec mode.
57930 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
57932         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
57933         the very first instruction.
57935         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
57936         the CFI state in the end.
57937         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
57938         inclusion of dl-trampoline.h.
57939         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
57941 2011-08-19  Andreas Schwab  <schwab@redhat.com>
57943         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
57944         expectations for long double.
57946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
57947         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
57949 2011-08-14  David S. Miller  <davem@davemloft.net>
57951         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
57952         artificual limit depends upon the system page size.
57954 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
57956         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
57957         * resolv/Makefile: Define CFLAGS-libresolv.
57959 2011-08-17  Andreas Schwab  <schwab@redhat.com>
57961         * nss/makedb.c (compute_tables): Make variables used in nested
57962         function static.
57964 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
57966         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
57967         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
57968         if buffer was too small.
57970         * elf/pldd.c (main): Attach to all threads in the process.
57971         Rewrite /proc handling to use *at functions.
57973 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
57975         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
57976         specifies first scope to show.
57977         (dl_open_worker): Update callers.  Move printing scope of new
57978         object to before the relocation.
57979         * elf/rtld.c (dl_main): Update _dl_show_scope call.
57980         * sysdeps/generic/ldsodefs.h: Update declaration.
57982         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
57983         string for the scope number.
57985 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
57987         * nscd/servicescache.c (cache_addserv): Make sure written is always
57988         initialized.
57990 2011-08-14  Roland McGrath  <roland@hack.frob.com>
57992         * sysdeps/i386/i486/bits/atomic.h
57993         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
57994         statement expression, so as to suppress "set but not used" warning.
57995         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
57997         * string/strncat.c (STRNCAT): Use prototype definition.
57999         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
58000         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
58001         -Iprograms here.
58002         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
58003         (localedef-modules): Add localedef.
58004         (locale-modules): Add locale.
58006         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
58007         * elf/rtld.c (dl_main): Invert order of assignment in last change,
58008         to avoid a warning.
58010 2011-08-14  David S. Miller  <davem@davemloft.net>
58012         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
58013         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
58015 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
58017         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
58018         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
58019         * elf/rtld.c (dl_main): Set l_name of vDSO.
58020         Call _dl_show_scope when DL_DEBUG_SCOPES.
58021         (process_dl_debug): Recognize scopes flag and also set it for all.
58022         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
58023         Declare _dl_show_scope.
58025         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
58026         (do_dlopen): Pass caller_dlopen to dl_open.
58027         (__libc_dlopen_mode): Initialize caller_dlopen.
58029         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
58030         of libc.  Make tolower call locale-independent.  Optimize a bit by
58031         using isdigit instead of isalnum.
58032         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
58034 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
58036         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
58037         was a dependency or dynamically loaded.
58039 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
58041         * intl/l10nflist.c: Allow architecture-specific pop function.
58042         * sysdeps/x86_64/l10nflist.c: New file.
58044         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
58045         classification.
58047 2011-08-10  Andreas Schwab  <schwab@redhat.com>
58049         * include/dirent.h: Add libc_hidden_proto for scandirat and
58050         scandirat64.  Don't declare __scandirat64.
58051         * dirent/scandirat.c: Add libc_hidden_def.
58052         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
58053         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
58055 2011-08-10  David S. Miller  <davem@davemloft.net>
58057         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
58058         enum.
58059         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58060         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58061         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58063 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
58065         * Versions.def [libc]: Add GLIBC_2.15.
58066         * dirent/Makefile (routines): Add scandirat and scandirat64.
58067         * dirent/Versions [libc]: Export scandirat and scandirat64 for
58068         GLIBC_2.15.
58069         * dirent/dirent.h: Declare scandirat and scandirat64.
58070         * dirent/scandirat.c: New file.
58071         * dirent/scandirat64.c: New file.
58072         * sysdeps/wordsize-64/scandirat.c: New file.
58073         * sysdeps/wordsize-64/scandirat64.c: New file.
58074         * dirent/opendir.c: Define opendirat.
58075         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
58076         using scandirat.
58077         * dirent/scandir64.c: Adjust for scandir.c change.
58078         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
58079         __scandirat64, and __scandir_cancel_handler.
58080         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
58081         additional parameter and use openat instead of open (outside of ld.so).
58082         Add new __opendir as wrapper around __opendirat.
58083         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
58084         here without requiring old scandirat implementation.
58086 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
58088         * dirent/scandir.c (cancel_handler): Renamed to
58089         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
58090         defined.  Adjust users.
58091         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
58092         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
58094 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
58096         * string/test-string.h (IMPL): Use __STRING to expand name and then
58097         stringify it.
58099         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
58100         of cleanups.
58102 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58104         * string/Makefile: Update.
58105         (strop-tests): Append strncat.
58106         * string/test-wcscmp.c: New file.
58107         New comprehensive test for wcscmp.
58108         * string/test-strcmp.c: Update.
58109         (WIDE): New define.
58111 2011-07-22  Andreas Schwab  <schwab@redhat.com>
58113         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
58114         line.
58116 2011-07-26  Andreas Schwab  <schwab@redhat.com>
58118         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
58119         encoding to ACE if AI_IDN.
58121 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
58123         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
58124         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
58126 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58128         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
58129         Fix overflow bug in strncat.
58130         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
58132         * string/test-strncat.c: Update.
58133         Add new tests for checking overflow bugs.
58135 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58137         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58138         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
58139         * sysdeps/i386/i686/multiarch/strcat.S: New file.
58140         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
58141         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
58142         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
58143         * sysdeps/i386/i686/multiarch/strncat.S: New file.
58144         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
58145         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
58147         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
58148         (USE_AS_STRCAT): Define.
58149         Add strcat and strncat support.
58150         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
58152 2011-07-25  Andreas Schwab  <schwab@redhat.com>
58154         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
58155         __n bigger than INT_MAX+1.
58156         (__strncmp_g): Likewise.
58158 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
58160         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
58161         * libio/stido.h: Likewise.
58163         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
58164         (AF_NFC): Define.
58165         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
58166         (AF_NFC): Define.
58168         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
58169         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58170         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58171         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
58172         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58174         [BZ #13021]
58175         * scripts/test-installation.pl: Don't expect libnss_test1 to be
58176         installed.
58178         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
58179         typo.
58180         (_dl_x86_64_save_sse): Likewise.
58182 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
58184         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
58185         OSXSAVE.
58186         (_dl_x86_64_save_sse): Likewise.
58188         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
58190         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
58192 2011-07-21  Andreas Schwab  <schwab@redhat.com>
58194         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
58195         change.
58196         (_dl_x86_64_save_sse): Use correct AVX check.
58198 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58200         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
58201         bug in strncpy/strncat.
58202         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
58204 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
58206         * string/tester.c (test_strcat): Add tests for different alignments
58207         of source and destination.
58208         (test_strncat): Likewise.
58210 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
58212         [BZ #12852]
58213         * posix/glob.c (glob): Check passed in values before using them in
58214         expressions to avoid some overflows.
58215         (glob_in_dir): Likewise.
58217         [BZ #13007]
58218         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
58219         check for AVX enablement so that we don't crash with old kernels and
58220         new hardware.
58221         * elf/tst-audit4.c: Add same checks here.
58222         * elf/tst-audit6.c: Likewise.
58224         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
58226 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
58228         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
58230 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
58232         * po/cs.po: Update from translation team.
58233         * po/bg.po: Likewise.
58235 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
58237         * misc/sys/cdefs.h: Add support for const attribute.
58238         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
58239         to gnu_dev_{major,minor,makedev} functions.
58241 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
58243         * intl/dcigettext.c (get_output_charset): Add missing bracket.
58245 2011-07-20  Andreas Schwab  <schwab@redhat.com>
58247         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
58248         strlen results.
58250 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58252         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
58253         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
58254         register in order to avoid conflicts with the soft frame pointer
58255         being held in r11 when necessary.
58256         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
58257         (INTERNAL_VSYSCALL_NCS): Likewise.
58259 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
58261         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
58262         * elf/dl-fini.c (_dl_fini): Adjust caller.
58263         * elf/dl-close.c (_dl_close_worker): Likewise.
58264         * sysdeps/generic/ldsodefs.h: Adjust declaration.
58266 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
58268         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
58269         "aux_cache->nlibs < 0".
58271         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
58272         in the reload-count case.
58274 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58276         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58277         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
58278         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
58279         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
58280         * sysdeps/x86_64/multiarch/strcat.S: New file.
58281         * sysdeps/x86_64/multiarch/strncat.S: New file.
58282         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
58283         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
58284         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
58285         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
58286         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
58287         (USE_AS_STRCAT): Define.
58288         Add strcat and strncat support.
58289         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
58290         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
58291         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
58292         * string/strncat.c: Update.
58293         (USE_AS_STRNCAT): Define.
58294         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58295         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
58296         and i7.
58297         * sysdeps/x86_64/multiarch/init-arch.h
58298         (bit_Prefer_PMINUB_for_stringop): New.
58299         (index_Prefer_PMINUB_for_stringop): Likewise.
58300         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
58301         bit_Prefer_PMINUB_for_stringop.
58303 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
58305         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
58306         buffer64.
58307         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
58308         of casting of buffer.
58309         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
58310         buffer32 and buffer64.
58311         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
58312         writes instead of casting of buffer.
58313         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
58314         buffer32.
58315         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
58316         casting of buffer.
58318 2011-07-19  Andreas Schwab  <schwab@redhat.com>
58320         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
58322 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
58324         * nscd/nscd.c (termination_handler): Don't do anything for a database
58325         if it has not yet been initialized.
58327 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
58329         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
58331 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
58333         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
58335 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
58337         * po/nl.po: Update from translation team.
58338         * po/sv.po: Likewise.
58340 2011-07-16  Roland McGrath  <roland@hack.frob.com>
58342         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
58343         now disallowed by GCC.
58345         * configure.in (use-default-link): Default to yes if a test -shared
58346         link meets our qualifications.
58347         * configure: Regenerated.
58349         * config.make.in (output-format): New variable.
58350         * configure.in: Check for ld --print-output-format support.
58351         * configure: Regenerated.
58352         * Makerules ($(common-objpfx)format.lds)
58353         [$(output-format) != unknown]: Just use $(output-format),
58354         instead of the linker-script munging.
58356 2011-07-14  Roland McGrath  <roland@hack.frob.com>
58358         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
58359         of $(common-objpfx)shlib.lds.
58360         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
58362         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
58363         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
58365         * configure.in (-z relro check): Adjust test code to add a large
58366         writable data section after it.
58367         * configure: Regenerated.
58369 2011-07-11  Roland McGrath  <roland@hack.frob.com>
58371         * configure.in (-z relro check): Fix test code to make the variable
58372         truly const.
58373         * configure: Regenerated.
58375 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
58377         * nscd/nscd.h (struct traced_file): Define.
58378         (struct database_dyn): Remove inotify_descr, reset_res, and filename
58379         elements.  Add traced_files.
58380         (inotify_fd): Declare.
58381         (register_traced_file): Declare.
58382         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
58383         (inotify_fd): Export.
58384         (resolv_conf_descr): Remove.
58385         (nscd_init): Move inotify descriptor creation to main.
58386         Don't register files for notification here.
58387         (register_traced_file): New function.
58388         (invalidate_cache): Don't use reset_res to determine whether to call
58389         res_init, go through the list of registered files.
58390         (main_loop_poll): The inotify descriptors are now stored in the
58391         structures for the traced files.
58392         (main_loop_epoll): Likewise
58393         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
58394         to __nss_disable_nscd.
58395         * nscd/cache.c (prune_cache): There is no single inotify descriptor
58396         for a database anymore.  Check the records for all the registered
58397         files instead.
58398         * nss/Makefile (libnss_files-routines): Add files-init.
58399         (libnss_db-routines): Add db-init.
58400         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
58401         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
58402         * nss/nss_db/db-init.c: New file.
58403         * nss/nss_files/files-init.c: New file.
58404         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
58405         __nss_lookup_function.
58406         (__nss_lookup_function): Call nss_load_library.
58407         (nss_load_all_libraries): New function.
58408         (__nss_disable_nscd): Take parameter with callback function for files
58409         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
58410         used for the cached services.
58411         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
58412         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
58413         options for features to all the files in nscd.
58415         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
58417 2011-07-10  Roland McGrath  <roland@hack.frob.com>
58419         * csu/elf-init.c (__libc_csu_init): Comment typo.
58421 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
58423         * po/pl.po: Update from translation team.
58424         * po/ja.po: Likewise.
58425         * po/ru.po: Likewise.
58426         * po/ko.po: Likewise.
58427         * po/fr.po: Likewise.
58429 2011-07-09  Roland McGrath  <roland@hack.frob.com>
58431         * configure.in (.ctors/.dtors header and trailer check):
58432         Use an empirical test on a built program.
58433         * configure: Regenerated.
58435         * configure.in (-z relro check): Use an empirical test on a built DSO.
58436         Detect, but do not require, on ia64.
58437         * configure: Regenerated.
58439         * configure.in (READELF): Find it with AC_CHECK_TOOL.
58440         Update tests that use readelf to use $READELF instead.
58441         * configure: Regenerated.
58443 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
58445         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
58446         if the result is not used.
58448 2011-07-05  Andreas Jaeger  <aj@suse.de>
58450         [BZ#9696]
58451         * stdlib/tst-strtod.c: Add testcase.
58453 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
58455         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
58456         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
58457         The latter has a higher limit.  Take additional parameter to pass to
58458         the new function.
58459         (__pathconf): Pass file to __statfs_link_max.
58460         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
58461         __statfs_link_max.
58462         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
58463         __statfs_link_max.
58465         [BZ #12868]
58466         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
58467         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58468         Handle Lustre.
58469         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
58470         (__statfs_filesize_max): Likewise.
58471         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
58473 2011-07-05  Andreas Jaeger  <aj@suse.de>
58475         * resolv/res_comp.c (dn_skipname): Remove unused variable.
58477 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
58479         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
58480         `status' variable.
58481         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
58482         Likewise.
58484 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
58486         * Makefile (strop-tests): Add strncat.
58487         * string/test-strncat.c: New file.
58489 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
58491         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
58493 2011-06-21  Andreas Jaeger  <aj@suse.de>
58495         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
58496         Copy rule from iconvdata/Makefile.
58498 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
58500         [BZ #12922]
58501         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
58502         but no long options are defined, just return 'W'.
58504 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
58506         [BZ #9696]
58507         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
58509 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
58511         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
58512         netgroups to read.
58513         (innetgr): Likewise.
58515 2011-07-05  Roland McGrath  <roland@hack.frob.com>
58517         * config.make.in (install_root): Default to $(DESTDIR).
58519 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
58521         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
58523 2011-07-02  Roland McGrath  <roland@hack.frob.com>
58525         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
58527         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
58528         containing directory rather than embedding absolute directory names.
58530         * scripts/check-local-headers.sh: Rewritten using awk.
58531         Match by word, not by line.  Print error messages for matches.
58532         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
58534         * Makerules [shlib-lds-flags empty]:
58535         ($(common-objpfx)libc_pic.opts): New target.
58536         ($(common-objpfx)libc_pic.os.clean): New target.
58537         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
58539         * config.make.in (OBJCOPY): New variable.
58540         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
58541         * configure: Regenerated.
58543         * config.make.in (use-default-link): New variable.
58544         * configure.in (use_default_link): Grok --with-default-link to set it.
58545         * configure: Regenerated.
58546         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
58547         (shlib-lds, shlib-lds-flags): Define to empty.
58549         * Makerules (shlib-lds): New variable.
58550         (shlib-lds-flags): New variable.
58551         (build-shlib, build-moduile, build-module-asneeded): Use it.
58552         ($(common-objpfx)libc.so): Use $(shlib-lds).
58553         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
58554         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
58556         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
58557         DT_FLAGS/DT_FLAGS_1 with zero flags.
58559         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
58560         linker script munging.
58562 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
58564         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
58565         as 128-bit value.
58566         * crypt/sha512.c (sha512_process_block): Perform total addition using
58567         128-bit if possible.
58568         (__sha512_finish_ctx): Likewise.
58569         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
58570         as 64-bit value.
58571         * crypt/sha256.c (SWAP64): Define.
58572         (sha256_process_block): Perform total addition using 64-bit if
58573         possible.
58574         (__sha256_finish_ctx): Likewise.
58576 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
58578         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
58579         * nscd/initgrcache.c (addinitgroupsX): Likewise.
58580         * nscd/hstcache.c (cache_addhst): Likewise.
58581         * nscd/grpcache.c (cache_addgr): Likewise.
58582         * nscd/aicache.c (addhstaiX): Likewise
58583         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
58585 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
58587         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
58588         * nscd/initgrcache.c (addinitgroupsX): Likewise.
58589         * nscd/hstcache.c (cache_addhst): Likewise.
58590         * nscd/grpcache.c (cache_addgr): Likewise.
58591         * nscd/aicache.c (addhstaiX): Likewise
58593 2011-07-01  Andreas Schwab  <schwab@redhat.com>
58595         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
58596         domain only when needed.
58598 2011-06-30  Andreas Schwab  <schwab@redhat.com>
58600         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
58601         is always restored.
58603 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
58605         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
58606         are re-adding the entry.
58607         * nscd/servicescache.c (cache_addserv): Likewise.
58609 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
58611         * sysdeps/generic/dl-irel.h: fix protection against multiple
58612         inclusions.
58613         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
58615 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
58617         [BZ #12935]
58618         * malloc/memusage.sh: Fix quoting in message.
58619         * debug/xtrace.sh: Likewise.
58621         * configure.in: Remove support for --experimental-malloc option, make
58622         it the default.
58623         * config.make.in: Likewise.
58624         * malloc/Makefile: Likewise.
58626 2011-06-27  Andreas Schwab  <schwab@redhat.com>
58628         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
58629         two-byte characters.
58631 2011-06-27  Roland McGrath  <roland@hack.frob.com>
58633         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
58634         AC_CACHE_CHECK invocation.
58635         * configure: Regenerated.
58637         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
58639 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
58641         [BZ #12350]
58642         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
58643         bit from old_res_options.
58645         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
58647         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
58648         value type for setfct.
58650 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
58652         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
58653         __gettimeofday instead of gettimeofday.
58655 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
58657         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
58659 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
58661         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
58663         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
58664         info.
58666 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
58668         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58669         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
58670         strcpy-sse2-unaligned strncpy-sse2-unaligned
58671         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
58672         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
58673         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
58674         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
58675         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
58676         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
58677         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
58678         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
58679         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
58680         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
58681         (STRCPY): Support SSE2 and SSSE3 versions.
58683 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
58685         [BZ #12874]
58686         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
58687         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
58688         kernels which artificially limit size of requests.
58690 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
58692         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58693         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
58694         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
58695         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
58696         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
58697         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
58698         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
58699         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
58700         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
58701         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
58702         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
58703         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
58704         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
58705         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
58706         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
58707         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58708         Enable unaligned load optimization for Intel Core i3, i5 and i7
58709         processors.
58710         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
58711         Define.
58712         (index_Fast_Unaligned_Load): Define.
58713         (HAS_FAST_UNALIGNED_LOAD): Define.
58715 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
58717         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
58719 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
58721         [BZ #12907]
58722         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
58723         until it is clear that the information is realy needed.
58724         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
58726 2011-06-22  Andreas Schwab  <schwab@redhat.com>
58728         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
58730 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
58732         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
58733         /sys/devices/system/cpu/online if it is usable.
58735         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
58736         reading the information from the /proc filesystem to once a second.
58738 2011-06-21  Andreas Jaeger  <aj@suse.de>
58740         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
58741         NULL after inclusion of kernel headers.
58743 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
58745         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
58746         calls to internal_setent.
58748         [BZ #12885]
58749         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
58750         addresses using gethostbyname4_r ignore IPv4 addresses.
58752         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
58753         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
58755         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
58757 2011-06-20  David S. Miller  <davem@davemloft.net>
58759         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
58760         inclusions.
58761         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
58763         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
58764         (elf_irel): Use it.
58765         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
58766         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
58767         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
58768         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
58769         * sysdeps/x86_64/dl-irel.h: Likewise.
58771         * elf/dl-runtime.c: Use elf_ifunc_invoke.
58772         * elf/dl-sym.c: Likewise.
58774 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
58776         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
58777         need to dereference resplen2.
58779 2011-06-14  Andreas Schwab  <schwab@redhat.com>
58781         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
58783 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
58785         * Makeconfig: Define vardbdir and inst_vardbdir.
58786         * nss/Makefile: Add rules to install db-Makefile.
58788         * nss/nss_db/db-XXX.c: Cleanup.
58790         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
58791         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
58792         GLIBC_PRIVATE.
58793         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
58794         * nss/makedb.c: Implement -g option to specify that value strings
58795         are generated and should not be added to table iterated over for
58796         get*ent calls.
58797         * nss/nss_db/db-initgroups.c: New file.
58799         * nss/getent.c: Add support for initgroups lookups through getgrouplist
58800         interface.
58802         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
58803         (internal_getgrouplist): Adjust to name change.
58804         Update use_initgroups_entry if this is not the first call.
58805         * nss/databases.def: Add initgroups entry.
58807         * nss/makedb.c (compute_tables): Check result of multiple hash table
58808         sizes to minimize maximum chain length.
58810 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
58812         * Versions.def: Add entry for libnss_db.
58813         * shlib-versions: Likewise.
58814         * nss/Makefile: Add rules to build libnss_db.
58815         * nss/Versions: Add libnss_db information.  Organize libnss_files
58816         entries better.
58817         * nss/db-Makefile: Add gshadow support.  Change rules for the new
58818         makedb progra.  Some minor improvements to generate smaller files.
58819         * nss/nss_db/nss_db.h: Move NSS database header data structures to
58820         here from...
58821         * nss/makedb.c: ...here.
58822         Improve database format to be smaller and require less memory at
58823         runtime.
58824         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
58825         db anymore.
58826         * nss/nss_db/db-netgrp.c: Likewise.
58827         * nss/nss_db/db-open.c: Likewise.
58828         * nss/nss_files/flies-XXX.x: Adjust comments.
58829         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
58830         * nss/nss_files/files-grp.c: Likewise.
58831         * nss/nss_files/files-hosts.c: Likewise.
58832         * nss/nss_files/files-network.c: Likewise.
58833         * nss/nss_files/files-proto.c: Likewise.
58834         * nss/nss_files/files-pwd.c: Likewise.
58835         * nss/nss_files/files-rpc.c: Likewise.
58836         * nss/nss_files/files-service.c: Likewise.
58837         * nss/nss_files/files-sgrp.c: Likewise.
58838         * nss/nss_files/files-spwd.c: Likewise.
58839         * nss/nss_db/db-alias.c: Removed.
58840         * nss/nss_db/dummy-db.h: Removed.
58842 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
58844         * nss/makedb.c: Rewritten to not use database library.
58845         * nss/Makefile: Update to build new makedb program.
58847 2011-06-14  Andreas Jaeger  <aj@suse.de>
58849         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
58850         memset declaration.
58852 2011-06-10  Andreas Schwab  <schwab@redhat.com>
58854         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
58855         tmpbuf.
58857 2011-06-10  Roland McGrath  <roland@hack.frob.com>
58859         * Makerules (shlib.lds): Fail if the linker script comes out empty.
58860         * elf/Makefile ($(objpfx)ld.so): Likewise.
58862         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
58863         Don't list ld.so twice in dependencies.
58865         * posix/bug-regex31.c: Include <stdlib.h>.
58867         * nscd/hstcache.c (cache_addhst): Remove unused variable.
58869         * nis/nss_compat/compat-spwd.c
58870         (getspent_next_nss_netgr): Remove unused variable.
58871         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
58873         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
58874         nonmembers" output to use the right array.
58876         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
58878         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
58880         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
58881         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
58882         * catgets/gencat.c (read_input_file): Likewise.
58883         * locale/programs/locarchive.c (enlarge_archive): Likewise.
58885         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
58886         variable definition inside #if's controlling its use.
58888         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
58890         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
58892         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
58894         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
58895         unreachable code.
58897         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
58899         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
58900         * configure: Regenerated.
58902         * Makerules: Revert last change.
58903         * elf/Makefile: Likewise.
58905 2011-06-09  Roland McGrath  <roland@hack.frob.com>
58907         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
58908         * elf/Makefile ($(objpfx)librtld.os): Likewise.
58909         (reloc-link): Likewise.
58911 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
58913         * elf/Makefile: Add rules to build pldd.
58914         * elf/pldd.c: New file.
58915         * elf/pldd-xx.c: New file.
58917 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
58919         * version.h: Update for 2.15 development version.
58921 2011-06-07  David S. Miller  <davem@davemloft.net>
58923         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
58924         ifuncs.
58925         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
58926         elf_machine_lazy_rel): Likewise.
58927         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
58928         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
58929         elf_machine_lazy_rel): Likewise.
58930         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
58931         dl_hwcap via passed in argument.
58932         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
58933         Likewise.
58935 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58937         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
58939 2011-06-06  Roland McGrath  <roland@hack.frob.com>
58941         [BZ #12849]
58942         * manual/fdl-1.1.texi: New file, verbatim from:
58943         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
58944         * manual/lgpl-2.1.texi: New file, verbatim from:
58945         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
58946         * manual/Makefile (licenses): New variable, list those new file names.
58947         (texis): Use it.
58948         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
58950         * manual/fdl.texi: File removed.
58951         * manual/lesser.texi: File removed.
58952         * manual/libc.texinfo (Copying, Documentation License):
58953         Use new @include file names, put @appendix directive before @include.
58955 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
58957         [BZ #12841]
58958         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
58959         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
58960         (mq_open): Add __NTH.
58962 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
58964         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58965         Assume Intel Core i3/i5/i7 processor if AVX is available.
58967 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
58969         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
58970         typo.
58972 2011-05-31  Andreas Schwab  <schwab@redhat.com>
58974         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
58975         memory.  Use alloca_account.  Fix memory leak when retrying.
58977 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
58979         * version.h (RELEASE): Bump for 2.14 release.
58980         * include/features.h (__GLIBC_MINOR__): Bump to 14.
58982         * config.make.in (RANLIB): Remove entry.
58984 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
58986         * po/Makefile (po-sed-cmd): Add ksh to extensions.
58987         (libc.pot): Work around missing support for .ksh extension in xgettext.
58989         [BZ #12684]
58990         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
58991         if both request failed.
58992         (send_dg): In case of server errors clear resplen or *resplen2.
58994         [BZ #12454]
58995         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
58996         when there are multiple maps.
58997         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
58998         (_dl_fini): Remove test here.
59000         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
59002 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
59004         [BZ #12350]
59005         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
59006         bit from old_res_options.
59007         (gaih_inet): Likewise.
59009         [BZ #11099]
59010         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
59011         as signed.
59013         * resolv/res_init.c (res_setoptions): Make the code more compact.
59015         [BZ #11558]
59016         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
59017         set RES_USEVC.
59019         [BZ #11634]
59020         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
59022         * malloc/malloc.h: Mark malloc hook variables as deprecated.
59024         [BZ #11781]
59025         * malloc/malloc.h: Declare malloc hook variables as volatile.
59027         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
59028         in last patch.
59030         [BZ #11799]
59031         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
59032         raise in the comment.
59033         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
59034         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
59035         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
59037 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
59039         [BZ #12811]
59040         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
59041         grow the buffers more if it already has to be sufficient.
59042         (build_wcs_upper_buffer): Likewise.
59043         * posix/regexec.c (check_matching): Likewise.
59044         (clean_state_log_if_needed): Likewise.
59045         (extend_buffers): Don't enlarge buffers beyond size of the input
59046         buffer.
59047         Patches mostly by Emil Wojak <emil@wojak.eu>.
59048         * posix/bug-regex32.c: New file.
59049         * posix/Makefile (tests): Add bug-regex32.
59051         * locale/findlocale.c (_nl_find_locale): Return right away if
59052         _nl_explode_name failed.
59053         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
59055         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
59057         * debug/xtrace.sh: Unify messages.
59058         * malloc/memusage.sh: Likewise.
59060         [BZ #12813]
59061         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
59062         time symbol from vDSO.  Substitute with vsyscall if not available.
59063         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
59064         __vdso_time.
59066         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
59067         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
59068         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
59069         Add sendmmsg and internal_sendmmsg.
59070         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
59071         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
59072         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
59074         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
59075         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
59076         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
59078 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
59080         [BZ #12813]
59081         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
59082         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
59083         available.
59084         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
59085         __vdso_getcpu.
59087         [BZ #12814]
59088         * iconvdata/Makefile (tests): Add bug-iconv9.
59089         * iconvdata/bug-iconv9.c: New file.
59091 2011-05-27  Andreas Schwab  <schwab@redhat.com>
59093         [BZ #12814]
59094         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
59096 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
59098         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
59099         (struct user_regs_struct): Change intcs field back to cs.
59101 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
59103         * po/ja.po: Update from translation team.
59105 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
59107         [BZ #12795]
59108         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
59109         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
59111 2011-05-20  Andreas Schwab  <schwab@redhat.com>
59113         * stdlib/longlong.h: Update from GCC.
59115 2011-05-23  Andreas Schwab  <schwab@redhat.com>
59117         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
59118         parameter name.
59119         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
59120         Add parameter name.
59121         (__sysconf): Pass it down.
59123 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
59125         [BZ #12671]
59126         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
59127         some situations.
59128         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
59129         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
59130         add in in __libc_use_alloca calls.  Adjust callers.
59131         (glob): Use malloc in some situations.
59133         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
59134         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
59135         pltexit.
59137 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
59139         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
59140         and CLOCK_BOOTTIME_ALARM.
59142         [BZ #12782]
59143         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
59144         is returned.
59146         * string/_strerror.c (__strerror_r): Print negative errors as signed
59147         numbers.
59149         [BZ #12777]
59150         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
59151         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
59152         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
59154         * configure.in: Fix typo in redirection and correct removal of test
59155         files in two cases.
59157         [BZ #12788]
59158         * locale/setlocale.c (new_composite_name): Fix test to check for
59159         identical name of all categories.
59161         [BZ #12792]
59162         * libio/filedoalloc.c (local_isatty): New function.
59163         (_IO_file_doallocate): Use local_isatty.
59164         * stdio-common/perror.c (perror): In case a new stream is used
59165         forward the stream error.
59166         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
59167         error flag.
59169 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
59171         [BZ #11869]
59172         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
59173         alloca.
59174         * include/alloca.h (extend_alloca_account): Define.
59176         [BZ #11857]
59177         * posix/regex.h: Fix comments with documentation of user-accessible
59178         fields after compilation and describe correct free'ing of pattern
59179         after re_compile_pattern.
59180         Patch by Reuben Thomas <rrt@sc3d.org>.
59182 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
59184         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
59185         and -mno-altivec to prevent the compiler from using Altivec and/or
59186         VSX instructions when the corresponding registers are not available.
59188 2011-05-19  Andreas Schwab  <schwab@redhat.com>
59190         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
59192 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
59194         * libio/freopen.c (freopen): Use __dup2, not dup2.
59195         * libio/freopen64.c (freopen64): Likewise.
59197 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
59199         [BZ #12775]
59200         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
59201         * math/Makefile (tests): Add test-powl.
59202         (CFLAGS-test-powl.c): Define.
59203         * math/test-powl.c: New file.
59205 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59207         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
59209 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
59211         [BZ #11837]
59212         * iconvdata/gb18030.c: Update to GB18020-2005.
59214 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
59216         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
59217         RE_SYNTAX_POSIX_AWK): Update to match recent development.
59218         Patch by Aharon Robbins <arnold@skeeve.com>.
59220         [BZ #11892]
59221         * stdlib/putenv.c (putenv): Don't always create copy of the variable
59222         on the stack.
59224         [BZ #11895]
59225         * misc/pselect.c (__pselect): Handle timeout value errors hidden
59226         through underflows.
59228         [BZ #12766]
59229         * misc/error.c (error_at_line): Ensure file_name and old_file_name
59230         point to strings before performing equality test for error_one_per_line
59231         mode.
59233         [BZ #11697]
59234         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
59236         [BZ #11820]
59237         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
59238         (struct user_fpregs_struct): Avoid __uint*_t types.
59240         [BZ #6420]
59241         * malloc/mtrace.c (tr_where): Add additional parameter to point to
59242         symbol info.  Use it instead of calling _dl_addr locally.
59243         (lock_and_info): New function.
59244         (tr_freehook): Call lock_and_info and pass symbol info as additional
59245         parameter to tr_where.
59246         (tr_mallochook): Likewise.
59247         (tr_reallochook): Likewise.
59248         (tr_memalignhook): Likewise.
59250         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
59251         used and couldn't be at all thread-safe.
59253 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
59255         * libio/freopen.c (freopen): Don't close old file descriptor
59256         before the new one is opened.  Instead dup the new file descriptor
59257         to the old one after the new stream is created.
59258         * libio/freopen64.c (freopen64): Likewise.
59259         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
59260         * libio/fileops.c (_IO_new_file_close_it): Handle new
59261         _IO_FLAGS2_NOCLOSE flag.
59262         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
59263         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
59264         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
59265         _IO_FLAGS2_NOCLOSE flag.
59266         * include/unistd.h: Add hidden_proto for dup3.
59267         Define __have_dup3.
59268         * io/dup3.c: Define hidden symbol.
59269         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
59271         [BZ #7101]
59272         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
59273         when an incomplete long option is used.
59274         * posix/tst-getopt_long1.c: New file.
59275         * posix/Makefile (tests): Add tst-getopt_long1.
59277         [BZ #10138]
59278         * scripts/config.guess: Update from autoconf-2.68.
59279         * scripts/config.sub: Likewise.
59281         [BZ #10157]
59282         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
59283         tests into ...
59284         (has_cpuclock): ...this.  New function.
59285         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
59286         macro here based on has_cpuclock code.
59288         [BZ #10149]
59289         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59290         First byte (not low byte) is now always NUL.
59291         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
59293         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59294         Use non-cancelable interfaces.
59296         [BZ #9809]
59297         * locale/iso-639.def: Add entry for Sorani.
59299         [BZ #11901]
59300         * include/stdlib.h: Move include protection to the right place.
59301         Define abort_msg_s.  Declare __abort_msg with it.
59302         * stdlib/abort.c (__abort_msg): Adjust type.
59303         * assert/assert.c (__assert_fail_base): New function.  Majority
59304         of code from __assert_fail.  Allocate memory for __abort_msg with
59305         mmap.
59306         (__assert_fail): Now call __assert_fail_base.
59307         * assert/assert-perr.c: Remove bulk of implementation.  Use
59308         __assert_fail_base.
59309         * include/assert.hL Declare __assert_fail_base.
59310         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
59311         mmap.
59312         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
59314 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
59316         [BZ #11952]
59317         [BZ #12453]
59318         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
59319         until all modules are registered in the DTV.
59320         * elf/Makefile: Add rules to build and run tst-tls19.
59321         * elf/tst-tls19.c: New file.
59322         * elf/tst-tls19mod1.c: New file.
59323         * elf/tst-tls19mod2.c: New file.
59324         * elf/tst-tls19mod3.c: New file.
59325         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
59327         [BZ #12083]
59328         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
59329         correctly.
59331         [BZ #12601]
59332         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
59333         two-byte sequence errors.
59334         * iconvdata/Makefile (tests): Add bug-iconv8.
59335         * iconvdata/bug-iconv8.c: New file.
59337         [BZ #12626]
59338         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
59339         buf2 definition.
59341         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
59343         [BZ #12432]
59344         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
59345         (dummy_getcfa): New function.
59346         (init): Get _Unwind_GetCFA address, use dummy if not found.
59347         (backtrace_helper): In recursion check, also check whether CFA changes.
59348         (__backtrace): Completely initialize arg.
59350         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
59351         storing incomplete byte sequence in state object.  Avoid testing for
59352         guaranteed too small input if we know there is enough data available.
59354 2011-05-11  Andreas Schwab  <schwab@redhat.com>
59356         * Makeconfig (+link-pie): Indent.
59357         * Rules (binaries-pie): Define if $(have-fpie) and
59358         $(build-shared).
59359         (binaries-shared): Also filter out $(binaries-pie).
59360         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
59361         * nscd/Makefile (others-pie): Add nscd.
59362         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
59363         ($(objpfx)nscd): Remove command override.
59364         * login/Makefile (others-pie): Add pt_chown.
59365         ($(objpfx)pt_chown): Remove command override.
59366         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
59367         remove command overrides.
59369 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
59371         * libio/tst_putwc.c: Fix error messages.
59373         [BZ #12724]
59374         * libio/fileops.c (_IO_new_file_close_it): Always flush when
59375         currently writing and seek to current position when not.
59376         * libio/Makefile (tests): Add bug-fclose1.
59377         * libio/bug-fclose1.c: New file.
59379 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
59381         [BZ #12511]
59382         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
59383         don't set DF_1_NODELETE here.
59384         (do_lookup_x): When entering new entry test for copy relocation
59385         and if necessary set DF_1_NODELETE flag.
59386         * elf/tst-unique4.cc: New file.
59387         * elf/tst-unique4.h: New file.
59388         * elf/tst-unique4lib.cc: New file.
59389         * elf/Makefile: Add rules to build and run tst-unique4.
59390         Patch by Piotr Bury <pbury@goahead.com>.
59392 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
59394         [BZ #12052]
59395         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
59397         [BZ #12625]
59398         * misc/mntent_r.c (addmntent): Flush the stream after the output
59400         [BZ #12393]
59401         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
59402         (is_trusted_path_normalize): Skip initial colon.  Append slash
59403         to empty buffer.  Duplicate is_trusted_path code but allow
59404         constructed patch to be prefix.
59405         (is_dst): Allow $ORIGIN followed by /.
59406         (_dl_dst_substitute): Correct clearing of check_for_trusted.
59407         Correct testing of result of is_trusted_path_normalize
59408         (decompose_rpath): Fix warning.
59410 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
59412         [BZ #11257]
59413         * grp/initgroups.c (internal_getgrouplist): When we found the service
59414         list through the initgroups entry in nsswitch.conf do not always
59415         continue on a successful lookup.  Don't always use the
59416         __nss_group_database value if it is set.
59417         * nss/nsswitch.conf (initgroups): Change action for successful db
59418         lookup to continue for compatibility.
59420 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
59422         [BZ #11532]
59423         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
59424         and CP774 modules.
59425         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
59426         and CP774 modules.
59427         * iconvdata/tst-tables.sh: Likewise.
59428         * iconvdata/cp770.c: New file.
59429         * iconvdata/cp771.c: New file.
59430         * iconvdata/cp772.c: New file.
59431         * iconvdata/cp773.c: New file.
59432         * iconvdata/cp774.c: New file.
59433         * iconvdata/testdata/CP770: New file.
59434         * iconvdata/testdata/CP770..UTF8: New file.
59435         * iconvdata/testdata/CP771: New file.
59436         * iconvdata/testdata/CP771..UTF8: New file.
59437         * iconvdata/testdata/CP772: New file.
59438         * iconvdata/testdata/CP772..UTF8: New file.
59439         * iconvdata/testdata/CP773: New file.
59440         * iconvdata/testdata/CP773..UTF8: New file.
59441         * iconvdata/testdata/CP774: New file.
59442         * iconvdata/testdata/CP774..UTF8: New file.
59444         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
59445         END CHARMAP line.
59446         * iconvdata/gen-8bit-gap.sh: Likewise.
59447         * iconvdata/gen-8bit.sh: Likewise.
59449         * locale/iso-639.def: Add ary entry.
59451         [BZ #11258]
59452         * locale/C-translit.h.in: Add U20A1 transliteration.
59454         [BZ #12178]
59455         * locale/iso-639.def: Add wae entry.
59456         Patch by Kevin Bortis <bortis@translate-wae.ch>.
59458         [BZ #12545]
59459         * locale/programs/localedef.c (construct_output_path): Use ssize_t
59460         for n.
59462         [BZ #12711]
59463         * locale/C-translit.h.in: Add entry for U20B9.
59464         Patch by pravin.d.s@gmail.com.
59466 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
59468         [BZ #12713]
59469         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
59470         ENAMETOOLONG use generic getcwd.
59471         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
59472         in rtld.  Use *stat64.
59473         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
59474         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
59475         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
59476         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
59477         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
59478         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
59479         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
59480         __fstatat64 macros.
59481         * include/dirent.h: Add libc_hidden_proto for rewinddir.
59482         * dirent/rewinddir.c: Add libc_hidden_def.
59483         * sysdeps/mach/hurd/rewinddir.c: Likewise.
59484         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
59486         * include/dirent.h (__alloc_dir): Add flags parameter.
59487         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
59488         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
59489         __alloc_dir.
59490         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
59491         from fdopendir if O_CLOEXEC is already set.
59493 2011-03-15  Alan Modra  <amodra@gmail.com>
59495         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
59496         l_tls_firstbyte_offset non-zero.  Save padding offset in
59497         l_tls_firstbyte_offset for later use.
59498         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
59499         freeing static tls block.
59501 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
59503         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
59504         where #ifdef was intended.  The intent is to prevent ARG_MAX from
59505         being defined by the kernel headers.
59507 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
59509         [BZ #12734]
59510         * resolv/resolv.h: Define RES_NOTLDQUERY.
59511         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
59512         no-tld-query and set RES_NOTLDQUERY.
59513         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
59514         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
59515         modern BIND to search name as TLD unless forbidden.
59517 2011-05-07  Petr Baudis  <pasky@suse.cz>
59518             Ulrich Drepper  <drepper@gmail.com>
59520         [BZ #12393]
59521         * elf/dl-load.c (fillin_rpath): Move trusted path check...
59522         (is_trusted_path): ...to here.
59523         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
59524         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
59525         using is_trusted_path_normalize() in setuid scripts.
59527 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
59529         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
59530         __BEGIN/__END_DECLS.
59532 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
59534         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
59535         NSS_STATUS_NOTFOUND if no record was found.
59537 2011-05-05  Andreas Schwab  <schwab@redhat.com>
59539         * sunrpc/Makefile (headers): Add rpc/netdb.h.
59540         (headers-not-in-tirpc): Remove rpc/netdb.h
59541         * resolv/netdb.h: Revert last change.
59543 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
59545         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
59546         circular dependency between libgcc.a and libc.a.
59548 2011-05-05  Andreas Schwab  <schwab@redhat.com>
59550         * resolv/netdb.h: Don't include <rpc/netdb.h>.
59551         * nis/Makefile: Don't install rpcsvc/*.
59552         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
59553         instead of <rpc/types.h>.
59554         (MAXHOSTNAMELEN): Define.
59556 2011-05-03  Andreas Schwab  <schwab@redhat.com>
59558         * elf/ldconfig.c (add_dir): Don't crash on empty path.
59560 2011-04-28  Maciej Babinski  <mbabinski@google.com>
59562         [BZ #12714]
59563         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
59564         gethostbyname4_r when IPv6 results are possible.
59566 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
59568         [BZ #12723]
59569         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
59570         _PC_PIPE_BUF handling.
59572 2011-04-30  Bruno Haible  <bruno@clisp.org>
59574         [BZ #12717]
59575         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
59576         * resolv/netdb.h (getnameinfo): Change type of flags parameter
59577         to 'int'.
59578         * inet/getnameinfo.c (getnameinfo): Likewise.
59580 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
59582         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
59583         to groups setting in database lookup.
59584         * nss/nsswitch.conf: Add initgroups entry.
59586 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
59588         [BZ #12685]
59589         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
59590         mode string.
59591         Patch by Eric Blake <eblake@redhat.com>.
59593 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
59595         * sunrpc/Makefile (need-export-routines): Add svc_run.
59596         (routines): Remove svc_run.
59597         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
59598         * sunrpc/clnt_perr.c (clnt_perrno): Export.
59599         * sunrpc/svc_run.c (svc_run): Likewise.
59600         * sunrpc/svc_udp.c (svcudp_create): Likewise.
59602 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
59604         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
59605         problem in reallocation in last patch.
59607 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
59609         * sunrpc/Makefile: Move inclusion of Rules.
59611 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
59613         * nss/nss_files/files-initgroups.c: New file.
59614         * nss/Makefile (libnss_files-routines): Add files-initgroups.
59615         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
59616         _nss_files_initgroups_dyn.
59618 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
59620         * elf/elf.h (R_ARM_IRELATIVE): Define.
59622 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
59624         * po/ru.po: Update from translation team.
59626 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
59628         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
59629         dependencies.
59631 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
59633         [BZ #12653]
59634         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
59635         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
59636         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
59637         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
59638         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
59640 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
59642         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
59643         differing bytes.
59644         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
59645         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
59646         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59648 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
59650         [BZ #12420]
59651         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
59652         storing it.
59653         * stdlib/bug-getcontext.c: New file.
59654         * stdlib/Makefile: Add rules to build and run bug-getcontext.
59656 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59658         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
59659         instructions into .machine "z9-109".
59660         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
59661         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
59663 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59665         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
59666         between environment variables and auxiliary vector.
59668 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
59670         * Makefile: Add rules to build linkobj/libc.so.
59671         * include/libc-symbols.h: Define libc_hidden_nolink.
59672         * include/rpc/auth.h: Mark functions which are to be hidden.
59673         * include/rpc/auth_des.h: Likewise.
59674         * include/rpc/auth_unix.h: Likewise.
59675         * include/rpc/clnt.h: Likewise.
59676         * include/rpc/des_crypt.h: Likewise.
59677         * include/rpc/key_prot.h: Likewise.
59678         * include/rpc/pmap_clnt.h: Likewise.
59679         * include/rpc/pmap_prot.h: Likewise.
59680         * include/rpc/pmap_rmt.h: Likewise.
59681         * include/rpc/rpc_msg.h: Likewise.
59682         * include/rpc/svc.h: Likewise.
59683         * include/rpc/svc_auth.h: Likewise.
59684         * include/rpc/xdr.h: Likewise.
59685         * nis/Makefile: Link all DSOs against linkobj/libc.so.
59686         * nss/Makefile: Likewise.
59687         * sunrpc/Makefile: Don't install headers.  Build library with normal
59688         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
59689         * sunrpc/auth_des.c: Hide exported symbols by default, export some
59690         for the compat linking library.  Remove use of INTDEF/INTUSE.
59691         * sunrpc/auth_none.c: Likewise.
59692         * sunrpc/auth_unix.c: Likewise.
59693         * sunrpc/authdes_prot.c: Likewise.
59694         * sunrpc/authuxprot.c: Likewise.
59695         * sunrpc/clnt_gen.c: Likewise.
59696         * sunrpc/clnt_perr.c: Likewise.
59697         * sunrpc/clnt_raw.c: Likewise.
59698         * sunrpc/clnt_simp.c: Likewise.
59699         * sunrpc/clnt_tcp.c: Likewise.
59700         * sunrpc/clnt_udp.c: Likewise.
59701         * sunrpc/clnt_unix.c: Likewise.
59702         * sunrpc/des_crypt.c: Likewise.
59703         * sunrpc/des_soft.c: Likewise.
59704         * sunrpc/get_myaddr.c: Likewise.
59705         * sunrpc/key_call.c: Likewise.
59706         * sunrpc/key_prot.c: Likewise.
59707         * sunrpc/netname.c: Likewise.
59708         * sunrpc/pm_getmaps.c: Likewise.
59709         * sunrpc/pm_getport.c: Likewise.
59710         * sunrpc/pmap_clnt.c: Likewise.
59711         * sunrpc/pmap_prot.c: Likewise.
59712         * sunrpc/pmap_prot2.c: Likewise.
59713         * sunrpc/pmap_rmt.c: Likewise.
59714         * sunrpc/publickey.c: Likewise.
59715         * sunrpc/rpc_cmsg.c: Likewise.
59716         * sunrpc/rpc_common.c: Likewise.
59717         * sunrpc/rpc_dtable.c: Likewise.
59718         * sunrpc/rpc_prot.c: Likewise.
59719         * sunrpc/rpc_thread.c: Likewise.
59720         * sunrpc/rtime.c: Likewise.
59721         * sunrpc/svc.c: Likewise.
59722         * sunrpc/svc_auth.c: Likewise.
59723         * sunrpc/svc_authux.c: Likewise.
59724         * sunrpc/svc_raw.c: Likewise.
59725         * sunrpc/svc_run.c: Likewise.
59726         * sunrpc/svc_simple.c: Likewise.
59727         * sunrpc/svc_tcp.c: Likewise.
59728         * sunrpc/svc_udp.c: Likewise.
59729         * sunrpc/svc_unix.c: Likewise.
59730         * sunrpc/svcauth_des.c: Likewise.
59731         * sunrpc/xcrypt.c: Likewise.
59732         * sunrpc/xdr.c: Likewise.
59733         * sunrpc/xdr_array.c: Likewise.
59734         * sunrpc/xdr_float.c: Likewise.
59735         * sunrpc/xdr_intXX_t.c: Likewise.
59736         * sunrpc/xdr_mem.c: Likewise.
59737         * sunrpc/xdr_rec.c: Likewise.
59738         * sunrpc/xdr_ref.c: Likewise.
59739         * sunrpc/xdr_sizeof.c: Likewise.
59740         * sunrpc/xdr_stdio.c: Likewise.
59742 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
59744         [BZ #12650]
59745         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
59746         * sysdeps/ia64/dl-tls.h: Likewise.
59747         * sysdeps/powerpc/dl-tls.h: Likewise.
59748         * sysdeps/s390/dl-tls.h: Likewise.
59749         * sysdeps/sh/dl-tls.h: Likewise.
59750         * sysdeps/sparc/dl-tls.h: Likewise.
59751         * sysdeps/x86_64/dl-tls.h: Likewise.
59752         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
59754 2011-03-14  Andreas Schwab  <schwab@redhat.com>
59756         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
59757         rpath element also skip the following colon.
59758         (expand_dynamic_string_token): Add is_path parameter and pass
59759         down to DL_DST_REQUIRED and _dl_dst_substitute.
59760         (decompose_rpath): Call expand_dynamic_string_token with
59761         non-zero is_path.  Ignore empty rpaths.
59762         (_dl_map_object_from_fd): Call expand_dynamic_string_token
59763         with zero is_path.
59765 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
59767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
59768         Make cancelable.
59770 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
59772         [BZ #12655]
59773         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
59774         Patch by Filipe David Manana <fdmanana@apache.org>.
59776 2011-04-07  Andreas Schwab  <schwab@redhat.com>
59778         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
59779         Maintain aligned stack.
59780         (CHECK_RSP): Remove unused macro.
59782 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
59784         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
59785         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
59787 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
59789         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
59791         * include/features.h: Mention __USE_XOPEN2K8 in comment.
59793 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
59795         [BZ #12518]
59796         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
59797         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
59798         * sysdeps/x86_64/memmove.c: New file.
59799         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
59800         (memcpy): Renamed to ...
59801         (__new_memcpy): This.
59802         (memcpy): Provide GLIBC_2_14 memcpy.
59803         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
59804         (memcpy): Provide GLIBC_2_2_5 memcpy.
59806 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
59808         [BZ #12631]
59809         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
59811 2011-03-30  Andreas Schwab  <schwab@redhat.com>
59813         * misc/syncfs.c: New file.
59814         * misc/Makefile (routines): Add syncfs.
59815         * posix/unistd.h: Declare syncfs.
59816         * sysdeps/unix/syscalls.list: Add syncfs.
59818 2011-04-01  Andreas Schwab  <schwab@redhat.com>
59820         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
59821         open_by_handle_at.
59822         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
59823         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59824         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59825         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59826         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59827         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
59828         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59830 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
59832         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
59833         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59834         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
59835         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59836         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59837         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59838         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59840         * io/Makefile: Compile fallocate.c, fallocate64.c, and
59841         sync_file_range.c with -fexceptions.
59842         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
59843         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
59844         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
59845         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
59846         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
59847         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
59848         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
59849         sync_file_range as cancellation point
59850         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
59851         now a wrapper around __call_sync_file_range with cancellation handling.
59852         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
59853         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
59854         function name to __call_sync_file_range.
59855         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
59856         Add call_sync_file_range.
59858 2011-04-01  Andreas Schwab  <schwab@redhat.com>
59860         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59861         bits/timex.h.
59863 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
59865         * iconv/iconv.h: Fix typo in comment.
59866         * io/fcntl.h: Likewise.
59867         * libio/stdio.h: Likewise.
59868         * posix/spawn.h: Likewise.
59869         * posix/unistd.h: Likewise.
59870         * stdlib/stdlib.h: Likewise.
59871         * time/time.h: Likewise.
59872         * wcsmbs/wchar.h: Likewise.
59874         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
59875         open_by_handle): Add.
59876         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
59877         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
59878         Augment a few comments.
59879         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59880         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59881         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59882         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59883         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59884         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
59885         open_by_handle.
59887         * io/fcntl.h (AT_EMPTY_PATH): Define.
59889 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
59891         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
59892         * sysdeps/unix/sysv/linux/bits/time.h: New file.
59893         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
59894         to...
59895         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
59896         * Versions.def: Add GLIBC_2.14.
59897         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
59898         Export.
59900 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
59902         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
59903         round counter.
59904         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
59906 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
59908         [BZ #12597]
59909         * string/test-strncmp.c (do_page_test): New function.
59910         (check2): Likewise.
59911         (test_main): Call check2.
59912         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
59914 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
59916         [BZ #12587]
59917         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
59918         Handle cache information in CPU leaf 4.
59919         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
59921 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
59923         [BZ #12583]
59924         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
59925         character representation.
59926         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
59928 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
59930         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
59931         END(__isnan) to END(__isnanf) to match function entry point/label
59932         EALIGN(__isnanf,...).
59934 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
59936         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
59938 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
59940         [BZ #12510]
59941         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
59942         copy from the symbol referenced in the relocation to initialize the
59943         used variable.
59944         Patch by Piotr Bury <pbury@goahead.com>.
59945         * elf/Makefile: Add rules to build and tst-unique3.
59946         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
59947         * elf/tst-unique3.cc: New file.
59948         * elf/tst-unique3.h: New file.
59949         * elf/tst-unique3lib.cc: New file.
59950         * elf/tst-unique3lib2.cc: New file.
59952         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
59954 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
59956         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
59957         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
59958         to _start.
59960 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
59962         * elf/dl-load.c (_dl_map_object): If we are looking for the first
59963         to-be-loaded object along a path to loader is ld.so.
59965 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
59966             Ulrich Drepper  <drepper@gmail.com>
59968         * sysdeps/x86_64/memset.S: After aligning destination, code
59969         branches to different locations depending on the value of
59970         misalignment, when multiarch is enabled. Fix this.
59972 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
59974         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
59975         Set _x86_64_preferred_memory_instruction for AMD processsors.
59976         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59977         Set bit_Prefer_SSE_for_memop for AMD processors.
59979 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
59981         * libio/fmemopen.c (fmemopen): Optimize a bit.
59983 2011-03-03  Andreas Schwab  <schwab@redhat.com>
59985         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
59987 2011-03-03  Roland McGrath  <roland@redhat.com>
59989         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
59991 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
59993         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
59994         __bzero_ultra1 instead of __memset_ultra1.
59996 2011-02-23  Andreas Schwab  <schwab@redhat.com>
59997             Ulrich Drepper  <drepper@gmail.com>
59999         [BZ #12509]
60000         * include/link.h (struct link_map): Add l_orig_initfini.
60001         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
60002         returning unsuccessfully.
60003         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
60004         close of a file loaded at startup, restore the original l_initfini
60005         list.
60006         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
60007         list, store the pointer.
60008         * elf/Makefile ($(objpfx)noload-mem): New rule.
60009         (noload-ENV): Define.
60010         (tests): Add $(objpfx)noload-mem.
60011         * elf/noload.c: Include <memcheck.h>.
60012         (main): Call mtrace.  Close all opened handles.
60014 2011-02-17  Andreas Schwab  <schwab@redhat.com>
60016         [BZ #12454]
60017         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
60018         dependencies are missing.
60020 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60022         Fix __if_freereq crash: Unlike the generic version which uses free,
60023         Hurd needs munmap.
60024         * sysdeps/mach/hurd/ifreq.h: New file.
60026 2011-01-27  Petr Baudis  <pasky@suse.cz>
60027             Ulrich Drepper  <drepper@gmail.com>
60029         [BZ 12445]#
60030         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
60031         to extend_alloca().
60032         * stdio-common/bug23.c: New file.
60033         * stdio-common/Makefile (tests): Add bug23.
60035 2010-09-28  Andreas Schwab  <schwab@redhat.com>
60036             Ulrich Drepper  <drepper@gmail.com>
60038         [BZ #12489]
60039         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
60040         before performing relro protection.  At old place add assertion
60041         to make sure nothing changed.
60043 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
60044             Glauber de Oliveira Costa  <glommer@gmail.com>
60046         * elf/elf.h: Add new ARM TLS relocs.
60048 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
60050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
60051         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
60052         cast from r3.
60053         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
60054         'tests' variable.
60055         * sysdeps/wordsize-64/tst-writev.c: New file.
60057 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
60059         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
60060         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
60061         insns in _dl_start to prevent a TOC reference before relocs are
60062         resolved.
60064 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
60066         [BZ #12469]
60067         * Makeconfig: Remove RANLIB definition.
60068         * Makerules: Don't use RANLIB.
60069         * aclocal.m4: Remove ranlib test.
60070         * configure.in: No need to check for ranlib.
60071         * elf/rtld-Rules: Don't use RANLIB.
60073 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60075         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
60076         protection macro.
60077         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
60078         inclusion protection macro.
60080         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
60081         SIGRTMIN and SIGRTMAX and print information in that case only when
60082         SIGRTMIN is defined.
60084 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
60086         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
60087         arginfo fn returning -1.
60089         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
60090         and thousands string is zero terminated.
60092 2011-02-03  Andreas Schwab  <schwab@redhat.com>
60094         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
60095         sysdeps/unix/sysv/linux/bits/socket.h.
60097 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60099         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
60100         (__CPU_COUNT): Remove old macros.
60101         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
60102         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
60103         (__CPU_ALLOC, __CPU_FREE): Add macros.
60104         (__sched_cpualloc, __sched_cpufree): Add declarations.
60106 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
60108         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
60109         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
60110         * nscd/aicache.c (addhstaiX): Return timeout of added value.
60111         (readdhstai): Return value of addhstaiX call.
60112         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
60113         (addgrbyX): Return value returned by cache_addgr.
60114         (readdgrbyname): Return value returned by addgrbyX.
60115         (readdgrbygid): Likewise.
60116         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
60117         (addpwbyX): Return value returned by cache_addpw.
60118         (readdpwbyname): Return value returned by addhstbyX.
60119         (readdpwbyuid): Likewise.
60120         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
60121         (addservbyX): Return value returned by cache_addserv.
60122         (readdservbyname): Return value returned by addservbyX:
60123         (readdservbyport): Likewise.
60124         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
60125         (addhstbyX): Return value returned by cache_addhst.
60126         (readdhstbyname): Return value returned by addhstbyX.
60127         (readdhstbyaddr): Likewise.
60128         (readdhstbynamev6): Likewise.
60129         (readdhstbyaddrv6): Likewise.
60130         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
60131         (readdinitgroups): Return value returned by addinitgroupsX.
60132         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
60133         (prune_cache): Keep track of timeout value of re-added entries.
60134         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
60135         * nscd/nscd.h: Adjust prototypes of readd* functions.
60137 2011-02-04  Roland McGrath  <roland@redhat.com>
60139         * nis/nis_server.c (nis_servstate): Use the right name for 0.
60140         (nis_stats): Likewise.
60141         * nis/nis_modify.c (nis_modify): Likewise.
60142         * nis/nis_remove.c (nis_remove): Likewise.
60143         * nis/nis_add.c (nis_add): Likewise.
60145         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
60147         * posix/fnmatch_loop.c: Add some consts.
60149         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
60151 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
60153         [BZ #12460]
60154         * config.make.in (config-cflags-novzeroupper): Define.
60155         * configure.in: Substitute libc_cv_cc_novzeroupper.
60156         * elf/Makefile (AVX-CFLAGS): Define.
60157         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
60158         (CFLAGS-tst-auditmod4a.c): Likewise.
60159         (CFLAGS-tst-auditmod4b.c): Likewise.
60160         (CFLAGS-tst-auditmod6b.c): Likewise.
60161         (CFLAGS-tst-auditmod6c.c): Likewise.
60162         (CFLAGS-tst-auditmod7b.c): Likewise.
60163         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
60165 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
60167         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
60168         function to the callback.
60169         Patch partly by Jiri Olsa <jolsa@redhat.com>.
60171 2011-02-02  Andreas Schwab  <schwab@redhat.com>
60173         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
60174         of errno.
60176 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
60178         [BZ #11724]
60179         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
60180         of constructors.
60181         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
60182         of destructors.
60183         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
60185         [BZ #11724]
60186         * elf/Makefile: Add rules to build and run new test.
60187         * elf/tst-initorder.c: New file.
60188         * elf/tst-initorder.exp: New file.
60189         * elf/tst-initordera1.c: New file.
60190         * elf/tst-initordera2.c: New file.
60191         * elf/tst-initordera3.c: New file.
60192         * elf/tst-initordera4.c: New file.
60193         * elf/tst-initorderb1.c: New file.
60194         * elf/tst-initorderb2.c: New file.
60195         * elf/tst-order-a1.c: New file.
60196         * elf/tst-order-a2.c: New file.
60197         * elf/tst-order-a3.c: New file.
60198         * elf/tst-order-a4.c: New file.
60199         * elf/tst-order-b1.c: New file.
60200         * elf/tst-order-b2.c: New file.
60201         * elf/tst-order-main.c: New file.
60202         New test case by George Gensure <werkt0@gmail.com>.
60204 2010-10-01  Andreas Schwab  <schwab@redhat.com>
60206         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60207         decoding ACE if AI_CANONIDN.
60209 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
60211         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
60213 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
60215         * version.h (RELEASE): Bump for 2.13 release.
60216         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
60218         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
60220         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
60221         MADV_NOHUGEPAGE.
60222         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
60223         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
60224         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
60225         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
60226         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
60227         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
60229         * posix/getconf.c: Update copyright year.
60230         * catgets/gencat.c: Likewise.
60231         * csu/version.c: Likewise.
60232         * debug/catchsegv.sh: Likewise.
60233         * debug/xtrace.sh: Likewise.
60234         * elf/ldconfig.c: Likewise.
60235         * elf/ldd.bash.in: Likewise.
60236         * elf/sprof.c (print_version): Likewise.
60237         * iconv/iconv_prog.c: Likewise.
60238         * iconv/iconvconfig.c: Likewise.
60239         * locale/programs/locale.c: Likewise.
60240         * locale/programs/localedef.c: Likewise.
60241         * malloc/memusage.sh: Likewise.
60242         * malloc/mtrace.pl: Likewise.
60243         * nscd/nscd.c (print_version): Likewise.
60244         * nss/getent.c: Likewise.
60246         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
60247         PF_CAIF, and PF_ALG.
60248         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60250 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
60252         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
60253         (modules-names): Use them.
60254         (ifunc-test-modules, ifunc-pie-tests): Define.
60255         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
60256         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
60257         (test-extras): Likewise.
60258         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
60259         $(compile-command.c).
60260         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
60261         (all-built-dso): Define.
60262         (check-textrel.out, check-execstack.out): Depend on it.
60264         * configure.in: Don't override --enable-multi-arch.
60266 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
60268         [BZ #6812]
60269         * nscd/hstcache.c (tryagain): Define.
60270         (cache_addhst): Return tryagain not notfound for temporary errors.
60271         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
60272         failed.
60274 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
60276         [BZ #10563]
60277         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
60278         to make the syscall.
60279         * sysdeps/unix/sysv/linux/setgroups.c: New file.
60281         [BZ #12378]
60282         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
60283         and fall back to matching as normal character if the string ends before
60284         the matching ']' is found.  This is what POSIX requires.
60285         * posix/testfnm.c: Adjust test result.
60286         * posix/globtest.sh: Adjust test result.  Add new test.
60287         * posix/tst-fnmatch.input: Likewise.
60288         * posix/tst-fnmatch2.c: Add new test.
60290 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
60292         * elf/Makefile (check-execstack): Revert last change.  Depend on
60293         check-execstack.h.
60294         (check-execstack.h): New target.
60295         (generated): Add check-execstack.h.
60296         * elf/check-execstack.c: Include "check-execstack.h".
60297         (main): Revert last change.
60298         (handle_file): Return zero if GNU_STACK is absent and
60299         DEFAULT_STACK_PERMS doesn't include PF_X.
60301 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
60303         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
60304         in child fails because the descriptor is already closed.
60305         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
60306         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
60307         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
60309         [BZ #12397]
60310         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
60311         syscall.
60313         [BZ #10484]
60314         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
60315         temporary buffer used to handle multi lookups locally.
60316         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
60318 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
60320         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
60321         loader is ld.so.
60323 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
60325         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
60326         alignment for SSE2.
60328 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
60330         [BZ #12394]
60331         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
60332         characters.  When rounding increased number of integer digits recompute
60333         number of groups.
60334         * stdio-common/tst-grouping.c: New file.
60335         * stdio-common/Makefile: Add rules to build and run tst-grouping.
60337 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
60339         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
60340         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
60342         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
60343         void.
60344         * bits/select.h: Likewise.
60346 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
60348         * po/ja.po: Update from translation team.
60350 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
60352         [BZ #11155]
60353         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
60354         implementation just like for lxstat, fxstatat, et al.
60356 2010-12-27  Jim Meyering  <meyering@redhat.com>
60358         [BZ #12348]
60359         * posix/regexec.c (build_trtable): Return failure indication upon
60360         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
60362 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
60364         [BZ #12201]
60365         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
60366         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
60367         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
60368         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
60370         [BZ #12207]
60371         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
60373         [BZ #12204]
60374         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
60375         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
60377 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
60379         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
60380         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
60381         script has SORT_BY_INIT_PRIORITY.
60382         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
60383         NO_CTORS_DTORS_SECTIONS is defined.
60384         * elf/soinit.c: Likewise.
60385         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
60386         NO_CTORS_DTORS_SECTIONS is defined.
60387         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
60388         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
60389         * sysdeps/sh/init-first.c: Likewise.
60390         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
60392 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
60394         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
60395         always use the slow path.
60397 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
60399         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
60400         similar rule which adds the sysdep directories to the header search in
60401         order to pick up the correct platform stackinfo.h.
60402         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
60403         perform test if it is, otherwise return successfully without testing.
60404         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
60405         DEFAULT_STACK_PERMS define in stackinfo.h.
60406         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
60407         defined in stackinfo.h.
60408         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
60409         DEFAULT_STACK_PERMS defined in stackinfo.h.
60410         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
60411         * sysdeps/ia64/stackinfo.h: Likewise.
60412         * sysdeps/s390/stackinfo.h: Likewise.
60413         * sysdeps/sh/stackinfo.h: Likewise.
60414         * sysdeps/sparc/stackinfo.h: Likewise.
60415         * sysdeps/x86_64/stackinfo.h: Likewise.
60416         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
60417         PF_X for powerpc64.  Retain PF_X for powerpc32.
60419 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
60421         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
60422         accurately.
60423         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
60424         GETDENTS_64BIT_ALIGNED.
60426 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
60428         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
60430 2010-12-10  Andreas Schwab  <schwab@redhat.com>
60432         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
60433         _GNU_SOURCE.
60435         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
60436         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
60437         Remove __restrict.
60438         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
60439         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
60441 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
60443         [BZ #11655]
60444         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
60445         are initialized.
60447 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
60449         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
60451 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
60453         * po/it.po: Update from translation team.
60455 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
60457         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
60458         unused codes.
60460 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
60462         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
60464 2010-11-24  Andreas Schwab  <schwab@redhat.com>
60466         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
60467         specially.
60468         (gaih_getanswer_slice): Likewise.
60470 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
60472         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
60474 2010-05-31  Petr Baudis  <pasky@suse.cz>
60476         [BZ #11149]
60477         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
60478         silently even in the chroot mode.
60480 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
60482         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
60483         last patch a bit.  Pretty printing
60485 2010-05-31  Petr Baudis <pasky@suse.cz>
60487         [BZ #10085]
60488         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
60489         initialization of skip_initgroups_dyn.
60491 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
60493         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
60494         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
60496 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
60498         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
60500 2010-11-11  Andreas Schwab  <schwab@redhat.com>
60502         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
60503         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
60504         (tst-fnmatch-ENV): Set MALLOC_TRACE.
60505         ($(objpfx)tst-fnmatch-mem): New rule.
60506         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
60507         * posix/tst-fnmatch.c (main): Call mtrace.
60509 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
60511         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60512         Support Intel processor model 6 and model 0x2c.
60514 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
60516         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
60517           signed comparison.
60519 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
60521         [BZ #12205]
60522         * string/test-strncasecmp.c (check_result): New function.
60523         (do_one_test): Use it.
60524         (check1): New function.
60525         (test_main): Use it.
60526         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
60527         Support strcasecmp and strncasecmp.
60529 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
60531         [BZ #12194]
60532         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
60533         * sysdeps/x86_64/bits/byteswap.h: Likewise.
60535 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
60537         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
60538         IFUNC support.
60539         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60540         memset-x86-64.
60541         * sysdeps/x86_64/multiarch/bzero.S: New file.
60542         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
60543         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
60544         * sysdeps/x86_64/multiarch/memset.S: New file.
60545         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
60546         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60547         Set bit_Prefer_SSE_for_memop for Intel processors.
60548         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
60549         Define.
60550         (index_Prefer_SSE_for_memop): Define.
60551         (HAS_PREFER_SSE_FOR_MEMOP): Define.
60553 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
60555         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
60556         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
60558 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
60560         [BZ #12191]
60561         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
60562         (__x86_64_raw_data_cache_size_half): Likewise.
60563         (__x86_64_raw_shared_cache_size): Likewise.
60564         (__x86_64_raw_shared_cache_size_half): Likewise.
60566         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
60567         (__x86_64_raw_data_cache_size_half): Likewise.
60568         (__x86_64_raw_shared_cache_size): Likewise.
60569         (__x86_64_raw_shared_cache_size_half): Likewise.
60570         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
60571         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
60572         and __x86_64_raw_shared_cache_size_half.  Round
60573         __x86_64_data_cache_size_half, __x86_64_data_cache_size
60574         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
60575         to multiple of 256 bytes.
60577 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
60579         [BZ #12167]
60580         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
60581         of inacessible symlinks.  Verify result of symlink before returning it.
60582         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
60583         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
60585 2010-10-28  Erich Ritz  <erichritz@gmail.com>
60587         * math/math.h (isinf): Fix typo in comment.
60589 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
60591         * po/da.po: Update from translation team.
60593 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
60595         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
60596         is added to the list.
60598 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60599             Ulrich Drepper  <drepper@gmail.com>
60601         * elf/dl-object.c (_dl_new_object): Don't append the new object to
60602         the global list here.  Move code to...
60603         (_dl_add_to_namespace_list): ...here.  New function.
60604         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
60605         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
60606         * elf/dl-load.c (lose): Don't remove the element from the list.
60607         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
60608         (_dl_map_object): Likewise.
60610 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
60612         [BZ #12159]
60613         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
60614         into all bytes of SSE register.
60615         Patch by Richard Li <richardpku@gmail.com>.
60617 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
60619         [BZ #12140]
60620         * malloc/malloc.c (_int_free): Fill correct number of bytes when
60621         perturbing.
60623 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
60625         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
60626         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
60627         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
60628         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
60629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
60630         submachine.
60631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
60633 2010-10-22  Andreas Schwab  <schwab@redhat.com>
60635         * include/dlfcn.h (__RTLD_SECURE): Define.
60636         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
60637         mode & __RTLD_SECURE instead.
60638         (open_path): Rename preloaded parameter to secure.
60639         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
60640         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
60641         * elf/dl-deps.c (openaux): Likewise.
60642         * elf/rtld.c (struct map_args): Remove is_preloaded.
60643         (map_doit): Don't use it.
60644         (dl_main): Likewise.
60645         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
60646         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
60648 2010-09-09  Andreas Schwab  <schwab@redhat.com>
60650         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
60651         (sysd-rules-targets): Remove duplicates.
60652         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
60653         rtld-%.$o dependency.
60655 2010-10-18  Andreas Schwab  <schwab@redhat.com>
60657         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
60658         _dl_map_object do it.
60660 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
60662         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
60663         fast fma builtins, define the macros in the C99 standard.
60664         (FP_FAST_FMAF): Likewise.
60665         (FP_FAST_FMAL): Likewise.
60666         * sysdeps/x86_64/bits/mathdef.h: Likewise.
60668         * bits/mathdef.h: Update copyright year.
60669         * sysdeps/powerpc/bits/mathdef.h: Likewise.
60671 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
60673         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
60674         builtins, define the macros in the C99 standard.
60675         (FP_FAST_FMAF): Likewise.
60676         (FP_FAST_FMAL): Likewise.
60677         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
60678         multiply/add.
60679         (FP_FAST_FMAF): Likewise.
60681 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
60683         [BZ #3268]
60684         * math/libm-test.inc (fma_test): Some new testcases.
60685         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
60686         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
60687         y and infinite z.  Do multiplication by C already in long double.
60688         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
60689         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
60690         y and infinite z.  Do bitwise or of inexact bit into u.d.
60691         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
60692         * sysdeps/i386/fpu/s_fmaf.S: Removed.
60693         * sysdeps/i386/fpu/s_fma.S: Removed.
60694         * sysdeps/i386/fpu/s_fmal.S: Removed.
60696 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
60698         [BZ #3268]
60699         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
60700         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
60701         computation is not scheduled after fetestexcept.  Fix value
60702         of minimum denormal long double.
60704 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
60706         [BZ #3268]
60707         * math/libm-test.inc (fma_test): Add some more tests.
60708         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
60709         correctly.
60711 2010-10-15  Andreas Schwab  <schwab@redhat.com>
60713         * scripts/data/localplt-s390-linux-gnu.data: New file.
60714         * scripts/data/localplt-s390x-linux-gnu.data: New file.
60716 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
60718         [BZ #3268]
60719         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
60720         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
60721         instead of dbl-64.
60722         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
60723         inlines.
60724         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
60725         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
60726         if one of x and y is very large and the other is subnormal.
60727         * sysdeps/s390/fpu/s_fmaf.c: New file.
60728         * sysdeps/s390/fpu/s_fma.c: New file.
60729         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
60730         * sysdeps/powerpc/fpu/s_fma.S: New file.
60731         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
60732         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
60733         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
60735 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
60737         [BZ #3268]
60738         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
60739         fma tests.
60740         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
60741         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
60742         * sysdeps/i386/i686/multiarch/s_fma.c: Include
60743         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
60744         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
60745         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
60746         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
60748 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
60750         [BZ #12078]
60751         * posix/regcomp.c (parse_branch): One more memory leak plugged.
60752         * posix/bug-regex31.input: Add test case.
60754 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
60756         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
60757         * posix/bug-regex31.input: New file.
60759         [BZ #12078]
60760         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
60761         (parse_sub_exp): Fix last change, use postorder.
60763         * posix/bug-regex31.c: New file.
60764         * posix/Makefile: Add rules to build and run bug-regex31.
60766         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
60768         [BZ #12078]
60769         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
60771         [BZ #12108]
60772         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
60773         to have entries in sys_siglist.
60775         [BZ #12093]
60776         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
60777         be NULL.
60779 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
60781         [BZ #3268]
60782         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
60783         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
60784         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
60785         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
60786         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
60787         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
60788         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
60789         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
60790         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
60791         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
60792         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
60793         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
60794         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
60795         * math/ftestexcept.c (fetestexcept): Likewise.
60796         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
60797         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
60798         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
60799         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
60800         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
60801         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
60802         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
60804 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
60806         [BZ #12107]
60807         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
60808         newline.
60810 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
60812         * string/bug-strstr1.c: New file.
60813         * string/Makefile: Add rules to build and run bug-strstr1.
60815 2010-10-05  Eric Blake  <eblake@redhat.com>
60817         [BZ #12092]
60818         * string/str-two-way.h (two_way_long_needle): Always clear memory
60819         when skipping input due to the shift table.
60821 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
60823         [BZ #12005]
60824         * malloc/mcheck.c: Handle large requests.
60826         [BZ #12077]
60827         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
60828         for strncmp and strncasecmp.
60829         * string/stratcliff.c: Add tests for strcmp and strncmp.
60830         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
60832 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60834         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
60835         __set_fpscr.
60837 2010-09-30  Andreas Jaeger  <aj@suse.de>
60839         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
60840         (CGROUP_SUPER_MAGIC): Define.
60841         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60842         Handle btrfs and cgroup file systems.
60843         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
60844         Likewise.
60846 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
60848         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
60849         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
60851 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60853         [BZ #12067]
60854         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
60855         trying to locate the ELF header.
60857 2010-09-27  Andreas Schwab  <schwab@redhat.com>
60859         [BZ #11611]
60860         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
60861         Mask out sign-bit copies when constructing f_fsid.
60863 2010-09-24  Petr Baudis <pasky@suse.cz>
60865         * debug/stack_chk_fail_local.c: Add missing licence exception.
60866         * debug/warning-nop.c: Likewise.
60868 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
60870         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
60871         implementing getdents64 using getdents syscall, set d_type if
60872         __ASSUME_GETDENTS32_D_TYPE.
60874 2010-09-16  Andreas Schwab  <schwab@redhat.com>
60876         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
60877         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
60879 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
60881         [BZ #12037]
60882         * posix/unistd.h: Undo change of feature selection for ftruncate from
60883         2010-01-11.
60885 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
60887         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
60888         detection.
60890 2010-09-20  Andreas Schwab  <schwab@redhat.com>
60892         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
60893         fanotify_mark.
60894         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
60896 2010-09-14  Andreas Schwab  <schwab@redhat.com>
60898         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
60899         variables after CHECK_SP call.
60900         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
60902 2010-09-13  Andreas Schwab  <schwab@redhat.com>
60903             Ulrich Drepper  <drepper@redhat.com>
60905         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
60906         re-relocationg ld.so.
60907         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
60908         _dl_init_paths call.
60909         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
60910         here anymore.
60912 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
60914         * resolv/res_init.c (__res_vinit): Count the default server we added.
60916 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
60917             Ulrich Drepper  <drepper@redhat.com>
60919         [BZ #11968]
60920         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
60921         (____longjmp_chk): Use %ebx for saving value across system call.
60922         Add unwind info.
60924 2010-09-06  Andreas Schwab  <schwab@redhat.com>
60926         * manual/Makefile: Don't mix pattern rules with normal rules.
60928 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
60930         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
60931         operation.
60932         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
60933         * libio/iofopncook.c (_IO_cookie_init): Likewise.
60934         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
60935         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
60936         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60937         Likewise.
60939 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
60941         [BZ #11979]
60942         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
60943         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
60945 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
60947         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
60948         * sysdeps/x86_64/addmul_1.S: Likewise.
60949         * sysdeps/x86_64/lshift.S: Likewise.
60950         * sysdeps/x86_64/mul_1.S: Likewise.
60951         * sysdeps/x86_64/rshift.S: Likewise.
60952         * sysdeps/x86_64/sub_n.S: Likewise.
60953         * sysdeps/x86_64/submul_1.S: Likewise.
60955 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60957         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
60958         Define __sched_param instead of SCHED_* and sched_param when
60959         <bits/sched.h> is included with __need_schedparam defined.
60960         * bits/sched.h [__need_schedparam]
60961         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
60962         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
60963         (__defined_schedparam): Define to 1.
60964         (__sched_param): New structure, identical to sched_param.
60965         (__need_schedparam): Undefine.
60967 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
60969         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
60970         (epoll_create1): Declare.
60972         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
60974 2010-08-31  Andreas Schwab  <schwab@redhat.com>
60976         [BZ #7066]
60977         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
60978         shifting retval into place.
60980 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
60982         * nis/rpcsvc/nis.h: Update copyright notice.
60983         * nis/rpcsvc/nis.x: Likewise.
60984         * nis/rpcsvc/nis_callback.h: Likewise.
60985         * nis/rpcsvc/nis_callback.x: Likewise.
60986         * nis/rpcsvc/nis_object.x: Likewise.
60987         * nis/rpcsvc/nis_tags.h: Likewise.
60988         * nis/rpcsvc/yp.h: Likewise.
60989         * nis/rpcsvc/yp.x: Likewise.
60990         * nis/rpcsvc/ypupd.h: Likewise.
60991         * nis/yp_xdr.c: Likewise.
60992         * nis/ypupdate_xdr.c: Likewise.
60994         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
60995         mainly the body of pmap_getport.  Add parameters to specify timeouts.
60996         (pmap_getport): Use __libc_rpc_getport.
60997         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
60998         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
60999         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
61001 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
61003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
61004         fanotify_mark.
61006 2010-08-27  Roland McGrath  <roland@redhat.com>
61008         * sysdeps/i386/i686/multiarch/Makefile
61009         (CFLAGS-varshift.c): New variable.
61011 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
61013         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
61014         * sysdeps/i386/i686/multiarch/varshift.c: New file.
61016         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
61018         * sysdeps/x86_64/strlen.S: Minimal code improvement.
61020 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
61022         * sysdeps/x86_64/strlen.S: Unroll the loop.
61023         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61024         strlen-sse2 strlen-sse2-bsf.
61025         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
61026         __strlen_no_bsf if bit_Slow_BSF is set.
61027         (__strlen_sse42): Removed.
61028         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
61029         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
61031 2010-08-25  Roland McGrath  <roland@redhat.com>
61033         * sysdeps/x86_64/multiarch/varshift.S: File removed.
61034         * sysdeps/x86_64/multiarch/varshift.c: New file.
61035         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
61036         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
61037         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
61038         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
61040 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
61042         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61043         strlen-sse2 strlen-sse2-bsf.
61044         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
61045         __strlen_sse2_bsf if bit_Slow_BSF is unset.
61046         (__strlen_sse2): Removed.
61047         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
61048         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
61049         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
61050         bit_Slow_BSF for Atom.
61051         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
61052         (index_Slow_BSF): Define.
61053         (HAS_SLOW_BSF): Define.
61055 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
61057         [BZ #10851]
61058         * resolv/res_init.c (__res_vinit): When no server address at all
61059         is given default to loopback.
61061 2010-08-24  Roland McGrath  <roland@redhat.com>
61063         * configure.in: Remove config-name.h generation.
61064         * configure: Regenerated.
61065         * config-name.in: File removed.
61066         * scripts/config-uname.sh: New file.
61067         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
61068         ($(objdir)config-name.h): New target.
61070         * sunrpc/rpc_parse.h: Avoid nested comment.
61072 2010-08-24  Richard Henderson  <rth@redhat.com>
61073             Ulrich Drepper  <drepper@redhat.com>
61074             H.J. Lu  <hongjiu.lu@intel.com>
61076         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
61077         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
61078         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
61079         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
61080         _mm_alignr_epi8 with _mm_loadu_si128.
61081         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
61082         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
61083         (__m128i_shift_right): Removed.
61084         * sysdeps/i386/i686/multiarch/varshift.h: New file.
61085         * sysdeps/i386/i686/multiarch/varshift.S: New file.
61086         * sysdeps/x86_64/multiarch/varshift.h: New file.
61087         * sysdeps/x86_64/multiarch/varshift.S: New file.
61089 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
61091         * configure.in: Move assembler checks to before sysdep dir checking.
61093 2010-08-20  Petr Baudis  <pasky@suse.cz>
61095         * LICENSES: Sync the sunrpc license.
61097 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
61099         * sunrpc/auth_des.c: Update copyright notice once again.
61100         * sunrpc/auth_none.c: Likewise.
61101         * sunrpc/auth_unix.c: Likewise.
61102         * sunrpc/authdes_prot.c: Likewise.
61103         * sunrpc/authuxprot.c: Likewise.
61104         * sunrpc/bindrsvprt.c: Likewise.
61105         * sunrpc/clnt_gen.c: Likewise.
61106         * sunrpc/clnt_perr.c: Likewise.
61107         * sunrpc/clnt_raw.c: Likewise.
61108         * sunrpc/clnt_simp.c: Likewise.
61109         * sunrpc/clnt_tcp.c: Likewise.
61110         * sunrpc/clnt_udp.c: Likewise.
61111         * sunrpc/clnt_unix.c: Likewise.
61112         * sunrpc/des_crypt.c: Likewise.
61113         * sunrpc/des_soft.c: Likewise.
61114         * sunrpc/get_myaddr.c: Likewise.
61115         * sunrpc/getrpcport.c: Likewise.
61116         * sunrpc/key_call.c: Likewise.
61117         * sunrpc/key_prot.c: Likewise.
61118         * sunrpc/openchild.c: Likewise.
61119         * sunrpc/pm_getmaps.c: Likewise.
61120         * sunrpc/pm_getport.c: Likewise.
61121         * sunrpc/pmap_clnt.c: Likewise.
61122         * sunrpc/pmap_prot.c: Likewise.
61123         * sunrpc/pmap_prot2.c: Likewise.
61124         * sunrpc/pmap_rmt.c: Likewise.
61125         * sunrpc/rpc/auth.h: Likewise.
61126         * sunrpc/rpc/auth_unix.h: Likewise.
61127         * sunrpc/rpc/clnt.h: Likewise.
61128         * sunrpc/rpc/des_crypt.h: Likewise.
61129         * sunrpc/rpc/key_prot.h: Likewise.
61130         * sunrpc/rpc/netdb.h: Likewise.
61131         * sunrpc/rpc/pmap_clnt.h: Likewise.
61132         * sunrpc/rpc/pmap_prot.h: Likewise.
61133         * sunrpc/rpc/pmap_rmt.h: Likewise.
61134         * sunrpc/rpc/rpc.h: Likewise.
61135         * sunrpc/rpc/rpc_des.h: Likewise.
61136         * sunrpc/rpc/rpc_msg.h: Likewise.
61137         * sunrpc/rpc/svc.h: Likewise.
61138         * sunrpc/rpc/svc_auth.h: Likewise.
61139         * sunrpc/rpc/types.h: Likewise.
61140         * sunrpc/rpc/xdr.h: Likewise.
61141         * sunrpc/rpc_clntout.c: Likewise.
61142         * sunrpc/rpc_cmsg.c: Likewise.
61143         * sunrpc/rpc_common.c: Likewise.
61144         * sunrpc/rpc_cout.c: Likewise.
61145         * sunrpc/rpc_dtable.c: Likewise.
61146         * sunrpc/rpc_hout.c: Likewise.
61147         * sunrpc/rpc_main.c: Likewise.
61148         * sunrpc/rpc_parse.c: Likewise.
61149         * sunrpc/rpc_parse.h: Likewise.
61150         * sunrpc/rpc_prot.c: Likewise.
61151         * sunrpc/rpc_sample.c: Likewise.
61152         * sunrpc/rpc_scan.c: Likewise.
61153         * sunrpc/rpc_scan.h: Likewise.
61154         * sunrpc/rpc_svcout.c: Likewise.
61155         * sunrpc/rpc_tblout.c: Likewise.
61156         * sunrpc/rpc_util.c: Likewise.
61157         * sunrpc/rpc_util.h: Likewise.
61158         * sunrpc/rpcinfo.c: Likewise.
61159         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
61160         * sunrpc/rpcsvc/key_prot.x: Likewise.
61161         * sunrpc/rpcsvc/klm_prot.x: Likewise.
61162         * sunrpc/rpcsvc/mount.x: Likewise.
61163         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
61164         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
61165         * sunrpc/rpcsvc/rex.x: Likewise.
61166         * sunrpc/rpcsvc/rstat.x: Likewise.
61167         * sunrpc/rpcsvc/rusers.x: Likewise.
61168         * sunrpc/rpcsvc/sm_inter.x: Likewise.
61169         * sunrpc/rpcsvc/spray.x: Likewise.
61170         * sunrpc/rpcsvc/yppasswd.x: Likewise.
61171         * sunrpc/rtime.c: Likewise.
61172         * sunrpc/svc.c: Likewise.
61173         * sunrpc/svc_auth.c: Likewise.
61174         * sunrpc/svc_authux.c: Likewise.
61175         * sunrpc/svc_raw.c: Likewise.
61176         * sunrpc/svc_run.c: Likewise.
61177         * sunrpc/svc_simple.c: Likewise.
61178         * sunrpc/svc_tcp.c: Likewise.
61179         * sunrpc/svc_udp.c: Likewise.
61180         * sunrpc/svc_unix.c: Likewise.
61181         * sunrpc/svcauth_des.c: Likewise.
61182         * sunrpc/xcrypt.c: Likewise.
61183         * sunrpc/xdr.c: Likewise.
61184         * sunrpc/xdr_array.c: Likewise.
61185         * sunrpc/xdr_float.c: Likewise.
61186         * sunrpc/xdr_mem.c: Likewise.
61187         * sunrpc/xdr_rec.c: Likewise.
61188         * sunrpc/xdr_ref.c: Likewise.
61189         * sunrpc/xdr_sizeof.c: Likewise.
61190         * sunrpc/xdr_stdio.c: Likewise.
61192         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
61193         handling.
61195 2010-08-19  Andreas Schwab  <schwab@redhat.com>
61197         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
61199 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
61201         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
61202         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
61203         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
61204         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
61205         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
61206         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
61207         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
61208         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
61209         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
61210         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
61211         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
61212         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
61213         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
61214         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
61216 2010-07-26  Anton Blanchard  <anton@samba.org>
61218         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
61219         * malloc/arena.c (heap_trim): Likewise.
61221 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
61223         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
61224         here.  Not...
61225         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
61226         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
61228 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
61230         * sysdeps/i386/elf/Makefile: New file.
61232 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
61234         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
61235         from fanotify_init.
61236         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
61237         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
61239 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
61241         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
61242         of strncasecmp_l.
61243         * sysdeps/multiarch/strcmp.S: Likewise.
61245 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
61247         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
61248         strncase_l-nonascii.
61249         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
61250         Add strncase_l-ssse3.
61251         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
61252         * sysdeps/x86_64/strcmp.S: Likewise.
61253         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
61254         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
61255         * sysdeps/x86_64/strncase.S: New file.
61256         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
61257         * sysdeps/x86_64/strncase_l.S: New file.
61258         * string/Makefile (strop-tests): Add strncasecmp.
61259         * string/test-strncasecmp.c: New file.
61261         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
61262         warning.
61264         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
61265         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
61267 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
61269         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
61271 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
61273         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
61274         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
61275         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
61277 2010-05-01  Alan Modra  <amodra@gmail.com>
61279         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
61280         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
61281         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
61282         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
61283         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
61284         tidying.  Don't tail-call __sigjmp_save for static lib.
61285         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
61286         save location.
61287         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
61288         (CALL_MCOUNT): Add eh info, and nop after bl.
61289         (TAIL_CALL_SYSCALL_ERROR): New macro.
61290         (PSEUDO_RET): Use it.
61291         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
61292         Correct save location of integer regs and cr.
61293         (_dl_profile_resolve): Correct cr save location.  Delete nops
61294         after bl when SHARED.  Reduce cfi size a little by better
61295         placement of cfi directives.
61296         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
61297         make a stack frame.  Instead use parm save area as a temp.
61298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
61299         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
61300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
61301         Don't make a stack frame for parent, use parm save area.
61302         Increase child stack frame to 112 bytes.  Don't save unused reg,
61303         and adjust reg usage.  Set up cfi on error recovery and
61304         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
61305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
61306         (__makecontext): Add dummy nop after jump to exit.
61307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
61308         Use correct parm save area and cr save, reduce stack frame.
61309         Correct cfi for possible PSEUDO_RET frame setup.
61310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
61311         Branch to local label emitted by PSEUDO_RET rather than
61312         __syscall_error.
61314 2010-08-12  Andreas Schwab  <schwab@redhat.com>
61316         [BZ #11904]
61317         * locale/programs/locale.c (print_assignment): New function.
61318         (show_locale_vars): Use it.
61320 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
61322         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
61323         field.
61324         (struct statfs64): Likewise.
61325         (_STATFS_F_FLAGS): Define.
61326         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
61327         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61328         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
61329         (ST_VALID): Define locally.
61330         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
61331         __statvfs_getflags, use the provided value.
61332         * sysdeps/unix/sysv/linux/kernel-features.h: Define
61333         __ASSUME_STATFS_F_FLAGS.
61335         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
61337         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
61338         Add sys/fanotify.h.
61339         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
61340         fanotify_mask for GLIBC_2.13.
61341         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
61342         fanotify_init and fanotify_mark.
61343         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
61344         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
61346         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
61347         Add prlimit.
61348         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
61349         prlimit64 for GLIBC_2.13.
61350         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
61351         prlimit64.
61352         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
61353         syscall.
61354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
61355         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
61356         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
61357         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
61358         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
61359         add prlimit alias.
61360         * sysdeps/unix/sysv/linux/prlimit.c: New file.
61362         [BZ #11903]
61363         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
61364         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
61366         * nss/Makefile: Add rules to build and run tst-nss-test1.
61367         * shlib-versions: Add entry for libnss_test1.
61368         * nss/nss_test1.c: New file.
61369         * nss/tst-nss-test1.c: New file.
61371         * nss/nsswitch.c (__nss_database_custom): Define new variable.
61372         (__nss_configure_lookup): Set appropriate entry in
61373         __nss_configure_lookup to true.
61374         * nss/nsswitch.h: Define enum with indeces of databases in
61375         databases and __nss_database_custom arrays.  Declare
61376         __nss_database_custom.
61377         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
61378         to avoid using nscd when custom rules are installed.
61379         * nss/getXXbyYY_r.c: Likewise.
61380         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
61382         * nss/nss_files/files-parse.c: Whitespace fixes.
61384 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
61386         [BZ #11883]
61387         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
61388         * posix/fnmatch_loop.c: Likewise.
61390 2010-07-17  Andi Kleen  <ak@linux.intel.com>
61392         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
61393         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
61394         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
61395         * Versions.def [GLIBC_2.13]: Add.
61397 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
61399         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
61400         Also fail if tpwd after pwuid call is NULL.
61402 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61404         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
61405         when converting to ms.
61407 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61409         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
61410         EOPNOTSUPP errors with ENOTTY.
61411         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
61412         EOPNOTSUPP errors with ENOTTY.
61414 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
61416         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
61417         Add strcasecmp_l-ssse3.
61418         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
61419         strcasecmp.
61420         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
61421         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
61422         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
61424 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
61426         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
61428         * string/Makefile (strop-tests): Add strcasecmp.
61429         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
61430         strcasecmp_l-nonascii.
61431         (gen-as-const-headers): Add locale-defines.sym.
61432         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
61433         * sysdeps/x86_64/strcasecmp.S: New file.
61434         * sysdeps/x86_64/strcasecmp_l.S: New file.
61435         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
61436         * sysdeps/x86_64/locale-defines.sym: New file.
61437         * string/test-strcasecmp.c: New file.
61439         * string/test-strcasestr.c: Test both ends of the range of characters.
61440         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
61442 2010-07-29  Roland McGrath  <roland@redhat.com>
61444         [BZ #11856]
61445         * manual/locale.texi (Yes-or-No Questions): Fix example code.
61447 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
61449         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
61450         for ld.so.
61452 2010-07-27  Andreas Schwab  <schwab@redhat.com>
61454         * manual/memory.texi (Malloc Tunable Parameters): Document
61455         M_PERTURB.
61457 2010-07-26  Roland McGrath  <roland@redhat.com>
61459         [BZ #11840]
61460         * configure.in (-fgnu89-inline check): Set and substitute
61461         gnu89_inline, not libc_cv_gnu89_inline.
61462         * configure: Regenerated.
61463         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
61465 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
61467         * string/test-strnlen.c: New file.
61468         * string/Makefile (strop-tests): Add strnlen.
61469         * string/tester.c (test_strnlen): Add a few more test cases.
61470         * string/tst-strlen.c: Better error reporting.
61472         * sysdeps/x86_64/strnlen.S: New file.
61474 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
61476         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
61477         lower-latency instructions.
61479 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
61481         * string/test-strcasestr.c: New file.
61482         * string/test-strstr.c: New file.
61483         * string/Makefile (strop-tests): Add strstr and strcasestr.
61484         * string/str-two-way.h: Don't undefine MAX.
61485         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
61487 2010-07-21  Andreas Schwab  <schwab@redhat.com>
61489         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61490         strcasestr-nonascii.
61491         (CFLAGS-strcasestr-nonascii.c): Define.
61492         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
61493         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
61494         Remove unused attribute.
61496 2010-07-20  Roland McGrath  <roland@redhat.com>
61498         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
61499         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
61500         ld.so.cache was broken.  With it, there is no way to disable dsocaps
61501         like LD_HWCAP_MASK can disable hwcaps.
61503 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
61505         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
61507 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
61509         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
61510         call in strcasestr.
61511         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
61512         __strcasestr_sse42_nonascii.
61513         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
61514         strcasestr-nonascii.c.
61515         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
61517 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
61519         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
61520         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
61521         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
61522         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
61524 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
61526         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
61527         fcntl.
61529 2010-07-06  Andreas Schwab  <schwab@redhat.com>
61531         [BZ #11577]
61532         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
61533         dl_signal_cerror.
61535 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
61537         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
61538         _PC_PIPE_BUF using F_GETPIPE_SZ.
61540 2010-07-05  Roland McGrath  <roland@redhat.com>
61542         * manual/arith.texi (Rounding Functions): Fix rint description
61543         implicit in round description.
61545 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
61547         * elf/Makefile: Fix linking for a few tests to make recent linker
61548         happy.
61550 2010-06-30  Andreas Schwab  <schwab@redhat.com>
61552         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
61553         $(common-objpfx)libc_nonshared.a.
61555 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
61557         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
61558         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
61559         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
61560         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
61561         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
61562         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
61563         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
61564         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
61565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
61566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
61567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
61568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
61569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
61570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
61571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
61572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
61573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
61574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
61575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
61576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
61577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
61578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
61579         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
61580         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
61581         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
61582         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
61583         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
61584         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
61585         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
61586         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
61587         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
61588         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
61589         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
61590         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
61591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
61592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
61593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
61594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
61595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
61596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
61597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
61598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
61599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
61600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
61601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
61602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
61603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
61604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
61606 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
61608         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
61609         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
61610         * string/memmove.c (memmove): Renamed to ...
61611         (MEMMOVE): ...this.  Default to memmove.
61612         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
61613         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
61614         (END_CHK): Define.
61615         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61616         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
61617         mempcpy-ssse3-back memmove-ssse3-back.
61618         * sysdeps/x86_64/multiarch/bcopy.S: New file .
61619         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
61620         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
61621         * sysdeps/x86_64/multiarch/memcpy.S: New file.
61622         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
61623         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
61624         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
61625         * sysdeps/x86_64/multiarch/memmove.c: New file.
61626         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
61627         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
61628         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
61629         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
61630         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
61631         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
61632         Define.
61633         (index_Fast_Copy_Backward): Define.
61634         (HAS_ARCH_FEATURE): Define.
61635         (HAS_FAST_REP_STRING): Define.
61636         (HAS_FAST_COPY_BACKWARD): Define.
61638 2010-06-21  Andreas Schwab  <schwab@redhat.com>
61640         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
61641         Restore proper fallback handling.
61643 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
61645         [BZ #11701]
61646         * posix/group_member.c (__group_member): Correct checking loop.
61648         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
61649         OOM in getpwuid_r correctly.  Return error number when the caller
61650         should return, otherwise -1.
61651         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
61652         call returning > 0 value.
61653         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
61655 2010-06-07  Andreas Schwab  <schwab@redhat.com>
61657         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
61658         libc_nonshared.a from targets in modules-names.
61660 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
61662         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
61663         requires it.
61665 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
61667         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
61668         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
61669         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
61670         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
61672 2010-06-02  Andreas Schwab  <schwab@redhat.com>
61674         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
61676 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
61678         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
61679         and F_GETPIPE_SZ.
61680         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
61681         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61682         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61683         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61684         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61685         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
61687 2010-06-14  Roland McGrath  <roland@redhat.com>
61689         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
61691 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
61693         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
61694         __REDIRECT followed by __THROW.
61695         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
61696         * posix/getopt.h (getopt): Likewise.
61698 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
61700         * hurd/lookup-at.c (__file_name_lookup_at): Accept
61701         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
61702         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
61703         in AT_FLAGS.
61704         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
61705         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
61707 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
61709         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
61711 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
61713         [BZ #11640]
61714         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61715         Properly check family and model.
61717 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
61719         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
61721 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
61723         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
61725 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
61727         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
61728         symbol reference.
61730 2010-05-19  Andreas Schwab  <schwab@redhat.com>
61732         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
61733         symbol reference.
61735 2010-05-21  Andreas Schwab  <schwab@redhat.com>
61737         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
61738         and internal_recvmmsg.
61739         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
61740         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
61741         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
61742         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
61744         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
61745         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
61746         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
61748 2010-05-20  Andreas Schwab  <schwab@redhat.com>
61750         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
61752 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
61754         POWER7 optimizations.
61755         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
61756         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
61758 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
61760         * version.h: Update for 2.13 development version.
61762 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
61764         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
61765         exceptions.  Return 0.
61767 2010-05-07  Roland McGrath  <roland@redhat.com>
61769         * elf/ldconfig.c (main): Add a const.
61771 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
61773         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
61774         (args_options): Add no-idn option.
61775         (ahosts_keys_int): Add idn_flags to ai_flags.
61776         (parse_option): Handle 'i' option to clear idn_flags.
61778         * malloc/malloc.c (_int_free): Possible race in the most recently
61779         added check.  Only act on the data if no current modification
61780         happened.
61782 See ChangeLog.17 for earlier changes.