Fix ldbl-128 expm1l (-min_subnorm) result sign (bug 18619).
[glibc.git] / ChangeLog
blob7d501d54912cefdeee0457f7db13102dd5a5f3f7
1 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #18619]
4         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
5         and return argument in case of subnormal argument.
7 2015-07-01  Martin Sebor  <msebor@redhat.com>
9         [BZ #18435]
10         * nptl/Makefile: Add tst-once5.cc.
11         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
12         Remove macro redefinitions.
13         * nptl/tst-once5.cc: New test.
15 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
17         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19         * sysdeps/arm/libm-test-ulps: Regenerated.
21         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
22         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24 2015-06-30  Torvald Riegel  <triegel@redhat.com>
26         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
27         lll_lock_wait_private and lll_futex_wake probes.
29         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
30         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
31         Likewise.
32         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
33         atomic_spin_nop.
34         * sysdeps/x86_64/bits/atomic.h: Likewise.
35         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
36         to atomic_spin_nop and move ...
37         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
38         ... here and ...
39         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
40         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
41         atomic_spin_nop instead of BUSY_WAIT_NOP.
42         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
43         Likewise.
44         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
45         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
46         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
47         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
48         instead of atomic_delay.
50 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
52         [BZ #18613]
53         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
54         X_ADJ not X when adjusting exponent.
55         (__ieee754_gamma_r): Do intermediate computations in
56         round-to-nearest then adjust overflowing and underflowing results
57         as needed.
58         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
59         of X_ADJ not X when adjusting exponent.
60         (__ieee754_gammaf_r): Do intermediate computations in
61         round-to-nearest then adjust overflowing and underflowing results
62         as needed.
63         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
64         log of X_ADJ not X when adjusting exponent.
65         (__ieee754_gammal_r): Do intermediate computations in
66         round-to-nearest then adjust overflowing and underflowing results
67         as needed.  Use 1.0L not 1.0f as numerator of division.
68         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
69         log of X_ADJ not X when adjusting exponent.
70         (__ieee754_gammal_r): Do intermediate computations in
71         round-to-nearest then adjust overflowing and underflowing results
72         as needed.  Use 1.0L not 1.0f as numerator of division.
73         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
74         of X_ADJ not X when adjusting exponent.
75         (__ieee754_gammal_r): Do intermediate computations in
76         round-to-nearest then adjust overflowing and underflowing results
77         as needed.  Use 1.0L not 1.0f as numerator of division.
78         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
79         to auto-libm-test-in.
80         (tgamma_test): Use ALL_RM_TEST.
81         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
82         tests of tgamma with spurious-overflow.
83         * math/auto-libm-test-out: Regenerated.
84         * math/gen-libm-have-vector-test.sh: Do not check for START.
85         * sysdeps/i386/fpu/libm-test-ulps: Update.
86         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
88         [BZ #18612]
89         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
90         arguments, just return 0.5 times the argument, with underflow
91         forced as needed.
92         * math/auto-libm-test-in: Add more tests of j1.
93         * math/auto-libm-test-out: Regenerated.
95         [BZ #16559]
96         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
97         (__ieee754_j1): Force underflow exception for small results.
98         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
99         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
100         (__ieee754_j1f): Force underflow exception for small results.
101         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
102         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
103         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
104         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
105         (__ieee754_j1l): Force underflow exception for small results.
106         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
107         * math/auto-libm-test-in: Add more tests of j1 and jn.
108         * math/auto-libm-test-out: Regenerated.
110         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
111         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
112         (PF_MPLS): Likewise.
113         (AF_IB): Likewise.
114         (AF_MPLS): Likewise.
115         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
116         value and macro.
117         (MS_RMT_MASK): Include MS_LAZYTIME.
119 2015-06-26  Mel Gorman  <mgorman@suse.de>
121         [BZ #18502]
122         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
123         already minimal.
125 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
127         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
128         (DT_MIPS_NUM): Update.
129         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
130         DT_MIPS_RLD_MAP_REL.
132 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
134         [BZ #16559]
135         [BZ #18602]
136         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
137         round-to-nearest internally then recompute results that
138         underflowed to zero in the original rounding mode.
139         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
140         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
141         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
142         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
143         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
144         * sysdeps/i386/fpu/libm-test-ulps: Update.
145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
147 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
149         * NEWS: Fixed description of link with vector math library.
151 2015-06-25  Andreas Schwab  <schwab@suse.de>
153         [BZ #18549]
154         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
155         * libio/test-fmemopen.c (do_test): Add test for it.
157 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
159         [BZ #17841]
160         * Makeconfig (no-pie-ldflag): New.
161         (+link): Set to $(+link-pie) if default to PIE.
162         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
163         * config.make.in (build-pie-default): New.
164         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
165         is default.  AC_SUBST.
166         * configure: Regenerated.
167         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
169 2015-06-24  Roland McGrath  <roland@hack.frob.com>
171         * nptl/descr.h (struct pthread): Change type of field setxid_futex
172         to 'unsigned int'.
174         * resolv/gai_misc.h (struct waitlist): Change type of field
175         counterp to 'volatile unsigned int *'.
176         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
177         FUTEXADDR and OLDVAL.
178         * resolv/getaddrinfo_a.c (getaddrinfo_a):
179         Give local variable TOTAL type 'volatile unsigned int'.
180         (struct async_waitlist): Change type of field counter to 'unsigned int'.
181         * resolv/gai_suspend.c (gai_suspend):
182         Give local variable CNTR type 'unsigned int'.
184         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
185         counterp to 'volatile unsigned int *'.
186         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
187         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
188         (aio_suspend): Give local variable CNTR type 'unsigned int'.
189         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
190         Give local variable TOTAL type 'volatile unsigned int'.
191         (struct async_waitlist): Change type of field counter to 'unsigned int'.
193 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
195         [BZ #18383]
196         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
197         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
198         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
199         comment for i386/x86-64.
200         (test-xfail-tst-tlsalign-extern-static): Removed.
202 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
204         * math/test-double.h: New file.
205         * math/test-float.h: Likewise.
206         * math/test-ldouble.h: Likewise.
207         * math/test-math-inline.h: Likewise.
208         * math/test-math-no-inline.h: Likewise.
209         * math/test-math-scalar.h: Likewise.
210         * math/test-math-vector.h: Likewise.
211         * math/test-vec-loop.h: Remove file.  Contents moved into
212         test-math-vector.h.
213         * math/libm-test.inc (MATHCONST): Do not document macro.
214         * math/test-double.c: Include test-double.h, test-math-no-inline.h
215         and test-math-scalar.h.
216         (FUNC): Remove macro.
217         (FUNC_TEST): Likewise.
218         (FLOAT): Likewise.
219         (MATHCONST): Likewise.
220         (PRINTF_EXPR): Likewise.
221         (PRINTF_XEXPR): Likewise.
222         (PRINTF_NEXPR): Likewise.
223         (TEST_DOUBLE): Likewise.
224         (TEST_MATHVEC): Likewise.
225         (__NO_MATH_INLINES): Likewise.
226         * math/test-float.c: Include test-float.h, test-math-no-inline.h
227         and test-math-scalar.h.
228         (FUNC): Remove macro.
229         (FUNC_TEST): Likewise.
230         (FLOAT): Likewise.
231         (MATHCONST): Likewise.
232         (PRINTF_EXPR): Likewise.
233         (PRINTF_XEXPR): Likewise.
234         (PRINTF_NEXPR): Likewise.
235         (TEST_FLOAT): Likewise.
236         (TEST_MATHVEC): Likewise.
237         (__NO_MATH_INLINES): Likewise.
238         * math/test-idouble.c: Include test-double.h, test-math-inline.h
239         and test-math-scalar.h.
240         (FUNC): Remove macro.
241         (FUNC_TEST): Likewise.
242         (FLOAT): Likewise.
243         (MATHCONST): Likewise.
244         (PRINTF_EXPR): Likewise.
245         (PRINTF_XEXPR): Likewise.
246         (PRINTF_NEXPR): Likewise.
247         (TEST_DOUBLE): Likewise.
248         (TEST_MATHVEC): Likewise.
249         (TEST_INLINE): Likewise.
250         (__NO_MATH_INLINES): Likewise.
251         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
252         test-math-scalar.h.
253         (FUNC): Remove macro.
254         (FUNC_TEST): Likewise.
255         (FLOAT): Likewise.
256         (MATHCONST): Likewise.
257         (PRINTF_EXPR): Likewise.
258         (PRINTF_XEXPR): Likewise.
259         (PRINTF_NEXPR): Likewise.
260         (TEST_FLOAT): Likewise.
261         (TEST_MATHVEC): Likewise.
262         (TEST_INLINE): Likewise.
263         (__NO_MATH_INLINES): Likewise.
264         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
265         and test-math-scalar.h.
266         (FUNC): Remove macro.
267         (FUNC_TEST): Likewise.
268         (FLOAT): Likewise.
269         (MATHCONST): Likewise.
270         (PRINTF_EXPR): Likewise.
271         (PRINTF_XEXPR): Likewise.
272         (PRINTF_NEXPR): Likewise.
273         (TEST_LDOUBLE): Likewise.
274         (TEST_MATHVEC): Likewise.
275         (TEST_INLINE): Likewise.
276         (__NO_MATH_INLINES): Likewise.
277         * math/test-ldouble.c: Include test-ldouble.h,
278         test-math-no-inline.h and test-math-scalar.h.
279         (FUNC): Remove macro.
280         (FUNC_TEST): Likewise.
281         (FLOAT): Likewise.
282         (MATHCONST): Likewise.
283         (PRINTF_EXPR): Likewise.
284         (PRINTF_XEXPR): Likewise.
285         (PRINTF_NEXPR): Likewise.
286         (TEST_LDOUBLE): Likewise.
287         (TEST_MATHVEC): Likewise.
288         (__NO_MATH_INLINES): Likewise.
289         * math/test-double-vlen2.h: Include test-double.h,
290         test-math-no-inline.h and test-math-vector.h.
291         (FLOAT): Remove macro.
292         (FUNC): Likewise.
293         (MATHCONST): Likewise.
294         (PRINTF_EXPR): Likewise.
295         (PRINTF_XEXPR): Likewise.
296         (PRINTF_NEXPR): Likewise.
297         (TEST_DOUBLE): Likewise.
298         (TEST_MATHVEC): Likewise.
299         (__NO_MATH_INLINES): Likewise.
300         (CNCT): Likewise.
301         (CONCAT): Likewise.
302         (WRAPPER_NAME): Likewise.
303         (WRAPPER_DECL): Likewise.
304         (WRAPPER_DECL_ff): Likewise.
305         (WRAPPER_DECL_fFF): Likewise.
306         (VECTOR_WRAPPER): Likewise.
307         (VECTOR_WRAPPER_ff): Likewise.
308         (VECTOR_WRAPPER_fFF): Likewise.
309         (VEC_LEN): New macro.
310         * math/test-double-vlen4.h: Include test-double.h,
311         test-math-no-inline.h and test-math-vector.h.
312         (FLOAT): Remove macro.
313         (FUNC): Likewise.
314         (MATHCONST): Likewise.
315         (PRINTF_EXPR): Likewise.
316         (PRINTF_XEXPR): Likewise.
317         (PRINTF_NEXPR): Likewise.
318         (TEST_DOUBLE): Likewise.
319         (TEST_MATHVEC): Likewise.
320         (__NO_MATH_INLINES): Likewise.
321         (CNCT): Likewise.
322         (CONCAT): Likewise.
323         (WRAPPER_NAME): Likewise.
324         (WRAPPER_DECL): Likewise.
325         (WRAPPER_DECL_ff): Likewise.
326         (WRAPPER_DECL_fFF): Likewise.
327         (VECTOR_WRAPPER): Likewise.
328         (VECTOR_WRAPPER_ff): Likewise.
329         (VECTOR_WRAPPER_fFF): Likewise.
330         (VEC_LEN): New macro.
331         * math/test-double-vlen8.h: Include test-double.h,
332         test-math-no-inline.h and test-math-vector.h.
333         (FLOAT): Remove macro.
334         (FUNC): Likewise.
335         (MATHCONST): Likewise.
336         (PRINTF_EXPR): Likewise.
337         (PRINTF_XEXPR): Likewise.
338         (PRINTF_NEXPR): Likewise.
339         (TEST_DOUBLE): Likewise.
340         (TEST_MATHVEC): Likewise.
341         (__NO_MATH_INLINES): Likewise.
342         (CNCT): Likewise.
343         (CONCAT): Likewise.
344         (WRAPPER_NAME): Likewise.
345         (WRAPPER_DECL): Likewise.
346         (WRAPPER_DECL_ff): Likewise.
347         (WRAPPER_DECL_fFF): Likewise.
348         (VECTOR_WRAPPER): Likewise.
349         (VECTOR_WRAPPER_ff): Likewise.
350         (VECTOR_WRAPPER_fFF): Likewise.
351         (VEC_LEN): New macro.
352         * math/test-float-vlen4.h: Include test-float.h,
353         test-math-no-inline.h and test-math-vector.h.
354         (FLOAT): Remove macro.
355         (FUNC): Likewise.
356         (MATHCONST): Likewise.
357         (PRINTF_EXPR): Likewise.
358         (PRINTF_XEXPR): Likewise.
359         (PRINTF_NEXPR): Likewise.
360         (TEST_FLOAT): Likewise.
361         (TEST_MATHVEC): Likewise.
362         (__NO_MATH_INLINES): Likewise.
363         (CNCT): Likewise.
364         (CONCAT): Likewise.
365         (WRAPPER_NAME): Likewise.
366         (WRAPPER_DECL): Likewise.
367         (WRAPPER_DECL_ff): Likewise.
368         (WRAPPER_DECL_fFF): Likewise.
369         (VECTOR_WRAPPER): Likewise.
370         (VECTOR_WRAPPER_ff): Likewise.
371         (VECTOR_WRAPPER_fFF): Likewise.
372         (VEC_LEN): New macro.
373         * math/test-float-vlen8.h: Include test-float.h,
374         test-math-no-inline.h and test-math-vector.h.
375         (FLOAT): Remove macro.
376         (FUNC): Likewise.
377         (MATHCONST): Likewise.
378         (PRINTF_EXPR): Likewise.
379         (PRINTF_XEXPR): Likewise.
380         (PRINTF_NEXPR): Likewise.
381         (TEST_FLOAT): Likewise.
382         (TEST_MATHVEC): Likewise.
383         (__NO_MATH_INLINES): Likewise.
384         (CNCT): Likewise.
385         (CONCAT): Likewise.
386         (WRAPPER_NAME): Likewise.
387         (WRAPPER_DECL): Likewise.
388         (WRAPPER_DECL_ff): Likewise.
389         (WRAPPER_DECL_fFF): Likewise.
390         (VECTOR_WRAPPER): Likewise.
391         (VECTOR_WRAPPER_ff): Likewise.
392         (VECTOR_WRAPPER_fFF): Likewise.
393         (VEC_LEN): New macro.
394         * math/test-float-vlen16.h: Include test-float.h,
395         test-math-no-inline.h and test-math-vector.h.
396         (FLOAT): Remove macro.
397         (FUNC): Likewise.
398         (MATHCONST): Likewise.
399         (PRINTF_EXPR): Likewise.
400         (PRINTF_XEXPR): Likewise.
401         (PRINTF_NEXPR): Likewise.
402         (TEST_FLOAT): Likewise.
403         (TEST_MATHVEC): Likewise.
404         (__NO_MATH_INLINES): Likewise.
405         (CNCT): Likewise.
406         (CONCAT): Likewise.
407         (WRAPPER_NAME): Likewise.
408         (WRAPPER_DECL): Likewise.
409         (WRAPPER_DECL_ff): Likewise.
410         (WRAPPER_DECL_fFF): Likewise.
411         (VECTOR_WRAPPER): Likewise.
412         (VECTOR_WRAPPER_ff): Likewise.
413         (VECTOR_WRAPPER_fFF): Likewise.
414         (VEC_LEN): New macro.
415         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
416         test-vec-loop.h.
417         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
418         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
419         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
420         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
421         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
422         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
423         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
425 2015-06-24  Roland McGrath  <roland@hack.frob.com>
427         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
428         (__getlogin_r): ... this.
430 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
432         [BZ #18594]
433         * math/s_ccosh.c (__ccosh): Compare with least normal value
434         instead of comparing class with FP_SUBNORMAL.
435         * math/s_ccoshf.c (__ccoshf): Likewise.
436         * math/s_ccoshl.c (__ccoshl): Likewise.
437         * math/s_cexp.c (__cexp): Likewise.
438         * math/s_cexpf.c (__cexpf): Likewise.
439         * math/s_cexpl.c (__cexpl): Likewise.
440         * math/s_csin.c (__csin): Likewise.
441         * math/s_csinf.c (__csinf): Likewise.
442         * math/s_csinh.c (__csinh): Likewise.
443         * math/s_csinhf.c (__csinhf): Likewise.
444         * math/s_csinhl.c (__csinhl): Likewise.
445         * math/s_csinl.c (__csinl): Likewise.
446         * math/s_ctan.c (__ctan): Likewise.
447         * math/s_ctanf.c (__ctanf): Likewise.
448         * math/s_ctanh.c (__ctanh): Likewise.
449         * math/s_ctanhf.c (__ctanhf): Likewise.
450         * math/s_ctanhl.c (__ctanhl): Likewise.
451         * math/s_ctanl.c (__ctanl): Likewise.
452         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
453         csin, csinh, ctan and ctanh.
454         * math/auto-libm-test-out: Regenerated.
455         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
456         * sysdeps/i386/fpu/libm-test-ulps: Update.
457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
459 2015-06-24  Roland McGrath  <roland@hack.frob.com>
461         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
462         return value is wrong, print the expected value too.
464 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
466         [BZ #18585]
467         * elf/readlib.c (is_gdb_python_file): New.
468         (process_file): Don't issue errors on filenames with -gdb.py
469         suffix.
471 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
473         * math/auto-libm-test-in: Add more tests of csin and csinh.
474         * math/auto-libm-test-out: Regenerated.
475         * math/libm-test.inc (csin_test_data): Remove tests moved to
476         auto-libm-test-in.
477         (csinh_test_data): Likewise.
479         [BZ #18593]
480         * math/s_csin.c (__csin): Negate before rather than after possibly
481         overflowing multiplication.
482         * math/s_csinf.c (__csinf): Likewise.
483         * math/s_csinh.c (__csinh): Likewise.
484         * math/s_csinhf.c (__csinhf): Likewise.
485         * math/s_csinhl.c (__csinhl): Likewise.
486         * math/s_csinl.c (__csinl): Likewise.
487         * math/auto-libm-test-in: Add some tests of csin and csinh.
488         * math/auto-libm-test-out: Regenerated.
489         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
490         (csinh_test_data): Likewise.
491         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
493         [BZ #18586]
494         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
495         underflow exception for small results.
497 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
499         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
500         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
501         variable and included header.
502         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
503         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
504         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
505         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
506         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
507         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
508         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
509         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
510         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
511         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
512         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
513         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
514         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
515         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
516         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
517         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
519 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
521         [BZ #16526]
522         [BZ #16538]
523         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
524         (__sin): Force underflow exception for arguments with small
525         absolute value.
526         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
527         (__kernel_sinf): Force underflow exception for arguments with
528         small absolute value.
529         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
530         (__kernel_sincosl): Force underflow exception for arguments with
531         small absolute value.
532         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
533         (__kernel_sinl): Force underflow exception for arguments with
534         small absolute value.
535         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
536         (__kernel_sincosl): Force underflow exception for arguments with
537         small absolute value.
538         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
539         (__kernel_sinl): Force underflow exception for arguments with
540         small absolute value.
541         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
542         (__kernel_sinl): Force underflow exception for arguments with
543         small absolute value.
544         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
545         (__kernel_sinf): Force underflow exception for arguments with
546         small absolute value.
547         * math/auto-libm-test-in: Add more tests of sin and sincos.
548         * math/auto-libm-test-out: Regenerated.
550         [BZ #18245]
551         [BZ #18583]
552         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
553         (__kernel_standard_l): Use feholdexcept and fesetenv around
554         conversion to double instead of special-casing overflow and
555         underflow.
556         * math/libm-test.inc (fmod_test_data): Add more tests.
557         (remainder_test_data): Likewise.
558         (sqrt_test_data): Likewise.
560 2015-06-23  Torvald Riegel  <triegel@redhat.com>
562         [BZ #17403]
563         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
564         atomic_read_barrier, atomic_write_barrier): Define.
565         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
566         atomic_read_barrier, atomic_write_barrier): Define.
568 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
570         * math/Makefile [$(PERL) != no]
571         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
572         dependency on libm-test.stmp below the inclusion of Rules.
574 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
576         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
577         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
578         and included header.
579         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
580         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
581         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
582         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
583         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
584         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
585         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
586         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
587         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
588         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
589         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
590         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
591         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
592         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
593         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
594         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
595         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
596         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
597         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
599 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
601         [BZ #18371]
602         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
603         intermediate but not final result might underflow.
604         * math/s_csqrtf.c (__csqrtf): Likewise.
605         * math/s_csqrtl.c (__csqrtl): Likewise.
606         * math/auto-libm-test-in: Add more tests of csqrt.
607         * math/auto-libm-test-out: Regenerated.
608         * sysdeps/i386/fpu/libm-test-ulps: Update.
610         [BZ #18219]
611         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
612         threshold on absolute value of exponent for which scaling is used.
613         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
614         * math/auto-libm-test-in: Add more tests of exp2.
615         * math/auto-libm-test-out: Regenerated.
617 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
619         [BZ #17977]
620         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
621         when initializing interface list, based on the bug analysis
622         and the patch proposed by Eric Newton.
623         * resolv/tst-res_hconf_reorder.c: New test.
624         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
625         tst-res_hconf_reorder.
626         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
627         and $(shared-thread-library).
628         (tst-res_hconf_reorder-ENV): New variable.
630         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
631         in comment.
633 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
635         [BZ #16353]
636         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
637         (__expm1): Force underflow exception for arguments with small
638         absolute value.
639         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
640         (__expm1f): Force underflow exception for arguments with small
641         absolute value.
642         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
643         (__expm1): Force underflow exception for arguments with small
644         absolute value.
645         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
646         (__expm1f): Force underflow exception for arguments with small
647         absolute value.
648         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
649         Check for small arguments before calling __expm1.
650         * math/auto-libm-test-in: Do not mark underflow exceptions as
651         possibly missing for bug 16353.
652         * math/auto-libm-test-out: Regenerated.
654 2015-06-22  Andreas Schwab  <schwab@suse.de>
656         [BZ #18513]
657         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
658         PTR queries.
660 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
662         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
664         * string/strcoll_l.c: Remove unused struct element idxnow.
666 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
668         [BZ #18569]
669         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
670         underflow and return argument in case of subnormal argument.
671         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
672         Likewise.
673         * math/auto-libm-test-in: Add more tests of expm1.
674         * math/auto-libm-test-out: Regenerated.
676         [BZ #16361]
677         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
678         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
679         tiny results.
680         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
681         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
682         tiny results.
683         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
684         mark underflow exceptions as possibly missing for bug 16361.
685         * math/auto-libm-test-out: Regenerated.
687 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
689         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
690         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
691         Remove variable.
692         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
693         (test-xfail-XOPEN2K8/utmpx.h/conform).
695         * conform/conformtest.pl ($xerrors): New variable.
696         (note_error): New function.
697         (compiletest): New argument $xfail.  Use not_error.
698         (runtest): Likewise.
699         (top level): Handle xfail- lines.  Update calls to compiletest and
700         runtest.  Handle xfail- and optional- in headers listed with
701         allow-header.
702         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
703         (O_EXEC): Likewise.
704         (O_SEARCH): Likewise.
705         * conform/data/stropts.h-data (ioctl): Likewise.
706         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
707         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
708         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
709         (msghdr.msg_controllen): Likewise.
710         (cmsghdr.cmsg_len): Likewise.
711         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
712         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
713         variable.
714         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
715         (test-xfail-XPG4/stropts.h/conform): Likewise.
716         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
717         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
718         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
719         (test-xfail-UNIX98/stropts.h/conform): Likewise.
720         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
721         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
722         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
723         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
724         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
725         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
726         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
727         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
728         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
729         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
730         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
731         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
732         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
733         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
734         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
736 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
738         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
739         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
740         definitions for proper unfolding of __MATHDECL_VEC.
742 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
744         * benchtests/bench-strcoll.c:
745         Include string.h.
746         (main): Remove unused variable res.
748 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
750         * timezone/Makefile (%/UTC %/Universal):
751         Generate test-result files for UTC and Universal.
753 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
755         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
757 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
759         [BZ #16350]
760         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
761         for arguments with small absolute value.
762         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
763         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
764         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
765         (__asinh): Force underflow exception for arguments with small
766         absolute value.
767         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
768         (__asinhf): Force underflow exception for arguments with small
769         absolute value.
770         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
771         (__asinhl): Force underflow exception for arguments with small
772         absolute value.
773         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
774         (__asinhl): Force underflow exception for arguments with small
775         absolute value.
776         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
777         (__asinhl): Force underflow exception for arguments with small
778         absolute value.
779         * math/auto-libm-test-in: Do not mark underflow exceptions as
780         possibly missing for bug 16350.
781         * math/auto-libm-test-out: Regenerated.
783         * include/bits/ipc.h: Remove file.
784         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
785         variable.
786         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
787         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
788         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
789         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
790         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
791         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
792         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
793         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
794         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
796         * math/auto-libm-test-in: Remove spurious underflow allowance for
797         tests of cexp.
798         * math/auto-libm-test-out: Regenerated.
800         [BZ #18558]
801         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
802         unconditional definition.
803         (MCAST_BLOCK_SOURCE): Likewise.
804         (MCAST_UNBLOCK_SOURCE): Likewise.
805         (MCAST_LEAVE_GROUP): Likewise.
806         (MCAST_JOIN_SOURCE_GROUP): Likewise.
807         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
808         (MCAST_MSFILTER): Likewise.
809         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
810         Remove variable.
811         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
812         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
813         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
814         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
815         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
817 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
819         * NEWS: Mention addition of x86_64 vector sincosf.
820         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
821         * math/test-float-vlen4.h: Likewise.
822         * math/test-float-vlen8.h: Likewise.
823         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
824         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
825         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
826         * sysdeps/x86_64/fpu/Versions: New versions added.
827         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
828         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
829         Added build of SSE, AVX2 and AVX512 IFUNC versions.
830         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
831         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
832         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
833         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
834         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
835         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
836         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
837         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
838         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
839         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
840         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
841         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
842         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
843         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
844         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
845         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
846         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
847         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
848         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
849         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
850         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
852         * NEWS: Mention addition of x86_64 vector sincos.
853         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
854         * math/math.h (__MATHDECL_VEC): New macro.
855         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
856         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
857         declaration under condition.
858         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
859         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
860         TEST_VEC_LOOP change.
861         * math/test-double-vlen4.h: Likewise.
862         * math/test-double-vlen8.h: Likewise.
863         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
864         * math/test-float-vlen4.h: Likewise.
865         * math/test-float-vlen8.h: Likewise.
866         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
867         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
868         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
869         * sysdeps/x86_64/fpu/Versions: New versions added.
870         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
871         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
872         Added build of SSE, AVX2 and AVX512 IFUNC versions.
873         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
874         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
875         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
876         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
877         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
878         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
879         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
880         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
881         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
882         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
883         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
884         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
885         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
886         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
887         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
888         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
889         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
890         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
891         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
892         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
893         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
895         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
896         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
897         redirections for powf.
898         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
899         * sysdeps/x86_64/fpu/Versions: New versions added.
900         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
901         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
902         Added build of SSE, AVX2 and AVX512 IFUNC versions.
903         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
904         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
905         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
906         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
907         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
908         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
909         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
910         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
911         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
912         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
913         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
914         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
915         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
916         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
917         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
918         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
919         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
920         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
921         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
922         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
923         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
924         * math/test-float-vlen16.h: Fixed 2 argument macro.
925         * math/test-float-vlen4.h: Likewise.
926         * math/test-float-vlen8.h: Likewise.
927         * NEWS: Mention addition of x86_64 vector powf.
929 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
931         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
932         and redefine.
933         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
934         and redefine.
935         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
936         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
937         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
939         [BZ #18553]
940         * resource/getpriority.c (getpriority): Rename to __getpriority
941         and define as weak alias of __getpriority.
942         * resource/setpriority.c (setpriority): Rename to __setpriority
943         and define as weak alias of __setpriority.
944         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
945         __getpriority and define as weak alias of __getpriority.
946         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
947         __setpriority and define as weak alias of __setpriority.
948         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
949         strong name.
950         (setpriority): Use __setpriority as strong name.
951         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
952         __getpriority and define as weak alias of __getpriority.
953         * include/sys/resource.h (__getpriority): Declare.  Use
954         libc_hidden_proto.
955         (__setpriority): Likewise.
956         (getpriority): Don't use libc_hidden_proto.
957         (setpriority): Likewise.
958         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
959         getpriority.  Call __setpriority instead of setpriority.
960         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
961         Remove variable.
963         [BZ #18547]
964         * misc/getttyent.c (getttynam): Rename to __getttynam and define
965         as weak alias of __getttynam.  Use prototype function definition.
966         Call __setttyent, __getttyent and __endttyent instead of
967         setttyent, getttyent and endttyent.
968         (getttyent): Rename to __getttyent and define as weak alias of
969         __getttyent.  Call __setttyent instead of setttyent.  Call
970         __fgets_unlocked instead of fgets_unlocked.
971         (setttyent): Rename to __setttyent and define as weak alias of
972         __setttyent.
973         (endttyent): Rename to __endttyent and define as weak alias of
974         __endttyent.
975         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
976         (__setttyent): Likewise.
977         (__endttyent): Likewise.
978         (getttyent): Don't use libc_hidden_proto.
979         (setttyent): Likewise.
980         (endttyent): Likewise.
981         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
982         __endttyent instead of setttyent, getttyent and endttyent.
983         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
984         Remove variable.
986         [BZ #18546]
987         * socket/recv.c (__recv): Use libc_hidden_def.
988         * socket/socket.c (__socket): Likewise.
989         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
990         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
991         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
992         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
993         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
994         libc_hidden_def.
995         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
996         libc_hidden_weak.
997         * include/sys/socket.h (__socket): Do not use attribute_hidden.
998         Use libc_hidden_proto.
999         (__recv): Likewise.
1000         * socket/Versions (libc): Export __recv and __socket at version
1001         GLIBC_PRIVATE.
1002         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
1003         instead of recv.
1004         (init_mq_netlink): Call __socket instead of socket.
1005         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
1006         Remove variable.
1008         [BZ #18545]
1009         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
1010         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
1011         hidden_weak.
1012         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
1013         define as alias of __mq_timedsend.  Use hidden_weak.
1014         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
1015         __mq_timedsend as strong name.
1016         (mq_timedreceive): Use __mq_timedreceive as strong name.
1017         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
1018         (__mq_timedreceive): Likewise.
1019         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
1020         __mq_timedreceive instead of mq_timedreceive.
1021         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
1022         instead of mq_timedsend.
1023         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
1024         Remove variable.
1026         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
1027         hidden_def and hidden_weak instead of libc_hidden_def and
1028         libc_hidden_weak.
1029         (top level): Refer to hidden_def in comment.
1030         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
1031         macro.  Use it instead of libc_hidden_def.
1032         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
1033         specify __GI_* name explicitly.
1034         (mq_timedreceive): Likewise.
1035         (mq_setattr): Likewise.
1037         [BZ #18544]
1038         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
1039         __pthread_barrier_init and define as weak alias of
1040         __pthread_barrier_init.
1041         * sysdeps/sparc/nptl/pthread_barrier_init.c
1042         (pthread_barrier_init): Likewise.
1043         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
1044         __pthread_barrier_wait and define as weak alias of
1045         __pthread_barrier_wait.
1046         * sysdeps/sparc/nptl/pthread_barrier_wait.c
1047         (pthread_barrier_wait): Likewise.
1048         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
1049         (pthread_barrier_wait): Likewise.
1050         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
1051         (pthread_barrier_wait): Likewise.
1052         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
1053         (pthread_barrier_wait): Likewise.
1054         * nptl/Versions (libpthread): Export __pthread_barrier_init and
1055         __pthread_barrier_wait at version GLIBC_PRIVATE.
1056         * include/pthread.h (__pthread_barrier_init): Declare.
1057         (__pthread_barrier_wait): Likewise.
1058         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
1059         Call __pthread_barrier_wait instead of pthread_barrier_wait.
1060         (helper_thread): Likewise.
1061         (init_mq_netlink): Call __pthread_barrier_init instead of
1062         pthread_barrier_init.
1064         [BZ #18542]
1065         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
1066         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
1067         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
1068         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
1069         vswscanf.
1070         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
1071         Remove variable.
1073         [BZ #18540]
1074         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
1075         strong alias of _IO_fflush.  Use libc_hidden_def.
1076         * libio/iofflush_u.c (fflush_unlocked): Rename to
1077         __fflush_unlocked and define as weak alias of __fflush_unlocked.
1078         Use libc_hidden_weak.
1079         * include/stdio.h (__fflush_unlocked): Declare.  Use
1080         libc_hidden_proto.
1081         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
1082         fflush_unlocked.
1083         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
1084         Remove variable.
1086         [BZ #18539]
1087         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
1088         define as weak alias of __addseverity.
1089         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
1090         Remove variable.
1091         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
1092         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
1093         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
1095         [BZ #18536]
1096         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
1097         (__tfind): Likewise.
1098         (__tdelete): Likewise.
1099         (__twalk): Likewise.
1100         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
1101         __twalk to GLIBC_PRIVATE.
1102         * include/search.h (__tsearch): Use libc_hidden_proto.
1103         (__tfind): Likewise.
1104         (__tdelete): Likewise.
1105         (__twalk): Likewise.
1106         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
1107         Call __tdelete instead of tdelete.
1108         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
1109         tfind.  Call __tsearch instead of tsearch.
1110         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
1111         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
1112         Remove variable.
1113         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
1115         [BZ #18534]
1116         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
1117         (dprintf): Define as a weak alias of __dprintf, not a strong
1118         alias.
1119         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
1120         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
1121         dprintf.
1122         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
1123         Remove variable.
1124         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
1125         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
1127         [BZ #18533]
1128         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
1129         not a strong alias.
1130         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
1131         Remove variable.
1133         [BZ #18532]
1134         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
1135         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
1136         (in6addr_loopback): Rename to __in6addr_loopback and define as
1137         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
1138         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
1139         libc_hidden_proto.
1140         (__in6addr_any): Likewise.
1141         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
1142         in6addr_any.
1143         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
1144         variable.
1145         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
1147 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
1149         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
1150         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
1151         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1152         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1153         redirections for pow.
1154         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1155         * sysdeps/x86_64/fpu/Versions: New versions added.
1156         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1157         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1158         build of SSE, AVX2 and AVX512 IFUNC versions.
1159         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
1160         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
1161         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
1162         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
1163         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
1164         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
1165         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
1166         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
1167         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
1168         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
1169         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
1170         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
1171         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
1172         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
1173         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1174         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1175         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1176         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1177         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1178         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1179         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1180         * NEWS: Mention addition of x86_64 vector pow.
1182         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1183         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1184         redirections for expf.
1185         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1186         * sysdeps/x86_64/fpu/Versions: New versions added.
1187         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1188         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1189         build of SSE, AVX2 and AVX512 IFUNC versions.
1190         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
1191         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
1192         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
1193         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
1194         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
1195         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
1196         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
1197         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
1198         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
1199         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
1200         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
1201         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
1202         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
1203         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1204         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1205         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1206         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1207         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1208         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1209         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1210         * NEWS: Mention addition of x86_64 vector expf.
1212         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
1213         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
1214         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1215         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1216         redirections for exp.
1217         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1218         * sysdeps/x86_64/fpu/Versions: New versions added.
1219         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1220         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1221         build of SSE, AVX2 and AVX512 IFUNC versions.
1222         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
1223         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
1224         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
1225         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
1226         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
1227         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
1228         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
1229         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
1230         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
1231         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
1232         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
1233         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
1234         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
1235         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1236         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1237         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1238         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1239         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1240         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1241         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1242         * NEWS: Mention addition of x86_64 vector exp.
1244         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1245         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1246         redirections for logf.
1247         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1248         * sysdeps/x86_64/fpu/Versions: New versions added.
1249         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1250         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1251         build of SSE, AVX2 and AVX512 IFUNC versions.
1252         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
1253         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
1254         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
1255         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
1256         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
1257         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
1258         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
1259         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
1260         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
1261         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
1262         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
1263         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
1264         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
1265         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1266         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1267         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1268         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1269         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1270         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1271         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1272         * NEWS: Mention addition of x86_64 vector logf.
1274         * bits/libm-simd-decl-stubs.h: Added stubs for log.
1275         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
1276         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1277         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1278         redirections for log.
1279         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1280         * sysdeps/x86_64/fpu/Versions: New versions added.
1281         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1282         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1283         build of SSE, AVX2 and AVX512 IFUNC versions.
1284         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
1285         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
1286         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
1287         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
1288         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
1289         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
1290         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
1291         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
1292         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
1293         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
1294         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
1295         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
1296         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
1297         test.
1298         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1299         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1300         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1301         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1302         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1303         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1304         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1305         * NEWS: Mention addition of x86_64 vector log.
1307 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1309         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
1310         cfi_adjust_cfa_offset argument.
1311         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
1312         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
1314         [BZ #18034]
1315         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
1316         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
1317         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
1318         ordering using ldar.
1319         (_dl_tlsdesc_dynamic): Likewise.
1320         (_dl_tlsdesc_return_lazy): Likewise.
1321         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
1322         relaxed atomics instead of volatile and synchronize with release store.
1323         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
1324         volatile.
1325         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1327 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
1329         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1330         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
1331         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1332         * sysdeps/x86_64/fpu/Versions: New versions added.
1333         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1334         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1335         build of SSE, AVX2 and AVX512 IFUNC versions.
1336         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
1337         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
1338         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
1339         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
1340         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
1341         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
1342         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
1343         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
1344         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
1345         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
1346         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
1347         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
1348         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
1349         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1350         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1351         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1352         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1353         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1354         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1355         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1356         * NEWS: Mention addition of x86_64 vector sinf.
1358 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
1360         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
1361         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
1362         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
1363         Remove variable.
1364         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
1365         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
1367 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
1369         [BZ #18530]
1370         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
1371         strong alias of _IO_fputs.  Use libc_hidden_def.
1372         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
1373         and define as weak alias of __fputs_unlocked.  Use
1374         libc_hidden_weak.
1375         * include/stdio.h (__fputs_unlocked): Declare.  Use
1376         libc_hidden_proto.
1377         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
1378         fputs_unlocked.
1380         [BZ #18529]
1381         * resolv/netdb.h [__USE_POSIX]: Change condition to
1382         [__USE_XOPEN2K].
1383         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
1384         not expect.
1385         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
1386         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
1387         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
1388         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
1389         [XPG4 || UNIX98] (AI_ALL): Likewise.
1390         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
1391         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
1392         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
1393         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
1394         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
1395         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
1396         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
1397         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
1398         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
1399         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
1400         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
1401         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
1402         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
1403         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
1404         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
1405         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
1406         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
1407         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
1408         [XPG4 || UNIX98] (gai_strerror): Likewise.
1409         [XPG4 || UNIX98] (getaddrinfo): Likewise.
1410         [XPG4 || UNIX98] (getnameinfo): Likewise.
1412         [BZ #18528]
1413         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
1414         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
1415         __USE_XOPEN2K8].
1416         (getgrent): Likewise.
1417         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
1418         expect.
1419         [XPG3 || POSIX2008] (endgrent): Likewise.
1420         [XPG3] (setgrent): Likewise.
1421         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
1422         variable.
1423         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
1425         [BZ #18527]
1426         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
1427         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
1428         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
1429         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
1430         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
1431         * include/unistd.h (__getlogin_r): Declare.  Use
1432         libc_hidden_proto.
1433         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
1434         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
1435         variable.
1436         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
1437         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
1438         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
1440 2015-06-12  Martin Sebor  <msebor@redhat.com>
1442         [BZ #18512]
1443         * Makerules (check-install-supported): New target.
1444         (install): Add check-install-supported as a dependency.
1445         * manual/install.texi (Installing the C Library): Document
1446         that overriding prefix and exec_prefix is not supported.
1447         Mention DESTDIR.
1448         * INSTALL: Regenerate from the above.
1450 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
1452         [BZ #18519]
1453         * posix/Versions (libc): Export __libc_pread at version
1454         GLIBC_PRIVATE.
1455         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
1456         instead of pread.
1457         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
1458         variable.
1460         [BZ #18522]
1461         * misc/efgcvt_r.c
1462         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
1463         (cvt_symbol): Use weak_alias instead of strong_alias.
1464         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
1465         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
1466         Remove variable.
1467         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
1468         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
1470         [BZ #18520]
1471         * inet/herrno.c (h_errno): Rename to __h_errno.
1472         (__libc_h_errno): Define as alias of __h_errno not h_errno.
1473         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
1474         to __h_errno instead of h_errno.
1475         * nptl/herrno.c (h_errno): Rename to __h_errno.
1476         (__h_errno_location): Refer to __h_errno not h_errno.
1477         * resolv/Versions (h_errno): Rename to __h_errno.
1478         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
1479         Remove variable.
1480         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
1482 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
1484         * configure.ac: More strict check for AVX512 assembler support.
1485         * configure: Regenerated.
1487         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
1488         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
1489         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1490         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
1491         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1492         * sysdeps/x86_64/fpu/Versions: New versions added.
1493         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1494         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1495         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1496         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
1497         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
1498         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
1499         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
1500         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
1501         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
1502         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
1503         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
1504         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
1505         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
1506         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
1507         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
1508         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
1509         test.
1510         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1511         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1512         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1513         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1514         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1515         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1516         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1517         * NEWS: Mention addition of x86_64 vector sin.
1519 2015-06-11  Florian Weimer  <fweimer@redhat.com>
1521         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
1522         comment.
1524 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
1526         [BZ #18479]
1527         * nptl/pt-interp.c: New file.
1528         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
1529         Add pt-interp.
1530         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
1531         $(common-objpfx)runtime-linker.h.
1533 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
1535         * Makeconfig (+interp): Remove unused variable.
1536         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
1537         only.  Depend on $(common-objpfx)runtime-linker.h instead of
1538         $(elf-objpfx)runtime-linker.h.
1539         ($(elf-objpfx)runtime-linker.h): Rename to
1540         $(common-objpfx)runtime-linker.h and move ...
1541         * Makerules [$(build-shared) = yes]: ... here.
1542         * elf/interp.c: Include <runtime-linker.h> instead of
1543         <elf/runtime-linker.h>.
1545 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1547         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
1548         (__gettimeofday_syscall): Remove vsyscall fallback.
1549         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
1550         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
1551         Add syscall fallback function.
1552         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
1553         if vDSO is not present.
1554         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
1555         fallback function.
1556         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
1557         present.
1558         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
1559         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
1561 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
1563         [BZ #18497]
1564         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
1565         of wcscmp.
1566         (wcscmp): Define as weak alias of WCSCMP.
1567         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
1568         wcscoll.
1569         (USE_HIDDEN_DEF): Define.
1570         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
1571         __wcscoll.  Don't use libc_hidden_weak.
1572         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
1573         wcscmp.
1574         * sysdeps/i386/i686/multiarch/wcscmp-c.c
1575         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
1576         __GI_wcscmp.
1577         (weak_alias): Undefine and redefine.
1578         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
1579         __wcscmp and define as weak alias of __wcscmp.
1580         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
1581         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
1582         (__wcscoll): Likewise.
1583         (wcscmp): Don't use libc_hidden_proto.
1584         (wcscoll): Likewise.
1585         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
1586         wcscoll.
1587         * posix/regexec.c (check_node_accept_bytes): Likewise.
1588         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
1589         variable.
1590         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
1591         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
1593         [BZ #18507]
1594         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
1595         __fstatvfs and define as weak alias of __fstatvfs.  Use
1596         libc_hidden_weak.
1597         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
1598         and define as weak alias of __statvfs.  Use libc_hidden_weak.
1599         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
1600         Define as alias of __fstatvfs, not fstatvfs.
1601         (fstatvfs64): Likewise.
1602         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
1603         Define as alias of __statvfs, not statvfs.
1604         (statvfs64): Likewise.
1605         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
1606         Remove variable.
1608 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1611         (HAVE_GETCPU_VSYSCALL): Define.
1612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1613         (HAVE_GETCPU_VSYSCALL): Likewise.
1614         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
1615         * sysdeps/unix/sysv/linux/sched_getcpu.c
1616         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
1617         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
1618         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
1619         prototype.
1620         * sysdeps/unix/sysv/linux/x86_64/init-first.c
1621         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
1622         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
1623         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
1624         Define.
1625         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
1626         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1627         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
1628         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1630 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
1632         * sysdeps/x86_64/fpu/Makefile: New file.
1633         * sysdeps/x86_64/fpu/Versions: New file.
1634         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
1635         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
1636         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
1637         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
1638         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
1639         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
1640         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
1641         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
1642         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
1643         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
1644         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
1645         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
1646         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
1647         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1648         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1649         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
1650         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
1651         * sysdeps/x86_64/configure.ac: Options for libmvec build.
1652         * sysdeps/x86_64/configure: Regenerated.
1653         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
1654         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
1655         * manual/install.texi (Configuring and compiling): Document
1656         --disable-mathvec.
1657         * INSTALL: Regenerated.
1658         * NEWS: Mention addition of libmvec and x86_64 vector cos.
1660         * math/Makefile: Added rules for vector tests.
1661         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
1662         declaration under condition.
1663         * math/test-double-vlen2.h: New file.
1664         * math/test-double-vlen4.h: New file.
1665         * math/test-double-vlen8.h: New file.
1666         * math/test-vec-loop.h: Added initialization macro.
1667         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
1668         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
1669         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
1670         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
1671         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
1672         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
1673         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
1674         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
1675         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
1676         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
1677         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
1679         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1680         * sysdeps/x86_64/fpu/Versions: New versions added.
1681         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
1682         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
1683         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
1684         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
1685         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
1686         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
1687         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
1688         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
1689         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
1690         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
1691         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
1692         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
1693         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
1694         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1695         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1696         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1697         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
1698         * NEWS: Mention addition of x86_64 vector cosf.
1700         * math/Makefile: Added CFLAGS for new tests.
1701         * math/test-float-vlen16.h: New file.
1702         * math/test-float-vlen4.h: New file.
1703         * math/test-float-vlen8.h: New file.
1704         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
1705         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
1706         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1707         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
1708         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
1709         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
1710         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
1711         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
1712         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
1713         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
1714         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
1716 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
1718         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
1719         * locale/programs/ld-ctype.c: Likewise.
1721 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
1723         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
1724         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
1725         bit_ZMM16_31_state): New macro.
1726         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1727         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
1729 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
1731         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
1733 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
1735         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
1737 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
1739         [BZ #18498]
1740         * libio/memstream.c (open_memstream): Rename to __open_memstream
1741         and define as weak alias of __open_memstream.
1742         * include/stdio.h (__open_memstream): Declare.  Use
1743         libc_hidden_proto.
1744         (open_memstream): Don't use libc_hidden_proto.
1745         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
1746         open_memstream.
1747         * posix/getopt.c (_getopt_internal_r): Likewise.
1748         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
1749         variable.
1750         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
1751         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
1752         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
1754         [BZ #18496]
1755         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
1756         instead of wcrtomb.
1758         [BZ #18483]
1759         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
1760         [__USE_XOPEN2K8].  Remove redundant #endif.
1761         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
1762         Remove redundant #if.
1763         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
1764         Remove variable.
1765         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
1766         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
1768         [BZ #18495]
1769         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
1770         (__iswlower): Likewise.
1771         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
1772         (__iswlower): Likewise.
1773         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
1774         instead of towlower.
1775         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
1776         instead of iswlower.  Call __towupper instead of towupper.
1777         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
1778         instead of iswalnum.
1780 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1782         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
1783         errors to stderr.
1785 2015-06-05  Florian Weimer  <fweimer@redhat.com>
1787         [BZ #15661]
1788         [BZ #17322]
1789         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
1790         Check for overflow properly.  Check for O_APPEND.  Ignore large
1791         file system block sizes.  Add comments about problems.
1792         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
1793         * manual/filesys.texi (Storage Allocation): New node.
1795 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1797         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
1798         cancellable syscalls.
1799         (SYS_ify): Add guard to no redefine it.
1800         (INLINE_SYSCALL): Likewise.
1801         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
1802         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
1803         SYSCALL_CANCEL instead.
1804         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
1805         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1806         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1807         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1808         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1809         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
1810         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
1811         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
1812         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
1813         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
1814         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
1815         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
1816         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
1817         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
1818         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
1819         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1820         Likewise.
1821         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1822         (__libc_pread64): Likewise.
1823         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
1824         (__libc_preadv): Likewise.
1825         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
1826         (__libc_readv64): Likewise.
1827         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1828         (__libc_pwrite): Likewise.
1829         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1830         (__libc_pwrite64): Likewise.
1831         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
1832         (__libc_pwritev): Likewise.
1833         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
1834         (__libc_pwritev64): Likewise.
1835         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
1836         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
1837         (sync_file_range): Likewise.
1838         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
1839         Likewise.
1840         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
1841         Likewise.
1842         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1843         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1844         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1845         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1846         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1847         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1848         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
1849         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
1850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1851         Likewise.
1852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1853         (__libc_read64): Likewise.
1854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
1855         Likewise.
1856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
1857         Likewise.
1858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
1859         Likewise.
1860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
1861         Likewise.
1862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
1863         (__libc_pread64): Likewise.
1864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
1865         Likewise.
1866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
1867         (__libc_pwrite64): Likewise.
1868         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
1869         (sync_file_range): Likewise.
1870         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
1871         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1872         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1873         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
1874         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
1875         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1876         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1877         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
1878         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
1879         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
1880         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
1881         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1882         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1883         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1884         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
1885         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1886         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1887         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1888         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1889         Likewise.
1890         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
1891         Likewise.
1892         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
1893         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
1894         Likewise.
1895         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
1896         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
1897         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
1898         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
1899         Likewise.
1900         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
1901         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
1902         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
1903         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
1904         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
1906 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
1908         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
1909         Include dl-vdso.
1910         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
1911         Use VDSO routines for gettimeofday, clock_gettime if
1912         available.
1913         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
1914         Declare VDSO symbols.
1915         * sysdeps/unix/sysv/linux/arm/sysdep.h:
1916         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
1917         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1918         * sysdeps/unix/sysv/linux/arm/Versions: Add
1919         __vdso_clock_gettime.
1921 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1923         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
1924         be an inline implementation regardless of library is built within.
1925         (open_not_cancel_2): Likewise.
1926         (__read_nocancel): Likewise.
1927         (__write_nocancel): Likewise.
1928         (openat_not_cancel): Likewise.
1929         (openat_not_cancel_3): Likewise.
1930         (openat64_not_cancel): Likewise.
1931         (openat64_not_cancel_3): Likewise.
1932         (__close_nocancel): Likewise.
1933         (pause_not_cancel): Likewise.
1934         (nanosleep_not_cancel): Likewise.
1935         (sigsuspend_not_cancel): Likewise.
1937 2015-06-04  Torvald Riegel  <triegel@redhat.com>
1939         [BZ #14958]
1940         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
1941         wake-up.
1942         (__pthread_rwlock_rdlock_slow): Likewise.
1943         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1944         Likewise.
1945         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1946         Likewise.
1947         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
1948         * nptl/tst-rwlock16.c: New file.
1949         * nptl/Makefile (tests): Add new test.
1951 2015-06-04  Torvald Riegel  <triegel@redhat.com>
1953         [BZ #18324]
1954         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
1955         missing wake-up of readers.
1956         * nptl/tst-rwlock15.c: New file.
1957         * nptl/Makefile (tests): Add new test.
1959 2015-06-03  Roland McGrath  <roland@hack.frob.com>
1961         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
1962         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
1963         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
1964         and __nacl_supply_interface_rtld.
1965         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
1966         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
1967         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
1968         Add __nacl_supply_interface_rtld.
1969         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
1971 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
1973         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
1974         isfinite.
1975         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1976         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
1978 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
1980         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
1981         __signbit* with standard C99 macros.
1982         * math/e_exp10l.c: Likewise.
1983         * math/e_exp2l.c: Likewise.
1984         * math/e_scalb.c: Likewise.
1985         * math/e_scalbf.c: Likewise.
1986         * math/e_scalbl.c: Likewise.
1987         * math/s_ldexp.c: Likewise.
1988         * math/s_ldexpf.c: Likewise.
1989         * math/s_ldexpl.c: Likewise.
1990         * math/w_atan2.c: Likewise.
1991         * math/w_atan2f.c: Likewise.
1992         * math/w_atan2l.c: Likewise.
1993         * math/w_cosh.c: Likewise.
1994         * math/w_coshf.c: Likewise.
1995         * math/w_coshl.c: Likewise.
1996         * math/w_exp10.c: Likewise.
1997         * math/w_exp10f.c: Likewise.
1998         * math/w_exp10l.c: Likewise.
1999         * math/w_exp2.c: Likewise.
2000         * math/w_exp2f.c: Likewise.
2001         * math/w_exp2l.c: Likewise.
2002         * math/w_fmod.c: Likewise.
2003         * math/w_fmodf.c: Likewise.
2004         * math/w_fmodl.c: Likewise.
2005         * math/w_hypot.c: Likewise.
2006         * math/w_hypotf.c: Likewise.
2007         * math/w_hypotl.c: Likewise.
2008         * math/w_jnl.c: Likewise.
2009         * math/w_lgamma.c: Likewise.
2010         * math/w_lgamma_r.c: Likewise.
2011         * math/w_lgammaf.c: Likewise.
2012         * math/w_lgammaf_r.c: Likewise.
2013         * math/w_lgammal.c: Likewise.
2014         * math/w_lgammal_r.c: Likewise.
2015         * math/w_pow.c: Likewise.
2016         * math/w_powf.c: Likewise.
2017         * math/w_powl.c: Likewise.
2018         * math/w_remainder.c: Likewise.
2019         * math/w_remainderf.c: Likewise.
2020         * math/w_remainderl.c: Likewise.
2021         * math/w_scalb.c: Likewise.
2022         * math/w_scalbf.c: Likewise.
2023         * math/w_scalbl.c: Likewise.
2024         * math/w_scalbln.c: Likewise.
2025         * math/w_scalblnf.c: Likewise.
2026         * math/w_scalblnl.c: Likewise.
2027         * math/w_sinh.c: Likewise.
2028         * math/w_sinhf.c: Likewise.
2029         * math/w_sinhl.c: Likewise.
2030         * math/w_tgamma.c: Likewise.
2031         * math/w_tgammaf.c: Likewise.
2032         * math/w_tgammal.c: Likewise.
2033         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2034         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
2035         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2036         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2037         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2038         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2039         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2040         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
2041         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2042         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2043         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2044         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2045         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2046         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2047         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2048         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2049         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2050         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2051         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2052         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2053         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2054         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2055         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2056         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2057         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2058         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2059         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
2060         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2061         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2062         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2063         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
2064         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
2065         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
2066         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
2067         * stdio-common/printf_fp.c: Likewise.
2068         * stdio-common/printf_fphex.c: Likewise.
2069         * stdio-common/printf_size.c: Likewise.
2071 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
2073         [BZ #18470]
2074         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
2075         strnlen.
2076         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
2077         Remove variable.
2078         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
2079         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
2080         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
2081         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
2082         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
2083         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
2084         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
2085         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
2086         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
2087         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
2089         [BZ #18468]
2090         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
2091         weak alias of __wmemchr.  Use libc_hidden_weak.
2092         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
2093         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
2094         instead of wmemchr.
2096 2015-06-02  Roland McGrath  <roland@hack.frob.com>
2098         [BZ #18383]
2099         * elf/tst-tlsalign-extern.c: New file.
2100         * elf/tst-tlsalign-extern-static.c: New file.
2101         * elf/tst-tlsalign-vars.c: New file.
2102         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
2103         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
2104         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
2105         ($(objpfx)tst-tlsalign-extern-static): Likewise.
2106         (test-xfail-tst-tlsalign-extern-static): New variable.
2108 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
2110         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
2111         Use variable name _sc_err instead of err.
2112         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
2113         instead of ret.
2114         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
2115         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
2116         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
2117         (INLINE_SYSCALL): Likewise.
2119         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
2120         * include/string.h (__strnlen): Use libc_hidden_proto.
2121         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
2122         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
2123         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
2124         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
2125         (libc_hidden_def): Undefine and redefine.
2126         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
2127         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
2128         __GI_strnlen.
2129         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
2130         libc_hidden_def.
2131         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
2133         [BZ #18469]
2134         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
2135         weak alias of __towlower.  Use libc_hidden_weak.
2136         (towupper): Rename to __towupper and define as weak alias of
2137         __towupper.  Use libc_hidden_weak.
2138         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
2139         (__towupper): Likewise.
2140         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
2141         __towlower instead of towlower.
2143 2015-06-02  Roland McGrath  <roland@hack.frob.com>
2145         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
2146         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
2148 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2150         * sysdeps/aarch64/libm-test-ulps: Update.
2152 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2154         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
2155         Define.
2156         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2157         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
2158         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
2159         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2160         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
2161         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
2162         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
2164 2015-06-01  Martin Sebor  <msebor@redhat.com>
2166         [BZ #18116]
2167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2168         (__setcontext): Use extended four-operand version of mtsf whenever
2169         possible.
2170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2171         (__novec_swapcontext): Likewise.
2173 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
2175         * benchtests/scripts/compare_bench.py: New file.
2176         * benchtests/scripts/import_bench.py (mean): New function.
2177         (split_list): Likewise.
2178         (do_for_all_timings): Likewise.
2179         (compress_timings): Likewise.
2181         * benchtests/scripts/import_bench.py: New file.
2182         * benchtests/scripts/validate_benchout.py: Import import_bench
2183         instead of jsonschema.
2184         (validate_bench): Remove function.
2185         (main): Use import_bench.
2187 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
2189         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
2190         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
2192 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2194         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2196 2015-05-28  Roland McGrath  <roland@hack.frob.com>
2198         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
2199         set THREAD_SELF->tid to a magic value and futex-wake it.
2200         Pass its address to the thread_exit system call.
2201         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
2202         bit is clear.
2203         * sysdeps/nacl/lowlevellock.h: New file.
2204         * sysdeps/nacl/lll_timedwait_tid.c: New file.
2206         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
2207         Add TIMEOUT to current time, don't subtract it.
2209 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
2211         [BZ #18422]
2212         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
2213         ($(objpfx)tst-audit2.out): Also depend on
2214         $(objpfx)tst-auditmod9b.so.
2215         * elf/tst-audit2.c: Include <dlfcn.h>.
2216         (calloc_called): New.
2217         (calloc): Allow to be called more than once.
2218         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
2220 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
2222         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
2223         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
2225 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
2227         * stdlib/monetary.h: Fix comment.
2229 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
2231         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
2232         Avoid using variables in #defines that might cause shadowing.
2233         (INTERNAL_VSYSCALL_CALL): Likewise.
2235 2015-05-26  Roland McGrath  <roland@hack.frob.com>
2237         * sysdeps/nacl/lll_timedlock_wait.c: New file.
2239         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
2240         * nptl/lll_timedlock_wait.c: ... to this new file.
2241         * nptl/Makefile (libpthread-routines): Add it.
2242         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
2243         * nptl/lll_timedwait_tid.c: ... to this new file.
2244         * nptl/Makefile (libpthread-routines): Add it.
2245         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
2246         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
2247         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
2248         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
2249         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
2250         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
2251         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
2252         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
2253         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
2254         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
2256 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2258         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
2259         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2260         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
2261         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
2262         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
2263         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2264         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2265         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2266         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2267         * sysdeps/unix/sysv/linux/tile/sysdep.h
2268         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2269         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
2270         using vDSO syscall macro.
2272 2015-05-26  Andriy Rysin  <arysin@gmail.com>
2274         [BZ #17293]
2275         * uk_UA: Fix sorting order for Ukrainian locale
2277 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
2279         * stdlib/monetary.h: Fix comment.
2281 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2283         [BZ #18234]
2284         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
2285         st_mtim and st_ctim members.
2286         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
2287         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
2288         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
2289         (struct stat64): Likewise.
2290         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
2291         (struct stat64): Likewise.
2292         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
2293         (struct stat64): Likewise.
2295 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2297         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
2298         Define and include sysdep-vdso.h.
2299         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
2300         Likewise.
2301         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
2302         Likewise.
2303         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
2304         Define with VDSO_SYMBOL and use PTR_MANGLE.
2305         (__vdso_clock_gettime): Likewise.
2306         (__vdso_clock_getres): Likewise.
2307         (_libc_vdso_platform_setup): Likewise.
2308         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
2309         Likewise.
2310         (_libc_vdso_platform_setup): Likewise.
2311         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
2312         Likewise.
2313         (__vdso_clock_gettime): Likewise.
2314         (__vdso_clock_getres): Likewise.
2315         (__vdso_get_tbfreq): Likewise.
2316         (__vdso_getcpu): Likewise.
2317         (__vdso_time): Likewise.
2318         (__vdso_sigtramp_rt64): Likewise.
2319         (__vdso_signtramp32): Likewise.
2320         (__vdso_sigtramp_rt32): Likewise.
2321         (_libc_vdso_platform_setup): Likewise.
2322         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
2323         Likewise.
2324         (__vdso_clock_gettime): Likewise.
2325         (__vdso_clock_getres): Likewise.
2326         (_libc_vdso_platform_setup): Likewise.
2327         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
2328         Likewise.
2329         (__vdso_clock_gettime): Likewise.
2330         (_libc_vdso_platform_setup): Likewise.
2331         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2332         Likewise.
2333         (__vdso_getcpu): Likewise.
2334         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
2335         Use VDSO_SYMBOL macro to define.
2336         (__vdso_clock_gettime): Likewise.
2337         (__vdso_clock_getres): Likewise.
2338         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
2339         Likewise.
2340         (__vdso_clock_gettime): Likewise.
2341         (__vdso_clock_getres): Likewise.
2342         (__vdso_get_tbfreq): Likewise.
2343         (__vdso_getcpu): Likewise.
2344         (__vdso_time): Likewise.
2345         (__vdso_sigtramp_rt64): Likewise.
2346         (__vdso_signtramp32): Likewise.
2347         (__vdso_sigtramp_rt32): Likewise.
2348         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
2349         Likewise.
2350         (__vdso_clock_gettime): Likewise.
2351         (__vdso_clock_getres): Likewise.
2352         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
2353         Likewise.
2354         (__vdso_clock_gettime): Likewise.
2355         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
2356         Likewise.
2357         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
2358         macro.
2359         (INTERNAL_VSYSCALL): Likewise.
2360         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
2361         Remove macro.
2362         (INTERNAL_VSYSCALL): Likewise.
2363         (INTERNAL_VSYSCALL_NCS): Likewise.
2364         (INTERNAL_VSYSCALL_CALL): New macro.
2365         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
2366         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
2367         Likewise.
2368         (INTERNAL_VSYSCALL): Likewise.
2369         (INTERNAL_VSYSCALL_NCS): Likewise.
2370         (INTERNAL_VSYSCALL_CALL): New macro.
2371         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
2372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2373         (INLINE_VSYSCALL): Remove macro.
2374         (INTERNAL_VSYSCALL): Remove macro.
2375         (INTERNAL_VSYSCALL_NCS): Remove macro.
2376         (INTERNAL_VSYSCALL_CALL): New macro.
2377         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
2378         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
2379         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
2380         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
2381         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
2382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2383         (INLINE_VSYSCALL): Remove macro.
2384         (INTERNAL_VSYSCALL): Likewise.
2385         (INTERNAL_VSYSCALL_NCS): Likewise.
2386         (INTERNAL_VSYSCALL_CALL): New macro.
2387         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
2388         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
2389         PTR_DEMANGLE on vDSO pointer.
2390         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
2391         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
2392         macro.
2393         (INTERNAL_SYSCALL): Likewise.
2394         (INTERNAL_VSYSCALL_NCS): Remove macro.
2395         (INTERNAL_VSYSCALL_CALL): New macro.
2396         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
2397         Remove macro.
2398         (INTERNAL_VSYSCALL): Likewise.
2399         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
2400         sysdep-vdso.h instead of libc-vdso.h.
2401         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
2402         definition.
2403         (INLINE_VSYSCALL): Likewise.
2404         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
2405         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
2406         definition.
2407         (INLINE_VSYSCALL): Likewise.
2408         (INTERNAL_VSYSCALL): Likewise.
2409         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2410         * sysdeps/unix/sysv/linux/timespec_get.c
2411         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2412         (timespec_get): Use ANSI prototype.
2413         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
2414         and definition for Linux.
2416 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
2418         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
2419         * include/libc-symbols.h: libmvec_hidden_* macro series added.
2421 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
2423         [BZ #18410]
2424         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
2425         for missing DT_PLTRELSZ.
2427 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
2429         Remove obsolete aliases that broke 'locale -a'
2430         [BZ #18412]
2431         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
2432         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
2433         breaking some applications that use 'locale -a' output.
2434         Change the encoding of this file from Latin-1 to ASCII to avoid
2435         other potential problems with people grepping this file.
2437 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2439         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
2440         -fasynchronous-unwind-tables.
2441         (CFLAGS-sendto.c): Likewise.
2442         (CFLAGS-sendmsg.c): Likewise.
2443         (CFLAGS-connect.c): Likewise.
2444         (CFLAGS-recvmsg.c): Likewise.
2445         (CFLAGS-recvfrom.c): Likewise.
2446         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
2447         (SOCKETCALL): New macro: non-cancellable socketcall.
2448         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
2449         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
2450         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
2451         * sysdeps/unix/sysv/linux/accept.c: New file.
2452         * sysdeps/unix/sysv/linux/bind.c: Likewise.
2453         * sysdeps/unix/sysv/linux/connect.c: Likewise.
2454         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
2455         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
2456         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
2457         * sysdeps/unix/sysv/linux/listen.c: Likewise.
2458         * sysdeps/unix/sysv/linux/recv.c: Likewise.
2459         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
2460         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
2461         * sysdeps/unix/sysv/linux/send.c: Likewise.
2462         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
2463         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
2464         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
2465         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
2466         * sysdeps/unix/sysv/linux/socket.c: Likewise.
2467         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
2468         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
2469         prototype.
2470         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
2471         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2472         instead of __internal_xxx function.
2473         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
2474         prototype.
2475         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
2476         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2477         instead of __internal_xxx function.
2478         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
2479         prototype.
2480         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
2481         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2482         instead of __internal_xxx function.
2483         * sysdeps/unix/sysv/linux/accept.S: Remove file.
2484         * sysdeps/unix/sysv/linux/bind.S: Likewise.
2485         * sysdeps/unix/sysv/linux/connect.S: Likewise.
2486         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
2487         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
2488         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
2489         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
2490         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
2491         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
2492         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
2493         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
2494         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2495         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
2496         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
2497         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
2498         * sysdeps/unix/sysv/linux/listen.S: Likewise.
2499         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
2500         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
2501         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
2502         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
2503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
2504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
2505         * sysdeps/unix/sysv/linux/recv.S: Likewise.
2506         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
2507         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
2508         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
2509         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2510         * sysdeps/unix/sysv/linux/send.S: Likewise.
2511         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
2512         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
2513         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
2514         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
2515         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
2516         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
2517         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
2518         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
2519         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
2520         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
2521         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
2522         socketcall is implemented in GLIBC.
2524 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
2526         * soft-fp/fmadf4.c: Include <libc-internal.h>.
2527         (__fma): Ignore uninitialized warnings around packing.
2528         * soft-fp/fmasf4.c: Include <libc-internal.h>.
2529         (__fmaf): Ignore uninitialized warnings around packing.
2530         * soft-fp/fmatf4.c: Include <libc-internal.h>.
2531         (__fmal): Ignore uninitialized warnings around packing.
2533         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
2534         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2535         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
2536         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2538         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
2539         switch statement into default case.
2540         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
2542         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
2543         a conditional in forcing "inexact".
2544         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
2545         Likewise.
2547 2015-05-22  Roland McGrath  <roland@hack.frob.com>
2549         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
2550         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
2551         for each INTERNAL_SYSCALL use.
2553 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
2555         [BZ #438]
2556         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
2557         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
2558         variable.
2560         [BZ #18444]
2561         * string/basename.c (basename): Rename to __basename and define as
2562         weak alias of __basename.  Use libc_hidden_weak.
2563         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
2564         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
2565         __basename instead of basename.
2566         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
2567         Remove variable.
2568         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
2570 2015-05-18  Florian Weimer  <fweimer@redhat.com>
2572         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
2573         (_IO_JUMPS_FILE_plus): New.
2574         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
2575         _IO_CAST_FIELD_ACCESS.
2576         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
2577         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
2578         * libio/freopen.c (freopen): Likewise.
2579         * libio/freopen64.c (freopen64): Likewise.
2580         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
2581         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
2582         * libio/iofwide.c (_IO_fwide): Likewise.
2583         * libio/memstream.c (open_memstream): Likewise.
2584         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
2585         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
2586         * libio/oldiopopen.c (_IO_old_popen): Likewise.
2588 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
2590         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
2591         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
2592         NADJ.
2593         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
2594         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
2595         NADJ.
2596         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
2597         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
2598         NADJ.
2600         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
2601         (p == 4) case.
2603         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
2604         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
2605         Remove variable.
2606         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
2607         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
2608         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
2610 2015-05-21  Florian Weimer  <fweimer@redhat.com>
2612         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
2613         Adjust jump table label generation macros.
2615 2015-05-21  Florian Weimer  <fweimer@redhat.com>
2617         * stdio-common/vfprintf.c (vfprintf): Move local variables
2618         args_malloced, specs, specs_malloced, and the code after
2619         do_positional to the printf_positional function.
2620         (printf_positional): New function.
2622 2015-05-21  Florian Weimer  <fweimer@redhat.com>
2624         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
2625         function.
2626         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
2627         STEP4_TABLE, process_arg): Move macro definitions
2628         out of the vfprintf function.  (Cosmetic change only.)
2630 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
2632         * benchtests/Makefile (stdio-common-bench): Define.
2633         (benchset): Add stdio-common-bench.
2634         * sprintf-inputs: New file.
2635         * sprintf-source.c: New file.
2637 2015-05-21  Andreas Schwab  <schwab@suse.de>
2639         [BZ #13028]
2640         [BZ #17053]
2641         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
2642         of struct __res_state.
2643         * resolv/res_send.c (__libc_res_nsend): Likewise.
2644         (get_nsaddr): New function.
2645         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
2646         statp directly.
2648 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
2650         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
2651         -D_POSIX_C_SOURCE=199506L.
2653         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
2655         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
2656         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
2657         Do not mention otherwise.
2658         [POSIX] (_XOPEN_VERSION): Do not expect.
2659         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
2660         [POSIX] (_POSIX2_C_BIND): Likewise.
2661         [POSIX] (_POSIX2_VERSION): Likewise.
2662         [POSIX] (_XOPEN_XPG2): Likewise.
2663         [POSIX] (_XOPEN_XPG3): Likewise.
2664         [POSIX] (_XOPEN_XPG4): Likewise.
2665         [POSIX] (_XOPEN_UNIX): Likewise.
2666         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
2667         [POSIX] (_POSIX_BARRIERS): Likewise.
2668         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
2669         [POSIX] (_POSIX_CPUTIME): Likewise.
2670         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
2671         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
2672         [POSIX] (_POSIX_SHELL): Likewise.
2673         [POSIX] (_POSIX_SPAWN): Likewise.
2674         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
2675         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
2676         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
2677         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
2678         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
2679         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
2680         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
2681         [POSIX] (_XBS5_LP64_OFF64): Likewise.
2682         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
2683         [POSIX] (_POSIX_TIMEOUTS): Likewise.
2684         [POSIX] (_POSIX2_PBS): Likewise.
2685         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
2686         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
2687         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
2688         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
2689         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
2690         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
2691         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
2692         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
2693         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
2694         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
2695         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
2696         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
2697         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
2698         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
2699         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
2700         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
2701         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
2702         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
2703         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
2704         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
2705         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
2706         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
2707         [POSIX] (_SC_2_C_BIND): Likewise.
2708         [POSIX] (_SC_2_C_VERSION): Likewise.
2709         [POSIX] (_SC_2_PBS): Likewise.
2710         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
2711         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
2712         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
2713         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
2714         [POSIX] (_SC_2_PBS_TRACK): Likewise.
2715         [POSIX] (_SC_ATEXIT_MAX): Likewise.
2716         [POSIX] (_SC_BARRIERS): Likewise.
2717         [POSIX] (_SC_BASE): Likewise.
2718         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
2719         [POSIX] (_SC_DEVICE_IO): Likewise.
2720         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
2721         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
2722         [POSIX] (_SC_FD_MGMT): Likewise.
2723         [POSIX] (_SC_FIFO): Likewise.
2724         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
2725         [POSIX] (_SC_FILE_LOCKING): Likewise.
2726         [POSIX] (_SC_FILE_SYSTEM): Likewise.
2727         [POSIX] (_SC_IOV_MAX): Likewise.
2728         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
2729         [POSIX] (_SC_NETWORKING): Likewise.
2730         [POSIX] (_SC_PAGE_SIZE): Likewise.
2731         [POSIX] (_SC_PASS_MAX): Likewise.
2732         [POSIX] (_SC_PIPE): Likewise.
2733         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
2734         [POSIX] (_SC_REGEXP): Likewise.
2735         [POSIX] (_SC_SHELL): Likewise.
2736         [POSIX] (_SC_SIGNALS): Likewise.
2737         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
2738         [POSIX] (_SC_SPIN_LOCKS): Likewise.
2739         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
2740         [POSIX] (_SC_USER_GROUPS): Likewise.
2741         [POSIX] (_SC_USER_GROUPS_R): Likewise.
2742         [POSIX] (_SC_STREAMS): Likewise.
2743         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
2744         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
2745         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
2746         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
2747         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
2748         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
2749         [POSIX] (_PC_FILESIZEBITS): Likewise.
2750         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
2751         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
2752         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
2753         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
2754         [POSIX] (uid_t): Likewise.
2755         [POSIX] (gid_t): Likewise.
2756         [POSIX] (off_t): Likewise.
2757         [POSIX] (pid_t): Likewise.
2758         [POSIX] (cuserid): Allow.
2759         (_SC_2_CHAR_TERM): Require constant.
2760         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
2761         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
2762         variable.
2764 2015-05-20  Roland McGrath  <roland@hack.frob.com>
2766         * sysdeps/nacl/pthread-pids.h: New file.
2767         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
2768         (create_thread): Use __nacl_get_tid to initialize PD->tid.
2770         * nptl/pthread-pids.h: New file.
2771         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
2772         * nptl/nptl-init.c: Include <pthread-pids.h>.
2773         (__pthread_initialize_minimal_internal):
2774         Call __pthread_initialize_pids instead of set_tid_address syscall.
2776         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
2777         * sysdeps/posix/usleep.c: ... here.
2779 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2781         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
2782         call_pselect6 object.
2783         [$(subdir) = io]: Remove call_sync_file_range object.
2784         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
2785         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
2786         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
2787         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
2789 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
2791         * math/s_cproj.c: Add include "math_private.h".
2792         * math/s_cprojf.c: Likewise.
2793         * math/s_cprojl.c: Likewise.
2795 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
2797         [BZ #18244]
2798         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
2799         high mantissa bit when testing whether P is a NaN.
2800         * math/libm-test.inc (remainder_test_data): Add more tests.
2801         (remquo_test_data): Likewise.
2803         [BZ #18049]
2804         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
2805         below -32, return the argument, with underflow if subnormal.
2806         * math/auto-libm-test-in: Add more tests of atanh.
2807         * math/auto-libm-test-out: Regenerated.
2809 2015-05-19  Roland McGrath  <roland@hack.frob.com>
2811         [BZ #18434]
2812         * nptl/tst-sem15.c: New file.
2813         * nptl/Makefile (tests): Add it.
2814         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
2815         s/<</>>/ to fix typo in EOVERFLOW check.
2816         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
2818 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2820         * manual/strings.texi (envz_remove): Fix typo in safety
2821         annotations.
2823 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
2824             Steve Ellcey  <sellcey@imgtec.com>
2826         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
2827         in order to avoid strict alias warnings.
2828         (iruserok_af): Ditto for ra.
2830 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
2832         [BZ #17581]
2833         * malloc/hooks.c
2834         (magicbyte): Convert to a function and avoid returning 0x01.
2835         (mem2mem_check): Avoid using a length byte equal to the magic byte.
2836         (mem2chunk_check): Fix unsigned comparisons to zero.
2837         Hoist defs of sz and magic.
2839 2015-05-19  Richard Henderson  <rth@redhat.com>
2841         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
2843         * sysdeps/alpha/fpu/libm-test-ulps: Update.
2845 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2847         [BZ #16159]
2848         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
2849         * malloc/arena.c (arena_lock): Check if arena is corrupt.
2850         (reused_arena): Find a non-corrupt arena.
2851         (heap_trim): Pass arena to unlink.
2852         * malloc/hooks.c (malloc_check_get_size): Pass arena to
2853         malloc_printerr.
2854         (top_check): Likewise.
2855         (free_check): Likewise.
2856         (realloc_check): Likewise.
2857         * malloc/malloc.c (malloc_printerr): Add arena argument.
2858         (unlink): Likewise.
2859         (munmap_chunk): Adjust.
2860         (ARENA_CORRUPTION_BIT): New macro.
2861         (arena_is_corrupt): Likewise.
2862         (set_arena_corrupt): Likewise.
2863         (sysmalloc): Use mmap if there are no usable arenas.
2864         (_int_malloc): Likewise.
2865         (__libc_malloc): Don't fail if arena_get returns NULL.
2866         (_mid_memalign): Likewise.
2867         (__libc_calloc): Likewise.
2868         (__libc_realloc): Adjust for additional argument to
2869         malloc_printerr.
2870         (_int_free): Likewise.
2871         (malloc_consolidate): Likewise.
2872         (_int_realloc): Likewise.
2873         (_int_memalign): Don't touch corrupt arenas.
2874         * malloc/tst-malloc-backtrace.c: New test case.
2876         * Makefile (summarize-tests): Fix return value on success.
2878         * manual/string.texi (Envz Functions): Add envz_remove.
2880 2015-05-18  Roland McGrath  <roland@hack.frob.com>
2882         * sysdeps/posix/opendir.c: Include <stdbool.h>.
2883         (invalid_name): New function, broken out of ...
2884         (__opendirat): ... here.  Call it.
2885         (need_isdir_precheck): New function, broken out of ...
2886         (__opendirat): ... here.  Call it.
2887         Use __fxstatat64, not __xstatat64.
2888         (opendir_oflags): New function, broken out of ...
2889         (__opendirat): ... here.  Call it.
2890         (opendir_tail): New function, broken out of ...
2891         (__opendirat): ... here.  Call it.
2892         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
2893         opendir_tail, rather than punting to __opendirat.
2894         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
2896 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2898         * .gitignore: Ignore generated *.pyc.
2900 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
2902         * include/stdio.h: Define __need_wint_t.
2903         * test-skeleton.c: Avoid `for' loop initial declaration.
2904         * nptl/tst-initializers1.c: Use test-skeleton.c.
2906 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2908         [BZ #18418]
2909         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
2911 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
2913         [BZ #16352]
2914         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
2915         (__ieee754_atanh): Force underflow exception for results with
2916         small absolute value.
2917         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
2918         (__ieee754_atanhf): Force underflow exception for results with
2919         small absolute value.
2920         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
2921         (__ieee754_atanh): Force underflow exception for results with
2922         small absolute value.
2923         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
2924         (__ieee754_atanhf): Force underflow exception for results with
2925         small absolute value.
2926         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
2927         (__ieee754_atanhl): Force underflow exception for results with
2928         small absolute value.
2929         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
2930         (__ieee754_atanhl): Force underflow exception for results with
2931         small absolute value.
2932         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
2933         (__ieee754_atanhl): Force underflow exception for results with
2934         small absolute value.
2935         * math/auto-libm-test-in: Do not allow missing underflow
2936         exceptions from atanh.
2937         * math/auto-libm-test-out: Regenerated.
2939         [BZ #18221]
2940         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
2941         2**-28 as threshold for returning x or +/- 1/x.
2942         * math/auto-libm-test-in: Add more tests of tan.
2943         * math/auto-libm-test-out: Regenerated.
2945         [BZ #18220]
2946         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2947         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
2948         * math/auto-libm-test-in: Add another test of lgamma.
2949         * math/auto-libm-test-out: Regenerated.
2951 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
2953         * stdio-common/printf_fp.c (___printf_fp): Use abs.
2954         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
2955         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
2956         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
2957         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
2958         (ADD2A): Use fabs.  (SUB2A): Use fabs.
2959         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
2960         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
2961         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
2962         (log1): Use fabs.  (my_log2): Use fabs.
2963         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
2964         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
2965         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
2966         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
2967         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
2968         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
2969         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
2970         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
2971         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
2972         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
2973         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
2975 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
2977         [BZ #18217]
2978         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
2979         as threshold for returning 1 - x.
2980         * math/auto-libm-test-in: Add more tests of erfc.
2981         * math/auto-libm-test-out: Regenerated.
2983 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
2985         [BZ #18196]
2986         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
2987         threshold for large arguments.
2988         * math/auto-libm-test-in: Add another test of atan.
2989         * math/auto-libm-test-out: Regenerated.
2991         [BZ #16339]
2992         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
2993         (__log1p): Force underflow exception for results with small
2994         absolute value.
2995         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
2996         (__log1pf): Force underflow exception for results with small
2997         absolute value.
2998         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
2999         (__log1p): Force underflow exception for results with small
3000         absolute value.
3001         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
3002         (__log1pf): Force underflow exception for results with small
3003         absolute value.
3004         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
3005         (__log1pl): Force underflow exception for results with small
3006         absolute value.
3007         * math/auto-libm-test-in: Do not allow missing underflow
3008         exceptions from log1p.
3009         * math/auto-libm-test-out: Regenerated.
3011 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
3012             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3014         [BZ #16704]
3015         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
3017 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
3019         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
3020         (libmvec): New variable.
3021         * configure.ac: Added option for mathvec build.
3022         * configure: Regenerated.
3023         * mathvec/Depend: New file.
3024         * mathvec/Makefile: New file.
3025         * shlib-versions: Added libmvec.
3026         * math/Makefile: Added rule for libm.so installation.
3028         * bits/math-vector.h: New file.
3029         * bits/libm-simd-decl-stubs.h: New header.
3030         * math/Makefile (headers): Added new header
3031         libm-simd-decl-stubs.h.
3032         * math/math.h (__MATHCALL_VEC): New macro.
3034         * math/gen-libm-have-vector-test.sh: Script generates series of macros
3035         for conditions in testing functions.
3036         * math/Makefile: Added call of libm-have-vector-test.sh.
3037         * math/libm-test.inc (HAVE_VECTOR): New macros.
3039         * math/libm-test.inc: START refactored.
3040         * math/test-double.c (TEST_MATHVEC): Add define.
3041         * math/test-float.c: Likewise.
3042         * math/test-idouble.c: Likewise.
3043         * math/test-ifloat.c: Likewise.
3044         * math/test-ildoubl.c: Likewise.
3045         * math/test-ldouble.c: Likewise.
3046         * sysdeps/generic/math-tests-arch.h
3047         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
3048         architecture check.
3050         * math/test-double.c (FUNC_TEST): New macro.
3051         * math/test-float.c: Likewise.
3052         * math/test-idouble.c: Likewise.
3053         * math/test-ifloat.c: Likewise.
3054         * math/test-ildoubl.c: Likewise.
3055         * math/test-ldouble.c: Likewise.
3056         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
3058 2015-05-13  Roland McGrath  <roland@hack.frob.com>
3060         * sysdeps/nacl/fdopendir.c: New file.
3062         * dirent/scandir-tail.c: New file.
3063         * dirent/scandir64-tail.c: New file.
3064         * dirent/Makefile (routines): Add them.
3065         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
3066         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
3067         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
3068         [!SCANDIR] (SCANDIR_TAIL): New macro.
3069         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
3070         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
3071         (SCANDIRAT): Macro removed.
3072         (SCANDIR_TAIL): New macro.
3073         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
3074         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
3075         (SCANDIRAT): Just call __opendirat and __scandir_tail.
3076         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
3077         (READDIR): Macro removed.
3078         (SCANDIR_TAIL): New macro.
3079         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
3080         (SCANDIR_TAIL): New macro.
3082         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
3083         * dirent/scandir-cancel.c: ... to this new file.
3084         * dirent/Makefile (routines): Add it.
3085         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
3086         * sysdeps/unix/sysv/linux/i386/scandir64.c
3087         (SKIP_SCANDIR_CANCEL): Macro removed.
3088         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
3090         * dirent/tst-scandir.c: New file.
3091         * dirent/tst-scandir64.c: New file.
3092         * dirent/Makefile (tests): Add them.
3094 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
3096         [BZ #18409]
3097         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
3099 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3101         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
3102         list.
3104 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
3106         * benchtests/bench-strcoll.c: New benchmark.
3107         * benchtests/Makefile: Generate locales and run benchmark.
3108         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
3109         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
3110         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
3111         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
3112         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
3113         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
3114         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
3115         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
3116         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
3117         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
3118         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
3119         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
3120         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
3121         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
3122         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
3123         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
3124         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
3125         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
3126         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
3127         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
3128         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
3129         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
3130         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
3131         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
3133 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
3135         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
3136         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3138 2015-05-12  Roland McGrath  <roland@hack.frob.com>
3140         * posix/uname-values.h: New file.
3141         * posix/uname.c: Include that instead of <config-name.h>.
3142         * sysdeps/nacl/uname-values.h: New file.
3143         * sysdeps/arm/nacl/uname-values.h: New file.
3145 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
3147         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
3148         splitting into fields.
3150 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
3152         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
3153         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
3154         * locale/localeinfo.h: Add enum collation_encoding_type.
3155         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
3156         * programs/ld-collate.c (collate_output): Add encoding type info.
3157         * string/strcoll_l.c (STRDIFF): New function.
3158         * (STRCOLL): Use STRDIFF to skip over equal prefix.
3159         * wcsmbs/wcscoll_l.c: Define STRDIFF.
3161 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
3163         [BZ #18397]
3164         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
3165         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
3166         <fpu_control.h> instead of <math/fpu_control.c>.
3167         * sysdeps/mips/mips32/fpu/Makefile: New file.
3169 2015-05-11  Andreas Schwab  <schwab@suse.de>
3171         [BZ #18007]
3172         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
3173         nss_endgrent.
3174         (_nss_compat_endgrent): Call nss_endgrent.
3175         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
3176         nss_endpwent.
3177         (_nss_compat_endpwent): Call nss_endpwent.
3178         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
3179         needent, call nss_setspent only if non-zero.
3180         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
3181         (internal_endspent): Don't call nss_endspent.
3182         (_nss_compat_endspent): Call nss_endspent.
3183         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
3184         Remove.  All uses removed.
3185         (internal_setent): Remove parameter stayopen, add parameter
3186         stream.  Use it instead of global variable.
3187         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
3188         (internal_endent, internal_getent): Add parameter stream.  Use it
3189         instead of global variable.
3190         (CONCAT(_nss_files_end,ENTNAME))
3191         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
3192         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
3193         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
3194         uses removed.
3195         (internal_setent, internal_endent): Add parameter stream.  Use it
3196         instead of global variable.
3197         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
3198         stream.
3199         (get_next_alias): Add parameter stream.
3200         (_nss_files_getaliasent_r): Pass global stream.
3201         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
3202         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
3203         (_nss_files_gethostbyname4_r): Pass local stream to
3204         internal_setent, internal_getent and internal_endent.  Remove
3205         locking.
3207 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3209         * tst-strfmon1.c (tests): Update expected currency symbol.
3211 2015-05-08  Roland McGrath  <roland@hack.frob.com>
3213         * sysdeps/nacl/gethostname.c: New file.
3215 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
3217         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
3218         and sinh.
3219         * math/auto-libm-test-out: Regenerated.
3220         * sysdeps/i386/fpu/libm-test-ulps: Update.
3221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3223 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
3225         [BZ #18125]
3226         * stdlib/tst-setcontext3.c: New file.
3227         * stdlib/tst-setcontext3.sh: New file.
3228         * stdlib/Makefile (tests): Add tst-setcontext3.
3229         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
3230         to verify test program created output file.
3231         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
3232         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
3233         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
3234         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
3236 2015-05-06  Roland McGrath  <roland@hack.frob.com>
3238         [BZ #18383]
3239         * elf/tst-tlsalign.c: New file.
3240         * elf/tst-tlsalign-static.c: New file.
3241         * elf/tst-tlsalign-lib.c: New file.
3242         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
3243         (tests-static): Add tst-tlsalign-static.
3244         (modules-names): Add tst-tlsalign-lib.
3245         (test-xfail-tst-tlsalign): New variable.
3246         (test-xfail-tst-tlsalign-static): New variable.
3248         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
3249         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
3251 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
3253         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
3254         csqrt, erfc, sin and sincos.
3255         * math/auto-libm-test-out: Regenerated.
3256         * sysdeps/i386/fpu/libm-test-ulps: Update.
3257         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3259 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3261         * sysdeps/aarch64/libm-test-ulps: Update.
3263 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
3265         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
3266         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
3267         * math/auto-libm-test-out: Regenerated.
3268         * sysdeps/i386/fpu/libm-test-ulps: Update.
3269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3271 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
3273         [BZ #18265]
3274         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
3275         (wcsncpy): Likewise.
3277 2015-05-05  Florian Weimer  <fweimer@redhat.com>
3279         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3280         Assume __ASSUME_FALLOCATE is always true.
3281         * sysdeps/unix/sysv/linux/posix_fallocate64.c
3282         (__posix_fallocate64_l64): Likweise.
3283         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
3284         (posix_fallocate): Likewise.
3285         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
3286         (__posix_fallocate64_l64): Likewise.
3287         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3288         [!__ASSUME_FALLOCATE]: Add comment.
3290 2015-05-05  Florian Weimer  <fweimer@redhat.com>
3292         * sysdeps/unix/sysv/linux/i386/Makefile
3293         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
3294         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
3295         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
3296         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
3297         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
3298         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
3299         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
3301 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
3303         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
3304         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
3305         tgamma.
3306         * math/auto-libm-test-out: Regenerated.
3307         * sysdeps/i386/fpu/libm-test-ulps: Update.
3308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3310 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
3312         * math/auto-libm-test-in: Add more tests of tgamma.
3313         * math/auto-libm-test-out: Regenerated.
3314         * sysdeps/i386/fpu/libm-test-ulps: Update.
3315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3317         * math/auto-libm-test-in: Add more tests of tanh.
3318         * math/auto-libm-test-out: Regenerated.
3319         * sysdeps/i386/fpu/libm-test-ulps: Update.
3320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3322         * math/auto-libm-test-in: Add more tests of tan.
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 cos, sin and sincos.
3328         * math/auto-libm-test-out: Regenerated.
3329         * sysdeps/i386/fpu/libm-test-ulps: Update.
3330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3332         * math/auto-libm-test-in: Add another test of pow.
3333         * math/auto-libm-test-out: Regenerated.
3334         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3336         * math/auto-libm-test-in: Add more tests of lgamma.
3337         * math/auto-libm-test-out: Regenerated.
3338         * sysdeps/i386/fpu/libm-test-ulps: Update.
3339         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3341         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
3342         log1p.
3343         * math/auto-libm-test-out: Regenerated.
3344         * sysdeps/i386/fpu/libm-test-ulps: Update.
3345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3347 2015-05-01  Mark Wielaard  <mjw@redhat.com>
3349         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
3350         Elf64_Chdr structs and ELFCOMPRESS constants.
3352 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
3354         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
3355         expm1.
3356         * math/auto-libm-test-out: Regenerated.
3357         * sysdeps/i386/fpu/libm-test-ulps: Update.
3358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3360         * math/auto-libm-test-in: Add more tests of erf and erfc.
3361         * math/auto-libm-test-out: Regenerated.
3362         * sysdeps/i386/fpu/libm-test-ulps: Update.
3363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3365 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3367         * config.h.in (HAVE_AARCH64_BE): Add.
3369 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
3371         * math/auto-libm-test-in: Add more tests of csqrt.
3372         * math/auto-libm-test-out: Regenerated.
3373         * sysdeps/i386/fpu/libm-test-ulps: Update.
3374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3376         * math/auto-libm-test-in: Add more tests of cosh and sinh.
3377         * math/auto-libm-test-out: Regenerated.
3378         * sysdeps/i386/fpu/libm-test-ulps: Update.
3379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3381         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
3383 2015-04-29  Roland McGrath  <roland@hack.frob.com>
3385         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
3386         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
3388         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
3389         (euidaccess, eaccess): Define as weak aliases.
3391         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
3392         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
3393         but __suseconds_t is often 'long int' so some sources assume that
3394         type is being used (e.g. they use %ld to print tv_usec).
3396 2015-04-29  Florian Weimer  <fweimer@redhat.com>
3398         [BZ #18007]
3399         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
3400         (CVE-2014-8121)
3401         * nss/tst-nss-getpwent.c: New file.
3402         * nss/Makefile (tests): Add new test.
3404 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
3406         [BZ #18346]
3407         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
3408         exponents less than 48 as cases where high part of mantissa needs
3409         examining to determine whether argument is integral.
3410         * math/libm-test.inc (round_test_data): Add more tests.
3412 2015-04-28  Mark Wielaard  <mjw@redhat.com>
3414         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
3416 2015-04-27  David S. Miller  <davem@davemloft.net>
3418         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
3419         __tls_get_addr.
3420         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3422 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
3424         [BZ#18333]
3425         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
3427 2015-04-27  Florian Weimer  <fweimer@redhat.com>
3429         [BZ#18333]
3430         * time/tzset.c (parse_tzname): Return error on memory allocation
3431         failure.
3432         * test-skeleton.c (struct temp_name_list): Change type of name
3433         member to non-const.
3434         (add_temp_file): Create a copy of the file name.
3435         (delete_temp_files): Deallocate memory.
3436         (create_temp_file): Add comment.
3438 2015-04-24  Florian Weimer  <fweimer@redhat.com>
3440         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
3441         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
3443 2015-04-24  Roland McGrath  <roland@hack.frob.com>
3445         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
3446         * sysdeps/arm/configure: Regenerated.
3448 2015-04-24  Florian Weimer  <fweimer@redhat.com>
3450         [BZ #17715]
3451         * time/tzfile.c (__tzfile_read): Check for large values of
3452         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
3453         * time/tzset.c (__tzstring_len): New function, based on the old
3454         __tzstring function.
3455         (__tzstring): Call __tzstring_len.
3456         (parse_tzname): New helper function extracted from
3457         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
3458         the input string.
3459         (parse_offset): New helper function extracted from
3460         __tzset_parse_tz.  Replace switch with fallthrough with
3461         initialization before sscanf.
3462         (parse_rule): Likewise.
3463         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
3464         new-style function definition.
3465         * timezone/Makefile (tests): Add tst-tzset.
3466         (tst-tzset.out): Dependencies on time zone files.
3467         (tst-tzset-ENV): Set TZDIR.
3468         (testdata/XT%): Copy crafted time zone files.
3469         * timezone/README: Mention crafted time zone files.
3470         * timezone/testdata/XT1, timezone/testdata/XT2,
3471         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
3472         files.
3473         * timezone/tst-tzset.c: New test.
3475 2015-04-24  Florian Weimer  <fweimer@redhat.com>
3477         * Makeconfig (+gccwarn): Remove -Winline.
3479 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3481         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
3483 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3485         * NEWS: Mention sysconf() cache information support for s390.
3486         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
3488 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
3490         * math/k_casinh.c (__kernel_casinh): Use __copysign.
3491         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
3492         (__nearbyint): Likewise.
3493         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
3494         (copysignl): Likewise.
3496 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
3498         [BZ #18287]
3499         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
3500         based on padding.  (CVE-2015-1781)
3502 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3504         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
3505         libc-vdso.h.
3506         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
3507         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
3508         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
3509         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
3510         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
3511         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
3512         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
3513         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3514         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3515         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
3516         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3517         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3518         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
3519         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
3520         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
3521         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
3522         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
3523         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
3524         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
3525         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
3526         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
3527         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
3528         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
3530 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
3532         * stdlib/setenv.c (__add_to_environ):
3533         Dump core quickly if setenv (..., NULL, ...) is called.
3534         This time, do it the right way, and pacify GCC with a pragma.
3536 2015-04-17  Roland McGrath  <roland@hack.frob.com>
3538         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
3539         IMAP->l_prev cannot be null, and #if out the code for the contrary
3540         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
3541         believe that NS (&_dl_ns[NSID]) could point outside the array.
3543         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
3544         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
3545         before using NSID as an index.
3547 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
3549         [BZ #17825]
3550         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
3551         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
3552         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3554 2015-04-17  Roland McGrath  <roland@hack.frob.com>
3556         Add preliminary port to Google Native Client on ARM.
3557         * abi-tags (.*-.*-nacl.*): New entry.
3558         * sysdeps/arm/nacl: New directory.
3559         * sysdeps/nacl: New directory.
3561 2015-04-16  David S. Miller  <davem@davemloft.net>
3563         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
3564         lowlevellock-futex.h
3566 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
3568         * sysdeps/tile/configure.ac: New file.
3569         * sysdeps/tile/configure: Regenerated.
3571 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3573         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
3574         conditionals for weak_alias and libc_hidden_weak.
3575         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
3576         libc_hidden_weak and weak_alias.
3577         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
3578         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
3579         and weak_alias for static one.
3581 2015-04-15  David S. Miller  <davem@davemloft.net>
3583         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3585 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3587         [BZ #18206]
3588         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
3589           Use signed comparision instead of substraction to avoid
3590           overflow bug.
3591         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
3592           Take the sign of ret.
3593         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
3594           Do not expect precise return values. Only the sign matters.
3595         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
3596         * wcsmbs/test-wcsncmp.c: New File.
3597         * string/test-strncmp.c: Add wcsncmp support.
3599 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3601         [BZ #6792]
3602         * math/w_log1p.c: New file.
3603         * math/w_log1pf.c: Likewise.
3604         * math/w_log1pl.c: Likewise.
3605         * math/Makefile (libm-calls): Add w_log1p.
3606         * math/s_log1pl.c (log1pl): Remove weak_alias.
3607         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
3608         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
3609         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
3610         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
3611         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
3612         [NO_LONG_DOUBLE] (log1pl): Likewise.
3613         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
3614         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
3615         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
3616         (log1p): Remove long_double_symbol.
3617         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
3618         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
3619         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
3620         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
3621         remove weak_alias for corresponding log1p function.
3622         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
3623         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
3624         * sysdeps/ia64/fpu/w_log1p.c: New file.
3625         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
3626         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
3627         * math/libm-test.inc (log1p_test_data): Add errno expectations.
3629 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
3631         [BZ #18247]
3632         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
3633         decimal exponent by 1.
3634         * stdlib/tst-strtod-round-data: Add more tests.
3635         * stdlib/tst-strtod-round.c (tests): Regenerated.
3637 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
3639         * math/auto-libm-test-in: Add more tests of clog and clog10.
3640         * math/auto-libm-test-out: Regenerated.
3641         * sysdeps/i386/fpu/libm-test-ulps: Update.
3642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3644 2015-04-09  Roland McGrath  <roland@hack.frob.com>
3646         * Makeconfig (module-cppflags): Exclude all .v.i files.
3647         (skip-module-cppflags): Variable removed.
3649         * configure.ac (libc_config_ok): Initialize before reading
3650         preconfigure scripts, not after.
3651         * configure: Regenerated.
3653         * test-skeleton.c (TIMEOUT): Move #define to top level.
3654         (main): Grok environment variable TEST_DIRECT.  If set, print
3655         test expectation details into that file and then behave as if
3656         given --direct.
3658 2015-04-09  Florian Weimer  <fweimer@redhat.com>
3660         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
3661         warning on 32-bit.
3663 2015-04-08  David S. Miller  <davem@davemloft.net>
3665         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3667 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
3669         * math/auto-libm-test-in: Add more tests of atanh.
3670         * math/auto-libm-test-out: Regenerated.
3671         * sysdeps/i386/fpu/libm-test-ulps: Update.
3672         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3674         * math/auto-libm-test-in: Add more tests of atan.
3675         * math/auto-libm-test-out: Regenerated.
3676         * sysdeps/i386/fpu/libm-test-ulps: Update.
3677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3679 2015-04-08  Florian Weimer  <fweimer@redhat.com>
3681         * elf/pldd.c (main): Rewrite to use struct
3682         scratch_buffer instead of extend_alloca.
3683         * elf/pldd-xx.c (find_maps): Likewise.
3684         * grp/initgroups.c: Include <scratch_buffer.h> instead of
3685         <alloca.h>.
3686         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
3687         scratch_buffer instead of extend_alloca.
3688         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
3689         grp/compat-initgroups.c.
3690         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
3691         Rewrite to use struct scratch_buffer instead of extend_alloca.
3692         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
3693         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3695 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
3697         * math/auto-libm-test-in: Add more tests of cbrt.
3698         * math/auto-libm-test-out: Regenerated.
3699         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3701         * math/auto-libm-test-in: Add more tests of cabs.
3702         * math/auto-libm-test-out: Regenerated.
3703         * sysdeps/i386/fpu/libm-test-ulps: Update.
3704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3706         [BZ #18210]
3707         [BZ #18211]
3708         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
3709         (__ieee754_atan2): Set FE_TONEAREST mode for internal
3710         computations.
3711         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
3712         clog10.
3713         * math/auto-libm-test-out: Regenerated.
3714         * sysdeps/i386/fpu/libm-test-ulps: Update.
3715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3717         [BZ #18197]
3718         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
3719         (atan): Set FE_TONEAREST mode for internal computations.
3720         * math/auto-libm-test-in: Add more tests of atan.
3721         * math/auto-libm-test-out: Regenerated.
3723 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
3725         [BZ #17930]
3726         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
3728 2015-04-07  Florian Weimer  <fweimer@redhat.com>
3730         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
3732 2015-04-07  Florian Weimer  <fweimer@redhat.com>
3734         * include/scratch_buffer.h: New file.
3735         * malloc/scratch_buffer_grow.c: Likewise.
3736         * malloc/scratch_buffer_grow_preserve.c: Likewise.
3737         * malloc/scratch_buffer_set_array_size.c: Likewise.
3738         * malloc/tst-scratch_buffer.c: Likewise.
3739         * malloc/Makefile (routines): Add scratch_buffer_grow.
3740         (tests): Add test case.
3741         * malloc/Versions (GLIBC_PRIVATE): Export
3742         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
3743         __libc_scratch_buffer_set_array_size.
3745 2015-04-06  Richard Henderson  <rth@redhat.com>
3747         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
3748         * sysdeps/alpha/fpu/libm-test-ulps: Update.
3750         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
3751         unsigned int before printing.
3753 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3755         [BZ #17596]
3756         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
3757         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3759 2015-04-02  Florian Weimer  <fweimer@redhat.com>
3761         * include/libc-internal.h (libc_max_align_t): Define.
3763 2015-04-02  Andreas Schwab  <schwab@suse.de>
3765         [BZ #16850]
3766         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
3768 2015-04-02  Mel Gorman  <mgorman@suse.de>
3770         [BZ #17195]
3771         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
3772         as well as the main arena.
3774 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
3776         [BZ #18185]
3777         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
3778         sharing L2 cache to 2 for Silvermont/Knights Landing.
3780 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
3782         [BZ #17711]
3783         * config.make.in (have-protected-data): New.
3784         * configure.ac: Check linker support for protected data symbol.
3785         * configure: Regenerated.
3786         * elf/Makefile (modules-names): Add tst-protected1moda and
3787         tst-protected1modb if $(have-protected-data) is yes.
3788         (tests): Add tst-protected1a and tst-protected1b if
3789         $(have-protected-data) is yes.
3790         ($(objpfx)tst-protected1a): New.
3791         ($(objpfx)tst-protected1b): Likewise.
3792         (tst-protected1modb.so-no-z-defs): Likewise.
3793         * elf/tst-protected1a.c: New file.
3794         * elf/tst-protected1b.c: Likewise.
3795         * elf/tst-protected1mod.h: Likewise.
3796         * elf/tst-protected1moda.c: Likewise.
3797         * elf/tst-protected1modb.c: Likewise.
3799 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
3801         [BZ #17711]
3802         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
3803         indicates it is called from do_lookup_x on relocation against
3804         protected data, skip the data definion in the executable from
3805         copy reloc.
3806         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
3807         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
3808         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
3809         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
3810         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
3811         otherwise to 0.
3812         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
3813         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
3814         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
3815         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
3816         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
3817         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
3819 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
3821         * sysdeps/nptl/pthread.h: Remove duplicate definition of
3822         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
3824 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
3826         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
3827         THREAD_SETMEM_NC.
3828         * sysdeps/x86_64/nptl/tls.h: Ditto.
3830 2015-03-27  Roland McGrath  <roland@hack.frob.com>
3832         * dlfcn/tststatic.c (main): Converted to ...
3833         (do_test): ... this.
3834         (TEST_FUNCTION): New macro.
3835         Include test-skeleton.c.
3837 2015-03-26  Alan Modra  <amodra@gmail.com>
3839         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
3840         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
3841         zero for undefined weak.
3842         (elf_machine_plt_conflict): Similarly.
3844 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
3846         * math/auto-libm-test-in: Add more tests of acosh, asinh and
3847         atanh.
3848         * math/auto-libm-test-out: Regenerated.
3849         * sysdeps/i386/fpu/libm-test-ulps: Update.
3850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3852         * math/auto-libm-test-in: Add another test of asin.
3853         * math/auto-libm-test-out: Regenerated.
3854         * sysdeps/i386/fpu/libm-test-ulps: Update.
3855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3857         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
3858         Remove macro.
3859         (LLL_EBX_REG): Likewise.
3860         (LLL_ENTER_KERNEL): Likewise.
3862         * math/auto-libm-test-in: Add more tests of asin.
3863         * math/auto-libm-test-out: Regenerated.
3864         * sysdeps/i386/fpu/libm-test-ulps: Update.
3865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3867         [BZ #18138]
3868         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
3869         libc_do_syscall_args): New structure.
3870         (INTERNAL_SYSCALL_MAIN_0): New macro.
3871         (INTERNAL_SYSCALL_MAIN_1): Likewise.
3872         (INTERNAL_SYSCALL_MAIN_2): Likewise.
3873         (INTERNAL_SYSCALL_MAIN_3): Likewise.
3874         (INTERNAL_SYSCALL_MAIN_4): Likewise.
3875         (INTERNAL_SYSCALL_MAIN_5): Likewise.
3876         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
3877         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
3878         Replace conditional definitions by conditional definitions of ....
3879         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
3880         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
3881         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
3882         (libpthread-sysdep_routines): Add libc-do-syscall.
3883         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
3884         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
3885         to __NR_futex not 240.
3887 2015-03-25  Alan Modra  <amodra@gmail.com>
3889         * NEWS: Advertise TLS optimization.
3890         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
3891         (DT_PPC_NUM): Increment.
3892         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
3893         (CHECK_STATIC_TLS): Use here.
3894         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
3895         TLS descriptors.
3896         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3897         * sysdeps/powerpc/dl-tls.c: New file.
3898         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
3899         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
3900         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
3901         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
3902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
3903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
3904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
3906 2015-03-25  Alan Modra  <amodra@gmail.com>
3908         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
3909         for overlapping .opd entries" to "support...".
3910         * sysdeps/powerpc/powerpc64/configure: Regenerate
3912 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
3914         * math/auto-libm-test-in: Add more tests of acos.
3915         * math/auto-libm-test-out: Regenerated.
3916         * sysdeps/i386/fpu/libm-test-ulps: Update.
3917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3919         * math/auto-libm-test-in: Add more tests of expm1.
3920         * math/auto-libm-test-out: Regenerated.
3921         * sysdeps/i386/fpu/libm-test-ulps: Update.
3922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3924 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
3926         * math/auto-libm-test-in: Add more tests of cosh and sinh.
3927         * math/auto-libm-test-out: Regenerated.
3928         * sysdeps/i386/fpu/libm-test-ulps: Update.
3929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3931         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3934         * math/auto-libm-test-in: Add more tests of log2.
3935         * math/auto-libm-test-out: Regenerated.
3936         * sysdeps/i386/fpu/libm-test-ulps: Update.
3937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3939 2015-03-23  Roland McGrath  <roland@hack.frob.com>
3941         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
3942         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
3943         _IO_IS_APPENDING bit in READ_WRITE instead.
3945 2015-03-23  Florian Weimer  <fweimer@redhat.com>
3947         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
3948         (__determine_cpumask_size): Replace extend_alloca with a
3949         variable-length array.  Do not treat res == 0 as an error.
3951 2015-03-23  Florian Weimer  <fweimer@redhat.com>
3953         [BZ #18100]
3954         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
3955         and integer overflow.
3956         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
3957         (main): Add integer overflow tests.
3958         * manual/pattern.texi (Calling Wordexp): Document additional use
3959         for WRDE_SYNTAX.
3961 2015-03-23  Alan Modra  <amodra@gmail.com>
3963         * config.h.in: Remove HAVE_ASM_PPC_REL16.
3964         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
3965         and false branch of conditional.
3966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3967         Likewise.
3969 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
3971         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
3972         libc-modules.h
3973         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
3974         unused declaration of _hurd_intr_rpc_msg_in_trap.
3975         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
3976         defined instead of whether it is non-zero.
3977         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
3978         input constraint instead of both input and output constraint.  Use ecx
3979         clobber instead of %ecx.
3980         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
3981         mutex_unlock): Use a statement expression instead of an expression list.
3982         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
3983         type to vm_size_t instead of vm_address_t.
3984         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
3985         defined instead of whether it is non-zero.
3986         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
3987         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
3988         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
3989         comparisons with mapaddr.
3990         * nscd/nscd-client.h: Include <time.h>.
3991         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
3992         9th parameter to __vm_region instead of int.
3993         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
3994         * scripts/check-local-headers.sh (exclude): Add device/,
3995         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
3996         cthreads.h.
3998 2015-03-19  Roland McGrath  <roland@hack.frob.com>
4000         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
4001         to account for alignment padding.
4002         * sysdeps/arm/memmove.S: Likewise.
4004 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
4006         * sysdeps/unix/sysv/linux/generic/README: New file.
4008 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
4010         [BZ #18138]
4011         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
4012         (futex_abstimed_wait)
4013         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
4014         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
4015         of lll_futex_timed_wait.
4017 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
4019         [BZ #17542]
4020         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
4022 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
4024         [BZ #17090]
4025         [BZ #17620]
4026         [BZ #17621]
4027         [BZ #17628]
4028         * NEWS: Update.
4029         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
4030         entries with Static TLS too.  Skip entries past the end of the
4031         allocated DTV, from Alan Modra.
4032         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
4033         Static TLS DTV entry set up from...
4034         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
4035         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
4036         * nptl/allocatestack.c (init_one_static_tls): ... and here...
4037         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
4038         for Static TLS.
4039         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
4040         that the slot we find is associated with the given map before
4041         using its generation count.
4042         * nptl_db/db_info.c: Include ldsodefs.h.
4043         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
4044         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
4045         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
4046         (link_map::l_tls_offset): New struct field.
4047         (dtv_t::counter): Likewise.
4048         (rtld_global): New struct.
4049         (_rtld_global): New rtld variable.
4050         (dl_tls_dtv_slotinfo_list): New rtld global field.
4051         (dtv_slotinfo_list): New struct.
4052         (dtv_slotinfo): Likewise.
4053         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
4054         (td_lookup): Rename to...
4055         (td_mod_lookup): ... this.  Use new mod parameter instead of
4056         LIBPTHREAD_SO.
4057         * nptl_db/td_thr_tlsbase.c: Include link.h.
4058         (dtv_slotinfo_list, dtv_slotinfo): New functions.
4059         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
4060         addresses even if the DTV is out of date or missing them.
4061         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
4062         index zero-length arrays.
4063         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
4064         (td_lookup): Make it a macro implemented in terms of...
4065         (td_mod_lookup): ... this declaration.
4066         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
4067         (DB_MAIN_VARIABLE): Likewise.
4069 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
4071         [BZ #18134]
4072         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
4074 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
4076         * stdlib/setenv.c (__add_to_environ): Revert previous change.
4078 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
4080         [BZ #18128]
4081         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
4082         (atomic_add, atomic_increment_and_test)
4083         (atomic_decrement_and_test): Fix 64-bit arithmetic.
4085 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
4087         * stdlib/setenv.c (__add_to_environ):
4088         Dump core quickly if setenv (..., NULL, ...) is called.
4090 2015-03-13  Roland McGrath  <roland@hack.frob.com>
4092         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
4093         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
4094         all the necessary asm magic in one place.
4095         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
4096         using those.
4098 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
4100         [BZ #14906]
4101         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
4102         traced file mtime. Use consistent log message.
4103         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
4104         (register_traced_file): Call install_watches. Always set mtime.
4105         (invalidate_cache): Iterate over all trace files. Call install_watches.
4106         (inotify_check_files): Don't inline. Handle watching parent
4107         directories and configuration file movement in and out.
4108         (handle_inotify_events): New function.
4109         (main_loop_poll): Call handle_inotify_events.
4110         (main_loop_epoll): Likewise.
4111         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
4112         (struct traced_file): Use array of inotify fds. Add parent directory,
4113         and basename.
4114         (struct database_dyn): Remove unused file_mtime.
4115         (init_traced_file): New inline function.
4116         (define_traced_file): New macro.
4117         * nss/nss_db/db-init.c: Use define_traced_file.
4118         (_nss_db_init): Use init_traced_file.
4119         * nss/nss_files/files-init.c: Use define_traced_file.
4120         (_nss_files_init): Use init_traced_file.
4122 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
4124         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
4125         [_LIBC]: Do not include <stdlib.h>.
4126         [!_LIBC] (abort): Remove declaration.
4127         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
4128         _FP_STATIC_ASSERT instead of conditionally calling abort.
4129         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
4130         (_FP_EXTEND_CNAN): Likewise.
4131         (FP_TRUNC): Likewise.
4132         (__FP_CLZ): Likewise.
4133         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
4135 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
4137         * manual/string.texi (XPG basename): Fix prototype.
4139 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4141         [BZ #18080]
4142         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
4143         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
4144         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
4145         (__setcontext): Likewise.
4146         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
4147         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
4148         Call rt_sigprocmask syscall one time to set new signal mask
4149         and retrieve the current signal mask instead of two calls.
4150         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
4151         (__swapcontext): Likewise.
4152         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
4153         * stdlib/tst-setcontext2.c: New file.
4155 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4157         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4159 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
4161         [BZ #18093]
4162         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
4163         the wrong size.
4165 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
4167         [BZ #18043]
4168         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
4170 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
4172         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
4173         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
4174         Remove define.
4175         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
4176         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
4177         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
4178         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
4179         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
4180         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
4181         define.
4182         * nptl_db/td_symbol_list.c (td_lookup): Remove
4183         HAVE_ASM_GLOBAL_DOT_NAME code.
4184         * sysdeps/powerpc/powerpc64/configure.ac: Remove
4185         HAVE_ASM_GLOBAL_DOT_NAME check.
4186         * sysdeps/powerpc/powerpc64/configure: Regenerate.
4187         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
4188         (DOT_LABEL): Remove define.
4189         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
4190         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
4191         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
4192         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
4193         (__TLS_GET_ADDR): Likewise.
4194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
4195         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
4197 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
4199         [BZ #18111]
4200         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
4201         (_FPU_SETCW): Initialize cw from fpsr before storing.
4202         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
4203         (fesetexceptflag): Rewrite using fpu_control.h.
4204         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
4206 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
4208         [BZ #18110]
4209         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
4210         asms.
4211         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
4213 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
4215         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
4216         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
4217         abort.
4218         (_FP_FMA): Likewise.
4219         (_FP_DIV): Likewise.
4221 2015-03-10  Roland McGrath  <roland@hack.frob.com>
4223         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
4224         with 0 in that case.
4225         * Makefile (summarize-tests): New canned sequence, factored out of
4226         commands for targets tests and xtests.  Display summary lines that
4227         don't start with PASS: or XFAIL: rather than ones that do start with
4228         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
4229         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
4230         do start with ERROR: or FAIL:.
4231         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
4232         (except for [$(build-shared) = yes]).
4233         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
4234         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
4235         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
4236         * nptl/Makefile: Revert 2015-03-04 changes.
4237         [$(CXX) empty] (tests-unsupported): New variable.
4238         * debug/Makefile: Likewise.
4240         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
4241         gnulib file.  Replace __attribute with __attribute__ throughout.
4243 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
4245         * sysdeps/hppa/fpu/libm-test-ulps: Update.
4247 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
4249         [BZ #18104]
4250         * math/auto-libm-test-in: Add another test of pow.
4251         * math/auto-libm-test-out: Regenerated.
4253 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4255         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
4256         $(config-cflags-nofma).
4258 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
4260         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
4261         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
4262         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
4263         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
4264         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
4265         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
4266         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
4267         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
4268         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
4269         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
4270         Add comment on closing #endif.
4272 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4274         * posix/wordexp.c (CHAR_IN_SET): New macro.
4275         (parse_param): Use it.
4277 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4279         * sysdeps/powerpc/fpu/libm-test-ulps: update.
4281 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4283         [BZ #18043]
4284         * posix/wordexp.c (parse_param): Fix buffer overflow.
4285         * posix/wordexp-test.c (test_case): Add test case.
4287 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4289         [BZ #18042]
4290         * posix/wordexp.c (parse_backtick): Fix off-by-one.
4291         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
4293 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4295         [BZ #18043]
4296         * posix/wordexp-test.c (test_case): Add test for BZ #18043
4297         (do_bz18043): Delete.
4298         (at_page_end): New.
4299         (testit): Refactor to have words at the edge of unreadable page.
4301 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
4303         [BZ #16734]
4304         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
4305         Cleanup read-only streams as well.
4306         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
4308 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4310         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
4311         <bits/libc-lockP.h>
4313 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
4315         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
4316         on [__KERNEL__].
4317         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
4318         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
4319         * soft-fp/op-common.h (_FP_DECL): Likewise.
4321 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
4323         * elf/ifuncdep2.c (global): Replace
4324         __attribute__((visibility("protected"))) with
4325         asm (".protected global").
4326         * elf/ifuncmod1.c (global): Likewise.
4327         * elf/ifuncmod5.c (global): Likewise.
4329 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
4331         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
4332         <asm/sfp-machine.h> instead of <sfp-machine.h>.
4334 2015-03-06  Roland McGrath  <roland@hack.frob.com>
4336         * manual/install.texi (Configuring and compiling):
4337         Document test-wrapper-env-only.
4338         * INSTALL: Regenerated.
4340 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
4342         [BZ #18043]
4343         * posix/wordexp.c (parse_param): Fix buffer overflow.
4344         * posix/wordexp-test.c (do_bz18043): Add test case.
4346 2015-03-06  Vincent Bernat  <vincent@bernat.im>
4348         * time/tst-strptime2.c (do_test): Ensure failing tests are
4349         reported correctly.
4350         * time/tst-strptime3.c (do_test): Likewise.
4352 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
4354         Fix aio_error thread-safety.
4355         * sysdeps/pthread/aio_error.c: New file
4356         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
4357         synchronization.
4359 2015-03-06  Florian Weimer  <fweimer@redhat.com>
4361         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
4362         (group_number, vfprintf): Use it.
4363         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
4364         (JUMP, REF): Use it.
4365         (WORK_BUFFER_SIZE): New enum constant.
4366         (process_arg, vfprintf): Use it.
4368 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
4370         * manual/errno.texi (Error Messages): Complete example function
4371         by adding missing #define.
4372         (program_invocation_name): Add statement indicating GNU
4373         extension and reference which header file declares the variable.
4374         (program_invocation_short_name): Likewise.
4376 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
4378         * manual/errno.texi (Error Messages): Delete strerror ISO C89
4379         compatibility note.
4381 2015-03-05  Roland McGrath  <roland@hack.frob.com>
4383         * Makeconfig (test-wrapper-env-only): New variable.
4384         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
4385         then use that with $(test-wrapper-env-only) rather than using
4386         $(test-wrapper-env) $(run-program-env) $($*-ENV).
4388 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
4390         [BZ #18082]
4391         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
4392         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
4393         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
4394         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
4395         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
4396         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
4397         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
4398         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
4399         Likewise.
4400         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
4401         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
4402         Likewise.
4403         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
4404         Likewise.
4405         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
4406         Likewise.
4407         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
4408         Likewise.
4409         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
4410         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
4411         Likewise.
4412         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
4413         Likewise.
4414         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
4415         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
4417 2015-03-04  Roland McGrath  <roland@hack.frob.com>
4419         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
4420         (ETH_ALEN): New macro.
4421         (struct ether_addr): Use it for length of ether_addr_octet.
4423         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
4424         (setdb): Don't call __nss_configure_lookup for "rpc".
4425         (do_test): Don't call test_rpc.
4426         (output_rpcent, test_rpc): Functions moved ...
4427         * sunrpc/test-rpcent.c: ... to this new file.
4428         * sunrpc/Makefile (tests): Add it.
4430         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
4431         __xpg_sigpause.
4432         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
4433         * nptl/tst-signal6.c: Likewise.
4434         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
4435         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
4437         * configure.ac (libc_cv_cxx_link_ok): New check.
4438         Reset CXX to empty if it fails to link.
4439         * configure: Regenerated.
4440         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
4441         bug-atexit3-lib only if $(CXX) is nonempty.
4442         * nptl/Makefile (tests): Likewise for tst-cancel24.
4443         (tests, tests-static): Likewise for tst-cancel24-static.
4444         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
4445         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
4446         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
4447         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
4449 2015-03-04  Andreas Schwab  <schwab@suse.de>
4451         [BZ #17631]
4452         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
4453         for non-GCC compilers.
4454         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4455         Likewise.
4457 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
4459         [BZ #17776]
4460         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
4461         integer before bitwise and assembly operations.
4462         (feclearexcept): Likewise.
4463         * math/test-fenvinline.c: New file.
4464         * math/Makefile: Add test-fenvinline test.
4466 2015-03-03  Alan Modra  <amodra@gmail.com>
4468         [BZ #16512]
4469         * scripts/localplt.awk: Strip off symbol version.
4470         * NEWS: Mention bug fix.
4472 2015-03-02  Roland McGrath  <roland@hack.frob.com>
4474         * sysdeps/pthread/timer_routines.c
4475         (timer_free_list, thread_free_list, thread_active_list): Make static.
4477 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
4479         [BZ #17779]
4480         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4481         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4482         Undefine.
4483         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4484         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4485         Likewise.
4486         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4487         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4488         Likewise.
4490 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
4492         [BZ #18036]
4493         * posix/fnmatch_loop.c (END): Detect invalid pattern.
4494         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
4496 2015-03-02  Andreas Schwab  <schwab@suse.de>
4498         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
4499         variable name.
4501 2015-03-02  Florian Weimer  <fweimer@redhat.com>
4503         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
4504         Return error status.
4506 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
4508         [BZ #15969]
4509         * locale/findlocale.c (_nl_find_locale): Introduce const
4510         version of loc_name and drop unsafe type casts.
4512 2015-02-27  Roland McGrath  <roland@hack.frob.com>
4514         * dlfcn/tststatic2.c (main): Converted to ...
4515         (do_test): ... this.
4516         (TEST_FUNCTION): New macro.
4517         Include test-skeleton.c.
4519 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
4521         [BZ #17711]
4522         * elf/Makefile (tests): Add vismain only if PIE is enabled.
4523         (tests-pie): Add vismain.
4524         (CFLAGS-vismain.c): New.
4525         * elf/vismain.c: Add comments for PIE requirement.
4527 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
4529         [BZ #18046]
4530         [BZ #18047]
4531         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
4532         0x1p-56L as threshold for just returning the argument.
4533         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
4534         0x1p-32L as threshold for just returning the argument.
4535         * math/auto-libm-test-in: Add more tests of atanh.
4536         * math/auto-libm-test-out: Regenerated.
4537         * sysdeps/i386/fpu/libm-test-ulps: Update.
4538         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
4540 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
4542         * string/bcopy.c (bcopy): Call memmove for performance.
4544 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
4546         * string/bzero.c (__bzero): Call memset for performance.
4548 2015-02-27  John David Anglin  <dave.anglin@bell.net>
4550         [BZ #18068]
4551         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
4552         to 00100000.
4554 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
4556         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
4558 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
4560         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
4561         (__kernel_standard): Use CSTR macro when setting exc.name.
4562         * sysdeps/ieee754/Makefile [$(subdir) = math]
4563         (CFLAGS-k_standard.c): Remove variable.
4565         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
4566         setting p and q from "else if" to "else".
4567         (qzero): Likewise.
4568         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
4569         (qone): Likewise.
4570         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
4571         (qzerof): Likewise.
4572         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
4573         (qonef): Likewise.
4574         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
4575         (qzero): Likewise.
4576         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
4577         (qone): Likewise.
4579         [BZ #18038]
4580         [BZ #18039]
4581         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
4582         return pi/2 for arguments below 0x1p-113L.
4583         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
4584         return pi/2 for arguments below 0x1p-106L.
4585         * math/auto-libm-test-in: Add more tests of acos.
4586         * math/auto-libm-test-out: Regenerated.
4588         [BZ #16351]
4589         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
4590         (MO): New macro.
4591         (__ieee754_asin): Force underflow exception for results with small
4592         absolute value.
4593         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
4594         (MO): New macro.
4595         (__ieee754_asinf): Force underflow exception for results with
4596         small absolute value.
4597         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
4598         (__ieee754_asin): Force underflow exception for results with small
4599         absolute value.
4600         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
4601         (__ieee754_asinf): Force underflow exception for results with
4602         small absolute value.
4603         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
4604         (__ieee754_asinl): Force underflow exception for results with
4605         small absolute value.
4606         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
4607         (__ieee754_asinl): Force underflow exception for results with
4608         small absolute value.
4609         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
4610         (__ieee754_asinl): Force underflow exception for results with
4611         small absolute value.
4612         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
4613         Include <math.h>.
4614         * math/auto-libm-test-in: Do not mark underflow exceptions as
4615         possibly missing for bug 16351.
4616         * math/auto-libm-test-out: Regenerated.
4618         [BZ #18030]
4619         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
4620         of power of 2 down when low part has opposite sign.
4621         * math/libm-test.inc (logb_test_data): Add more tests.
4623 2015-02-26  Andreas Schwab  <schwab@suse.de>
4625         [BZ #18032]
4626         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
4627         over collating symbol inside a bracket expression.  Minor cleanup.
4628         * posix/tst-fnmatch3.c (do_test): Add test case.
4630 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
4632         [BZ #18029]
4633         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
4634         Adjust exponent of power of 2 down when low part has opposite
4635         sign.
4636         * math/libm-test.inc (ilogb_test_data): Add more tests.
4638 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
4640         [BZ #15969]
4641         * locale/findlocale.c (_nl_find_locale): Fix constness error in
4642         the previous change.
4644         [BZ #15969]
4645         * locale/findlocale.c (_nl_find_locale): Retry archive search
4646         after alias expansion.
4648 2015-02-25  Roland McGrath  <roland@hack.frob.com>
4650         * iconv/tst-iconv3.c (main): Converted to ...
4651         (do_test): ... this.
4652         (TEST_FUNCTION): New macro.
4653         Include test-skeleton.c.
4655         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
4656         (convert): Make function static.
4657         (test_unalign): Likewise.  Add const to argument pointee types.
4658         (main): Replace with static function do_test.
4659         Print "Succeeded." only if RET is zero.
4660         (TEST_FUNCTION): New macro.
4661         Include test-skeleton.c.
4663         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
4664         returns a null pointer.
4666 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4668         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
4669         to __memcpy_ppc only for static builds.
4671 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
4673         [BZ #18020]
4674         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
4675         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
4676         * math/auto-libm-test-in: Add more tests of asinh.
4677         * math/auto-libm-test-out: Regenerated.
4678         * sysdeps/i386/fpu/libm-test-ulps: Update.
4679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4681 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
4683         [BZ #15850]
4684         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
4685         and ip6_mtuinfo definitions here.
4686         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
4687         in this define too.  Update comment.
4689 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
4691         * elf/sprof.c (load_shobj): Tweak error message to match others.
4693 2015-02-24  Kevin Easton  <kevin@guarana.org>
4695         [BZ #16145] (partial fix)
4696         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
4697         to reduce lock contention.
4699 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
4701         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
4702         (struct timex): Update time comment.
4703         (ADJ_SETOFFSET): Define.
4705 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
4707         [BZ #18019]
4708         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
4709         2**56 not 2**28 as threshold for log (2x) formula.
4710         * math/auto-libm-test-in: Add more tests of acosh.
4711         * math/auto-libm-test-out: Regenerated.
4712         * sysdeps/i386/fpu/libm-test-ulps: Update.
4713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4715 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
4717         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
4718         parenthesis around the buf assignment.
4719         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
4721 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
4723         [BZ #16783]
4724         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
4725         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
4726         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
4727         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4728         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4729         * math/libm-test.inc (scalb_test_data): Add more tests.
4731 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
4733         [BZ #17916]
4734         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
4735         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
4737 2015-02-24  Eric Rannaud  <e@nanocritical.com>
4739         [BZ #17523]
4740         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
4741         * io/bits/fcntl2.h (open): Use it.
4742         (openat): Likewise.
4743         * io/open.c (__libc_open): Likewise.
4744         * io/open64.c (__libc_open64): Likewise.
4745         * io/open64_2.c (__open64_2): Likewise.
4746         * io/open_2.c (__open_2): Likewise.
4747         * io/openat.c (__openat): Likewise.
4748         * io/openat64.c (__openat64): Likewise.
4749         * io/openat64_2.c (__openat64_2): Likewise.
4750         * io/openat_2.c (__openat_2): Likewise.
4751         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
4752         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
4753         * sysdeps/posix/open64.c (__libc_open64): Likewise.
4754         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
4755         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
4756         (__open_nocancel): Likewise.
4757         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
4758         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
4759         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
4761 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4763         [BZ #14841]
4764         * resolv/gethnamaddr.c (getanswer): Skip logging if
4765         RES_USE_DNSSEC is set.
4766         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4768 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
4770         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
4772 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
4774         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
4775         201304L, for Unicode 7.
4777 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
4779         [BZ #17836]
4780         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
4781         shared library.  Add gmon-start.os otherwise.
4782         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
4783         $(objpfx)gmon-start.os if builing shared library.
4784         ($(objpfx)g$(static-start-installed-name)): Likewise.
4786 2015-02-23  Andreas Schwab  <schwab@suse.de>
4788         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
4790 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
4792         [BZ #17269]
4793         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
4794         (enlarge_userbuf): Likewise.
4796 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
4798         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
4799         * math/atest-exp.c (TIMEOUT): Adjust to 200.
4800         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
4801         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
4803 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
4805         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
4806         expression inside statement expression.
4808 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4810         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
4811         <sysdeps/nptl/lowlevellock.h> and remove macros and
4812         functions that are now defined there.
4813         (SYS_futex): Remove.
4814         (lll_compare_and_swap): Remove.
4815         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
4817 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
4819         [BZ #17999]
4820         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
4821         instead of scandirat.
4822         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
4823         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
4824         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
4825         __scandirat.
4826         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
4827         (__scandirat): Declare.  Use libc_hidden_proto.
4828         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
4829         Remove variable.
4830         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4832 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
4834         [BZ #15319]
4835         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
4836         (MO): New macro.
4837         (__ieee754_atan2): For results with small absolute value, force
4838         underflow exception and remove excess range and precision from
4839         return value.
4840         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
4841         (MO): New macro.
4842         (__ieee754_atan2f): For results with small absolute value, force
4843         underflow exception and remove excess range and precision from
4844         return value.
4845         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
4846         (MO): New macro.
4847         (__atan): For results with small absolute value, force underflow
4848         exception and remove excess range and precision from return value.
4849         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
4850         (MO): New macro.
4851         (__atanf): For results with small absolute value, force underflow
4852         exception and remove excess range and precision from return value.
4853         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
4854         <math.h>.
4855         (__ieee754_atan2): Force underflow exception for results with
4856         small absolute value.
4857         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
4858         <math_private.h>.
4859         (atan): Force underflow exception for results with small absolute
4860         value.
4861         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
4862         (__atanf): Force underflow exception for results with small
4863         absolute value.
4864         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
4865         <math.h>.
4866         (__atanl): Force underflow exception for results with small
4867         absolute value.
4868         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
4869         (__atanl): Force underflow exception for results with small
4870         absolute value.
4871         * sysdeps/x86/fpu/bits/mathinline.h
4872         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
4873         (__ieee754_atan2): Only define inline for long double.
4874         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
4875         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
4876         * math/auto-libm-test-in: Do not mark underflow exceptions as
4877         possibly missing for bug 15319.  Add more tests of atan2.
4878         * math/auto-libm-test-out: Regenerated.
4879         * math/libm-test.inc (casin_test_data): Do not mark underflow
4880         exceptions as possibly missing for bug 15319.
4881         (casinh_test_data): Likewise.
4882         * sysdeps/i386/fpu/libm-test-ulps: Update.
4884 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
4886         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
4887         * sysdeps/mips/bits/endian.h: Fix comments.
4889 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
4891         [BZ #17996]
4892         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
4893         (hdestroy_r): Likewise.
4894         (hsearch_r): Likewise.
4895         (__hcreate_r): Declare and use libc_hidden_proto.
4896         (__hdestroy_r): Likewise.
4897         (__hsearch_r): Likewise.
4898         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
4899         (hcreate): Call __hcreate_r instead of hcreate_r.
4900         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
4901         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
4902         as weak alias of __hcreate_r.
4903         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
4904         __hdestroy_r.
4905         (hsearch_r): Rename to __hsearch_r and define as weak alias of
4906         __hsearch_r.
4907         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
4908         Remove variable.
4909         (test-xfail-XPG4/search.h/linknamespace): Likewise.
4910         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4911         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4912         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4914 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4916         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
4917         arena_lock into a single arena_get.
4919 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
4921         * dl-reloc.c: Inlucde libc-internal.h.
4922         (_dl_try_allocate_static_tls): Call ALIGN_UP.
4923         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
4924         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
4925         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
4926         (grow_heap): Likewise.
4927         * malloc/malloc.c: Include libc-internal.h.
4928         (do_check_malloc): Call powerof2.
4929         (sysmalloc): Use pagesize. Call ALIGN_UP.
4930         (systrim): Use pagesize.
4931         (mremap_chunk): Use pagesize. Call ALIGN_UP.
4932         (__libc_valloc): Use pagesize.
4933         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
4935 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
4937         [BZ #17991]
4938         * include/sys/resource.h (__getrlimit64): Declare.  Use
4939         libc_hidden_proto.
4940         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
4941         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
4942         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
4943         getrlimit64.
4944         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
4945         __getrlimit64.
4946         [!getrlimit64] (getrlimit64): Define as weak alias of
4947         __getrlimit64.  Use libc_hidden_weak.
4948         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
4949         using __getrlimit64 not __new_getrlimit64.
4950         (__GI_getrlimit64): Likewise.
4951         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
4952         Likewise.
4953         (__GI_getrlimit64): Likewise.
4954         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
4955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
4956         (getrlimit): Add __getrlimit64 alias.
4957         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
4958         Likewise.
4959         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
4960         Remove variable.
4961         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4962         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4964 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
4966         * libio/fileops.c: Add missing sys/mman.h
4967         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
4969 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
4971         * manual/math.texi (Errors in Math Functions): Clarify goals
4972         regarding inexact and underflow exceptions.
4974 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
4976         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
4977         * sysdeps/mips/memset.S: Ditto.
4979 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
4981         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
4983 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
4985         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
4986         (__v1longjmp): Remove versioned symbol.
4987         (__v1siglongjmp): Remove alias and versioned symbol.
4988         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
4989         (__v2siglongjmp): Likewise.
4991 2015-02-16  Torvald Riegel  <triegel@redhat.com>
4993         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
4995 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
4997         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
4999 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
5001         [BZ #17987]
5002         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
5003         zero result does not depend on the sign resulting from
5004         subtraction.
5005         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5006         Likewise.
5007         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5008         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5009         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5010         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5011         * math/libm-test.inc (remquo_test_data): Add more tests.
5013 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
5015         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
5016         Problem reported by J William Piggott.
5018 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
5020         [BZ #17978]
5021         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
5022         products 4 * y and 2 * y where those would overflow.
5023         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5024         Likewise.
5025         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5026         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5027         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5028         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5029         * math/libm-test.inc (remquo_test_data): Add more tests.
5031         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
5033         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
5034         [defined _COMPILING_NEWLIB].
5035         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
5036         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
5038         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
5039         [!defined __mips_isa_rev || __mips_isa_rev < 6].
5041 2015-02-16  Torvald Riegel  <triegel@redhat.com>
5043         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
5044         acquired.
5046 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
5048         [BZ #17792]
5049         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
5050         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
5051         HOST_STACK_END_ADDR): Likewise.
5053 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
5055         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
5056         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
5057         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
5059 2015-02-13  Roland McGrath  <roland@hack.frob.com>
5061         * sysdeps/generic/c++-types.data: New file.
5062         * sysdeps/generic/ld.abilist: New file.
5063         * sysdeps/generic/libBrokenLocale.abilist: New file.
5064         * sysdeps/generic/libanl.abilist: New file.
5065         * sysdeps/generic/libc.abilist: New file.
5066         * sysdeps/generic/libcrypt.abilist: New file.
5067         * sysdeps/generic/libdl.abilist: New file.
5068         * sysdeps/generic/libm.abilist: New file.
5069         * sysdeps/generic/libpthread.abilist: New file.
5070         * sysdeps/generic/libresolv.abilist: New file.
5071         * sysdeps/generic/librt.abilist: New file.
5073 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
5075         [BZ #17569]
5076         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5077         Compute absolute value of x as modified by fmod, not original
5078         value of x.
5079         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
5080         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
5081         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
5082         RUN_TEST_ffI_f1_mod8.
5083         (remquo_test_data): Add more tests.
5085 2015-02-13  Roland McGrath  <roland@hack.frob.com>
5087         * sysdeps/init_array/pt-crti.S: New file.
5089 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
5091         [BZ #17967]
5092         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
5093         __builtin_fmaf instead of relying on contraction of a * b + c.
5095 2015-02-12  J William Piggott  <elseifthen@gmx.com>
5097         [BZ #17969]
5098         * manual/time.texi: correct the zoneinfo path in the TZ Variable
5099         node.
5101 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
5103         [BZ #17964]
5104         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
5105         __builtin_fma instead of relying on contraction of a * b + c.
5107 2015-02-12  Roland McGrath  <roland@hack.frob.com>
5109         * Makeconfig (ASFLAGS): Add -Werror=undef.
5110         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
5111         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
5112         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
5114         * Makeconfig (after-link): New variable.
5115         (+link-pie, +link-pie-tests): Use it.
5116         (+link-static, +link-static-tests): Likewise.
5117         (+link, +link-tests): Likewise.
5118         * Makerules (build-module, build-module-asneeded): Likewise.
5119         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
5120         Likewise.
5121         * elf/Makefile ($(objpfx)ld.so): Likewise.
5123 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
5125         [BZ #17965]
5126         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
5127         both struct timeval and struct timespec.
5129 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
5131         [BZ #16560]
5132         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5133         and redefine.
5134         (__ieee754_exp2l): Do not multiply small fractional parts by
5135         M_LN2l.
5136         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
5137         small argument.
5138         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5139         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
5140         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
5141         * math/auto-libm-test-in: Add more tests of exp2.
5142         * math/auto-libm-test-out: Regenerated.
5144 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5146         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
5147         unaligned path.
5149 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5151         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
5152         little endian.
5154 2015-02-12  Andreas Schwab  <schwab@suse.de>
5156         [BZ #15790]
5157         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
5158         Filter out elision flags from value returned in kind.
5159         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
5160         * nptl/tst-pthread-mutexattr.c: New file.
5162 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5164         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
5165         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
5166         into gnu-gnu, and update comment to refer to abi-tags.
5168 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
5170         [BZ #15467]
5171         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
5172         (__sincos): Set errno to EDOM for infinite argument.
5173         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
5174         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
5175         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
5176         (__sincosl): Set errno to EDOM for infinite argument.
5177         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
5178         (__sincosl): Set errno to EDOM for infinite argument.
5179         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
5180         (__sincosl): Set errno to EDOM for infinite argument.
5181         * math/libm-test.inc (sincos_test_data): Test errno setting.
5183 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
5185         * string/strxfrm_l.c: Remove #define STRCMP.
5186         * string/strcoll_l.c: Remove #define STRLEN.
5187         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
5188         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
5190 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
5192         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
5193         * sysdeps/mips/mips32/sfp-machine.h: ... here.
5194         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
5195         * sysdeps/mips/mips64/Makefile: ... here.
5196         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
5197         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
5198         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
5199         * sysdeps/mips/mips64/sfp-machine.h: ... here.
5200         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
5201         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
5202         * sysdeps/mips/mips64/n64/Implies: Likewise.
5204 2015-02-10  Roland McGrath  <roland@hack.frob.com>
5206         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
5207         <sys/time.h>, <string.h>, and <errno.h>.
5208         (dest_offset, dest_address, value, zero): Remove unused variables.
5209         (ldouble): Remove typedef.
5210         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
5211         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
5212         1).  Fix code style.
5213         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
5214         (check): Function removed.
5215         (CHECK): New macro.
5216         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
5217         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
5218         Don't call set_sigaction_FP and remove_sigaction_FP here.
5219         (ldouble_test): Just use 'long double' as macro argument, no need for
5220         the 'ldouble' typedef.
5221         (do_test): Set up SIGFPE handler at start, using plain signal rather
5222         than sigaction.  Fix code style.
5224 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
5226         [BZ #17949]
5227         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
5228         jump label.
5230 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5232         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
5233         * sysdeps/powerpc/powerpc32/configure: Regenerated.
5235         * sysdeps/powerpc/configure.ac: Remove file.
5236         * sysdeps/powerpc/configure: Likewise.
5238         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5239         [sysdep_routines]: Remove wordcopy-power6 object.
5240         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5241         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
5242         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
5243         (__memmove_ppc32): Likewise.
5244         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
5245         file.
5246         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
5247         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
5248         Remove preprocessor.
5250         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5251         [sysdep_routines]: Remove wide chars objects.
5252         [wcsmbs]: New rule for wide char objects.
5254         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5255         Remove wordcopy-power6 obejct.
5256         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
5257         Use local call for wordcopy and memcpy symbols.
5258         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
5259         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
5260         implementation for loader.
5261         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
5263         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5264         Remove wordcopy-power7 object.
5265         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
5266         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
5267         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
5268         (_wordcopy_fwd_dest_aligned): Likewise.
5269         (_wordcopy_bwd_aligned): Likewise.
5270         (_wordcopy_bwd_dest_aligned): Likewise.
5272         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
5273         Rewrite to call __memmove_ppc instead of include default
5274         implementation.
5276         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5277         Remove wide chars objects.
5278         [wcsmbs]: New rule for wide char objects.
5280 2015-02-09  Andreas Schwab  <schwab@suse.de>
5282         [BZ #17912]
5283         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5284         in terms of __O_DIRECTORY.
5286 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5288         * time/getdate.c: Include <stdbool.h>.
5289         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
5290         call PTR_MANGLE.
5291         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
5292         PTR_DEMANGLE.
5294 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
5296         Add ersatz _Static_assert on older C hosts
5297         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
5298         pre-C11 C platform that is not known to support _Static_assert.
5300 2015-02-07  Richard Braun  <rbraun@sceen.net>
5302         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
5303         sigstate.
5304         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
5306 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5308         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
5309         priority against unexistent AIO_PRIO_DELTA_MAX.
5310         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
5311         instead of int.
5312         * misc/fchflags.c (fchflags): Likewise.
5313         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
5314         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
5315         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
5316         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
5317         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
5318         Declare macros.
5319         [__USE_MISC] (chflags, fchflags): Declare functions.
5320         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
5321         EINVAL when nfds is greater than FD_SETSIZE.
5322         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
5323         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
5324         45.
5325         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
5326         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
5327         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
5328         MACH_RCV_TIMED_OUT.
5329         * hurd/hurd/signal.h (_hurd_self_sigstate,
5330         _hurd_critical_section_lock, _hurd_critical_section_unlock):
5331         Explicit casts from void *.
5332         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
5333         * abi-tags: Rename gnu-gnu os into gnu.
5335         [BZ #4719]
5336         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
5337         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
5338         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
5339         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
5340         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
5341         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
5343         [BZ #17944]
5344         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
5345         duplicates ADDR->sun_path with sockaddr LEN limitation.
5346         * sysdeps/mach/hurd/connect.c: Include <string.h>
5347         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
5348         * sysdeps/mach/hurd/sendmsg.c: Likewise.
5349         * sysdeps/mach/hurd/sendto.c: Likewise.
5350         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
5351         implementing it by hand.
5353 2015-02-06  Roland McGrath  <roland@hack.frob.com>
5355         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
5356         Use sfi_breg on ldr.
5357         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
5358         Likewise.
5360         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
5361         it's defined.
5362         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
5363         Test SIGSETXID only if it's defined.
5365         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
5367         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
5368         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
5370         * nptl/tst-align2.c: Moved ...
5371         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
5372         * nptl/Makefile (tests): Remove tst-align2.
5373         * sysdeps/unix/sysv/linux/Makefile
5374         [$(subdir) = nptl] (tests): Add tst-align-clone.
5375         * nptl/tst-getpid1.c: Moved ...
5376         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
5377         * nptl/tst-getpid2.c: Moved ...
5378         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
5379         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
5380         * sysdeps/unix/sysv/linux/Makefile
5381         [$(subdir) = nptl] (tests): ... here.
5382         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
5383         * sysdeps/unix/sysv/linux/Makefile
5384         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
5386         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
5387         Drop trailing \n from perror argument.  Use return rather than exit.
5389         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
5390         on [SA_SIGINFO].
5391         * nptl/tst-cancel21.c (do_test): Likewise.
5392         * debug/tst-backtrace6.c: Include <signal.h> first thing.
5393         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
5394         [!SA_SIGINFO]: Make it a stub test.
5396         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
5397         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
5399         * posix/tst-getlogin.c: Move to ...
5400         * login/tst-getlogin.c: ... here.
5401         * posix/Makefile (tests): Move tst-getlogin to ...
5402         * login/Makefile (tests): ... here.
5404         * libio/tst-atime.c (do_test): Move local variables SV and E
5405         inside [ST_NOATIME] conditional.
5407         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
5409         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
5411         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
5412         (wait_code): New function replaces macro.
5413         Call nanosleep rather than syscall.
5415         * nptl/pt-system.c: Rewritten.  Put everything under
5416         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5417         Use IFUNC to redirect when possible.
5419         * nptl/pt-longjmp.c: Rewritten.  Put everything under
5420         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5421         Use IFUNC to redirect when possible.
5423         * nptl/pt-fork.c: Rewritten.  Put everything under
5424         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5425         Use IFUNC to redirect when possible.
5426         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
5428         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
5429         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
5430         unconditionally nowadays.  This included the only reference to
5431         __vdso_clock_gettime that appears outside libc proper.
5432         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
5433         Remove version set (containing only __vdso_clock_gettime).
5434         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
5435         Add attribute_hidden.
5436         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
5437         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
5438         libc_hidden_data_def.
5439         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
5440         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5442         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
5443         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
5444         setrpcent, and getrpcport to ...
5445         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
5446         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
5447         getrpcbynumber_r, and getrpcent_r to ...
5448         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
5449         * inet/getrpcbyname.c: Moved ...
5450         * sunrpc/getrpcbyname.c: ... here.
5451         * inet/getrpcbyname_r.c: Moved ...
5452         * sunrpc/getrpcbyname_r.c: ... here.
5453         * inet/getrpcbynumber.c: Moved ...
5454         * sunrpc/getrpcbynumber.c: ... here.
5455         * inet/getrpcbynumber_r.c: Moved ...
5456         * sunrpc/getrpcbynumber_r.c: ... here.
5457         * inet/getrpcent.c: Moved ...
5458         * sunrpc/getrpcent.c: ... here.
5459         * inet/getrpcent_r.c: Moved ...
5460         * sunrpc/getrpcent_r.c: ... here.
5461         * inet/Makefile (routines): Move those to ...
5462         * sunrpc/Makefile (routines): ... here.
5463         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
5464         the $(subdirs) list.
5465         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
5466         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
5467         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
5468         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
5470         * elf/Makefile (routines): Include $(all-dl-routines), not just
5471         $(dl-routines).
5472         (rtld-routines): Likewise.  Use = rather than :=.
5473         * sysdeps/aarch64/Makefile [$(subdir) = elf]
5474         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
5475         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
5476         * sysdeps/arm/Makefile: Likewise.
5477         * sysdeps/i386/Makefile: Likewise.
5478         * sysdeps/x86_64/Makefile: Likewise.
5479         * sysdeps/hppa/Makefile [$(subdir) = elf]
5480         (sysdep_routines, sysdep-rtld-routines): Don't add
5481         $(sysdep-dl-routines) to these.
5482         * sysdeps/ia64/Makefile: Likewise.
5483         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
5484         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
5485         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
5486         Don't add dl-static to these; sysdep-dl-routines alone is enough.
5487         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
5488         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
5489         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
5490         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
5491         * sysdeps/powerpc/Makefile [$(subdir) = elf]
5492         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
5493         these; sysdep-dl-routines alone is enough.
5495 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
5497         [BZ #17932]
5498         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
5499         where multiplication results in zero and third argument is finite
5500         and nonzero.
5501         * math/auto-libm-test-in: Add more tests of fma.
5502         * math/auto-libm-test-out: Regenerated.
5504         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
5505         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
5506         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
5507         (_FP_CMP_EQ): Likewise.
5508         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
5510         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
5511         extra argument CHECK_NAN.  Redefine as wrapper around
5512         _FP_EXTEND_CNAN.
5514 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
5516         * version.h (RELEASE): Set to "stable".
5517         (VERSION): Set to "2.21"
5518         * include/features.h (__GLIBC_MINOR__): Set to 21.
5520         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
5522 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
5523             Paul Eggert  <eggert@cs.ucla.edu>
5525         [BZ #16618]
5526         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
5527         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
5528         size in bytes. Store needed elements in wpmax. Use needed size
5529         in bytes for extend_alloca.
5531 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
5533         * manual/install.texi: Latest tested versions are GCC 4.9.2,
5534         binutls 2.25, and texinfo 5.2.
5535         * INSTALL: Regenerate.
5536         * sysdeps/nios2/configure: Regenerate.
5537         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
5538         * manual/contrib.texi: Update.
5539         * po/be.po: Update.
5540         * po/bg.po: Update.
5541         * po/ca.po: Update.
5542         * po/cs.po: Update.
5543         * po/da.po: Update.
5544         * po/de.po: Update.
5545         * po/el.po: Update.
5546         * po/eo.po: Update.
5547         * po/es.po: Update.
5548         * po/fi.po: Update.
5549         * po/fr.po: Update.
5550         * po/gl.po: Update.
5551         * po/hr.po: Update.
5552         * po/hu.po: Update.
5553         * po/ia.po: Update.
5554         * po/id.po: Update.
5555         * po/it.po: Update.
5556         * po/ja.po: Update.
5557         * po/ko.po: Update.
5558         * po/lt.po: Update.
5559         * po/nb.po: Update.
5560         * po/nl.po: Update.
5561         * po/pl.po: Update.
5562         * po/pt_BR.po: Update.
5563         * po/ru.po: Update.
5564         * po/rw.po: Update.
5565         * po/sk.po: Update.
5566         * po/sl.po: Update.
5567         * po/sv.po: Update.
5568         * po/tr.po: Update.
5569         * po/uk.po: Update.
5570         * po/vi.po: Update.
5571         * po/zh_CN.po: Update.
5572         * po/zh_TW.po: Update.
5574         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
5575         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
5576         * sysdeps/hppa/dl-irel.h: Remove #warning.
5577         * sysdeps/hppa/entry.h: Provide prototype for
5578         __canonicalize_funcptr_for_compare and cast argument.
5579         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
5580         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
5581         * sysdeps/hppa/sotruss-lib.c: New file.
5582         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
5583         (atomic_compare_and_exchange_val_acq): Use __typeof__.
5584         (atomic_compare_and_exchange_bool_acq): Likewise.
5585         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
5586         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
5588         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
5589         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
5590         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
5592 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
5594         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
5595         called function in non-PIC case.
5597 2015-01-31  David S. Miller  <davem@davemloft.net>
5599         * sysdeps/sparc/sparc32/bits/atomic.h
5600         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
5601         unlock not after it.
5602         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
5603         volatile register usage warnings from the compiler.
5605         * sysdeps/sparc/nptl/sem_init.c: Delete.
5606         * sysdeps/sparc/nptl/sem_post.c: Delete.
5607         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
5608         * sysdeps/sparc/nptl/sem_wait.c: Delete.
5609         * sysdeps/sparc/sparc32/sem_init.c: New file.
5610         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
5611         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
5612         padding explicitly initialized.
5613         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
5614         padding for in-semaphore spinlock.
5615         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
5616         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
5617         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
5618         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
5619         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
5620         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
5621         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
5622         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
5623         version.
5624         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
5625         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
5627 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
5629         [BZ #17801]
5630         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5631         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
5632         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
5633         New.
5634         (index_AVX_Fast_Unaligned_Load): Likewise.
5635         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
5636         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
5637         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
5638         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
5639         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
5640         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
5641         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
5642         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
5643         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
5645 2015-01-29  Andreas Schwab  <schwab@suse.de>
5647         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
5649 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
5651         [BZ #17892]
5652         * nscd/nscd_stat.c (send_stats): Initialize DATA.
5654 2015-01-28  Martin Sebor  <msebor@redhat.com>
5656         * math/README.libm-test: Clarify. Add "How to read the test output."
5658 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
5660         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
5661         Define to 0.
5663 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
5665         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
5666         (__HAVE_64B_ATOMICS): Define to 0.
5668 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5670         [BZ #17885]
5671         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
5672         value to set as new flag.
5674         [BZ #16576]
5675         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
5676         and use _ARCH_PPCSQ instead.
5677         (__ieee754_sqrt): Likewise.
5678         (__ieee754_sqrtf): Likewise.
5679         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
5680         _ARCH_PPCSQ is defined.
5681         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
5682         fsqrt instruction.
5683         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
5684         _ARCH_PPCSQ is defined.
5685         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
5686         fsqrts instruction.
5687         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
5689 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5691         * iconv/loop.c: Suppress array out of bound warning caused by GCC
5692         bug (GCC BZ #64739).
5694 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
5696         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
5697         Mark _retval as used.
5698         (lll_futex_wake_unlock): Likewise.
5699         (lll_futex_timed_wait_requeue_pi): Likewise.
5701         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5702         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
5703         register variables.
5705         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
5706         libm_hidden_def.
5708         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
5709         (__bswap_64): Mark as __always_inline.
5711 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
5713         [BZ #15378]
5714         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
5715         when none of the search directories exist.
5717 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5719         [BZ #17869]
5720         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
5721         power8 in .machine directive.
5723         [BZ #17868]
5724         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
5725         set dependency from opd value.
5727 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
5729         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5730         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
5731         architecture.
5733 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
5735         [BZ #17870]
5736         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
5737         with uint64_t.
5738         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
5739         (uint64_t) 1.
5740         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
5741         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
5742         Replace 1UL with (uint64_t) 1.
5743         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
5744         int with uint64_t.
5746 2015-01-23  Roland McGrath  <roland@hack.frob.com>
5748         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
5749         (if_freenameindex): Likewise.
5751         * resource/getrlimit64.c: Add missing libc_hidden_def.
5753 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
5755         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
5756         __label__.
5757         (_FP_FMA): Likewise.
5758         (_FP_TO_INT_ROUND): Likewise.
5759         (_FP_FROM_INT): Likewise.
5761 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5763         [BZ #16418]
5764         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
5765         Make code racy and cancel safe.
5767 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
5769         * sysdeps/arm/unwind-resume.h: Fix copyright year.
5770         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
5771         attribution.
5773         * pwd/tst-getpw.c: Rewrite.
5775         [BZ #17702]
5776         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
5777         (modules-names): Add moddummy1 and moddummy2.
5778         ($(objpfx)tst-rec-dlopen): Define.
5779         * dlfcn/moddummy1.c: New file.
5780         * dlfcn/moddummy2.c: New file.
5781         * dlfcn/tst-rec-dlopen.c: New file.
5782         * elf/dl-cache.c (_dl_load_cache_lookup):
5783         Return char*. Copy result with alloca/strcpy/strdup.
5784         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
5785         returns char*. Free cached. If not saving realname
5786         free cached.
5787         * elf/dl-open.c (dl_open_worker): Do not assert that
5788         _r_debug->r_state is RT_CONSISTENT.
5789         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
5790         returns char*.
5792 2015-01-21  Torvald Riegel  <triegel@redhat.com>
5793             Carlos O'Donell  <carlos@redhat.com>
5795         [BZ #12674]
5796         * nptl/sem_waitcommon.c: New file.
5797         * nptl/sem_wait.c: Include sem_waitcommon.c.
5798         (__sem_wait_cleanup, do_futex_wait): Remove.
5799         (__new_sem_wait): Adapt.
5800         (__new_sem_trywait): New function.
5801         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
5802         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
5803         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
5804         (sem_timedwait): Adapt.
5805         * nptl/sem_post.c (__new_sem_post): Adapt.
5806         (futex_wake): New function.
5807         (__old_sem_post): Add release MO fence.
5808         * nptl/sem_open.c (sem_open): Adapt.
5809         * nptl/sem_init.c (__new_sem_init): Adapt.
5810         (futex_private_if_supported): New function.
5811         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
5812         (__old_sem_getvalue): Add using previous code.
5813         * sysdeps/nptl/internaltypes.h: Adapt.
5814         * nptl/tst-sem13.c (do_test): Adapt.
5815         * nptl/tst-sem11.c (main): Adapt.
5816         * nptl/sem_trywait.c: Remove.
5817         * nptl/DESIGN-sem.txt: Remove.
5818         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
5819         (gen-as-const-headers): Remove structsem.sym.
5820         * nptl/structsem.sym: Remove.
5821         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
5822         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
5823         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
5824         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
5825         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
5826         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
5827         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
5828         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
5829         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
5830         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
5831         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
5832         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
5833         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
5834         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
5835         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
5836         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
5837         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
5838         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
5839         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
5840         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
5841         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
5842         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
5844 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
5846         * INSTALL: Regenerated.
5848         * po/libc.pot: Regenerated.
5850 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
5851             Sandra Loosemore  <sandra@codesourcery.com>
5852             Andrew Jenner  <andrew@codesourcery.com>
5853             Joseph Myers  <joseph@codesourcery.com>
5854             Nathan Sidwell  <nathan@codesourcery.com>
5856         * NEWS: Mention new Nios II port.
5857         * sysdeps/nios2/Implies: New file.
5858         * sysdeps/nios2/Makefile: New file.
5859         * sysdeps/nios2/Subdirs: New file.
5860         * sysdeps/nios2/Versions: New file.
5861         * sysdeps/nios2/__longjmp.S: New file.
5862         * sysdeps/nios2/abort-instr.h: New file.
5863         * sysdeps/nios2/backtrace.c: New file.
5864         * sysdeps/nios2/bits/endian.h: New file.
5865         * sysdeps/nios2/bits/fenv.h: New file.
5866         * sysdeps/nios2/bits/link.h: New file.
5867         * sysdeps/nios2/bits/setjmp.h: New file.
5868         * sysdeps/nios2/bsd-_setjmp.S: New file.
5869         * sysdeps/nios2/bsd-setjmp.S: New file.
5870         * sysdeps/nios2/configure: New generated file.
5871         * sysdeps/nios2/configure.ac: New file.
5872         * sysdeps/nios2/crti.S: New file.
5873         * sysdeps/nios2/crtn.S: New file.
5874         * sysdeps/nios2/dl-init.c: New file.
5875         * sysdeps/nios2/dl-machine.h: New file.
5876         * sysdeps/nios2/dl-sysdep.h: New file.
5877         * sysdeps/nios2/dl-tls.h: New file.
5878         * sysdeps/nios2/dl-trampoline.S: New file.
5879         * sysdeps/nios2/gccframe.h: New file.
5880         * sysdeps/nios2/gmp-mparam.h: New file.
5881         * sysdeps/nios2/jmpbuf-offsets.h: New file.
5882         * sysdeps/nios2/jmpbuf-unwind.h: New file.
5883         * sysdeps/nios2/ldsodefs.h: New file.
5884         * sysdeps/nios2/libc-tls.c: New file.
5885         * sysdeps/nios2/libm-test-ulps: New file.
5886         * sysdeps/nios2/machine-gmon.h: New file.
5887         * sysdeps/nios2/math-tests.h: New file.
5888         * sysdeps/nios2/math_private.h: New file.
5889         * sysdeps/nios2/memusage.h: New file.
5890         * sysdeps/nios2/nptl/Makefile: New file.
5891         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
5892         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
5893         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
5894         * sysdeps/nios2/nptl/pthreaddef.h: New file.
5895         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
5896         * sysdeps/nios2/nptl/tls.h: New file.
5897         * sysdeps/nios2/preconfigure: New file.
5898         * sysdeps/nios2/s_fma.c: New file.
5899         * sysdeps/nios2/s_fmaf.c: New file.
5900         * sysdeps/nios2/setjmp.S: New file.
5901         * sysdeps/nios2/sfp-machine.h: New file.
5902         * sysdeps/nios2/sotruss-lib.c: New file.
5903         * sysdeps/nios2/stackguard-macros.h: New file.
5904         * sysdeps/nios2/stackinfo.h: New file.
5905         * sysdeps/nios2/start.S: New file.
5906         * sysdeps/nios2/sysdep.h: New file.
5907         * sysdeps/nios2/tls-macros.h: New file.
5908         * sysdeps/nios2/tst-audit.h: New file.
5909         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
5910         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
5911         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
5912         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
5913         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
5914         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
5915         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
5916         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
5917         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
5918         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
5919         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
5920         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
5921         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
5922         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
5923         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
5924         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
5925         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
5926         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
5927         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
5928         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
5929         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
5930         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
5931         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
5932         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
5933         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
5934         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
5935         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
5936         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
5937         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
5938         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
5939         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
5940         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
5941         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
5942         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
5943         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
5944         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
5945         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
5946         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
5947         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
5948         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
5949         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
5950         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
5951         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
5952         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
5954 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
5956         [BZ #17844]
5957         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
5958         (getutent): Use weak_alias in non SHARED case
5959         and default_symbol_version in SHARED case.
5960         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
5961         (getutent_r, pututline): Likewise.
5962         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
5963         (getutid): Likewise.
5964         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
5965         (getutid_r): Likewise.
5966         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
5967         (getutline): Likewise.
5968         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
5969         (getutline_r): Likewise.
5970         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
5971         (updwtmp): Likewise.
5973 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
5975         [BZ #17848]
5976         * sysdeps/s390/s390-32/memcmp.S
5977         (memcmp_g5): Rename to __memcmp_g5.
5978         * sysdeps/s390/s390-32/memcpy.S
5979         (memcpy_g5): Rename to __memcpy_g5.
5980         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5981         (memcpy_mvcle) Rename to __memcpy_mvcle.
5982         * sysdeps/s390/s390-32/memset.S
5983         (memset_g5): Rename to __memset_g5.
5984         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
5985         (IFUNC_RESOLVE): Prefix ifunc-resolve function
5986         and use prefixed functions.
5987         * sysdeps/s390/s390-32/multiarch/memcmp.S
5988         (memcmp_z196): Rename to __memcmp_z196.
5989         (memcmp_z10): Rename to __memcmp_z10.
5990         (memcmp): Set alias to __memcmp_g5.
5991         (bcmp): Set alias to __memcmp_g5.
5992         * sysdeps/s390/s390-32/multiarch/memcpy.S
5993         (memcpy_z196): Rename to __memcpy_z196.
5994         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5995         (memcpy_z10): Rename to __memcpy_z10.
5996         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5997         (memcpy): Set alias to __memcpy_g5.
5998         * sysdeps/s390/s390-32/multiarch/memset.S
5999         (memset_z196): Rename to __memset_z196.
6000         Jump to __memset_mvcle instead of memset_mvcle.
6001         (memset_z10): Rename to __memset_z10.
6002         Jump to __memset_mvcle instead of memset_mvcle.
6003         (memset_mvcle) Rename to __memset_mvcle.
6004         (memset): Set alias to __memset_g5.
6005         * sysdeps/s390/s390-64/memcmp.S
6006         (memcmp_z900): Rename to __memcmp_z900.
6007         * sysdeps/s390/s390-64/memcpy.S
6008         (memcpy_z900): Rename to __memcpy_z900.
6009         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6010         (memcpy_mvcle) Rename to __memcpy_mvcle.
6011         * sysdeps/s390/s390-64/memset.S
6012         (memset_z900): Rename to __memset_z900.
6013         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
6014         (IFUNC_RESOLVE): Prefix ifunc-resolve function
6015         and use prefixed functions.
6016         * sysdeps/s390/s390-64/multiarch/memcmp.S
6017         (memcmp_z196): Rename to __memcmp_z196.
6018         (memcmp_z10): Rename to __memcmp_z10.
6019         (memcmp): Set alias to __memcmp_z900.
6020         (bcmp): Set alias to __memcmp_z900.
6021         * sysdeps/s390/s390-64/multiarch/memcpy.S
6022         (memcpy_z196): Rename to __memcpy_z196.
6023         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6024         (memcpy_z10): Rename to __memcpy_z10.
6025         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6026         (memcpy): Set alias to __memcpy_z900.
6027         * sysdeps/s390/s390-64/multiarch/memset.S
6028         (memset_z196): Rename to __memset_z196.
6029         Jump to __memset_mvcle instead of memset_mvcle.
6030         (memset_z10): Rename to __memset_z10.
6031         Jump to __memset_mvcle instead of memset_mvcle.
6032         (memset_mvcle) Rename to __memset_mvcle.
6033         (memset): Set alias to __memset_z900.
6035 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
6037         [BZ #17748]
6038         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
6039         __fesetenv instead of fesetenv.
6041 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6043         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
6044         macro.
6046 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6048         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
6049         regression on LE.
6051         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
6052         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
6053         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6054         strncmp-power8 object.
6055         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6056         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
6057         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
6058         * NEWS: Update.
6060 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6061             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6063         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
6064         trailing byte check.
6066 2015-01-13  David S. Miller  <davem@davemloft.net>
6068         * include/signal.h (__sigreturn): Guard with __USE_MISC.
6070 2015-01-13  Roland McGrath  <roland@hack.frob.com>
6072         * login/logout.c (logout): Use memset rather than bzero.
6073         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
6074         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
6075         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
6076         (_gethtbyaddr): Likewise.
6077         * locale/programs/simple-hash.c (bcopy): Macro removed.
6079 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6081         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6082         Add strcmp-power8 object.
6083         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6084         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
6085         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
6086         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
6087         __strcmp_power8 implementation.
6088         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
6089         * NEWS: Update.
6091         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6092         Add strncpy-power8 and stpncpy-power8 objects.
6093         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6094         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
6095         implementations.
6096         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
6097         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
6098         __stpncpy_power8 implementation.
6099         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
6100         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
6101         __strncpy_power8 implementation.
6102         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
6103         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
6104         * NEWS: Update.
6106         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
6107         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
6108         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
6110         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6111         strncat-power8 object.
6112         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
6113         __strcat_power8 implementation.
6114         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6115         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
6116         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
6117         optimized strcat for power8.
6119         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6120         strcpy-power8 and stpcpy-power8 objects.
6121         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6122         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
6123         implementations.
6124         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
6125         multiarch stpcpy implementation for POWER8.
6126         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
6127         multiarch strcpy implementation for POWER8.
6128         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
6129         __strcpy_power8 function.
6130         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
6131         stpcpy for POWER8.
6132         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
6133         strcpy for POWER8.
6134         * NEWS: Update.
6136 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
6138         [BZ #16009]
6139         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
6140         weights and rules. Use do_xfrm_cached if data fits in cache,
6141         do_xfrm otherwise.  Moved former main loop to...
6142         * (do_xfrm_cached): New function.
6143         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
6144         find_idx, find_position and stack_push.
6145         * (find_idx): New function.
6146         * (find_position): Likewise.
6147         * localedata/sort-test.sh: Added test run for do_xfrm.
6148         * localedata/xfrm-test.c (main): Added command line option
6149         -nocache to run the test with strings that are too large for
6150         the STRXFRM cache.
6152 2015-01-13  Torvald Riegel  <triegel@redhat.com>
6154         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
6155         variable to lll_futex_wake call, not the value itself.
6157 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
6159         [BZ #17803]
6160         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
6161         twom64.  Adjust value to 0x1p-64L.
6162         (__scalblnl): Only return standard underflowing result for K <=
6163         -64 not K <= -63; adjust exponent for underflowing result by 64
6164         not 63.
6165         * math/libm-test.inc (scalbn_test_data): Add more tests.
6166         (scalbln_test_data): Likewise.
6168         [BZ #17834]
6169         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
6170         0x1p63L.
6171         (__scalblnl): Get new exponent of adjusted subnormal value from ES
6172         not HX.
6173         * math/libm-test.inc (scalbn_test_data): Add more tests.
6174         (scalbln_test_data): Likewise.
6176 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6177             Stefani Seibold  <stefani@seibold.net>
6179         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
6180         (sysdep_routines): Add dl-vdso here, ...
6181         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
6182         (sysdep_routines): ... not here.
6183         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
6184         fallback when vDSO is not presented.
6185         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
6186         Define with libc_hidden_proto/libc_hidden_data_def definitions.
6187         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
6188         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
6189         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
6190         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
6191         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
6192         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
6193         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
6194         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
6195         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
6196         fallback configurable symbol when vDSO is not available.
6197         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
6198         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
6199         be able to redefine fallback symbol when vDSO is not available.
6200         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
6201         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
6203 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6205         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
6206         (TLS_INIT_TP): Add tm_capable initialization.
6207         (TLS_DEFINE_INIT_TP): Likewise.
6208         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
6209         TCB.
6210         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
6211         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
6212         calculation.
6213         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
6214         transactoion is lock elision is built and TCB tm_capable is set.
6215         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
6216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6217         (INTERNAL_SYSCALL_NCS): Likewise.
6218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6219         (INTERNAL_SYSCALL_NCS): Likewise.
6220         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
6222         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
6223         for powerpc.
6224         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6225         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
6226         and remove it for 32 bits case.
6227         [pthread_rwlock_t] (__rwelision): New field for lock elision.
6228         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
6229         initialization.
6230         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
6231         Disable lock elision with rdlocks if elision is not available.
6233         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
6234         (sysdep_routines): Add lock elision objects.
6235         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6236         [pthread_mutex_t] (__spins): Rework to add lock elision field.
6237         [pthread_mutex_t] (__elision): Add field.
6238         [__PTHREAD_SPINS]: Adjust to init lock elision field.
6239         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
6240         elision definitions for powerpc.
6241         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
6242         implementation of lock elision for powerpc.
6243         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
6244         implementation of timed lock elision for powerpc.
6245         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
6246         implementation of trylock with lock elision for powerpc.
6247         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
6248         implementaion of unlock for lock elision for powerpc.
6249         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
6250         automatic enable lock elision for mutexes.
6251         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
6252         transaction execution definitions for powerpc.
6253         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
6254         definitions.
6255         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
6256         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
6257         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
6258         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
6259         * NEWS: Update.
6261 2015-01-09  Roland McGrath  <roland@hack.frob.com>
6263         * sysdeps/posix/shm-directory.c: Use <> rather than ""
6264         for #include of <shm-directory.h>.
6266 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
6268         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
6269         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
6271 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
6273         [BZ #17791]
6274         * NEWS: Mention bug fix.
6275         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
6276         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
6277         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
6279 2015-01-09  Torvald Riegel <triegel@redhat.com>
6281         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
6283 2015-01-09  Torvald Riegel <triegel@redhat.com>
6285         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
6287 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
6289         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
6290         pointer and cast to uintptr_t.
6292 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
6294         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
6295         removed.
6296         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
6298 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
6300         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
6301         of 0.
6303 2015-01-08  Roland McGrath  <roland@hack.frob.com>
6305         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
6306         <nptl/pthreadP.h> instead.
6307         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
6309         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
6310         already defined.
6311         [__SIGRTMIN] (init): Function removed.
6312         [__SIGRTMIN] (initialized): Variable removed.
6313         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
6314         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
6315         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
6316         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
6317         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
6318         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
6319         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
6320         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
6321         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
6322         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
6323         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
6324         * sysdeps/nptl/allocrtsig.c: New file.
6325         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
6326         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
6327         * sysdeps/generic/testrtsig.h: File removed.
6329         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
6330         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
6332         * nptl/nptl-init.c (pthread_functions): Conditionalize
6333         .ptr__nptl_setxid initialization on [SIGSETXID].
6335         * sysdeps/nptl/sys/procfs.h: New file.
6336         * nptl_db/Makefile (headers): Add it.
6337         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
6339         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
6340         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
6341         * nptl/pthread_attr_setaffinity.c: Include it.
6342         * nptl/pthread_setattr_default_np.c: Likewise.
6343         * nptl/check-cpuset.h: New file.
6345 2015-01-08  Richard Henderson  <rth@redhat.com>
6347         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
6348         (CFLAGS-tst-execstack-prog.c): Likewise.
6349         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
6351 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
6352             Sandra Loosemore  <sandra@codesourcery.com>
6353             Andrew Jenner  <andrew@codesourcery.com>
6354             Joseph Myers  <joseph@codesourcery.com>
6355             Nathan Sidwell  <nathan@codesourcery.com>
6357         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
6358         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
6359         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
6360         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
6361         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
6362         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
6363         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
6364         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
6365         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
6366         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
6367         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
6368         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
6369         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
6370         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
6371         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
6372         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
6373         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
6375 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6377         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
6378         timespec struct member in syscall macro.
6379         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
6380         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
6381         first timeval struct member in syscall macro.
6382         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
6384 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
6386         [BZ #17748]
6387         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
6388         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
6389         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
6390         __feupdateenv and define as weak alias of __feupdateenv.  Use
6391         libm_hidden_weak.
6392         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
6393         libm_hidden_def.
6394         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
6395         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
6396         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
6397         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
6398         libm_hidden_def.
6399         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
6400         __feupdateenv and define as weak alias of __feupdateenv.  Use
6401         libm_hidden_weak.
6402         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
6403         libm_hidden_def.
6404         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
6405         __feupdateenv and define as weak alias of __feupdateenv.  Use
6406         libm_hidden_weak.
6407         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
6408         libm_hidden_def.
6409         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6410         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
6411         (__feupdateenv): Likewise.
6412         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
6413         __feupdateenv and define as weak alias of __feupdateenv.  Use
6414         libm_hidden_weak.
6415         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6416         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
6417         libm_hidden_def.
6418         * sysdeps/tile/math_private.h (__feupdateenv): New inline
6419         function.
6420         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
6421         libm_hidden_def.
6422         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
6423         __feupdateenv instead of feupdateenv.
6424         (default_libc_feupdateenv_test): Likewise.
6425         (libc_feresetround_ctx): Likewise.
6427 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6429         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
6430         prototype.
6432 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
6434         * posix/regcomp.c (parse_bracket_exp): Initialize type to
6435         COLL_SYM in a couple of places to avoid uninitialized variable
6436         wanings on tilegx gcc 4.8.2.
6438 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
6440         * sysdeps/aarch64/strcpy.S: New file.
6441         * sysdeps/aarch64/stpcpy.S: New file.
6442         * NEWS: Updated.
6444 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
6446         * sysdeps/aarch64/strrchr.S: New file.
6447         * NEWS: Updated.
6449 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
6451         [BZ #17658]
6452         * stdlib/setenv.c: Fix memory leak when setting large,
6453         duplicate string.
6455 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
6457         [BZ #17273]
6458         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
6459         and tabs from buffer before parsing fstab entry.
6460         * misc/tst-mntent.c (main): Add test for mount entry with
6461         trailing spaces and tabs.
6463 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
6465         [BZ #17748]
6466         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
6467         * math/fesetround.c (fesetround): Rename to __fesetround and
6468         define as weak alias of __fesetround.  Use libm_hidden_weak.
6469         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
6470         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
6471         * sysdeps/arm/fesetround.c (fesetround): Likewise.
6472         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
6473         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
6474         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
6475         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
6476         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
6477         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
6478         __fesetround_inline.
6479         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
6480         __fesetround_inline instead of __fesetround.
6481         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
6482         __fesetround and define as weak alias of __fesetround.  Use
6483         libm_hidden_weak.  Call __fesetround_inline instead of
6484         __fesetround.
6485         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
6486         __fesetround and define as weak alias of __fesetround.  Use
6487         libm_hidden_weak.
6488         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
6489         Likewise.
6490         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
6491         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6492         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
6493         * sysdeps/tile/math_private.h (__fesetround): New inline function.
6494         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
6495         __fesetround and define as weak alias of __fesetround.  Use
6496         libm_hidden_weak.
6497         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
6498         __fesetround instead of fesetround.
6499         (default_libc_feholdexcept_setround): Likewise.
6500         (libc_feholdsetround_ctx): Likewise.
6501         (libc_feholdsetround_noex_ctx): Likewise.
6503         [BZ #17748]
6504         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
6505         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
6506         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
6507         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
6508         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6509         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
6510         define as weak alias of __fesetenv.  Use libm_hidden_weak.
6511         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
6512         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6513         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6514         define as weak alias of __fesetenv.  Use libm_hidden_weak.
6515         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6516         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6517         define as weak alias of __fesetenv.  Use libm_hidden_weak.
6518         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
6519         libm_hidden_def.
6520         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
6521         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
6522         Likewise.
6523         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6524         define as weak alias of __fesetenv.  Use libm_hidden_weak.
6525         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
6526         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6527         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
6528         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
6529         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
6530         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
6531         __fesetenv instead of fesetenv.
6532         (libc_feresetround_noex_ctx): Likewise.
6533         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
6534         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
6535         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
6536         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
6537         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
6538         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
6539         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6540         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
6541         (__feupdateenv): Likewise.
6542         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
6543         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6544         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6545         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
6547 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
6549         [BZ #17806]
6550         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
6551         addresses have been freed.
6553 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
6555         * resolv/res_init.c (__res_vinit): Improve comments about nserv
6556         and nservall.
6558 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
6560         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
6561         Clean up check_pf allocation pattern. addresses
6563 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6565         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
6566         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
6567         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
6568         * nptl/pthread_exit.c (__pthread_exit): Likewise.
6569         * nptl/pthread_join.c (pthread_join): Likewise.
6570         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
6571         * sysdeps/posix/waitid.c (__waitid): Likewise.
6572         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
6573         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
6574         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
6575         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
6576         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
6577         Likewise.
6578         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
6579         (__libc_pread64): Likewise.
6580         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
6581         (__libc_pwrite): Likewise.
6582         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
6583         (__libc_pwrite64): Likewsie.
6584         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
6585         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
6586         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
6587         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
6588         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
6589         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
6590         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
6592         Likewise.
6593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6594         (__libc_pread64): Likewise.
6595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
6596         Likewise.
6597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
6598         (__libc_pwrite64): Likewise.
6599         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
6600         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
6601         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
6602         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
6603         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
6604         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
6605         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
6606         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
6607         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
6608         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
6609         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
6610         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
6611         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
6612         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
6613         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
6614         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
6615         Likewise.
6617 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
6619         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
6620         (CFLAGS-test-double.c): Likewise.
6621         (CFLAGS-test-ldouble.c): Likewise.
6622         (CPPFLAGS-test-ifloat.c): Likewise.
6623         (CPPFLAGS-test-idouble.c): Likewise.
6624         (CPPFLAGS-test-ildoubl.c): Likewise.
6625         (CFLAGS-test-test-fenv.c): Remove variable.
6626         (CFLAGS-test-misc.c): Likewise.
6628 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
6630         [BZ #17797]
6631         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
6632         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
6633         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
6634         CLOCKS_PER_SEC == 1000000.
6635         * time/clocktest.c (main): Replace %ld with %jd and cast to
6636         intmax_t.
6638 2015-01-05  Roland McGrath  <roland@hack.frob.com>
6640         * sysdeps/generic/unwind-resume.h: New file.
6641         * sysdeps/gnu/unwind-resume.c: Include it.
6642         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
6643         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
6644         argument list.
6645         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
6646         global rather than static.
6647         (_Unwind_Resume): Update user.
6648         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
6649         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
6650         rather than static.  Add __attribute__ ((cold)).
6651         (_Unwind_Resume, __gcc_personality_v0): Update callers.
6652         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
6653         * sysdeps/arm/arm-unwind-resume.S: New file.
6654         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
6655         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
6656         * sysdeps/arm/Makefile [$(subdir) = csu]
6657         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
6658         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6659         Add rt-arm-unwind-resume.
6660         [$(subdir) = nptl]
6661         (libpthread-sysdep_routines, libpthread-shared-only-routines):
6662         Add pt-arm-unwind-resume.
6663         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
6664         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
6666 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
6668         [BZ #17748]
6669         * include/fenv.h (__feholdexcept): Declare.  Use
6670         libm_hidden_proto.
6671         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
6672         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
6673         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6674         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
6675         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
6676         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
6677         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
6678         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6679         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
6680         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
6681         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6682         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
6683         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
6684         (feholdexcept): Likewise.
6685         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6686         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
6687         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6688         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6689         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
6690         __feholdexcept instead of feholdexcept.
6691         (default_libc_feholdexcept_setround): Likewise.
6693 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
6695         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
6696         to avoid using stl/str to align destination.
6698 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
6700         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
6702 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
6704         [BZ #17796]
6705         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
6706         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
6707         Define as weak alias not strong alias.
6709 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
6711         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
6712         bltzal with addiupc.
6713         (RTLD_START): Ditto.
6715 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
6717         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
6718         for __vdso_* functions in declarations.
6719         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
6720         definitions.
6721         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
6722         INTERNAL_VSYSCALL): Use struct return types to check for error.
6724         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
6725         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
6726         function with cast from llround().
6727         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
6728         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
6729         Define.
6731 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
6733         [BZ #17793]
6734         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
6735         Define as weak alias not strong alias.
6737         [BZ #17635]
6738         * ctype/ctype-c99.c: New file.  isblank implementation moved from
6739         ...
6740         * ctype/ctype-extn.c: ... here.
6741         (__isblank_l): Move to ...
6742         * ctype/ctype-c99_l.c: ... here.  New file.
6743         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
6744         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
6745         Remove variable.
6746         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
6747         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
6748         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
6749         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
6750         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
6752         [BZ #17777]
6753         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
6754         (posix_fadvise64): Define as weak alias not strong alias.
6755         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6756         (posix_fallocate64): Likewise.
6757         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
6758         Remove variable.
6759         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
6760         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
6761         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
6762         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
6763         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
6765 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
6767         [BZ #16191]
6768         * NEWS: Mention bug fix.
6769         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
6770         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
6771         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
6772         (HOST_STACK_END_ADDR): Likewise.
6774 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
6776         [BZ #17748]
6777         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
6778         * math/fegetround.c (fegetround): Rename to __fegetround and
6779         define as weak alias of __fegetround.  Use libm_hidden_weak.
6780         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
6781         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
6782         * sysdeps/arm/fegetround.c (fegetround): Likewise.
6783         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
6784         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
6785         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
6786         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
6787         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
6788         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
6789         Undefine after rather than before function definition; use
6790         parentheses around function name in definition.
6791         (__fegetround): Also undefine macro after function definition.
6792         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
6793         __fegetround and define as weak alias of __fegetround.  Use
6794         libm_hidden_weak.  Do not undefine as macro.
6795         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
6796         Likewise.
6797         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
6798         __fegetround and define as weak alias of __fegetround.  Use
6799         libm_hidden_weak.
6800         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6801         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
6802         * sysdeps/tile/math_private.h (__fegetround): New inline function.
6803         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
6804         __fegetround and define as weak alias of __fegetround.  Use
6805         libm_hidden_weak.
6806         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
6807         __fegetround instead of fegetround.
6809         [BZ #17782]
6810         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
6811         Condition macro definition on [__USE_MISC].
6813         [BZ #17781]
6814         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
6815         (struct sigaction): Change type of sa_flags field to int.
6817         [BZ #17780]
6818         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
6819         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
6820         __glibc_reserved0.
6822         * nptl/version.c (banner): Use single year in copyright notice.
6824         * NEWS: Update copyright dates.
6825         * catgets/gencat.c (print_version): Likewise.
6826         * csu/version.c (banner): Likewise.
6827         * debug/catchsegv.sh: Likewise.
6828         * debug/pcprofiledump.c (print_version): Likewise.
6829         * debug/xtrace.sh (do_version): Likewise.
6830         * elf/ldconfig.c (print_version): Likewise.
6831         * elf/ldd.bash.in: Likewise.
6832         * elf/pldd.c (print_version): Likewise.
6833         * elf/sotruss.sh: Likewise.
6834         * elf/sprof.c (print_version): Likewise.
6835         * iconv/iconv_prog.c (print_version): Likewise.
6836         * iconv/iconvconfig.c (print_version): Likewise.
6837         * locale/programs/locale.c (print_version): Likewise.
6838         * locale/programs/localedef.c (print_version): Likewise.
6839         * login/programs/pt_chown.c (print_version): Likewise.
6840         * malloc/memusage.sh (do_version): Likewise.
6841         * malloc/memusagestat.c (print_version): Likewise.
6842         * malloc/mtrace.pl: Likewise.
6843         * manual/libc.texinfo: Likewise.
6844         * nptl/version.c (banner): Likewise.
6845         * nscd/nscd.c (print_version): Likewise.
6846         * nss/getent.c (print_version): Likewise.
6847         * nss/makedb.c (print_version): Likewise.
6848         * posix/getconf.c (main): Likewise.
6849         * scripts/test-installation.pl: Likewise.
6850         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
6852 2015-01-02  Will Newton  <will.newton@linaro.org>
6854         * sysdeps/arm/armv7/configure: Removed.
6855         * sysdeps/arm/armv7/configure.ac: Likewise.
6857 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
6859         * All files with FSF copyright notices: Update copyright dates
6860         using scripts/update-copyrights.
6861         * intl/plural.c: Regenerated.
6862         * locale/programs/charmap-kw.h: Likewise.
6863         * locale/programs/locfile-kw.h: Likewise.
6865 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6867         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
6869 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
6871         [BZ #17748]
6872         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
6873         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
6874         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
6875         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
6876         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6877         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
6878         define as weak alias of __fegetenv.  Use libm_hidden_weak.
6879         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
6880         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6881         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6882         define as weak alias of __fegetenv.  Use libm_hidden_weak.
6883         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6884         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6885         define as weak alias of __fegetenv.  Use libm_hidden_weak.
6886         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
6887         libm_hidden_def.
6888         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
6889         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
6890         Likewise.
6891         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6892         define as weak alias of __fegetenv.  Use libm_hidden_weak.
6893         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
6894         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6895         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
6896         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
6897         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
6898         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
6899         __fegetenv instead of fegetenv.
6900         (libc_feholdsetround_noex_ctx): Likewise.
6902 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
6904         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
6905         (Elf_MIPS_ABIFlags_v0): New structure.
6906         (EF_MIPS_FP64): Define.
6907         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
6908         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
6909         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
6910         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
6911         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
6912         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
6913         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
6914         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
6915         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
6916         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
6917         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
6918         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
6919         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
6920         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
6921         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
6922         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
6923         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
6924         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
6925         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
6926         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
6927         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
6928         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
6929         field.
6930         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
6931         EF_MIPS_FP64.
6932         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
6933         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
6934         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
6935         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
6936         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
6937         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
6938         * sysdeps/mips/tst-abi-interlink.c: Likewise.
6939         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
6940         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
6941         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
6942         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
6943         record the current FP ABI extension.
6944         (mips-mode-switch): Define to show if kernel headers support mode
6945         switching.
6946         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6947         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
6948         supported SYSV ABI version to 3.
6949         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
6950         feature.
6952 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6953             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6955         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
6956         path.
6957         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
6959 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
6961         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
6962         __fegetround and redefine to call __fegetround.  Remove condition
6963         on [!__NO_MATH_INLINES].
6964         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
6965         function.
6966         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
6967         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
6968         Remove macro.
6969         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
6970         instead of <fenv_libc.h>.
6971         (__llrintl): Call fegetround instead of __fegetround.
6972         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
6973         instead of <fenv_libc.h>.
6974         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6975         (__lrintl): Call fegetround instead of __fegetround.
6976         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
6977         instead of <fenv_libc.h>.
6978         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6979         (__rintl): Call fegetround instead of __fegetround.
6981 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
6983         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
6984         arrays.
6986 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
6988         [BZ #17775]
6989         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
6990         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
6991         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
6993 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
6995         * sysdeps/i386/tls-macros.h: Include <features.h>.
6996         (TLS_LE): Use non-PIC version for GCC >= 5.0.
6997         (TLS_IE): Likewise.
6998         (TLS_LD): Likewise.
6999         (TLS_GD): Likewise.
7000         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
7001         define for GCC >= 5.0.
7003 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
7005         * math/test-fenv.c (test_single_exception, set_single_exc,
7006         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
7007         feexcp_mask_test, feenable_test, fe_single_test): Add
7008         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
7009         case where they are not used.
7010         * math/libm-test.inc: Likewise.
7011         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
7012         unused in the absence of FP rounding/exception support.
7013         * stdio-common/tst-printf-round.c: Likewise.
7014         * stdlib/tst-strtod-round.c: Likewise.
7015         * stdlib/tst-strtod-underflow.c: Likewise.
7017 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
7019         [BZ #17723]
7020         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
7021         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
7022         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7023         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7024         libm_hidden_weak.
7025         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
7026         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7027         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
7028         libm_hidden_def.
7029         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7030         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7031         libm_hidden_weak.
7032         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
7033         Likewise.
7034         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
7035         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7036         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7037         libm_hidden_weak.
7038         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7039         libm_hidden_def.
7040         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7041         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
7042         (__feraiseexcept): Likewise.
7043         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7044         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7045         libm_hidden_weak.
7046         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7047         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7048         libm_hidden_def.
7049         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
7050         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
7051         Use libm_hidden_def.
7052         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
7053         libm_hidden_def.
7054         (feraiseexcept): Define as weak not strong alias.  Use
7055         libm_hidden_weak.
7056         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
7057         New inline function.  Factored out of ...
7058         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
7059         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
7060         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
7061         feraiseexcept.
7062         * math/w_acos.c (__acos): Likewise.
7063         * math/w_asin.c (__asin): Likewise.
7064         * math/w_ilogb.c (__ilogb): Likewise.
7065         * math/w_j0.c (y0): Likewise.
7066         * math/w_j1.c (y1): Likewise.
7067         * math/w_jn.c (yn): Likewise.
7068         * math/w_log.c (__log): Likewise.
7069         * math/w_log10.c (__log10): Likewise.
7070         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
7071         * sysdeps/aarch64/fpu/math_private.h
7072         (libc_feupdateenv_test_aarch64): Likewise.
7073         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
7074         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
7075         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
7076         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
7077         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
7078         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
7079         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
7080         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7081         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7082         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7084 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
7086         [BZ #17732]
7087         * io/test-utime.c (main): Replace %ld with %jd and cast to
7088         intmax_t.
7089         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
7090         * nptl/tst-mutex5.c: Include <stdint.h>.
7091         (do_test): Replace %ld with %jd and cast to intmax_t.
7092         * posix/tst-regex.c (run_test): Likewise.
7093         (run_test_backwards): Likewise.
7094         * rt/tst-clock.c: Include <stdint.h>.
7095         (clock_test): Replace %ld with %jd and cast to intmax_t.
7096         * rt/tst-cpuclock1.c: Include <stdint.h>.
7097         (do_test): Replace %lu with %ju and cast to uintmax_t.
7098         * rt/tst-cpuclock2.c: Include <stdint.h>.
7099         (do_test): Replace %lu with %ju and cast to uintmax_t.
7100         * rt/tst-mqueue1.c: Include <stdint.h>.
7101         (check_attrs): Replace %ld with %jd and cast to intmax_t.
7102         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
7103         intmax_t.
7104         * rt/tst-mqueue4.c (do_test): Likewise.
7105         * rt/tst-timer4.c: Include <stdint.h>.
7106         (check_ts): Replace %ld with %jd and cast to intmax_t.
7107         (do_test): Likewise.
7108         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
7109         and cast to intmax_t.
7110         * sysdeps/pthread/tst-timer.c (main): Likewise.
7111         * time/clocktest.c (main): Likewise.
7112         * time/tst-posixtz.c (do_test): Likewise.
7113         * timezone/tst-timezone.c (main): Likewise.
7115 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
7116             H.J. Lu  <hongjiu.lu@intel.com>
7118         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
7119         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
7120         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
7121         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
7122         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
7123         version if bit_Fast_Unaligned_Load is set.
7124         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7125         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7126         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7127         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7128         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7129         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7130         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7131         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
7132         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
7133         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
7134         to 4.
7135         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
7136         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
7137         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
7138         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
7140 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
7142         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
7143         instead of #if to avoid a Wundef warning.
7144         * stdlib/tst-limits.c (do_test): Likewise.
7146         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
7147         parallel other exception macros.
7148         (fegetenv): Convert from macro to extern inline so that it applies
7149         retroactively to inline functions already seen by the compiler.
7150         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
7152         * posix/Makefile (before-compile): Use $(objpfx) for
7153         posix-conf-vars-def.h.
7155 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7157         * posix/getconf.c (main): Use size_t for type of I.
7158         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
7159         NSPEC.
7161         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
7162         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
7163         * posix/posix-envs.def: Likewise.
7164         * sysdeps/posix/sysconf.c: Likewise.
7165         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
7166         (specs): Remove array.
7167         * scripts/gen-posix-conf-vars.awk: Support generation of specs
7168         array.
7170         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
7171         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
7172         (__sysconf): Use CONF_IS_* macros.
7174         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
7175         ($(objpfx)posix-conf-vars-def.h): New target.
7176         * posix/posix-conf-vars.list: New file.
7177         * posix/posix-conf-vars.h: New file.
7178         * posix/confstr.c: Include posix-conf-vars.h.
7179         (confstr): Use CONF_IS_* macros.
7180         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
7181         CONF_IS_* macros.
7182         * scripts/gen-posix-conf-vars.awk: New file.
7184 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
7186         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
7187         fegetround): Add no-op macros to avoid linknamespace issues.
7189         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
7190         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
7192         * sysdeps/unix/sysv/linux/tile/sysdep.h
7193         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
7194         assembly-specific section to avoid a redefinition warning.
7196         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
7197         long before casting to pointer to avoid a cast warning.
7199 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
7201         * sysdeps/tile/tilegx/Implies: New file.
7203 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
7205         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
7207 2014-12-23  Florian Weimer  <fweimer@redhat.com>
7209         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
7211 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
7213         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
7214         not define.
7215         * sysdeps/unix/sysv/linux/utimes.c: Do not include
7216         <kernel-features.h>.
7217         (__utimes) [__NR_utimes]: Make code unconditional.
7218         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
7219         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7220         (__ASSUME_UTIMES): Do not undefine.
7221         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7222         (__ASSUME_UTIMES): Likewise.
7223         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7224         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
7225         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
7226         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
7228 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
7230         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
7232 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
7234         [BZ #17747]
7235         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
7236         alias to weak alias for j0l, y0l.
7237         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
7238         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
7240         [BZ #17746]
7241         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
7242         conversion.
7244 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
7246         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
7247         to zero if not already defined.
7249 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
7251         [BZ #17724]
7252         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
7253         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
7254         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
7255         (char *) casts added.
7256         * sysdeps/ieee754/k_standardf.c: New file.
7257         * sysdeps/ieee754/k_standardl.c: Likewise.
7258         * math/Makefile (libm-support): Remove k_standard.
7259         (libm-calls): Add k_standard.
7261 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7263         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
7264         Optimize to avoid an unnecessary FPCR read.
7266 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7268         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
7269         Optimize to reduce FPCR/FPSR accesses.
7271 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7273         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
7274         Call libc_fetestexcept_aarch64.
7276 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7278         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
7279         Call libc_fesetround_aarch64.
7281 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
7283         [BZ #17733]
7284         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
7285         (__bind): Do not define as weak alias.
7286         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
7287         define.
7288         (__getsockname): Do not define as weak alias.
7290 2014-12-22  Will Newton  <will.newton@linaro.org>
7292         * manual/install.texi: Document that we require bison 2.7
7293         or above.
7294         * INSTALL: Regenerate.
7295         * configure.ac: Use AC_CHECK_PROG_VER instead of
7296         AC_PATH_PROG when checking for bison and check for
7297         version 2.7 or above.
7298         * configure: Regenerate.
7300 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
7302         [BZ #17745]
7303         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
7304         * sysdeps/tile/ffsll.c (ffsll): To here.
7306         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
7308 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
7310         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
7311         if not defined.
7312         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
7313         definition.
7314         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
7315         hidden ___tls_get_addr.
7316         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
7317         hidden __tls_get_addr.
7318         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
7319         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
7320         Likewise.
7322 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
7324         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
7325         _dl_init call.
7327 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
7329         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
7330         from "call _dl_init@PLT".
7331         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7333 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
7335         * manual/search.texi: (Array Sort Function): Clarify stable sorting
7336         guarantees.
7338 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
7340         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
7342 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
7344         [BZ #17744]
7345         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
7346         strnlen.
7348 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
7350         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
7351         of multu on MIPSr6.
7352         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
7353         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
7354         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
7355         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
7356         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
7358 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
7360         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
7361         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
7362         (PTR_SUBU): Use subu for mips32r6/mips64r6.
7363         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
7364         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
7365         mips32r6/mips64r6.
7366         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
7368 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
7370         * string/strncat.c (STRNCAT): Simplify implementation.
7372 2014-12-19  David S. Miller  <davem@davemloft.net>
7374         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
7375         access the quad as both a long double and as a series of 4 words.
7377         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
7378         link_map->l_info array access.
7380 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
7382         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
7384         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
7385         * math/atest-exp2.c (TIMEOUT): Likewise.
7386         * math/atest-sincos.c (TIMEOUT): Likewise.
7388 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
7390         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
7391         -Wno-error with -fno-builtin-lround.
7393 2014-12-19  Torvald Riegel  <triegel@redhat.com>
7395         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
7396         Contains futex constants and functions moved over from ...
7397         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
7398         <lowlevellock-futex.h>.
7399         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
7400         (lll_timedwait_tid): Add comments and parentheses around macro
7401         arguments.
7403 2014-12-19  Torvald Riegel  <triegel@redhat.com>
7405         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
7406         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
7407         (__lll_private_flag): Remove.
7408         (lll_futex_wait): Likewise.
7409         (lll_futex_timed_wait): Likewise.
7410         (lll_futex_wake): Likewise.
7411         (lll_futex_requeue): Likewise.
7412         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
7413         (__lll_timedwait_tid): Spell out argument names.
7414         (lll_timedwait_tid): Add comments and parentheses around macro
7415         arguments.
7416         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
7417         LLL_SHARED and LLL_PRIVATE usable from assembly code.
7419 2014-12-19  Torvald Riegel  <triegel@redhat.com>
7421         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
7422         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
7423         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7424         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
7425         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
7426         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
7427         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
7428         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
7429         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
7430         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
7431         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
7432         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
7433         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
7434         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
7435         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
7436         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
7437         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
7438         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
7439         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
7441 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
7443         * sysdeps/x86_64/x32/Makefile: New file.
7445 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
7447         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
7448         1L with (mp_limb_t) 1.
7450 2014-12-17  Roland McGrath  <roland@hack.frob.com>
7452         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
7453         * nptl/libc_pthread_init.c: ... here.
7454         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
7455         * nptl/register-atfork.c: ... here.
7457         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
7458         Use pthread_sigmask rather than INTERNAL_SYSCALL.
7459         Use assert_perror to check its return value.
7460         (__gai_create_helper_thread): Likewise.
7462         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
7464         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
7466 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
7468         [BZ #17725]
7469         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
7470         __profil_counter.
7471         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
7472         Likewise.
7473         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
7474         Likewise.
7475         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
7476         Likewise.
7477         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
7478         (profil_counter): Likewise.
7479         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
7480         (profil_counter): Likewise.
7481         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
7482         Likewise.
7483         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
7484         Likewise.
7485         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
7486         (profil_counter): Likewise.
7487         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
7488         Likewise.
7489         [!__profil_counter] (profil_counter): Define as weak alias of
7490         __profil_counter.
7491         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
7492         (profil_counter): Rename to __profil_counter.
7493         [!__profil_counter] (profil_counter): Define as weak alias of
7494         __profil_counter.
7495         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
7496         (profil_counter): Rename to __profil_counter.
7497         [!__profil_counter] (profil_counter): Define as weak alias of
7498         __profil_counter.
7499         * sysdeps/posix/profil.c: Update comment referring to
7500         profil_counter.
7501         (__profil): Use __profil_counter instead of profil_counter.
7502         * sysdeps/posix/sprofil.c (profil_counter): Rename to
7503         __profil_counter.  Use __profil_counter_ushort and
7504         __profil_counter_uint in definitions.
7505         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
7506         instead of profil_counter_uint and profil_counter_ushort.
7508         [BZ #17722]
7509         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
7510         define as weak alias of __inet_makeaddr.
7511         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
7512         as weak alias of __inet_addr.
7513         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
7514         as weak alias of __inet_pton.  Use libc_hidden_weak.
7515         * include/arpa/inet.h (__inet_pton): Declare.  Use
7516         libc_hidden_proto.
7517         (inet_makeaddr): Don't use libc_hidden_proto.
7518         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
7519         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
7520         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
7521         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
7522         Remove variable.
7523         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
7524         (test-xfail-POSIX/time.h/linknamespace): Likewise.
7526 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
7528         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
7530 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7532         * stdio-common/bug-vfprintf-nargs.c (do_test):
7533         Cast value to intptr_t to avoid format warning
7534         for usage with PRIdPTR printing macro.
7536 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7538         * libio/tst-widetext.c (do_test):
7539         Use format type %td instead of %Zd for ptrdiff_t
7540         in order to avoid format warning.
7542 2014-12-17  Andreas Schwab  <schwab@suse.de>
7544         * nscd/mem.c (gc): Add size_t cast to match printf format.
7546 2014-12-16  Roland McGrath  <roland@hack.frob.com>
7548         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
7549         (init): Apply PTR_MANGLE to pointers before storing them.
7550         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
7551         before using them.
7553 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
7555         [BZ #17719]
7556         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
7557         define as weak alias of __memrchr.
7558         (__memrchr): Do not define as strong alias of memrchr.
7559         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
7560         Remove variable.
7561         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
7562         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
7563         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
7565         [BZ #17717]
7566         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
7567         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
7568         (if_indextoname): Rename to __if_indextoname and define as weak
7569         alias of __if_indextoname.  Use libc_hidden_weak.
7570         (if_freenameindex): Rename to __if_freenameindex and define as
7571         weak alias of __if_freenameindex.
7572         (if_nameindex): Rename to __if_nameindex and define as weak alias
7573         of __if_nameindex.
7574         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
7575         __if_nametoindex and define as weak alias of __if_nametoindex.
7576         Use libc_hidden_weak.
7577         (if_freenameindex): Rename to __if_freenameindex and define as
7578         weak alias of __if_freenameindex.
7579         (if_nameindex): Rename to __if_nameindex and define as weak alias
7580         of __if_nameindex.
7581         (if_indextoname): Rename to __if_indextoname and define as weak
7582         alias of __if_indextoname.  Use libc_hidden_weak.
7583         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
7584         __if_nametoindex and define as weak alias of __if_nametoindex.
7585         Use libc_hidden_weak.
7586         (if_freenameindex): Rename to __if_freenameindex and define as
7587         weak alias of __if_freenameindex.  Use libc_hidden_weak.
7588         (if_nameindex_netlink): Use __if_freenameindex instead of
7589         if_freenameindex.
7590         (if_nameindex): Rename to __if_nameindex and define as weak alias
7591         of __if_nameindex.  Use libc_hidden_weak.
7592         (if_indextoname): Rename to __if_indextoname and define as weak
7593         alias of __if_indextoname.  Use libc_hidden_weak.
7594         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
7595         libc_hidden_proto.
7596         [!_ISOMAC] (__if_freenameindex): Likewise.
7597         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
7598         if_nametoindex.
7599         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
7600         variable.
7601         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
7602         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
7603         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
7604         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
7605         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
7606         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
7607         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
7609         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
7610         Remove variable.
7611         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
7612         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
7614 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7616         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
7617         subscript above bounds'
7619         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
7620         bounds.
7622 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
7624         * libio/tst-fopenloc.c: Use test-skeleton.c.
7626         * stdlib/tst-bsearch.c: Use test-skeleton.c.
7627         (entry): Rename to ITEM.
7628         (do_test, comp): Adjust.
7630         * stdio-common/tst-fseek.c: Use test-skeleton.c.
7632 2014-12-16  Torvald Riegel  <triegel@redhat.com>
7634         * string/tester.c: Include <libc-internal.h>.
7635         (test_memset): Ignore -Wmemset-transposed-args.
7637 2014-12-16  Torvald Riegel  <triegel@redhat.com>
7639         * misc/tst-mntent2.c (do_test): Fix warning.
7641 2014-12-16  Torvald Riegel  <triegel@redhat.com>
7643         * elf/tst-unique4lib.cc(a): Mark as used.
7645 2014-12-16  Florian Weimer  <fweimer@redhat.com>
7647         [BZ #17630]
7648         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
7649         names.
7651 2014-12-16  Allan McRae  <allan@archlinux.org>
7653         * stdio-common/Makefile (tests): Re-add bug26.
7655 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
7657         [BZ #17657]
7658         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
7659         static array.
7661 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
7663         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
7664         (__lll_lock_wait): Likewise.
7665         (__lll_timedlock_wait): Likewise.
7666         (__lll_timedwait_tid): Likewise.
7667         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
7668         (__lll_robust_timedlock_wait): Likewise.
7669         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
7670         (lll_cond_trylock): Likewise.
7671         (__lll_lock): Likewise.
7672         (__lll_robust_lock): Likewise.
7673         (__lll_cond_lock): Likewise.
7674         (lll_robust_cond_lock): Likewise.
7675         (__lll_timedlock): Likewise.
7676         (__lll_robust_timedlock): Likewise.
7677         (__lll_unlock): Likewise.
7678         (__lll_robust_unlock): Likewise.
7679         (lll_wait_tid): Likewise.
7680         (lll_timedwait_tid): Likewise.
7682 2014-12-15  Torvald Riegel  <triegel@redhat.com>
7684         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
7686 2014-12-15  Torvald Riegel  <triegel@redhat.com>
7688         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
7690 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
7692         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
7693         * stdio-common/tst-sprintf.c: Likewise.
7695 2014-12-15  Torvald Riegel  <triegel@redhat.com>
7697         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
7699 2014-12-15  Jeff Law  <law@redhat.com>
7701         [BZ #16617]
7702         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
7703         on the heap.  (CVE-2012-3406)
7704         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
7705         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
7706         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
7708 2014-12-15  Will Newton  <will.newton@linaro.org>
7710         * manual/install.texi: Bump required version of texinfo
7711         to 4.7 from 4.5.
7712         * INSTALL: Regenerated.
7713         * configure.ac: Check for makeinfo version 4.7 and above.
7714         * configure: Regenerated.
7716 2014-12-12  Roland McGrath  <roland@hack.frob.com>
7718         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
7719         PREFIX, string constant to insert between directory and name.
7720         * sysdeps/posix/shm_open.c: Update caller.
7721         * sysdeps/posix/shm_unlink.c: Likewise.
7722         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
7723         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
7724         (SEM_SHM_PREFIX): New macro.
7725         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
7726         [$(have-thread-library) = no].
7727         * nptl/Makefile (libpthread-routines): Add shm-directory.
7728         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
7729         * sysdeps/nptl/shm-directory.h: New file.
7730         * sysdeps/posix/shm-directory.c
7731         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
7732         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
7733         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
7734         INTERNAL_SYSCALL.
7735         (__where_is_shmfs): Function removed.
7736         (mountpoint, defaultmount, defaultdir, __namedsem_once):
7737         Variables removed.
7738         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
7739         Use SHM_GET_NAME.
7740         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
7742         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
7743         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
7744         unconditional for use inside libpthread.
7745         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
7747 2014-12-12  Roland McGrath  <roland@hack.frob.com>
7749         * nptl/pthread_getaffinity.c: New file.
7750         * nptl/pthread_setaffinity.c: New file.
7751         * nptl/pthread_getname.c: New file.
7752         * nptl/pthread_setname.c: New file.
7754         * nptl/pthread_create.c (START_THREAD_DEFN)
7755         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
7757 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
7758             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7760         * resolv/res_send.c (send_vc): Disable warning resplen may
7761         be used uninitialized.
7763 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
7765         * nptl/tst-mutex6.c
7766         (ATTR_NULL): New define checks ATTR against NULL.
7767         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
7768         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
7770 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
7772         [BZ #17581]
7773         * malloc/hooks.c
7774         (mem2mem_check): Revert my previous change.
7775         (malloc_check_get_size): Revert my previous change.
7776         (mem2chunk_check): Revert my previous change.
7778 2014-12-11  Roland McGrath  <roland@hack.frob.com>
7780         * sysdeps/posix/shm-directory.c: New file.
7781         * sysdeps/posix/shm-directory.h: New file.
7782         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
7783         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
7784         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
7785         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
7786         Transmute EPERM to EACCES.
7787         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
7788         from ...
7789         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
7790         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
7792 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7794         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
7795         pointer and cast to uintptr_t.
7796         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
7797         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
7798         Add cast to avoid warning.
7799         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
7801 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
7803         * nptl/semaphore.h: Move to ...
7804         * sysdeps/pthread/semaphore.h: ... here.
7805         * Makefile (installed-headers): Change nptl/semaphore.h to
7806         sysdeps/pthread/semaphore.h.
7808 2014-12-11  Roland McGrath  <roland@hack.frob.com>
7810         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
7811         generated error format strings.
7813         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
7814         -Wformat-extra-args warnings for scanf formats.
7815         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
7816         test of zero-length format (duh).
7817         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
7818         corner-case scanf format test.
7819         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
7820         generated fprintf format string.
7821         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
7822         corner-case sprintf format tests.
7823         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
7824         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
7825         -Wformat-extra-args warnings throughout.
7826         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
7827         (CFLAGS-scanf4.c): Likewise.
7828         (CFLAGS-scanf7.c): Likewise.
7829         (CFLAGS-tst-sprintf.c): Likewise.
7830         (CFLAGS-tst-printf.c): Likewise.
7831         (CFLAGS-tst-printfsz.c): Likewise.
7833 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
7835         * include/cpio.h: New file.
7836         * include/fmtmsg.h: Likewise.
7838         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
7839         corresponding format argument to size_t.
7840         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
7841         arguments.
7842         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
7843         corresponding format argument to size_t.
7844         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
7845         arguments.
7846         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
7847         corresponding format argument to size_t.
7848         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
7849         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
7850         (CFLAGS-tst-mbswcs2.c): Likewise.
7851         (CFLAGS-tst-mbswcs3.c): Likewise.
7852         (CFLAGS-tst-mbswcs4.c): Likewise.
7853         (CFLAGS-tst-mbswcs5.c): Likewise.
7854         (CFLAGS-tst-trans.c): Likewise
7856 2014-12-11  Roland McGrath  <roland@hack.frob.com>
7858         * posix/regexbug1.c (main): Use "%s" format with regerror results,
7859         rather than assuming they won't contain any '%'s.
7861 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
7863         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
7864         inhibit_loop_to_libcall to avoid recursive calls.
7865         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
7866         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
7868 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
7870         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
7871         prototype.
7873 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
7875         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
7876         integer value instead of boolean.
7878 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
7880         * malloc/malloc.c: Fix powerof2 check.
7882 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7884         * locale/programs/locfile.h (maybe_swap_uint32):
7885         Remove inline and add unused attribute.
7887 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7889         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
7890         Truncating assembler expression to a .long expression.
7892 2014-12-11  Andreas Schwab  <schwab@suse.de>
7894         * elf/rtld.c (struct map_args): Constify str member.
7895         (do_preload): Constify fname argument.
7897 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7899         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
7900         constants definition.
7902 2014-12-11  Andreas Schwab  <schwab@suse.de>
7904         [BZ #16657]
7905         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
7906         FORCE_ELISION instead of DO_ELISION.
7907         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
7908         Remove.
7909         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
7910         Likewise.
7912         * iconvdata/gconv-modules: Remove duplicate entry.
7914 2014-12-11  Will Newton  <will.newton@linaro.org>
7916         Merge gettext 0.19.3 into intl/.
7918         This involves a number of cosmetic changes to comments
7919         and ANSI function definitions and prototypes throughout
7920         all the files. The gettext copyright header is used but
7921         with the date ranges taken from the glibc copy.
7923         * NEWS: Add gettext merge to 2.21.
7924         * intl/bindtextdom.c: Switch to gettext copyright.
7925         Use ANSI definitions and prototypes.
7926         Use gl_* locking primitives rather than __libc_* ones.
7927         Use __builtin_expect rather than __glibc_likely/unlikely.
7928         * intl/dcgettext.c: Switch to gettext copyright.
7929         Use ANSI definitions and prototypes.
7930         * intl/dcigettext.c: Switch to gettext copyright.
7931         Use ANSI definitions and prototypes.
7932         (INTDIV0_RAISES_SIGFPE): New define.
7933         Use gl_* locking primitives rather than __libc_* ones.
7934         Include eval-plural.h instead of plural-eval.c.
7935         Use __builtin_expect rather than __glibc_likely/unlikely.
7936         * intl/dcngettext.c: Switch to gettext copyright.
7937         Use ANSI definitions and prototypes.
7938         * intl/dgettext.c: Likewise.
7939         * intl/dngettext.c: Likewise.
7940         * intl/plural-eval.c: Renamed to...
7941         * intl/eval-plural.h: ...this.
7942         * intl/explodename.c: Switch to gettext copyright.
7943         Use ANSI definitions and prototypes.
7944         (_nl_explode_name): Use strchr instead of __rawmemchr.
7945         * intl/finddomain.c: Switch to gettext copyright.
7946         Use ANSI definitions and prototypes.
7947         Use gl_* locking primitives rather than __libc_* ones.
7948         (_nl_find_domain): Use malloc rather than alloca for
7949         allocation of temporary locale name.
7950         * intl/gettext.c: Switch to gettext copyright.
7951         Use ANSI definitions and prototypes.
7952         * intl/gettextP.h: Switch to gettext copyright.
7953         Use ANSI definitions and prototypes.
7954         Use gl_* locking primitives rather than __libc_* ones.
7955         * intl/gmo.h: Switch to gettext copyright.
7956         (struct sysdep_string): Move struct segment_pair outside of
7957         struct definition.
7958         * intl/hash-string.c: Use ANSI definitions and prototypes.
7959         * intl/hash-string.h: Switch to gettext copyright.
7960         Use ANSI definitions and prototypes.
7961         * intl/l10nflist.c: Switch to gettext copyright.
7962         Use ANSI definitions and prototypes.
7963         (_nl_normalize_codeset): Avoid integer overflow.
7964         * intl/loadinfo.h: Switch to gettext copyright.
7965         Use ANSI definitions and prototypes.
7966         (LIBINTL_DLL_EXPORTED): New define.
7967         (PATH_SEPARATOR): New define.
7968         * intl/loadmsgcat.c: Switch to gettext copyright.
7969         * intl/localealias.c: Switch to gettext copyright.
7970         Use ANSI definitions and prototypes.
7971         (_nl_expand_alias): Use PATH_SEPARATOR.
7972         * intl/ngettext.c: Switch to gettext copyright.
7973         Use ANSI definitions and prototypes.
7974         * intl/plural-exp.c: Likewise.
7975         * intl/plural-exp.h: Switch to gettext copyright.
7976         Use ANSI definitions and prototypes.
7977         (struct expression): Move definition of enum operator outside
7978         of struct definition.
7979         * intl/plural.c: Regenerate.
7980         * intl/plural.y: Switch to gettext copyright.
7981         Use ANSI definitions and prototypes.
7982         Port to bison 3.0.
7983         * intl/textdomain.c: Switch to gettext copyright.
7984         Use ANSI definitions and prototypes.
7985         Use gl_* locking primitives rather than __libc_* ones.
7987 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
7989         * debug/warning-nop.c: Add used atrribute.
7991 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
7993         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
7995         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
7996         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
7997         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
7999 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8000             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8002         [BZ #17634]
8003         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
8004         Undefine after defining function.  Define as weak alias of
8005         __wcschr.  Use libc_hidden_weak.
8006         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
8007         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
8008         (libc_hidden_def): Also define __GI___wcschr alias.
8009         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
8010         __wcschr and define as weak alias of __wcschr.
8011         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
8012         __wcschr.
8013         [!WCSCHR] (DEFAULT_WCSCHR): Define.
8014         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
8015         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
8016         libc_hidden_weak.  Do not use libc_hidden_def.
8017         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
8018         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
8019         __GI___wcschr alias.
8020         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
8021         [IS_IN (libc)] (wcschr): Define as macro expanding to
8022         __redirect_wcschr.
8023         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
8024         [IS_IN (libc)] (__wcschr_power6): Likewise.
8025         [IS_IN (libc)] (__wcschr_power7): Likewise.
8026         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
8027         instead of wcschr.
8028         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
8029         __libc_wcschr.
8030         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
8031         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
8032         __wcschr and define as weak alias of __wcschr.  Use
8033         libc_hidden_builtin_def.
8034         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
8035         as weak alias of __wcschr.  Use libc_hidden_weak.
8036         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
8037         wcschr.
8038         * time/era.c (_nl_init_era_entries): Likewise.
8039         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
8040         variable.
8041         (test-xfail-XPG3/time.h/linknamespace): Likewise.
8042         (test-xfail-XPG4/time.h/linknamespace): Likewise.
8044 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8046         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
8047         format for long int variable.
8049 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
8051         [BZ #10672]
8052         * manual/search.texi: (Array Sort Function): Remove claim how to make
8053         qsort stable.
8055 2014-12-10  Andreas Schwab  <schwab@suse.de>
8057         [BZ #12847]
8058         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
8059         user-controlled locks.
8061 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
8063         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
8064         register.
8066 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8068         * configure.ac (--disable-werror): New configure option.
8069         (enable_werror): New AC_SUBST.
8070         * configure: Regenerated.
8071         * config.make.in (enable-werror): New variable.
8072         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
8073         -Wno-error=undef.
8074         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
8075         * manual/install.texi (Configuring and compiling): Document
8076         --disable-werror.
8077         * INSTALL: Regenerated.
8078         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
8079         (CFLAGS-tst-chk2.c): Likewise.
8080         (CFLAGS-tst-chk3.c): Likewise.
8081         (CFLAGS-tst-chk4.cc): Likewise.
8082         (CFLAGS-tst-chk5.cc): Likewise.
8083         (CFLAGS-tst-chk6.cc): Likewise.
8084         (CFLAGS-tst-lfschk1.c): Likewise.
8085         (CFLAGS-tst-lfschk2.c): Likewise.
8086         (CFLAGS-tst-lfschk3.c): Likewise.
8087         (CFLAGS-tst-lfschk4.cc): Likewise.
8088         (CFLAGS-tst-lfschk5.cc): Likewise.
8089         (CFLAGS-tst-lfschk6.cc): Likewise.
8091         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
8092         (main): Disable -Wdeprecated-declarations around calls to
8093         register_printf_function.
8095         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
8096         (do_test): Disable -Wdiv-by-zero around some calls to
8097         fwrite_unlocked and fread_unlocked.
8099         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
8100         (DIAG_POP_NEEDS_COMMENT): Likewise.
8101         (_DIAG_STR1): Likewise.
8102         (_DIAG_STR): Likewise.
8103         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
8104         * stdio-common/bug21.c: Include <libc-internal.h>.
8105         (do_test): Disable -Wformat around call to sscanf.
8106         * stdio-common/scanf14.c: Include <libc-internal.h>.
8107         (main): Disable -Wformat around some calls to scanf functions.
8109 2014-12-09  Torvald Riegel  <triegel@redhat.com>
8111         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
8113 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8115         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
8116         stack variable alignment.
8118 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
8120         [BZ #17682]
8121         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
8122         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
8123         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
8124         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
8125         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
8126         __getrlimit instead of getrlimit.
8127         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
8128         __gettimeofday instead of gettimeofday.
8129         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
8130         Likewise.
8131         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
8132         Likewise.
8133         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8134         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
8135         Remove variable.
8136         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
8137         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
8139 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8141         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
8142         for wide-character tests.
8144 2014-12-04  Roland McGrath  <roland@hack.frob.com>
8146         * io/openat64.c: #include <libc-internal.h>
8147         (__openat64): Prototypify.  Use ignore_value on MODE.
8148         * io/openat.c: Likewise.
8149         * misc/reboot.c: #include <libc-internal.h>
8150         (reboot): Prototypify.  Use ignore_value on HOWTO.
8151         * misc/ptrace.c: #include <libc-internal.h>
8152         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
8154 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
8156         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
8157         XPG4, UNIX98 and XOPEN2K.
8158         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
8159         Remove variable.
8160         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
8162 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8164         * libio/fileops.c: Use ISO C style for function definitions.
8165         * libio/iofopen.c: Likewise.
8166         * libio/wfileops.c: Likewise.
8168         [BZ #17653]
8169         * libio/fileops.c (_IO_new_file_underflow): Unset cached
8170         offset on EOF.
8171         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
8172         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
8173         (fgets_func): Function pointer to fgets and fgetws.
8174         (do_ftell_test): Add test to verify ftell value after read
8175         EOF.
8176         (do_test): Set fgets_func.
8178         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
8179         O_TRUNC flag for w and w+ modes.
8180         (do_rewind_test): Likewise.
8181         (do_ftell_test): Likewise.
8182         (do_write_test): Likewise.
8184         [BZ #17647]
8185         * libio/fileops.c (do_ftell): Seek only when there are
8186         unflushed writes.
8187         * libio/wfileops.c (do_ftell_wide): Likewise.
8188         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
8189         test case.
8190         (do_one_test): Call it.
8192 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
8194         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
8195         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
8196         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
8197         Remove variable.
8198         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
8199         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
8200         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
8202 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
8204         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
8205         Remove variable.
8206         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
8208         [BZ #17668]
8209         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
8210         as weak alias of __getifaddrs.  Use libc_hidden_weak.
8211         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8212         __freeifaddrs.  Use libc_hidden_weak.
8213         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
8214         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
8215         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8216         __freeifaddrs.  Use libc_hidden_weak.
8217         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
8218         __getifaddrs and define as weak alias of __getifaddrs.  Use
8219         libc_hidden_weak.
8220         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8221         __freeifaddrs.  Use libc_hidden_weak.
8222         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
8223         Remove variable.
8224         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
8225         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
8227 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
8229         [BZ #17601]
8230         * sysdeps/mips/start.S (__start): Use indirect jump to call
8231         __libc_start_main.
8233 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
8235         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
8237         * nptl/tst-mutex1.c: Include <stdbool.h>.
8238         [!ATTR] (ATTR_NULL): New macro.
8239         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
8240         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
8241         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
8243         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
8244         to char *.
8246         [BZ #17665]
8247         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
8248         Change conditional to [__USE_MISC].
8250         [BZ #17664]
8251         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
8252         fgets_unlocked.
8253         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
8254         __fgets_unlocked.
8255         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
8256         fgets_unlocked.
8257         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
8258         Remove variable.
8259         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
8260         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
8261         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
8262         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
8263         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
8264         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
8265         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
8266         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
8267         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
8269         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
8271 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8273         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8274         Remove strpbrk objects.
8275         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8276         (__libc_ifunc_impl_list): Remove strpbrk implementation.
8277         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
8278         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
8279         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
8280         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
8282         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8283         Remove strcspn objects.
8284         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8285         (__libc_ifunc_impl_list): Remove strcspn implementation.
8286         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
8287         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
8288         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
8289         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
8291         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8292         Remove strspn objetcs.
8293         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8294         (__libc_ifunc_impl_list): Remove strspn implementation.
8295         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
8296         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
8297         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
8298         * sysdeps/powerpc/powerpc64/strspn.S: New file.
8300 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
8302         [BZ #17581]
8303         * malloc/hooks.c
8304         (mem2mem_check): Add a terminator to the chain of checking blocks.
8305         (malloc_check_get_size): Use it here.
8306         (mem2chunk_check): Ditto.
8308 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8310         * sysdeps/powerpc/powerpc64/strtok.S: New file.
8311         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
8313 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
8315         * bits/ioctl-types.h: Indent preprocessor directives correctly.
8317         * nptl/nptl-init.c: Include libc-internal.h.
8318         (__pthread_initialize_minimal_internal): Use ROUND_UP.
8320         * elf/ldconfig.c (search_dir): Expand comment.
8322 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
8324         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
8325         variable.
8326         (linknamespace-symlist-stdlibs-tests): Likewise.
8327         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
8328         instead of $(objpfx)symlist-stdlibs.
8329         (linknamespace-libs-isoc): New variable.
8330         (linknamespace-libs): Use $(linknamespace-libs-isoc).
8331         (linknamespace-libs-ISO): New variable.
8332         (linknamespace-libs-ISO99): Likewise.
8333         (linknamespace-libs-ISO11): Likewise.
8334         (linknamespace-libs-XPG3): Likewise.
8335         (linknamespace-libs-XPG4): Likewise.
8336         (linknamespace-libs-POSIX): Likewise.
8337         (linknamespace-libs-UNIX98): Likewise.
8338         (linknamespace-libs-XOPEN2K): Likewise.
8339         (linknamespace-libs-POSIX2008): Likewise.
8340         (linknamespace-libs-XOPEN2K8): Likewise.
8341         ($(objpfx)symlist-stdlibs): Replace by
8342         $(linknamespace-symlist-stdlibs-tests).  Use
8343         $(linknamespace-libs-$*) as set of libraries.
8344         ($(linknamespace-header-tests)): Update dependencies.  Use
8345         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
8346         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
8347         * conform/linknamespace.pl: Remove comment about considering
8348         definitions of symbols from irrelevant libraries.
8350 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
8352         [BZ #13862]
8353         * elf/dl-tls.c: Include <atomic.h>.
8354         (oom): Remove #ifdef SHARED/#endif.
8355         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
8356         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
8357         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
8358         big enough.
8359         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
8360         * nptl/Makefile (tests): Add tst-stack4.
8361         (modules-names): Add tst-stack4mod.
8362         ($(objpfx)tst-stack4): New.
8363         (tst-stack4mod.sos): Likewise.
8364         ($(objpfx)tst-stack4.out): Likewise.
8365         ($(tst-stack4mod.sos)): Likewise.
8366         (clean): Likewise.
8367         * nptl/tst-stack4.c: New file.
8368         * nptl/tst-stack4mod.c: Likewise.
8370 2014-11-27  J. Brown  <jb999@gmx.de>
8372         * sysdeps/x86/bits/string.h: Add recent CPUs.
8374 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
8376         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
8377         sigblock.
8379         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
8380         feof.
8382         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
8383         variable.
8385 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
8387         * nscd/connections.c: Include libc-internal.h because of macro
8388         usage ignore_value.
8390 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8392         * string/bits/string3.h (__warn_memset_zero_len): Don't
8393         declare for gcc newer than 5.0.
8394         (memset): Don't test for zero-length __LEN for gcc newer than
8395         5.0.
8397 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
8399         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
8400         size_t for %zu format.
8402         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
8403         difference, not %ju.
8405 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
8407         * include/libc-internal.h (ignore_value): New macro.
8408         * nscd/connections.c (restart): Wrap calls to setuid and setgid
8409         with ignore_value.
8411         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
8412         definition.
8414         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
8415         pthread_cleanup_push to void *.
8417         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
8418         Undefine.
8420         [BZ #16619]
8421         [BZ #16740]
8422         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
8423         instead of 1L << 52.
8425         * libio/bug-rewind.c (do_test): Check fwscanf return values.
8426         * libio/bug-rewind2.c (do_test): Likewise.
8428         * debug/test-stpcpy_chk-ifunc.c: Remove file.
8429         * debug/test-strcpy_chk-ifunc.c: Likewise.
8430         * wcsmbs/test-wcschr-ifunc.c: Likewise.
8431         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
8432         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
8433         * wcsmbs/test-wcslen-ifunc.c: Likewise.
8434         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
8435         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
8436         * Rules [$(multi-arch) = no] (tests): Do not filter out
8437         $(tests-ifunc).
8438         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
8439         * debug/Makefile (tests-ifunc): Remove variable.
8440         (tests): Do not add $(tests-ifunc).
8441         * wcsmbs/Makefile (tests-ifunc): Remove variable.
8442         (tests): Do not add $(tests-ifunc).
8443         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
8444         [TEST_IFUNC]: Remove conditionals.
8445         * string/test-string.h (TEST_IFUNC): Remove macro.
8446         [TEST_IFUNC]: Remove conditionals.
8448         * string/test-strchr.c [!WIDE] (L): New macro.
8449         [WIDE] (L): Likewise.
8450         (check1): Use CHAR instead of char.  Use L on string and character
8451         constants.
8453 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
8455         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
8456         tests.
8457         * sysdeps/powerpc/bits/atomic.h
8458         (__arch_atomic_exchange_and_add_32_acq): Add definition.
8459         (__arch_atomic_exchange_and_add_32_rel): Likewise.
8460         (atomic_exchange_and_add_acq): Likewise.
8461         (atomic_exchange_and_add_rel): Likewise.
8462         * sysdeps/powerpc/powerpc32/bits/atomic.h
8463         (__arch_atomic_exchange_and_add_64_acq): Add definition.
8464         (__arch_atomic_exchange_and_add_64_rel): Likewise.
8465         * sysdeps/powerpc/powerpc64/bits/atomic.h
8466         (__arch_atomic_exchange_and_add_64_acq): Add definition.
8467         (__arch_atomic_exchange_and_add_64_rel): Likewise.
8469 2014-11-26  Torvald Riegel  <triegel@redhat.com>
8471         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
8472         Change synchronization of __sched_fifo_min_prio and
8473         __sched_fifo_max_prio.
8474         * nptl/pthread_mutexattr_getprioceiling.c
8475         (pthread_mutexattr_getprioceiling): Likewise.
8476         * nptl/pthread_mutexattr_setprioceiling.c
8477         (pthread_mutexattr_setprioceiling): Likewise.
8478         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
8479         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
8480         Likewise.
8482 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
8484         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
8485         void.
8487 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
8489         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
8490         third argument const.
8492 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
8494         fnmatch: work around GCC compiler warning bug with uninit var
8495         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
8496         This works around a bug with x86-64 GCC 4.9.2 and earlier
8497         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
8498         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
8499         used uninitialized in this function [-Wmaybe-uninitialized]".
8501 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
8503         * posix/bug-regex31.c (main): Return RES not 0.
8505 2014-11-25  Anton Blanchard <anton@samba.org>
8507         * sysdeps/powerpc/bits/atomic.h
8508         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
8510 2014-11-24  Sterling Augustine  <saugustine@google.com>
8512         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
8514 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
8516         [BZ #17608]
8517         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
8519 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
8521         [BZ #17633]
8522         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
8523         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
8524         variable.
8525         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
8526         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
8528 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
8530         * string/strncpy.c (strncpy): Improve performance by using memset.
8532 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
8534         * string/strcpy.c (strcpy):
8535         Improve performance by using strlen and memcpy.
8537 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
8539         * string/strcoll_l.c (get_next_seq): __always_inline.
8540         * string/strcoll_l.c (do_compare): __always_inline.
8542 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8544         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
8545         defined.
8546         * include/mqueue.h: Likewise.
8547         * include/stdlib.h: Likewise.
8549         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
8550         (get_null_defines): Adjust.
8551         * sunrpc/Makefile: Adjust comment.
8552         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
8553         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
8554         (CFLAGS-interp.c): Likewise.
8555         (CFLAGS-ldconfig.c): Likewise.
8556         (CPPFLAGS-.os): Likewise.
8557         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8558         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
8559         * extra-modules.mk (extra-modules.mk): Likewise.
8560         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
8561         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
8562         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
8563         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
8564         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
8565         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
8566         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
8567         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
8568         * iconvdata/Makefile (CPPFLAGS): Likewise.
8569         (cpp-srcs-left): Add libof for all iconvdata routines.
8570         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
8571         * include/assert.h: Likewise.
8572         * include/ctype.h: Likewise.
8573         * include/errno.h: Likewise.
8574         * include/libc-symbols.h: Likewise.
8575         * include/math.h: Likewise.
8576         * include/netdb.h: Likewise.
8577         * include/resolv.h: Likewise.
8578         * include/stdio.h: Likewise.
8579         * include/stdlib.h: Likewise.
8580         * include/string.h: Likewise.
8581         * include/sys/stat.h: Likewise.
8582         * include/wctype.h: Likewise.
8583         * intl/l10nflist.c: Likewise.
8584         * libidn/idn-stub.c: Likewise.
8585         * libio/libioP.h: Likewise.
8586         * nptl/libc_multiple_threads.c: Likewise.
8587         * nptl/pthreadP.h: Likewise.
8588         * posix/regex_internal.h: Likewise.
8589         * resolv/res_hconf.c: Likewise.
8590         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
8591         * sysdeps/arm/memmove.S: Likewise.
8592         * sysdeps/arm/sysdep.h: Likewise.
8593         * sysdeps/generic/_itoa.h: Likewise.
8594         * sysdeps/generic/symbol-hacks.h: Likewise.
8595         * sysdeps/gnu/errlist.awk: Likewise.
8596         * sysdeps/gnu/errlist.c: Likewise.
8597         * sysdeps/i386/i586/memcpy.S: Likewise.
8598         * sysdeps/i386/i586/memset.S: Likewise.
8599         * sysdeps/i386/i686/memcpy.S: Likewise.
8600         * sysdeps/i386/i686/memmove.S: Likewise.
8601         * sysdeps/i386/i686/mempcpy.S: Likewise.
8602         * sysdeps/i386/i686/memset.S: Likewise.
8603         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8604         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8605         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
8606         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
8607         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8608         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8609         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
8610         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8611         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8612         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8613         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8614         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8615         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8616         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8617         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8618         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8619         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
8620         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
8621         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
8622         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8623         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8624         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8625         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8626         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8627         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8628         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8629         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
8630         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8631         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
8632         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
8633         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8634         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8635         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8636         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8637         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8638         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8639         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8640         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8641         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8642         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8643         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8644         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8645         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8646         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
8647         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8648         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8649         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
8650         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
8651         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8652         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8653         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8654         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
8655         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
8656         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8657         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8658         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
8659         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8660         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
8661         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
8662         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8663         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8664         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8665         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
8666         * sysdeps/nptl/bits/libc-lock.h: Likewise.
8667         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
8668         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
8669         * sysdeps/posix/closedir.c: Likewise.
8670         * sysdeps/posix/opendir.c: Likewise.
8671         * sysdeps/posix/readdir.c: Likewise.
8672         * sysdeps/posix/rewinddir.c: Likewise.
8673         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
8674         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
8675         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
8676         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8677         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8678         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
8679         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
8680         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
8681         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
8682         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
8683         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
8684         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
8685         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
8686         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
8687         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
8688         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
8689         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
8690         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
8691         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
8692         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
8693         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
8694         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
8695         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
8696         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
8697         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
8698         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
8699         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
8700         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
8701         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
8702         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
8703         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
8704         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
8705         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
8706         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
8707         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
8708         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
8709         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8710         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8711         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
8712         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
8713         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
8714         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
8715         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
8716         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
8717         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
8718         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
8719         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
8720         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
8721         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
8722         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
8723         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
8724         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
8725         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
8726         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
8727         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
8728         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
8729         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
8730         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
8731         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
8732         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
8733         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
8734         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
8735         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
8736         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
8737         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
8738         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
8739         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
8740         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
8741         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
8742         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
8743         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
8744         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
8745         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
8746         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
8747         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
8748         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
8749         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
8750         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
8751         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
8752         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
8753         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
8754         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8755         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
8756         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
8757         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
8758         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
8759         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
8760         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8761         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8762         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8763         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
8764         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
8765         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
8766         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8767         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8768         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
8769         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8770         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8771         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
8772         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
8773         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8774         * sysdeps/unix/alpha/sysdep.S: Likewise.
8775         * sysdeps/unix/alpha/sysdep.h: Likewise.
8776         * sysdeps/unix/make-syscalls.sh: Likewise.
8777         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8778         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8779         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8780         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
8781         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8782         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
8783         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
8784         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8785         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8786         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
8787         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8788         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8789         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8790         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
8791         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8792         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
8793         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8794         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
8795         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
8796         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8797         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
8798         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8799         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8800         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8801         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8802         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8803         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
8805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
8806         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
8807         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8808         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8809         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8810         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8811         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8812         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8813         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8814         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8815         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8816         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
8817         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8818         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8819         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8820         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8821         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8822         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8823         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8824         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8825         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8826         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8827         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8828         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8829         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8830         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8831         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
8832         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8833         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8834         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8835         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
8836         * sysdeps/x86_64/memcpy.S: Likewise.
8837         * sysdeps/x86_64/memmove.c: Likewise.
8838         * sysdeps/x86_64/memset.S: Likewise.
8839         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
8840         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8841         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8842         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
8843         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
8844         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8845         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8846         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8847         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8848         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8849         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8850         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8851         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
8852         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8853         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8854         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
8855         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8856         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8857         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8858         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8859         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
8860         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8861         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8862         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8863         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8864         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8865         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8866         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
8867         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
8868         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8869         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
8870         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8871         * sysdeps/x86_64/strcmp.S: Likewise.
8873         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
8875         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
8876         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
8877         * elf/rtld-Rules: Likewise.
8878         * elf/setup-vdso.h: Likewise.
8879         * include/assert.h: Likewise.
8880         * include/bits/stdlib-float.h: Likewise.
8881         * include/errno.h: Likewise.
8882         * include/sys/stat.h: Likewise.
8883         * include/unistd.h: Likewise.
8884         * sysdeps/aarch64/setjmp.S: Likewise.
8885         * sysdeps/alpha/setjmp.S: Likewise.
8886         * sysdeps/arm/__longjmp.S: Likewise.
8887         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
8888         * sysdeps/arm/setjmp.S: Likewise.
8889         * sysdeps/arm/sysdep.h: Likewise.
8890         * sysdeps/generic/_itoa.h: Likewise.
8891         * sysdeps/generic/dl-sysdep.h: Likewise.
8892         * sysdeps/generic/ldsodefs.h: Likewise.
8893         * sysdeps/i386/dl-tls.h: Likewise.
8894         * sysdeps/i386/setjmp.S: Likewise.
8895         * sysdeps/m68k/setjmp.c: Likewise.
8896         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
8897         * sysdeps/mach/hurd/opendir.c: Likewise.
8898         * sysdeps/posix/getcwd.c: Likewise.
8899         * sysdeps/posix/opendir.c: Likewise.
8900         * sysdeps/posix/profil.c: Likewise.
8901         * sysdeps/powerpc/dl-procinfo.h: Likewise.
8902         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8903         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8904         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8905         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8906         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
8907         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
8908         * sysdeps/s390/dl-tls.h: Likewise.
8909         * sysdeps/s390/s390-32/setjmp.S: Likewise.
8910         * sysdeps/s390/s390-64/setjmp.S: Likewise.
8911         * sysdeps/sh/sh3/setjmp.S: Likewise.
8912         * sysdeps/sh/sh4/setjmp.S: Likewise.
8913         * sysdeps/unix/alpha/sysdep.h: Likewise.
8914         * sysdeps/unix/arm/sysdep.S: Likewise.
8915         * sysdeps/unix/i386/sysdep.S: Likewise.
8916         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8917         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
8918         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8919         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8920         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8921         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
8922         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8923         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8924         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
8925         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
8926         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
8927         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8928         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8931         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8932         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8933         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8934         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8935         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8936         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8937         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8938         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8939         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8940         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8941         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8942         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8943         * sysdeps/unix/x86_64/sysdep.S: Likewise.
8944         * sysdeps/x86_64/setjmp.S: Likewise.
8946         * include/math.h: Use IS_IN instead of IS_IN_libm.
8947         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
8948         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8949         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8950         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
8951         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8952         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8953         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8954         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8955         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8956         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8957         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
8958         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
8959         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
8960         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
8961         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
8962         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
8963         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
8964         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
8965         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
8966         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
8967         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
8968         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
8969         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
8970         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
8971         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
8972         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
8973         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
8974         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
8975         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
8976         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
8977         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
8978         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
8979         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
8980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
8981         Likewise.
8982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
8983         Likewise.
8984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
8985         Likewise.
8986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
8987         Likewise.
8988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
8989         Likewise.
8990         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
8991         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
8992         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
8993         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8994         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8995         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8996         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
8997         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
8998         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
8999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
9000         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
9001         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
9002         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
9003         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
9004         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
9005         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
9006         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
9007         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
9008         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
9009         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9010         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
9011         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
9012         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
9013         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
9014         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
9015         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
9016         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
9018         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
9019         * nptl/pthreadP.h: Likewise.
9020         * nptl_db/structs.def: Likewise.
9021         * sysdeps/arm/sysdep.h: Likewise.
9022         * sysdeps/nptl/bits/libc-lock.h: Likewise.
9023         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
9024         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
9025         * sysdeps/unix/alpha/sysdep.h: Likewise.
9026         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9027         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9028         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9029         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9030         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9031         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9032         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9033         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9034         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9035         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9036         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9037         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9038         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9039         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
9041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
9042         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9043         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9044         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9045         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9046         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9047         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9048         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9049         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9050         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
9051         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9053         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
9054         * nptl/pthreadP.h: Likewise.
9055         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9056         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9057         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9058         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9059         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9060         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9061         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9062         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9063         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9064         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9065         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9066         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9068         Likewise.
9069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9070         Likewise.
9071         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9072         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9073         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9074         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9075         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9076         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9077         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9078         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9080         * dlfcn/dladdr.c: Use IS_IN.
9081         * dlfcn/dladdr1.c: Likewise.
9082         * dlfcn/dlclose.c: Likewise.
9083         * dlfcn/dlerror.c: Likewise.
9084         * dlfcn/dlinfo.c: Likewise.
9085         * dlfcn/dlmopen.c: Likewise.
9086         * dlfcn/dlopen.c: Likewise.
9087         * dlfcn/dlsym.c: Likewise.
9088         * dlfcn/dlvsym.c: Likewise.
9090         * include/ifaddrs.h: Use IS_IN.
9091         * inet/check_pf.c: Likewise.
9092         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9093         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
9095         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
9096         IS_IN_ldconfig.
9097         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
9098         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
9100         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
9101         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
9102         IS_IN (libc).
9104         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
9106         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
9107         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9108         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
9109         * include/libc-symbols.h (IS_IN_LIB): New macro.
9110         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
9111         * include/netdb.h: Likewise.
9112         * include/stap-probe.h: Remove all uses of IN_LIB.
9114         * Makeconfig (module-cppflags-real): Define MODULE_NAME
9115         instead of IN_MODULE.
9116         * include/libc-symbols.h (IN_MODULE): Define using
9117         MODULE_NAME.
9118         (PASTE_NAME, PASTE_NAME1): New macros.
9119         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
9120         of IN_LIB.
9121         (STAP_PROBE_ASM): Likewise.
9123 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9125         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
9126         __mach_init in dlopened libc.
9128 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
9130         * sysdeps/arm/preconfigure.ac: Delete EABI check.
9131         * sysdeps/arm/preconfigure: Regenerate.
9133 2014-11-21  Roland McGrath  <roland@hack.frob.com>
9135         * nptl/pthread_create.c (__pthread_create_2_1): Set
9136         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
9137         when copying values from IATTR into PD.
9139 2014-11-21  Will Newton  <will.newton@linaro.org>
9140             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
9142         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
9143         Refactor inline-asm.  Also add comment.
9145         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
9146         ElfW macro instead of hardcoded Elf64 types.
9147         (la_aarch64_gnu_pltenter): Likewise.
9148         * sysdeps/aarch64/dl-machine.h
9149         (elf_machine_runtime_setup): Use ElfW(Addr).
9151         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
9152         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
9153         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
9154         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
9155         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
9156         (R_AARCH64_TLS_DTPMOD64): Rename to ..
9157         (R_AARCH64_TLS_DTPMOD): This.
9158         (R_AARCH64_TLS_DTPREL64): Rename to ...
9159         (R_AARCH64_TLS_DTPREL): This.
9160         (R_AARCH64_TLS_TPREL64): Rename to ...
9161         (R_AARCH64_TLS_TPREL): This.
9162         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
9163         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
9164         R_AARCH64_TLS_TPREL64.
9165         (elf_machine_rela): Likewise.
9167 2014-11-21  Torvald Riegel  <triegel@redhat.com>
9169         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
9170         by setting it to 0.  64b atomics are not supported currently.
9172 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9174         [BZ #16469]
9175         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
9176         search domain names.
9178 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9180         [BZ #16469]
9181         * NEWS: Update.
9182         * resolv/res_query.c (__libc_res_nquerydomain): Retain
9183         trailing dot.
9184         * posix/tst-getaddrinfo5.c: New.
9185         * posix/Makefile (tests): Add it.
9187 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9189         [BZ #14498]
9190         * NEWS: Fixed.
9191         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
9192         after parsing line but before break_if_match.
9193         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
9194         if there is a protocol mismatch.
9196 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
9198         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
9199         because the potential race is on the user-supplied stream.
9201 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9203         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
9204         string literal if not passed a buffer.
9205         * manual/job.texi (ctermid): Update reasoning, note deviation
9206         from posix, suggest mtasurace when not passed a buffer, for
9207         future non-preliminary safety notes.
9209 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9211         * manual/users.texi (cuserid): Fix MT-Safety note for the case
9212         of not passing it a buffer.
9213         Reported by Peng Haitao.
9215 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9217         * manual/Makefile ($(objpfx)stamp-summary): Require
9218         check-safety.sh to pass.
9219         * manual/check-safety.sh: Wish for verification that every
9220         @deftypefn and @deftypefun is followed by a @safety remark.
9222 2014-11-20  Roland McGrath  <roland@hack.frob.com>
9224         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
9226         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
9227         PTHREAD_CANCEL_ASYNCHRONOUS.
9228         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
9229         send SIGCANCEL.
9231         * nptl/default-sched.h: New file.
9232         * sysdeps/unix/sysv/linux/default-sched.h: New file.
9233         * nptl/pthread_create.c: Include it.
9234         (__pthread_create_2_1): Use collect_default_sched instead of making
9235         Linux syscalls here directly.
9237 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9239         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
9240         __pthread_once): Use C11 atomics.
9242 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9244         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
9246 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9248         * include/atomic.h (__atomic_link_error, __atomic_check_size,
9249         atomic_thread_fence_acquire, atomic_thread_fence_release,
9250         atomic_thread_fence_seq_cst, atomic_load_relaxed,
9251         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
9252         atomic_compare_exchange_weak_relaxed,
9253         atomic_compare_exchange_weak_acquire,
9254         atomic_compare_exchange_weak_release,
9255         atomic_exchange_acquire, atomic_exchange_release,
9256         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
9257         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
9258         atomic_fetch_and_acquire,
9259         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
9261 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9263         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
9264         USE_ATOMIC_COMPILER_BUILTINS): Define.
9265         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
9266         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9267         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
9268         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9269         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
9270         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9271         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
9272         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9273         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
9274         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9275         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
9276         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9277         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
9278         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9279         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
9280         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9281         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
9282         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9283         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
9284         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9285         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
9286         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9287         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
9288         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9289         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
9290         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9291         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
9292         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9293         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
9294         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9295         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
9296         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9297         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
9298         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9299         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
9300         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9301         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
9302         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9303         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
9304         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9306 2014-11-19  Roland McGrath  <roland@hack.frob.com>
9308         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
9309         the sched_priority value here.  It was already checked when the user
9310         called pthread_attr_setschedparam.
9312         * nptl/tst-bad-schedattr.c: New file.
9313         * nptl/Makefile (tests): Add it.
9315 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
9316             Florian Weimer  <fweimer@redhat.com>
9317             Joseph Myers  <joseph@codesourcery.com>
9318             Adam Conrad  <adconrad@0c3.net>
9319             Andreas Schwab  <schwab@suse.de>
9320             Brooks  <bmoses@google.com>
9322         [BZ #17625]
9323         * wordexp-test.c (__dso_handle): Add prototype.
9324         (__register_atfork): Likewise.
9325         (__app_register_atfork): New function.
9326         (registered_forks): New global.
9327         (register_fork): New function.
9328         (test_case): Add 3 new tests for WRDE_CMDSUB.
9329         (main): Call __app_register_atfork.
9330         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
9331         fork count is non-zero fail the test.
9332         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
9333         is set.
9334         (parse_dollars): Remove check for WRDE_NOCMD.
9335         (parse_dquote): Likewise.
9337 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9339         * Makeconfig (built-modules): List non-library modules to be
9340         built.
9341         (module-cppflags): Include libc-modules.h for
9342         everything except shlib-versions.v.i.
9343         (CPPFLAGS): Use it.
9344         (before-compile): Add libc-modules.h.
9345         ($(common-objpfx)libc-modules.h,
9346         $(common-objpfx)libc-modules.stmp): New targets.
9347         (common-generated): Add libc-modules.h and libc-modules.stmp.
9348         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
9349         * include/libc-symbols.h: Don't include libc-modules.h.
9350         * include/libc-modules.h: Remove file.
9351         * scripts/gen-libc-modules.awk: New script to generate
9352         libc-modules.h.
9353         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
9354         Depend on libc-modules.stmp.
9356         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
9358         * Makeconfig (in-module): Get value of libof set for the
9359         translation unit.
9360         (CPPFLAGS): Use $(in-module).
9361         * Makerules: Don't suffix routine names for nonlib.
9362         * include/libc-modules.h: New file.
9363         * include/libc-symbols.h: Include libc-modules.h
9364         (IS_IN): New macro to replace IS_IN_* macros.
9365         * elf/Makefile: Set libof-* for each routine.
9366         * elf/rtld-Rules: Likewise.
9367         * extra-modules.mk: Likewise.
9368         * iconv/Makefile: Likewise.
9369         * iconvdata/Makefile: Likewise.
9370         * locale/Makefile: Likewise.
9371         * malloc/Makefile: Likewise.
9372         * nss/Makefile: Likewise.
9373         * sysdeps/gnu/Makefile: Likewise.
9374         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
9375         * sysdeps/unix/sysv/linux/Makefile: Likewise.
9376         * sysdeps/s390/s390-64/Makefile: Likewise.
9377         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
9378         CPPFLAGS for nscd instead of nonlib.
9380 2014-11-18  Roland McGrath  <roland@hack.frob.com>
9382         * nptl/createthread.c: New file.
9384         * nptl/createthread.c: Moved ...
9385         * sysdeps/unix/sysv/linux/createthread.c: ... here.
9387         * nptl/createthread.c: Add proper top-line comment.
9388         (do_clone): Folded into ...
9389         (create_thread): ... here.  Take new arguments STOPPED_START and
9390         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
9391         increment __nptl_threads, do event-reporting logic, do
9392         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
9393         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
9394         resource cleanup if sched_setaffinity or sched_setscheduler fails,
9395         just send SIGCANCEL.
9396         * nptl/pthread_create.c: Forward-declare create_thread before
9397         including createthread.c.
9398         (start_thread): Use new macro START_THREAD_DEFN to replace defining
9399         declaration, and new macro START_THREAD_SELF to replace argument.
9400         Remove return statement.
9401         (report_thread_creation): New function.
9402         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
9403         synchronization logic, and __nptl_nthreads increment here, around
9404         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
9405         PD->parent_cancelhandling here, before create_thread.  When
9406         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
9407         __deallocate_stack, and ENOMEM translation here.
9409 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
9411         [BZ #17616]
9412         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
9413         (mptwo): Rename to __mptwo.
9414         (__inv): Use __mptwo instead of mptwo.
9415         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
9416         (mptwo): Rename to __mptwo.
9417         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
9418         of mpone and __mptwo instead of mptwo.
9419         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
9420         instead of mpone.
9421         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9422         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
9423         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
9424         of mpone and __mptwo instead of mptwo.
9425         (__mpranred): Use __mpone instead of mpone.
9426         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
9427         variable.
9428         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
9429         (test-xfail-ISO99/math.h/linknamespace): Likewise.
9430         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
9431         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
9432         (test-xfail-ISO11/math.h/linknamespace): Likewise.
9433         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
9434         (test-xfail-XPG3/math.h/linknamespace): Likewise.
9435         (test-xfail-XPG4/math.h/linknamespace): Likewise.
9436         (test-xfail-POSIX/math.h/linknamespace): Likewise.
9437         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
9438         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
9439         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
9440         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
9441         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
9442         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
9443         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
9444         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
9445         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
9446         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
9448 2014-11-18  Tom de Vries  <tom@codesoucery.com>
9450         * manual/signal.texi (Primitives Interrupted by Signals): In section,
9451         replace BSD Handler xref with BSD Signal Handling.
9453 2014-11-17  Richard Henderson  <rth@redhat.com>
9455         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
9456         (_FP_PACK_RAW_2): Remove.
9457         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
9458         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
9459         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
9460         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
9461         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
9462         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
9463         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
9464         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
9465         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
9466         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
9467         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
9468         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
9469         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
9470         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
9471         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
9472         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
9474 2014-11-14  Roland McGrath  <roland@hack.frob.com>
9476         * signal/signal.h [__USE_MISC]
9477         (struct sigvec): Remove type.
9478         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
9479         (sigvec): Remove declaration.
9480         * sysdeps/posix/sigvec.c: Moved ...
9481         * signal/sigvec.c: ... here, replacing old file.
9482         (struct sigvec): New type, copied from old signal.h definition.
9483         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
9484         (__sigvec): Convert definition to prototype.
9485         (sigvec): Replace weak_alias with compat_symbol.
9486         * signal/Versions (libc: GLIBC_2.21): New version set.
9487         * include/signal.h: Remove __sigvec declaration.
9488         * sysdeps/unix/bsd/sigvec.c: Remove file.
9489         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
9490         * manual/signal.texi (BSD Handler): Remove subsection.
9491         Move siginterrupt up to ...
9492         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
9493         (Blocking in BSD): Fold subsection into its parent.
9494         * NEWS: Mention sigvec removal.
9496 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
9498         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
9499         (DLA_FMS): Make definition conditional only on [__FMA4__].
9500         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
9501         definition.
9503         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
9504         Make definition conditional only on [PROF].
9505         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
9506         definition.
9507         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
9508         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
9510         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
9511         !__GNUC__].
9512         * include/signal.h (__sigpause): Move declaration above call to
9513         libc_hidden_proto.
9514         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
9515         variable.
9516         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
9517         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
9519 2014-11-14  David S. Miller  <davem@davemloft.net>
9521         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
9522         Define before including <string/memcpy.c> and <string/mempcpy.c>.
9524 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
9526         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
9527         * configure: Regenerated.
9528         * manual/install.texi (Tools for Compilation): Document a
9529         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
9530         compiler verified to work.
9531         * INSTALL: Regenerated.
9533         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
9534         redeclare with asm name.
9535         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
9536         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
9537         including <string.h>.
9538         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9539         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
9540         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9541         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
9542         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9543         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
9544         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9546 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
9548         * stdlib/strtol.c (__strtol): Use prototype definition.
9550         [BZ #17594]
9551         * stdlib/strtol.c (SYM__): New macro.
9552         (SYM__1): Likewise.
9553         (__strtol): Likewise.
9554         (strtol): Rename to __strtol and define as weak alias of
9555         __strtol.  Use libc_hidden_weak.
9557 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9559         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
9560         Use numbered labels in inline assembly.
9562 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9564         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
9565         Add setjmp LIBC_PROBE.
9566         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
9567         Likewise.
9568         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
9569         Add longjmp, longjmp_target LIBC_PROBE.
9570         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
9571         Likewise.
9573 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9575         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
9576         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
9577         to get rid of unused variable warning.
9579 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9581         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
9582         Check for unwind_backtrace ==  NULL only in SHARED case.
9583         (__backchain_backtrace): Compile only in SHARED case.
9584         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
9585         Likewise.
9586         (__backchain_backtrace): Declare as static.
9588 2014-11-12  Roland McGrath  <roland@hack.frob.com>
9590         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
9591         (__libc_multiple_threads_ptr): Variable moved ...
9592         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
9594 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
9596         * conform/GlibcConform.pm: New file.
9597         * conform/conformtest.pl: Use GlibcConform module.
9598         * conform/linknamespace.pl: New file.
9599         * conform/list-header-symbols.pl: Likewise.
9600         * conform/Makefile (linknamespace-symlists-base): New variable.
9601         (linknamespace-symlists-tests): Likewise.
9602         (linknamespace-header-base): Likewise.
9603         (linknamespace-header-tests): Likewise.
9604         (tests-special): Add new tests.
9605         ($(linknamespace-symlists-tests)): New rule.
9606         (linknamespace-libs): New variable.
9607         ($(objpfx)symlist-stdlibs): New rule.
9608         ($(linknamespace-header-tests)): Likewise.
9609         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
9610         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
9611         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
9612         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
9613         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
9614         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
9615         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
9616         (test-xfail-ISO/math.h/linknamespace): Likewise.
9617         (test-xfail-ISO/signal.h/linknamespace): Likewise.
9618         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
9619         (test-xfail-ISO/time.h/linknamespace): Likewise.
9620         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
9621         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
9622         (test-xfail-ISO99/math.h/linknamespace): Likewise.
9623         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
9624         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
9625         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
9626         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
9627         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
9628         (test-xfail-ISO11/math.h/linknamespace): Likewise.
9629         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
9630         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
9631         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
9632         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
9633         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
9634         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
9635         (test-xfail-XPG3/math.h/linknamespace): Likewise.
9636         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
9637         (test-xfail-XPG3/search.h/linknamespace): Likewise.
9638         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
9639         (test-xfail-XPG3/time.h/linknamespace): Likewise.
9640         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
9641         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
9642         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
9643         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
9644         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
9645         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
9646         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
9647         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
9648         (test-xfail-XPG4/math.h/linknamespace): Likewise.
9649         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
9650         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
9651         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
9652         (test-xfail-XPG4/search.h/linknamespace): Likewise.
9653         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
9654         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
9655         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
9656         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
9657         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
9658         (test-xfail-XPG4/time.h/linknamespace): Likewise.
9659         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
9660         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
9661         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
9662         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
9663         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
9664         (test-xfail-POSIX/math.h/linknamespace): Likewise.
9665         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
9666         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
9667         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
9668         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
9669         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
9670         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
9671         (test-xfail-POSIX/time.h/linknamespace): Likewise.
9672         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
9673         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
9674         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
9675         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
9676         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
9677         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
9678         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
9679         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
9680         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
9681         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
9682         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
9683         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
9684         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
9685         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
9686         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
9687         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
9688         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
9689         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
9690         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
9691         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
9692         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
9693         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
9694         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
9695         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
9696         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
9697         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
9698         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
9699         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
9700         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
9701         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
9702         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
9703         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
9704         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
9705         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
9706         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
9707         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
9708         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
9709         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
9710         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
9711         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
9712         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
9713         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
9714         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
9715         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
9716         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
9717         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
9718         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
9719         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
9720         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
9721         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
9722         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
9723         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
9724         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
9725         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
9726         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
9727         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
9728         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
9729         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
9730         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
9731         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
9732         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
9733         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
9734         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
9735         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
9736         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
9737         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
9738         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
9739         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
9740         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
9741         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
9742         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
9743         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
9744         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
9745         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
9746         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
9747         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
9748         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
9749         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
9750         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
9751         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
9752         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
9753         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
9754         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
9755         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
9756         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
9757         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
9758         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
9759         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
9760         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
9761         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
9762         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
9763         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
9764         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
9765         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
9766         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
9767         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
9768         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
9769         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
9771         [BZ #17589]
9772         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
9773         of fgets_unlocked.
9775         [BZ #17585]
9776         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
9777         (memmem): Rename to __memmem and define as weak alias of
9778         __memmem.  Use libc_hidden_weak.
9779         (__memmem): Use libc_hidden_def.
9780         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
9781         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
9782         memmem.
9784         [BZ #17582]
9785         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
9786         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
9787         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
9788         and define as weak alias of __fgets_unlocked.  Use
9789         libc_hidden_weak.
9790         (__fgets_unlocked): Use libc_hidden_def.
9791         * include/stdio.h (__fgets_unlocked): Declare.  Use
9792         libc_hidden_proto.
9793         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
9794         __fgets_unlocked instead of fgets_unlocked.
9795         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
9796         (GET_NPROCS_CONF_PARSER): Likewise.
9797         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
9798         (GET_NPROCS_CONF_PARSER): Likewise.
9800         [BZ #17574]
9801         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
9802         weak alias of __wmemset.  Use libc_hidden_weak.
9803         (__wmemset): Use libc_hidden_def.
9804         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
9805         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
9806         of wmemset.
9808         [BZ #17573]
9809         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
9810         with asm name __mempcpy.
9811         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
9813         [BZ #17572]
9814         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
9815         and define as weak alias of __rawmemchr.
9816         (__rawmemchr): Do not define as strong alias of rawmemchr.
9818         [BZ #17571]
9819         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
9820         alias of __qsort_r.
9821         (qsort): Call __qsort_r instead of qsort_r.
9822         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
9823         (__qsort_r): Declare.  Call libc_hidden_proto.
9824         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
9825         instead of qsort_r.
9826         * nscd/gai.c (__qsort_r): Define to qsort_r.
9827         * posix/tst-rfc3484.c (__qsort_r): Likewise.
9828         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
9829         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
9831         [BZ #17570]
9832         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
9833         define as weak alias of __malloc_info.
9835         [BZ #17584]
9836         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
9837         as weak alias of __rewinddir.  Don't use libc_hidden_def.
9838         (__rewinddir): Use libc_hidden_def.
9839         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
9840         as weak alias of __rewinddir.  Don't use libc_hidden_def.
9841         (__rewinddir): Use libc_hidden_def.
9842         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
9843         weak alias of __rewinddir.  Don't use libc_hidden_def.
9844         (__rewinddir): Use libc_hidden_def.
9845         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
9846         (__rewinddir): Use libc_hidden_proto.
9847         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
9848         rewinddir.
9849         (__getcwd): Use __rewinddir instead of rewinddir.
9851         [BZ #17583]
9852         * libio/fileno.c (fileno): Rename to __fileno and define as weak
9853         alias of __fileno.  Use libc_hidden_weak.
9854         (__fileno): Use libc_hidden_def.
9855         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
9856         * libio/ftello.c (ftello): Rename to __ftello and define as weak
9857         alias of __ftello.
9858         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
9859         __ftello.
9860         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
9861         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
9862         libc_hidden_def.
9863         (fread_unlocked): Don't use libc_hidden_ver.
9864         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
9865         and define as weak alias of __fread_unlocked.  Don't use
9866         libc_hidden_def.
9867         (__fread_unlocked): Use libc_hidden_def.
9868         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
9869         (ftello): Don't use libc_hidden_proto.
9870         (__ftello): Declare.  Use libc_hidden_proto.
9871         (fread_unlocked): Don't use libc_hidden_proto.
9872         (__fread_unlocked): Declare.  Use libc_hidden_proto.
9873         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
9874         and __ftello instead of fileno, fread_unlocked and ftello.
9876 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9878         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
9879         GOT12.
9880         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
9881         Likewise.
9882         (_dl_start_user): Likewise.
9883         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
9885 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
9886             Siddhesh Poyarekar  <siddhesh@redhat.com>
9888         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
9889         Move argv and envp down instead of moving argc up.
9890         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
9892 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
9894         [BZ #17506]
9895         * test-skeleton.c (main): Return successful if one of
9896         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
9897         * string/tst-strcoll-overflow.c: Define expected status.
9899 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
9901         [BZ #17475]
9902         * locale/iso-639.def: Define Bhili and Tulu language codes.
9904 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
9906         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
9908 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
9910         [BZ #17555]
9911         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
9913 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
9915         * configure.ac: Updated check of minimal required version to
9916         2.22.
9917         * manual/install.texi (Tools for Compilation): Updated version
9918         number.
9919         * configure: Regenerated.
9920         * INSTALL: Likewise.
9922 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
9924         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
9925         __tls_get_addr.
9927 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
9929         * include/sys/wait.h (__libc_waitpid): Remove declaration.
9930         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
9931         (__waitpid): Don't define as alias.  Use libc_hidden_def not
9932         libc_hidden_weak.
9933         (waitpid): Define as alias of __waitpid.
9934         * sysdeps/unix/bsd/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.
9939         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
9940         __libc_waitpid alias.
9941         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
9942         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
9943         Likewise.
9944         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
9945         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
9946         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
9947         alias.
9948         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
9949         __waitpid.
9950         (__waitpid): Don't define as alias.  Use libc_hidden_def not
9951         libc_hidden_weak.
9952         (waitpid): Define as alias of __waitpid.
9954 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
9956         * manual/llio.texi: Add comment that write safety has been
9957         fixed in Linux.
9959         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
9960         (localplt-build-dso): Add elf/ld.so.
9961         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
9962         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
9963         and free for ld.so.
9964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
9965         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
9966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
9967         Likewise.
9968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9969         Likewise.
9970         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
9971         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
9972         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
9973         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
9974         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
9975         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
9976         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
9977         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
9978         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
9979         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
9980         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
9982 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
9984         [BZ #14132]
9985         * include/libc-symbols.h (INTUSE): Remove macro.
9986         (INTDEF): Likewise.
9987         (INTVARDEF): Likewise.
9988         (_INTVARDEF): Likewise.
9989         (INTDEF2): Likewise.
9990         (INTVARDEF2): Likewise.
9991         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
9992         rtld_hidden_def instead of INTVARDEF.
9993         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
9994         (_dl_starting_up_internal): Remove declaration.
9995         (_dl_starting_up): Use rtld_hidden_proto.
9996         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
9997         declaration.
9998         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
9999         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
10000         _dl_starting_up.
10001         * elf/dl-writev.h (_dl_writev): Likewise.
10002         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
10003         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
10004         _dl_starting_up_internal.
10006 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10008         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
10009         test-skeleton.c.
10011 2014-11-05  Will Newton  <will.newton@linaro.org>
10013         * benchtests/Makefile: (bench-malloc): Add malloc thread
10014         scalability benchmark.
10015         * benchtests/bench-malloc-threads.c: New file.
10017 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
10019         * sysdeps/aarch64/strchrnul.S: New file.
10021 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10023         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
10024         definition.
10025         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
10026         Likwise.
10027         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
10028         Likewise.
10029         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
10030         Likewise.
10031         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
10032         Likewise.
10033         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
10034         Likewise.
10036 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
10038         * catgets/test-gencat.c: Use test-skeleton.c.
10039         * catgets/tst-catgets.c: Likewise.
10040         * csu/tst-empty.c: Likewise.
10041         * elf/tst-audit2.c: Likewise.
10042         * elf/tst-global1.c: Likewise.
10043         * elf/tst-pathopt.c: Likewise.
10044         * elf/tst-piemod1.c: Likewise.
10045         * elf/tst-tls10.c: Likewise.
10046         * elf/tst-tls11.c: Likewise.
10047         * elf/tst-tls12.c: Likewise.
10048         * gnulib/tst-gcc.c: Likewise.
10049         * iconvdata/tst-e2big.c: Likewise.
10050         * iconvdata/tst-loading.c: Likewise.
10051         * iconv/tst-iconv1.c: Likewise.
10052         * iconv/tst-iconv2.c: Likewise.
10053         * inet/test-inet6_opt.c: Likewise.
10054         * inet/tst-gethnm.c: Likewise.
10055         * inet/tst-network.c: Likewise.
10056         * inet/tst-ntoa.c: Likewise.
10057         * intl/tst-codeset.c: Likewise.
10058         * intl/tst-gettext2.c: Likewise.
10059         * intl/tst-gettext3.c: Likewise.
10060         * intl/tst-ngettext.c: Likewise.
10061         * intl/tst-translit.c: Likewise.
10062         * io/test-stat.c: Likewise.
10063         * libio/test-fmemopen.c: Likewise.
10064         * libio/tst-freopen.c: Likewise.
10065         * libio/tst-sscanf.c: Likewise.
10066         * libio/tst-ungetwc1.c: Likewise.
10067         * libio/tst-ungetwc2.c: Likewise.
10068         * libio/tst-widetext.c: Likewise.
10069         * localedata/tst-ctype.c: Likewise.
10070         * localedata/tst-digits.c: Likewise.
10071         * localedata/tst-leaks.c: Likewise.
10072         * localedata/tst-mbswcs1.c: Likewise.
10073         * localedata/tst-mbswcs2.c: Likewise.
10074         * localedata/tst-mbswcs3.c: Likewise.
10075         * localedata/tst-mbswcs4.c: Likewise.
10076         * localedata/tst-mbswcs5.c: Likewise.
10077         * localedata/tst-setlocale.c: Likewise.
10078         * localedata/tst-trans.c: Likewise.
10079         * localedata/tst-wctype.c: Likewise.
10080         * localedata/tst-xlocale1.c: Likewise.
10081         * login/tst-grantpt.c: Likewise.
10082         * malloc/tst-calloc.c: Likewise.
10083         * malloc/tst-malloc.c: Likewise.
10084         * malloc/tst-mallocstate.c: Likewise.
10085         * malloc/tst-mcheck.c: Likewise.
10086         * malloc/tst-mtrace.c: Likewise.
10087         * malloc/tst-obstack.c: Likewise.
10088         * math/atest-exp2.c: Likewise.
10089         * math/atest-exp.c: Likewise.
10090         * math/atest-sincos.c: Likewise.
10091         * math/test-matherr.c: Likewise.
10092         * math/test-misc.c: Likewise.
10093         * math/test-powl.c: Likewise.
10094         * math/tst-definitions.c: Likewise.
10095         * misc/tst-dirname.c: Likewise.
10096         * misc/tst-efgcvt.c: Likewise.
10097         * misc/tst-fdset.c: Likewise.
10098         * misc/tst-hsearch.c: Likewise.
10099         * misc/tst-mntent2.c: Likewise.
10100         * nptl/tst-sem7.c: Likewise.
10101         * nptl/tst-sem8.c: Likewise.
10102         * nptl/tst-sem9.c: Likewise.
10103         * nss/test-netdb.c: Likewise.
10104         * posix/tst-fnmatch.c: Likewise.
10105         * posix/tst-getlogin.c: Likewise.
10106         * posix/tst-gnuglob.c: Likewise.
10107         * posix/tst-mmap.c: Likewise.
10108         * pwd/tst-getpw.c: Likewise.
10109         * resolv/tst-inet_ntop.c: Likewise.
10110         * rt/tst-timer.c: Likewise.
10111         * stdio-common/test-fseek.c: Likewise.
10112         * stdio-common/test-popen.c: Likewise.
10113         * stdio-common/test-vfprintf.c: Likewise.
10114         * stdio-common/tst-cookie.c: Likewise.
10115         * stdio-common/tst-fileno.c: Likewise.
10116         * stdio-common/tst-gets.c: Likewise.
10117         * stdio-common/tst-obprintf.c: Likewise.
10118         * stdio-common/tst-perror.c: Likewise.
10119         * stdio-common/tst-sprintf2.c: Likewise.
10120         * stdio-common/tst-sprintf3.c: Likewise.
10121         * stdio-common/tst-sprintf.c: Likewise.
10122         * stdio-common/tst-swprintf.c: Likewise.
10123         * stdio-common/tst-tmpnam.c: Likewise.
10124         * stdio-common/tst-unbputc.c: Likewise.
10125         * stdio-common/tst-wc-printf.c: Likewise.
10126         * stdlib/tst-environ.c: Likewise.
10127         * stdlib/tst-fmtmsg.c: Likewise.
10128         * stdlib/tst-limits.c: Likewise.
10129         * stdlib/tst-rand48-2.c: Likewise.
10130         * stdlib/tst-rand48.c: Likewise.
10131         * stdlib/tst-random2.c: Likewise.
10132         * stdlib/tst-random.c: Likewise.
10133         * stdlib/tst-strtol.c: Likewise.
10134         * stdlib/tst-strtoll.c: Likewise.
10135         * stdlib/tst-tls-atexit.c: Likewise.
10136         * stdlib/tst-xpg-basename.c: Likewise.
10137         * string/test-ffs.c: Likewise.
10138         * string/tst-bswap.c: Likewise.
10139         * string/tst-inlcall.c: Likewise.
10140         * string/tst-strtok.c: Likewise.
10141         * string/tst-strxfrm.c: Likewise.
10142         * sysdeps/x86_64/tst-audit10.c: Likewise.
10143         * sysdeps/x86_64/tst-audit3.c: Likewise.
10144         * sysdeps/x86_64/tst-audit4.c: Likewise.
10145         * sysdeps/x86_64/tst-audit5.c: Likewise.
10146         * time/tst-ftime_l.c: Likewise.
10147         * time/tst-getdate.c: Likewise.
10148         * time/tst-mktime3.c: Likewise.
10149         * time/tst-mktime.c: Likewise.
10150         * time/tst-posixtz.c: Likewise.
10151         * time/tst-strptime2.c: Likewise.
10152         * time/tst-strptime3.c: Likewise.
10153         * wcsmbs/tst-btowc.c: Likewise.
10154         * wcsmbs/tst-mbrtowc.c: Likewise.
10155         * wcsmbs/tst-mbsrtowcs.c: Likewise.
10156         * wcsmbs/tst-wchar-h.c: Likewise.
10157         * wcsmbs/tst-wcpncpy.c: Likewise.
10158         * wcsmbs/tst-wcrtomb.c: Likewise.
10159         * wcsmbs/tst-wcsnlen.c: Likewise.
10160         * wcsmbs/tst-wcstof.c: Likewise.
10162 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
10164         [BZ #14132]
10165         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
10166         INTDEF.
10167         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
10168         declaration.
10169         (_dl_mcount): Use rtld_hidden_proto.
10170         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
10171         _dl_mcount.
10172         * elf/rtld.c (_rtld_global_ro): Likewise.
10174         [BZ #14132]
10175         * elf/dl-init.c (_dl_init): Don't use INTDEF.
10176         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
10177         of _dl_init_internal.
10178         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
10179         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
10180         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
10181         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
10182         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
10183         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
10184         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
10185         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
10186         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
10187         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
10188         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
10189         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
10190         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10191         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10192         * sysdeps/tile/dl-start.S (_start): Likewise.
10193         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
10194         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
10196         [BZ #14132]
10197         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
10198         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
10199         (rtld_progname): Make macro definition unconditional.
10200         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
10201         INTDEF.
10202         (dlmopen_doit): Do not use INTUSE with _dl_argv.
10203         (dl_main): Likewise.
10204         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10205         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
10206         instead of _dl_argv_internal.
10207         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
10208         __GI__dl_argv instead of INTUSE(_dl_argv).
10209         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
10210         __GI__dl_argv instead of _dl_argv_internal.
10212         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
10213         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
10214         macro.
10215         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
10216         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
10217         New macro.
10218         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
10219         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
10220         macro.
10221         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
10222         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
10224 2014-11-04  Andreas Schwab  <schwab@suse.de>
10226         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
10228 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10230         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
10231         mtvsrd instruction in binary form.
10233 2014-11-03  Andreas Schwab  <schwab@suse.de>
10235         [BZ #17522]
10236         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
10237         for less than MB_LEN_MAX use a local buffer of that size.
10238         * libio/tst-fputws.c: New file.
10239         * libio/Makefile (tests): Add tst-fputws.
10241 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
10243         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
10244         the size of the fpu_fr.fpu_dregs[] array.
10246 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
10248         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
10249         (__nanosleep): Do not define as alias.
10250         (nanosleep): Define as alias of __nanosleep.
10251         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
10252         __libc_nanosleep name.
10254 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
10256         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
10257         install.texi in comment.
10259 2014-10-31  Torvald Riegel  <triegel@redhat.com>
10261         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
10262         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
10263         ... add here and use lwsync or sync ...
10264         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
10265         ... and add here using lwsync.
10267 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
10269         * elf/dl-machine-reject-phdr.h: New file.
10270         * elf/dl-load.c: #include that.
10271         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
10272         if that returned true.
10274 2014-10-31  Roland McGrath  <roland@hack.frob.com>
10276         [BZ #17496]
10277         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
10278         gen-as-const-headers chunk.  Add a big scare comment after the last
10279         safe place to touch before-compile.
10281 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
10283         * manual/install.texi (Tools for Compilation): Update autoconf
10284         version requirements.
10285         * INSTALL: Regenerated.
10287         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
10288         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
10289         (__libc_pselect): Likewise.
10291         [BZ #14138]
10292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
10293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10297 2014-10-31  Torvald Riegel  <triegel@redhat.com>
10299         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
10300         correct barrier instruction.
10301         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
10302         Likewise.
10303         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
10304         Likewise.
10306 2014-10-30  Roland McGrath  <roland@hack.frob.com>
10308         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
10309         after defining inlines.  Instead, just use parens to defeat macro
10310         expansion of __isctype in its declaration.
10312 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
10314         * include/sys/uio.h (__libc_readv): Remove declaration.
10315         (__libc_writev): Likewise.
10316         * misc/readv.c (__libc_readv): Rename to __readv.
10317         (__readv): Do not define as alias.
10318         (readv): Define as alias of __readv.
10319         * misc/writev.c (__libc_writev): Rename to __writev.
10320         (__writev): Do not define as alias.
10321         (writev): Define as alias of __writev.
10322         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
10323         (__readv): Do not define as alias.
10324         (readv): Define unconditionally as alias of __readv.
10325         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
10326         (__writev): Do not define as alias.
10327         (writev): Define unconditionally as alias of __writev.
10328         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
10329         name.
10330         (writev): Do not define __libc_writev name.
10332 2014-10-30  Roland McGrath  <roland@hack.frob.com>
10334         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
10335         (convert_charseq): New function, broken out of ...
10336         (use_from_charmap): ... here.  Call it.
10337         (use_to_charmap): Use convert_charseq and free instead of duplicating
10338         its code with a variable-length stack struct.
10340 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
10342         * include/fcntl.h (__libc_creat): Remove declaration.
10343         * io/creat.c (__libc_creat): Rename to creat.
10344         (creat): Do not define as alias.
10345         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
10346         of creat instead of __libc_creat.
10347         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
10348         to creat.
10349         (creat): Do not define as alias.
10350         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
10351         __libc_creat.
10352         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
10353         __libc_creat name.
10354         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
10355         Likewise.
10357 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
10359         * manual/llio.texi: Add comments discussing why write() may be
10360         considered MT-unsafe on Linux.
10362 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
10364         * dl-load.c (local_strdup): Remove.
10365         (expand_dynamic_string_token): Use __strdup.
10366         (decompose_rpath): Likewise.
10367         (_dl_map_object): Likewise.
10369 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
10371         [BZ #14132]
10372         * sysdeps/generic/unwind-dw2-fde.c
10373         (__register_frame_info_bases_internal): Do not declare.
10374         (__register_frame_info_table_bases_internal): Likewise.
10375         (__deregister_frame_info_bases_internal): Likewise.
10376         (__register_frame_info_bases): Declare and use hidden_proto before
10377         definition.  Use hidden_def instead of INTDEF.
10378         (__register_frame_info_table_bases): Likewise.
10379         (__deregister_frame_info_bases): Likewise.
10380         (__register_frame_info): Do not use INTUSE.
10381         (__register_frame): Likewise.
10382         (__register_frame_info_table): Likewise.
10383         (__register_frame_table): Likewise.
10384         (__deregister_frame_info): Likewise.
10385         (__deregister_frame): Likewise.
10387 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
10389         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10390         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
10391         not undefine.
10392         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
10393         Likewise.
10394         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
10395         Likewise.
10397 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
10399         [BZ #14138]
10400         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
10401         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
10402         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
10403         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
10404         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
10405         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
10406         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
10407         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
10408         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
10409         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
10410         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
10411         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
10412         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
10413         syscall.
10414         (setfsuid): Likewise.
10415         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
10416         (setfsuid): Likewise.
10417         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
10418         (setfsuid): Likewise.
10419         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
10420         Likewise.
10421         (setfsuid): Likewise.
10422         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
10423         (setfsuid): Likewise.
10424         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
10425         Likewise.
10426         (setfsuid): Likewise.
10428 2014-10-27  Andreas Schwab  <schwab@suse.de>
10430         [BZ #17501]
10431         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
10432         check for Slow_SSE4_2 feature bit.
10433         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
10434         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10435         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
10436         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
10438 2014-10-24  Roland McGrath  <roland@hack.frob.com>
10440         * configure.ac: Validate compiler version with a empirical test of
10441         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
10442         $CC -v output.
10443         * configure: Regenerated.
10445         * inet/htons.c (htons): Prototypify.
10446         * inet/htonl.c (htonl): Likewise.
10448 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10450         * string/strncat.c (strncat): Improve performance by using strlen.
10452 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10454         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
10456 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10458         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
10459         Call libc_fetestexcept_aarch64.
10461 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10463         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
10464         Call libc_feholdexcept_aarch64.
10466 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10468         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
10469         Call get_rounding_mode.
10471 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10473         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
10474         Simplify logic.
10476 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10478         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
10479         Simplify logic.
10481 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
10483         [BZ #14138]
10484         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
10485         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
10486         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
10487         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
10488         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
10489         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
10490         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
10491         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
10492         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
10493         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
10494         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10495         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
10496         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
10497         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
10498         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
10499         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
10500         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
10501         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
10502         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
10503         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
10504         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
10505         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
10506         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
10507         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
10508         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
10509         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
10510         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
10511         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
10512         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
10513         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
10514         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
10515         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
10516         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
10517         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
10518         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
10519         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
10520         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
10521         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
10522         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
10523         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
10524         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
10525         syscall.
10526         (geteuid): Likewise.
10527         (getgid): Likewise.
10528         (getuid): Likewise.
10529         (getresgid): Likewise.
10530         (getresuid): Likewise.
10531         (getgroups): Likewise.
10532         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
10533         (geteuid): Likewise.
10534         (getgid): Likewise.
10535         (getuid): Likewise.
10536         (getresgid): Likewise.
10537         (getresuid): Likewise.
10538         (getgroups): Likewise.
10539         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
10540         (geteuid): Likewise.
10541         (getgid): Likewise.
10542         (getuid): Likewise.
10543         (getresgid): Likewise.
10544         (getresuid): Likewise.
10545         (getgroups): Likewise.
10546         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
10547         Likewise.
10548         (geteuid): Likewise.
10549         (getgid): Likewise.
10550         (getuid): Likewise.
10551         (getresgid): Likewise.
10552         (getresuid): Likewise.
10553         (getgroups): Likewise.
10554         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
10555         (geteuid): Likewise.
10556         (getgid): Likewise.
10557         (getuid): Likewise.
10558         (getresgid): Likewise.
10559         (getresuid): Likewise.
10560         (getgroups): Likewise.
10561         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
10562         Likewise.
10563         (geteuid): Likewise.
10564         (getgid): Likewise.
10565         (getuid): Likewise.
10566         (getgroups): Likewise.
10568         [BZ #14138]
10569         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
10570         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
10571         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
10572         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10573         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
10574         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
10575         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
10576         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
10577         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
10578         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
10579         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
10580         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
10581         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
10582         __chown.
10583         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
10584         (lchown): Likewise.
10585         (fchown): Likewise.
10586         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
10587         Likewise.
10588         (lchown): Likewise.
10589         (fchown): Likewise.
10590         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
10591         (lchown): Likewise.
10592         (fchown): Likewise.
10593         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
10594         Likewise.
10595         (lchown): Likewise.
10596         (fchown): Likewise.
10598 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
10600         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
10601         Simplify logic.
10603 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
10605         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
10606         Cleanup logic.
10608 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
10610         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
10611         Remove unused include.
10613 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
10615         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
10616         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
10617         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
10618         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
10620 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
10621             Helge Deller <deller@gmx.de>
10623         [BZ #17508]
10624         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
10625         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
10626         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
10628 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
10630         [BZ #14132]
10631         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
10632         Remove macro definition.
10633         (__ashrdi3_v_glibc20): Likewise.
10634         (__lshrdi3_v_glibc20): Likewise.
10635         (__cmpdi2_v_glibc20): Likewise.
10636         (__ucmpdi2_v_glibc20): Likewise.
10637         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
10638         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10639         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10640         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10641         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10642         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
10644 2014-10-22  Roland McGrath  <roland@hack.frob.com>
10646         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
10647         old GNU extension [0] syntax.
10648         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
10649         alloca rather than an array member with variable length.
10650         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
10651         * nscd/nscd.c (invalidate_db): New function, broken out of ...
10652         (parse_opt): ... here.  Likewise use alloca there.
10653         Validate the -i argument before checking for rootness.
10654         (send_shutdown): New function, broken out of ...
10655         (parse_opt): ... here.
10657 2014-10-22  Roland McGrath  <roland@hack.frob.com>
10659         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
10660         macro to get at the _rt_local_ro field.
10661         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
10662         ([PIC] case) or _dl_hwcap ([!PIC] case).
10663         * sysdeps/arm/setjmp.S: Likewise.
10665         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
10666         * sysdeps/arm/configure.ac: New check to define it.
10667         * sysdeps/arm/configure: Regenerated.
10668         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
10669         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
10670         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
10671         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
10672         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
10673         Use move/movt pair instead of a load.
10674         (LDST_GLOBAL): Macro removed.
10675         (LDR_GLOBAL): New macro replaces it.
10676         (LDR_HIDDEN): New macro.
10677         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
10678         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
10680         * setjmp/tst-setjmp-static.c: New file.
10681         * setjmp/Makefile (tests): Add it.
10682         (tests-static): New variable.
10684 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
10686         [BZ #17485]
10687         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
10689 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
10691         [BZ #14132]
10692         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
10694 2014-10-21  Roland McGrath  <roland@hack.frob.com>
10696         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
10698 2014-10-20  Roland McGrath  <roland@hack.frob.com>
10700         * io/fts.c (dirent_not_directory): New function.
10701         (fts_build): Call it.
10703 2014-10-20  Roland McGrath  <roland@hack.frob.com>
10705         * nptl/version.c (__nptl_main): Use normal __write rather than
10706         INTERNAL_SYSCALL.
10707         (banner): Update copyright years.
10709         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
10710         gettimeofday.
10711         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10712         * nptl/pthread_cond_timedwait.c: Likewise.
10713         * nptl/pthread_mutex_timedlock.c: Likewise.
10714         * nptl/sem_timedwait.c: Likewise.
10716         * sysdeps/nptl/bits/libc-lock.h
10717         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
10718         (__libc_lock_init_recursive): Return void, not 0.
10719         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
10720         (__libc_rwlock_init): Likewise.
10721         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
10723 2014-10-20  Torvald Riegel  <triegel@redhat.com>
10725         [BZ #15215]
10726         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
10727         (__pthread_once_slow): ... here.
10728         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
10729         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
10731 2014-10-20  Torvald Riegel  <triegel@redhat.com>
10733         [BZ #15215]
10734         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
10735         __PTHREAD_ONCE_FORK_GEN_INCR): New.
10736         * sysdeps/nptl/fork.c (__libc_fork): Use them.
10737         * nptl/pthread_once.c (__pthread_once): Likewise.
10738         Update comments.
10740 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
10742         [BZ #14138]
10743         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
10744         name.
10745         (writev): Use __libc_writev as strong name.
10746         * sysdeps/unix/sysv/linux/readv.c: Remove file.
10747         * sysdeps/unix/sysv/linux/writev.c: Likewise.
10749 2014-10-17  Roland McGrath  <roland@hack.frob.com>
10751         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
10753         * sysdeps/i386/nptl/tls.h
10754         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
10755         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
10756         New macros.
10757         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
10758         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
10759         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
10760         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
10761         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
10762         Call CHECK_THREAD_SYSINFO instead of doing an assert.
10764         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
10765         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
10766         on [__NR_futex].
10767         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
10768         broken out of ...
10769         (__pthread_mutex_init): ... here.  Call it.
10770         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
10771         Conditionalize PI cases on [__NR_futex].
10772         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
10773         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
10774         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10776         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
10777         conditional on [SIGSETXID].
10778         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
10779         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
10780         is defined.  Likewise for SIGSETXID.
10781         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
10782         Conditionalize definitions on [SIGSETXID].
10783         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
10784         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
10785         unblocking on [SIGCANCEL].
10787         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
10788         [__NR_set_robust_list].
10790 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
10792         * string/strcoll_l.c (get_next_seq): Fix up formatting.
10793         (do_compare): Likewise.
10795 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
10797         [BZ #15884]
10798         * string/strcoll_l.c: Don't include stdio.h.
10799         (coll_seq): Remove members idxarr and rulearr.
10800         (get_next_seq_cached): Remove function.
10801         (get_next_seq): Likewise.
10802         (get_next_seq_nocache): Rename to get_next_seq.
10803         (do_compare): Remove function.
10804         (do_compare_nocache): Rename to do_compare.
10805         (STRCOLL): Remove weight and rules cache.
10807 2014-10-16  Roland McGrath  <roland@hack.frob.com>
10809         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
10810         * sysdeps/arm/sfp-machine.h: ... to here.
10811         * sysdeps/arm/Implies: Remove arm/soft-fp.
10813 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
10815         * conform/data/sys/utsname.h-data (*_t): Allow.
10816         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
10817         [POSIX] (WEXITED): Do not expect constant.
10818         [POSIX] (WSTOPPED): Likewise.
10819         [POSIX] (WNOHANG): Likewise.
10820         [POSIX] (WNOWAIT): Likewise.
10821         [POSIX] (siginfo_t): Do not expect type or elements.
10822         [POSIX] (pid_t): Do not expect type.
10823         [POSIX] (signal.h): Do not allow header.
10824         [POSIX] (sys/resource.h): Likewise.
10825         [POSIX] (si_*): Do not allow pattern.
10826         [POSIX] (W*): Likewise.
10827         [POSIX] (P_*): Likewise.
10828         [POSIX] (BUS_*): Likewise.
10829         [POSIX] (CLD_*): Likewise.
10830         [POSIX] (FPE_*): Likewise.
10831         [POSIX] (ILL_*): Likewise.
10832         [POSIX] (POLL_*): Likewise.
10833         [POSIX] (SEGV_*): Likewise.
10834         [POSIX] (SI_*): Likewise.
10835         [POSIX] (TRAP_*): Likewise.
10836         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
10837         variable.
10839 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
10841         [BZ #12926]
10842         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
10843         infinite loop when __recvmsg returns 0.
10845 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
10847         * CANCEL-FCT-WAIVE: Remove file.
10848         * CANCEL-FILE-WAIVE: Likewise.
10850         [BZ #14132]
10851         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
10852         instead of INTVARDEF.
10853         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
10854         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
10855         rtld_hidden_data_def instead of INTVARDEF.
10856         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
10857         * elf/dl-deps.c (expand_dst): Likewise.
10858         * elf/dl-load.c (_dl_dst_count): Likewise.
10859         (_dl_dst_substitute): Likewise.
10860         (decompose_rpath): Likewise.
10861         (_dl_init_paths): Likewise.
10862         (open_path): Likewise.
10863         (_dl_map_object): Likewise.
10864         * elf/rtld.c (dl_main): Likewise.
10865         (process_dl_audit): Likewise.
10866         (process_envvars): Likewise.
10867         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
10868         Remove declaration.
10869         (__libc_enable_secure): Use rtld_hidden_proto.
10871 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10873         * elf/dl-load.c
10874         (add_path): New function broken out of _dl_rtld_di_serinfo.
10875         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
10877 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
10879         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
10880         parentheses around macro arguments.
10881         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
10882         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
10883         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
10884         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
10885         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
10886         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
10887         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
10888         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
10889         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
10890         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
10891         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
10892         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
10893         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
10894         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
10895         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
10896         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
10897         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
10898         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
10899         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
10900         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
10901         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
10902         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
10903         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
10904         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
10905         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
10906         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
10907         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
10908         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
10909         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
10910         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
10911         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
10912         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
10913         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
10914         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
10915         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
10916         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
10917         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         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
10932         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
10933         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
10934         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
10935         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
10936         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
10937         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
10938         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
10939         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
10940         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
10941         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
10942         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
10943         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
10944         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
10945         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
10946         (_FP_FRAC_SRS_1): Likewise.
10947         (_FP_FRAC_CLZ_1): Likewise.
10948         (_FP_MUL_MEAT_1_imm): Likewise.
10949         (_FP_MUL_MEAT_1_wide): Likewise.
10950         (_FP_MUL_MEAT_1_hard): Likewise.
10951         (_FP_SQRT_MEAT_1): Likewise.
10952         (_FP_FRAC_ASSEMBLE_1): Likewise.
10953         (_FP_FRAC_DISASSEMBLE_1): Likewise.
10954         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
10955         (__FP_CLZ_2): Likewise.
10956         (_FP_MUL_MEAT_2_wide): Likewise.
10957         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
10958         (_FP_MUL_MEAT_2_gmp): Likewise.
10959         (_FP_MUL_MEAT_2_120_240_double): Likewise.
10960         (_FP_SQRT_MEAT_2): Likewise.
10961         (_FP_FRAC_ASSEMBLE_2): Likewise.
10962         (_FP_FRAC_DISASSEMBLE_2): Likewise.
10963         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
10964         (_FP_FRAC_CLZ_4): Likewise.
10965         (_FP_MUL_MEAT_4_wide): Likewise.
10966         (_FP_MUL_MEAT_4_gmp): Likewise.
10967         (_FP_SQRT_MEAT_4): Likewise.
10968         (_FP_FRAC_ASSEMBLE_4): Likewise.
10969         (_FP_FRAC_DISASSEMBLE_4): Likewise.
10970         * soft-fp/op-common.h (_FP_CMP): Likewise.
10971         (_FP_CMP_EQ): Likewise.
10972         (_FP_CMP_UNORD): Likewise.
10973         (_FP_TO_INT): Likewise.
10974         (_FP_FROM_INT): Likewise.
10975         [!__FP_CLZ] (__FP_CLZ): Likewise.
10976         (_FP_DIV_HELP_imm): Likewise.
10977         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
10978         Likewise.
10979         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
10980         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
10981         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
10982         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
10983         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
10984         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
10985         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
10986         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
10987         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
10988         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
10989         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
10990         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
10991         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
10992         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
10993         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
10994         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
10995         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
10996         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
10997         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
10998         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
10999         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
11000         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
11001         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
11002         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
11003         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
11004         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
11005         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
11006         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
11007         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
11008         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
11009         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
11010         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
11011         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
11012         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
11013         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
11014         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
11015         (FP_UNPACK_RAW_SP): Likewise.
11016         (FP_PACK_RAW_S): Likewise.
11017         (FP_PACK_RAW_SP): Likewise.
11018         (FP_UNPACK_S): Likewise.
11019         (FP_UNPACK_SP): Likewise.
11020         (FP_UNPACK_SEMIRAW_S): Likewise.
11021         (FP_UNPACK_SEMIRAW_SP): Likewise.
11022         (FP_PACK_S): Likewise.
11023         (FP_PACK_SP): Likewise.
11024         (FP_PACK_SEMIRAW_S): Likewise.
11025         (FP_PACK_SEMIRAW_SP): Likewise.
11026         (_FP_SQRT_MEAT_S): Likewise.
11027         (FP_CMP_S): Likewise.
11028         (FP_CMP_EQ_S): Likewise.
11029         (FP_CMP_UNORD_S): Likewise.
11030         (FP_TO_INT_S): Likewise.
11031         (FP_FROM_INT_S): Likewise.
11033         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
11035         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
11036         (FP_EX_INVALID_IMZ): Likewise.
11037         (FP_EX_INVALID_IMZ_FMA): Likewise.
11038         (FP_EX_INVALID_ISI): Likewise.
11039         (FP_EX_INVALID_ZDZ): Likewise.
11040         (FP_EX_INVALID_IDI): Likewise.
11041         (FP_EX_INVALID_SQRT): Likewise.
11042         (FP_EX_INVALID_CVI): Likewise.
11043         (FP_EX_INVALID_VC): Likewise.
11044         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
11045         "invalid" exceptions.
11046         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
11047         (_FP_ADD_INTERNAL): Likewise.
11048         (_FP_MUL): Likewise.
11049         (_FP_FMA): Likewise.
11050         (_FP_DIV): Likewise.
11051         (_FP_CMP_CHECK_NAN): Likewise.
11052         (_FP_SQRT): Likewise.
11053         (_FP_TO_INT): Likewise.
11054         (FP_EXTEND): Likewise.
11056 2014-10-09  Allan McRae  <allan@archlinux.org>
11058         * po/fr.po: Update French translation from translation project.
11060 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
11062         [BZ #14132]
11063         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
11064         of INTDEF.
11065         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
11066         (__cxa_atexit): Use libc_hidden_proto.
11067         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
11069         [BZ #14132]
11070         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
11071         declaration.
11072         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
11073         [!_ISOMAC] (__iswspace_l_internal): Likewise.
11074         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
11075         [!_ISOMAC] (__iswctype_internal): Likewise.
11076         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
11077         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
11078         alias.
11079         (fcntl): Remove __fcntl_internal alias.
11080         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
11081         __connect_internal alias.
11082         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
11083         Likewise.
11085         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
11086         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
11087         FP_DENORM_ZERO.
11088         (_FP_CHECK_FLUSH_ZERO): New macro.
11089         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
11090         (_FP_CMP): Likewise.
11091         (_FP_CMP_EQ): Likewise.
11092         (_FP_TO_INT): Do not set inexact for subnormal arguments if
11093         FP_DENORM_ZERO.
11094         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
11095         (FP_TRUNC): Likewise.
11097         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
11098         treated as invalid conversion, not as normal exponent.
11100         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
11101         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
11102         (_FP_CMP_EQ): Likewise.
11103         (_FP_CMP_UNORD): Likewise.
11104         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
11105         (FP_CMP_EQ_D): Likewise.
11106         (FP_CMP_UNORD_D): Likewise.
11107         * soft-fp/extended.h (FP_CMP_E): Likewise.
11108         (FP_CMP_EQ_E): Likewise.
11109         (FP_CMP_UNORD_E): Likewise.
11110         * soft-fp/quad.h (FP_CMP_Q): Likewise.
11111         (FP_CMP_EQ_Q): Likewise.
11112         (FP_CMP_UNORD_Q): Likewise.
11113         * soft-fp/single.h (FP_CMP_S): Likewise.
11114         (FP_CMP_EQ_S): Likewise.
11115         (FP_CMP_UNORD_S): Likewise.
11116         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
11117         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
11118         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
11119         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
11120         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
11121         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
11122         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
11123         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
11124         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
11125         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
11126         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
11127         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
11128         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
11129         to FP_CMP_Q.
11130         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
11131         FP_CMP_Q.
11132         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
11133         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
11134         FP_CMP_EQ_Q.
11135         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
11136         FP_CMP_Q.
11137         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
11138         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
11139         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
11140         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
11141         FP_CMP_EQ_Q.
11142         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
11143         FP_CMP_Q.
11144         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
11145         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
11146         FP_CMP_EQ_Q.
11147         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
11148         FP_CMP_Q.
11149         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
11150         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
11151         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
11152         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
11153         FP_CMP_EQ_Q.
11155         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
11156         a subnormal result, set the underflow exception if trapping on
11157         underflow is enabled.
11158         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
11159         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
11160         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
11161         redefine to 0.
11162         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
11163         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
11164         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
11165         * soft-fp/extendxftf2.c (__extendxftf2): Use
11166         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
11168         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
11169         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
11170         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11171         FP_HANDLE_EXCEPTIONS.
11172         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
11173         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11174         FP_HANDLE_EXCEPTIONS.
11175         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
11176         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11177         FP_HANDLE_EXCEPTIONS.
11178         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
11179         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11180         FP_HANDLE_EXCEPTIONS.
11182 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
11184         [BZ #14132]
11185         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
11186         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
11187         use INTUSE.
11188         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
11189         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
11190         Remove alias.
11191         (__adjtimex): Define using libc_hidden_ver.
11192         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
11193         Remove declaration.
11194         (ntp_gettime): Call __adjtimex directly.
11195         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
11196         Remove declaration.
11197         (ntp_gettimex): Call __adjtimex directly.
11198         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
11199         __adjtimex_internal alias.
11201 2014-10-08  Roland McGrath  <roland@hack.frob.com>
11203         [BZ #17460]
11204         * nscd/nscd.c (more_help): Rewrite list of tables collection
11205         using xstrdup and asprintf.
11207         * nscd/nscd_conf.c: Remove local xstrdup declaration.
11209 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11210             Roland McGrath  <roland@hack.frob.com>
11212         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
11213         (do_lookup_unique): ... local function 'enter' here; update callers.
11215 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
11217         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
11218         compat_symbol calls on [SHARED].
11219         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
11220         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
11221         Remove.
11222         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11223         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
11224         (oldsetrlimit): Remove.
11225         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
11227         (lchown): New syscall entry.
11228         (oldsetrlimit): Remove.
11229         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11230         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
11231         (oldsetrlimit): Remove.
11232         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11234         [BZ #14138]
11235         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
11236         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
11237         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
11238         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
11239         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
11240         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
11241         (fchown): Likewise.
11242         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
11243         (fchown): Likewise.
11244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
11245         Likewise.
11247 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11249         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
11250         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
11251         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
11252         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
11253         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
11254         Likewise.
11255         (__old_sem_post): Likewise.
11257 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
11259         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
11260         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
11261         HAVE_CLOCK_GETTIME_VSYSCALL macros.
11262         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
11263         Use INLINE_VSYSCALL macro.
11264         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
11265         __vdso_clock_gettime.
11266         * sysdeps/unix/sysv/linux/tile/init-first.c
11267         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
11268         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
11269         __vdso_clock_gettime.
11271         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
11272         to set up frame more cleanly.
11274         * sysdeps/tile/memcmp.c: New file.
11276         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
11278         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
11279         * sysdeps/tile/tilegx/strcasestr.c: New file.
11280         * sysdeps/tile/tilegx/strnlen.c: New file.
11281         * sysdeps/tile/tilegx/strstr.c: New file.
11283         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
11285 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
11287         * nptl/tst-setuid3.c: Write errors to stdout.
11289 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11291         * elf/dl-deps.c
11292         (preload): New functions broken out of _dl_map_object_deps.
11293         (_dl_map_object_deps):  Remove a nested function. Update call sites.
11295 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
11297         [BZ #14138]
11298         * sysdeps/unix/sysv/linux/execve.c: Remove file.
11299         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
11301 2014-10-01  Steve Ellcey  <sellcey@mips.com>
11303         * sysdeps/mips/strcmp.S: New.
11305 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
11307         [BZ #14138]
11308         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
11309         (linkat): Likewise.
11310         (mkdirat): Likewise.
11311         (readlinkat): Likewise.
11312         (renameat): Likewise.
11313         (symlinkat): Likewise.
11314         (unlinkat): Likewise.
11315         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
11316         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
11317         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
11318         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
11319         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
11320         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
11321         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
11323 2014-09-30  Will Newton  <will.newton@linaro.org>
11325         * math/math.h: Define long double math functions if
11326         _LIBC_TEST is defined.
11327         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
11329         * localedata/Makefile: Move assignment to tests-special
11330         into an ifdef testing run-built-tests.
11331         * timezone/Makefile: Likewise.
11333 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
11335         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
11336         with $(BASH) not $(SHELL).
11338 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
11339             Matthew LeGendre  <legendre1@llnl.gov>
11341         [BZ #17411]
11342         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
11343         l_reloc_result.
11345 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11347         * stdio-common/printf_fp.c
11348         (hack_digit): New function, broken out of ...
11349         (__printf_fp): ... local function here.  Update call sites.
11350         hack_digit now takes an additional parameter that is a pointer
11351         to a struct of the referenced locals.  Those locals moved inside
11352         the struct and references updated.
11354 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
11356         * aclocal.m4: Require autoconf 2.69.
11357         * configure: Regenerated.
11358         * sysdeps/aarch64/configure: Likewise.
11359         * sysdeps/alpha/configure: Likewise.
11360         * sysdeps/arm/armv7/configure: Likewise.
11361         * sysdeps/arm/configure: Likewise.
11362         * sysdeps/ia64/configure: Likewise.
11363         * sysdeps/mach/configure: Likewise.
11364         * sysdeps/mips/configure: Likewise.
11365         * sysdeps/s390/configure: Likewise.
11366         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
11367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
11369         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
11370         file.
11371         * sysdeps/ia64/configure.ac: Likewise.
11373 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
11375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
11376         specify symbol version for ld.so.  Do not include entry for
11377         libpthread.
11378         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11379         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
11380         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11382         [BZ #14171]
11383         * Makeconfig [$(build-shared) = yes]
11384         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
11385         makefiles.
11386         [$(build-shared) = yes && $(soversions.mk-done) = t]
11387         ($(common-objpfx)gnu/lib-names.h): Remove rule.
11388         [$(build-shared) = yes && $(soversions.mk-done) = t]
11389         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
11390         to Makerules.
11391         [$(build-shared) = yes && $(soversions.mk-done) = t]
11392         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
11393         here.
11394         [$(build-shared) = yes && $(soversions.mk-done) = t]
11395         (common-generated): Don't append gnu/lib-names.h and
11396         gnu/lib-names.stmp here.
11397         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
11398         (lib-names-h-abi): New variable.
11399         [$(build-shared) = yes && $(soversions.mk-done) = t]
11400         (lib-names-stmp-abi): Likewise.
11401         [$(build-shared) = yes && $(soversions.mk-done) = t &&
11402         abi-variants] (before-compile): Append
11403         $(common-objpfx)$(lib-names-h-abi).
11404         [$(build-shared) = yes && $(soversions.mk-done) = t &&
11405         abi-variants] (common-generated): Append gnu/lib-names.h.
11406         [$(build-shared) = yes && $(soversions.mk-done) = t &&
11407         abi-variants] (install-others-nosubdir): Depend on
11408         $(inst_includedir)/$(lib-names-h-abi).
11409         [$(build-shared) = yes && $(soversions.mk-done) = t &&
11410         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
11411         [$(build-shared) = yes && $(soversions.mk-done) = t]
11412         ($(common-objpfx)$(lib-names-h-abi)): New rule.
11413         [$(build-shared) = yes && $(soversions.mk-done) = t]
11414         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
11415         [$(build-shared) = yes && $(soversions.mk-done) = t]
11416         (common-generated): Append $(lib-names-h-abi) and
11417         $(lib-names-stmp-abi).
11418         * scripts/lib-names.awk: Do not handle multi being set.
11419         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
11420         Remove variable.
11421         (abi-lp64_be-ld-soname): Likewise.
11422         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
11423         Likewise.
11424         (abi-hard-ld-soname): Likewise.
11425         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
11426         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
11427         Remove variable.
11428         (abi-o32_hard-ld-soname): Likewise.
11429         (abi-o32_soft_2008-ld-soname): Likewise.
11430         (abi-o32_hard_2008-ld-soname): Likewise.
11431         (abi-n32_soft-ld-soname): Likewise.
11432         (abi-n32_hard-ld-soname): Likewise.
11433         (abi-n32_soft_2008-ld-soname): Likewise.
11434         (abi-n32_hard_2008-ld-soname): Likewise.
11435         (abi-n64_soft-ld-soname): Likewise.
11436         (abi-n64_hard-ld-soname): Likewise.
11437         (abi-n64_soft_2008-ld-soname): Likewise.
11438         (abi-n64_hard_2008-ld-soname): Likewise.
11439         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
11440         Likewise.
11441         (abi-64-v2-ld-soname): Likewise.
11442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
11443         ld.so entries.
11444         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
11445         variable.
11446         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
11447         entry.
11448         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
11449         variable.
11450         (abi-64-ld-soname): Likewise.
11451         (abi-x32-ld-soname): Likewise.
11452         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
11453         entry.
11454         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11456 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
11458         [BZ #14138]
11459         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
11460         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
11461         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
11462         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
11463         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
11464         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
11465         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
11466         syscall entry for GLIBC_2.2 symbol version.
11467         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
11468         Likewise.
11469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
11470         (setrlimit): Likewise.
11471         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
11472         Likewise.
11474 2014-09-23  Will Newton  <will.newton@linaro.org>
11476         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
11477         _LINUX_ARM_SYSDEP_H include guard too.
11478         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
11479         define.
11481 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
11483         * sysdeps/unix/sysv/linux/eventfd.c:
11484         Make first argument unsigned.
11485         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
11486         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
11488 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
11490         * socket/recvmmsg.c (recvmmsg): Drop const argument.
11491         * socket/sys/socket.h: Likewise
11492         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
11494 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11496         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
11498 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
11500         * time/tst-ftime.c: New test.
11501         * time/Makefile (tests): Add tst-ftime.
11503 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
11505         * soft-fp/extended.h: Fix comment formatting.
11506         * soft-fp/op-1.h: Likewise.
11507         * soft-fp/op-2.h: Likewise.
11508         * soft-fp/op-4.h: Likewise.
11509         * soft-fp/op-8.h: Likewise.
11510         * soft-fp/op-common.h: Likewise.
11511         * soft-fp/soft-fp.h: Likewise.
11513         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
11515 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
11517         [BZ #6652]
11518         * Makeconfig (soversions-default-setname): Remove variable.
11519         ($(common-objpfx)soversions.i): Don't pass default_setname to
11520         soversions.awk.
11521         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
11522         oldest_abi to abi-versions.awk.
11523         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
11524         * config.make.in (oldest-abi): Remove variable.
11525         * configure.ac (--enable-oldest-abi): Remove configure option.
11526         * configure: Regenerated.
11527         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
11528         text.
11529         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
11530         * scripts/soversions.awk: Do not handle default_setname variable.
11531         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
11532         variable.
11533         * sysdeps/mach/hurd/configure: Regenerated.
11534         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
11535         variable.
11536         * sysdeps/unix/sysv/linux/configure: Regenerated.
11538 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11540         * elf/Makefile (CFLAGS-interp.c): Remove.
11541         ($(elf-objpfx)runtime-linker.h): Generate header with linker
11542         path string.
11543         * elf/interp.c: Include generated runtime-linker.h
11545         * Makerules (lib%.so): Don't include $(+interp) in
11546         prerequisites.
11547         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
11548         * dlfcn/eval.c: Remove file.
11550         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
11551         macros.
11553         [BZ #17266]
11554         * misc/sys/cdefs.h: Define __extern_always_inline for clang
11555         4.2 and newer.
11557         [BZ #17370]
11558         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
11560 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11561             Jakub Jelinek  <jakub@redhat.com>
11563         [BZ #17266]
11564         * libio/stdio.h: Check definition of __fortify_function
11565         instead of __extern_always_inline to include bits/stdio2.h.
11566         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
11567         check if __extern_always_inline is defined.
11568         [__USE_MISC || __USE_XOPEN]: Likewise.
11569         [__USE_ISOC99] Likewise.
11570         * misc/sys/cdefs.h (__fortify_function): Define only if
11571         __extern_always_inline is defined.
11572         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
11573         __extern_always_inline and __extern_inline only for g++-4.3
11574         and newer or a compatible gcc.
11576 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
11578         [BZ #17371]
11579         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11580         last change to handle zero prefix length.
11582 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11584         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
11585         _SC_REGEX_VERSION.
11587         * posix/getconf.c (vars): Add _POSIX_IPV6 and
11588         _POSIX_RAW_SOCKETS.
11590 2014-09-13  Allan McRae  <allan@archlinux.org>
11592         * po/ru.po: Update Russian translation from translation project.
11594 2014-09-12  Roland McGrath  <roland@hack.frob.com>
11596         * locale/programs/locale.c (show_locale_vars): Inline local function
11597         into its sole call site.  Clean up some style nits.
11598         (print_item): New function, broken out of ...
11599         (show_info): ... local function here.  Clean up style nits.
11601         * locale/programs/ld-ctype.c (set_one_default): New function, broken
11602         out of ...
11603         (set_class_defaults): ... local function set_default here.
11604         Define set_default as a macro locally to pass constant parameters.
11605         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
11606         rather than a shared local.
11608         * stdlib/rpmatch.c (try): New function, broken out of ...
11609         (rpmatch): ... local function here.  Also, prototypify definition.
11611 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
11613         * scripts/soversions.awk: Do not handle configuration names.
11614         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
11615         vendor and os variables to soversions.awk.
11616         * configure.ac: Do not modify gnu-* host_os.
11617         * configure: Regenerated
11618         * shlib-versions: Remove first column with configuration names.
11619         * nptl/shlib-versions: Likewise.
11620         * nptl_db/shlib-versions: Likewise.
11621         * sysdeps/hppa/shlib-versions: Likewise.
11622         * sysdeps/m68k/shlib-versions: Likewise.
11623         * sysdeps/mach/hurd/shlib-versions: Likewise.
11624         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
11625         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
11626         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
11627         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
11628         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
11629         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
11630         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
11631         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
11632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
11633         Likewise.
11634         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11635         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
11636         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
11637         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
11638         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
11639         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
11640         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
11641         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
11644         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
11645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
11646         Regenerated.
11647         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
11648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
11649         Condition symbol version definitions on [HAVE_ELFV2_ABI].
11651         * shlib-versions: Remove OS-specific entries.  Moved to files in
11652         sysdeps.
11653         * sysdeps/mach/hurd/shlib-versions: New file.
11654         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
11656         * nptl/shlib-versions: Remove architecture-specific entries.
11657         Moved to files in sysdeps.
11658         * shlib-versions: Likewise.
11659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
11660         file.
11661         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11662         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
11663         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
11664         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
11666         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
11667         (UDP_NO_CHECK6_RX): Likewise.
11669 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11671         * sysdeps/posix/sysconf.c (__sysconf): Spell
11672         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
11674 2014-08-12  Florian Weimer  <fweimer@redhat.com>
11676         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
11677         loading.
11678         * iconv/Versions (__gconv_transliterate): Export for use from
11679         gconv modules.
11680         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
11681         (struct __gconv_trans_data, __gconv_trans_fct,
11682         __gconv_trans_context_fct, __gconv_trans_query_fct,
11683         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
11684         definitions.
11685         (struct __gconv_step_data): Remove __trans member.
11686         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
11687         longer hidden.  Remove unused trans_data argument.
11688         * iconv/gconv_int.h (struct trans_struct): Remove definition.
11689         (__gconv_translit_find): Remove declaration.
11690         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
11691         prototype.
11692         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
11693         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
11694         trans_data argument.  Add hidden definition.
11695         (__gconv_translit_find): Remove.
11696         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
11697         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
11698         * iconv/skeleton.c: Remove transliteration initialization.
11699         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
11700         __gconv_step_data initialization.
11701         * libio/iofwide.c (__libio_translit_): Remove.
11702         (_IO_fwide): Adjust struct __gconv_step_data initialization.
11703         * wcsmbs/btowc.c (__btowc): Likewise.
11704         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11705         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11706         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
11707         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
11708         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
11709         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
11710         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
11711         * wcsmbs/wctob.c (wctob): Likewise.
11713 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11715         [BZ #16194]
11716         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
11717         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
11718         register usage.
11719         * sysdeps/x86/Makefile: Adjust.
11721 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11722             Roland McGrath  <roland@hack.frob.com>
11724         * locale/weight.h: Add include guard.
11725         (findidx): Make static rather than auto; take new parameters
11726         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
11727         * locale/weightwc.h: Likewise.
11728         * posix/fnmatch_loop.c
11729         (FCT): Change type of EXTRA from int32_t to wint_t.
11730         Don't include either header inside the function.
11731         Call FINDIDX rather than findidx, and pass new arguments.
11732         #undef FINDIDX at the end of the file.
11733         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
11734         FINDIDX before including fnmatch_loop.c for the non-wide version.
11735         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
11736         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
11737         for the wide version.
11738         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
11739         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
11740         Pass new arguments to findidx.
11741         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
11742         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
11743         Don't #include it inside the function.  Pass new arguments to findidx.
11744         * posix/regex_internal.h
11745         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
11746         (re_string_elem_size_at): Don't #include it inside the function.
11747         Pass new arguments to findidx.
11748         * string/strcoll_l.c: #include WEIGHT_H at top level.
11749         (get_next_seq): Don't #include it inside the function.
11750         Pass new arguments to findidx.
11751         (get_next_seq_nocache): Likewise.
11752         * string/strxfrm_l.c: #include WEIGHT_H at top level.
11753         (STRXFRM): Don't #include it inside the function.
11754         Pass new arguments to findidx.
11756 2014-09-11  Florian Weimer  <fweimer@redhat.com>
11758         [BZ #17344]
11759         * malloc/malloc.c (unlink): Turn asserts into a call to
11760         malloc_printerr.
11762 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
11764         [BZ #17370]
11765         * libio/wfileops (do_ftell_wide): Free OUT.
11767 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
11769         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
11771 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11773         [BZ #17363]
11774         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
11775         group if the current group is empty.
11777 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11779         * benchtests/bench-memset.c (test_main): Add more test from size
11780         from 32 to 512 bytes.
11781         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11782         Add POWER8 memset object.
11783         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11784         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
11785         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
11786         implementation.
11787         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
11788         Likewise.
11789         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
11790         multiarch POWER8 memset optimization.
11791         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
11792         POWER8 memset optimization.
11794         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11795         Remove bzero multiarch objects.
11796         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
11797         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
11798         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
11799         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
11800         Remove define.
11801         [__bzero]: Redefine to specific name.
11802         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
11803         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
11804         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
11805         define.
11806         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11807         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11809 2014-09-10  Florian Weimer  <fweimer@redhat.com>
11811         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
11812         warnings into errors.
11814         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
11815         __cxa_thread_atexit_impl prototype.
11817 2014-09-09  Steve Ellcey  <sellcey@mips.com>
11819         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
11820         Fix capitalization of error message.
11822 2014-09-09  Steve Ellcey  <sellcey@mips.com>
11824         * sysdeps/mips/preconfigure: Modify ABI tests.
11826 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
11828         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
11830 2014-09-07  Roland McGrath  <roland@hack.frob.com>
11831             Carlos O'Donell  <carlos@systemhalted.org>
11833         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
11834         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
11835         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
11836         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
11837         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
11838         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
11839         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
11840         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
11841         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
11842         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
11843         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
11844         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
11845         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
11846         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
11847         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
11848         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
11849         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
11850         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
11851         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
11852         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
11853         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
11854         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
11855         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
11856         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
11857         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
11858         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
11859         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
11860         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
11861         Deconditionalize the code that was previously under [RESET_PID].
11862         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
11863         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
11864         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
11865         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
11866         include sysdep.h.
11868 2014-09-08  Allan McRae  <allan@archlinux.org>
11870         * version.h (RELEASE): Set to "development".
11871         (VERSION): Set to "2.20.90"
11873 2014-09-07  Allan McRae  <allan@archlinux.org
11875         * version.h (RELEASE): Set to "stable".
11876         (VERSION): Set to "2.20"
11877         * include/features.h (__GLIBC_MINOR__): Set to 20.
11879         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
11880         Liebler.
11882         * po/ko.po: Update Korean translation from translation project.
11884 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
11886         [BZ #17354]
11887         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
11888         macro for handling signed relocations.
11890 2014-09-03  Florian Weimer  <fweimer@redhat.com>
11892         [BZ #17325]
11893         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
11894         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
11895         assert.
11896         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
11897         * iconvdata/ibm935.c (BODY): Likewise.
11898         * iconvdata/ibm937.c (BODY): Likewise.
11899         * iconvdata/ibm939.c (BODY): Likewise.
11900         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
11901         assert.
11902         * iconvdata/Makefile (iconv-test.out): Pass module list to test
11903         script.
11904         * iconvdata/run-iconv-test.sh: New test loop for checking for
11905         decoder crashers.
11907 2014-09-02  Khem Raj  <raj.khem@gmail.com>
11909         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
11910         libm_hidden_ver.
11912 2014-09-01  Allan McRae  <allan@archlinux.org>
11914         * po/eo.po: Update Esperanto translation from translation project.
11916         * po/ca.po: Update Catalan translation from translation project.
11918 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11920         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
11921         __proc_dostop call.
11923 2014-08-27  Mark Wielaard  <mjw@redhat.com>
11925         [BZ #17319]
11926         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
11927         to call set_thread_area instead of hand written asm.
11928         (__NR_set_thread_area): Removed define.
11929         (TLS_FLAG_WRITABLE): Likewise.
11930         (__ASSUME_SET_THREAD_AREA): Remove check.
11931         (TLS_EBX_ARG): Remove define.
11932         (TLS_LOAD_EBX): Likewise.
11934 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11936         Simplify atomicity of socket creation in bind.
11938         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
11939         looking up the name after linking the file.
11941 2014-08-27  Allan McRae  <allan@archlinux.org>
11943         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11945 2014-08-26  Florian Weimer  <fweimer@redhat.com>
11947         [BZ #17187]
11948         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
11949         trans_compare, open_translit, __gconv_translit_find):
11950         Remove module loading code.
11952 2014-08-26  Allan McRae  <allan@archlinux.org>
11954         * po/vi.po: Update Vietnamese translation from translation project.
11956         * po/uk.po: Update Ukrainian translation from translation project.
11958         * po/fr.po: Update French translation from translation project.
11960         * po/ru.po: Update Russian translation from translation project.
11962         * po/pl.po: Update Polish translation from translation project.
11964         * po/cs.po: Update Czech translation from translation project.
11966         * po/de.po: Update German translation from translation project.
11968         * po/bg.po: Update Bulgarian translation from translation project.
11970         * po/sv.po: Update Sweedish translation from translation project.
11972         * po/nl.po: Update Dutch translation from translation project.
11974         * po/es.po: Update Spanish translation from translation project.
11976 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11978         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
11980         * catgets/Makefile (CPPFLAGS-gencat): Remove.
11981         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
11982         (CPPFLAGS-iconvconfig): Likewise.
11983         * timezone/Makefile (CPPFLAGS-zic): Likewise.
11985         * include/libc-symbols.h: Remove unnecessary check for
11986         NOT_IN_libc.
11987         * nptl/pthreadP.h: Likewise.
11988         * sysdeps/aarch64/setjmp.S: Likewise.
11989         * sysdeps/alpha/setjmp.S: Likewise.
11990         * sysdeps/arm/sysdep.h: Likewise.
11991         * sysdeps/i386/setjmp.S: Likewise.
11992         * sysdeps/m68k/setjmp.c: Likewise.
11993         * sysdeps/posix/getcwd.c: Likewise.
11994         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11995         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
11996         * sysdeps/s390/s390-32/setjmp.S: Likewise.
11997         * sysdeps/s390/s390-64/setjmp.S: Likewise.
11998         * sysdeps/sh/sh3/setjmp.S: Likewise.
11999         * sysdeps/sh/sh4/setjmp.S: Likewise.
12000         * sysdeps/unix/alpha/sysdep.h: Likewise.
12001         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12002         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12003         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
12004         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12007         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12008         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12009         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12010         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12011         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12012         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12013         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12014         * sysdeps/x86_64/setjmp.S: Likewise.
12016 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
12018         [BZ #17263]
12019         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
12020         <stdint.h>.
12021         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
12022         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
12024 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
12026         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
12028         [BZ #17262]
12029         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
12030         and __x86_64__ when disabling x87 inline functions.
12032 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
12034         [BZ #17259]
12035         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
12036         asm statement with __cpuid_count.
12038 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
12040         * configure.ac: Change __ehdr_start code to dereference the struct.
12041         Run readelf on the output to look for relocations.
12042         * configure: Regenerated.
12044 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
12046         [BZ #17261]
12047         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
12048         value to 0.
12049         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
12051 2014-08-12  Roland McGrath  <roland@hack.frob.com>
12053         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
12055 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
12057         [BZ #16892]
12058         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
12059         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
12061 2014-08-12  Sean Anderson  <seanga2@gmail.com>
12063         * malloc/malloc.c: Fix typo in comment.
12065 2014-08-09  Allan McRae  <allan@archlinux.org>
12067         * Regenerate libc.po.
12069 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
12071         * intl/tst-gettext2.sh: Check every lang file for creation.
12073 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
12075         * sysdeps/aarch64/fpu/math_private.h
12076         (libc_feholdsetround_noex_aarch64_ctx): New function.
12078 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
12080         * sysdeps/arm/armv6/strcpy.S (strcpy):
12081         Fix performance issue in misaligned cases.
12083 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12085         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
12086         Move definition from termios.h.
12087         (struct termio): Likewise.
12088         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12089         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
12090         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
12091         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
12092         Likewise.
12093         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
12094         Move definition to ioctl-types.h
12095         (struct termio): Likewise.
12096         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12097         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
12098         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
12099         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
12100         Likewise.
12102 2014-08-05  Richard Henderson  <rth@redhat.com>
12104         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
12105         exceptions.
12106         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
12107         Add fraiseexcpt.
12108         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
12109         Use __feraiseexcept.
12110         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
12111         Protect libm symbols with IS_IN_libm.
12113         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
12115 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
12117         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
12119 2014-08-04  Will Newton  <will.newton@linaro.org>
12121         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
12122         file.
12124 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
12126         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
12127         variants for each function.
12129 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12131         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
12132         appended ...
12133         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
12134         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
12135         appended ...
12136         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
12137         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
12138         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
12139         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
12140         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
12141         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
12142         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
12143         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
12144         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
12145         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
12146         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
12147         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
12148         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
12149         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
12150         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
12151         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
12152         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
12153         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
12154         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
12155         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
12156         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
12157         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
12158         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
12159         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
12160         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
12161         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
12162         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
12163         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
12164         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
12165         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
12166         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
12167         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
12168         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
12169         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
12170         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
12171         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
12172         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
12173         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
12174         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
12175         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
12176         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
12177         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
12178         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
12179         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
12180         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
12181         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
12182         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
12183         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
12184         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
12185         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
12186         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
12187         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
12188         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
12189         Update #include.
12190         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
12191         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
12193 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12195         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
12196         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
12197         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
12198         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
12199         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
12200         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
12202 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12204         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
12205         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
12206         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12207         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
12209 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12211         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
12212         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
12213         (__libc_vfork): Define function under this name.
12214         (__vfork): Define as an alias.
12215         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
12216         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
12218 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12220         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
12221         that was previously under [RESET_PID].
12222         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
12224 2014-08-04  Andreas Schwab  <schwab@suse.de>
12226         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
12228 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
12230         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
12231         (main): Likewise.
12233 2014-08-01  Roland McGrath  <roland@hack.frob.com>
12235         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
12237 2014-08-01  Richard Henderon  <rth@redhat.com>
12239         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
12240         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
12241         typo in exact zero test.
12242         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12243         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12244         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12246 2014-08-01  Roland McGrath  <roland@hack.frob.com>
12248         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
12249         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
12250         * sysdeps/arm/sysdep.h: ... here.
12251         [!__ASSEMBLER__]: Include <stdint.h>.
12253 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
12255         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
12256         (HAVE_WCTYPE_H): Likewise.
12257         (HAVE_ISWCTYPE): Likewise.
12258         (ENABLE_NLS): Likewise.
12259         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
12260         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
12262         * posix/regex_internal.c: Check if DEBUG is defined and is
12263         set.
12265         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
12266         (HAVE_MBSRTOWCS): Likewise.
12267         * posix/fnmatch.c: Include string.h unconditionally.
12269 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
12271         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
12272         reversal.
12274 2014-07-31  Roland McGrath  <roland@hack.frob.com>
12276         * sysdeps/generic/safe-fatal.h: New file.
12277         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
12278         * nptl/forward.c: Include it.
12279         (__pthread_unwind): Use __safe_fatal as default action, rather
12280         than a bogus use of INTERNAL_SYSCALL that could never work.
12282         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
12283         * configure.ac (libc_cv_builtin_trap): New test.
12284         * configure: Regenerated.
12285         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
12286         (ABORT_INSTRUCTION): Define using __builtin_trap.
12288         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
12289         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
12290         * sysdeps/nptl/nptl-signals.h: New file.
12291         * nptl/pthreadP.h: Include <nptl-signals.h>.
12293 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
12295         * sysdeps/s390/s390-64/utf16-utf32-z9.c
12296         (ONE_DIRECTION): Define.
12297         * sysdeps/s390/s390-64/utf8-utf16-z9.c
12298         (ONE_DIRECTION): Define.
12299         * sysdeps/s390/s390-64/utf8-utf32-z9.c
12300         (ONE_DIRECTION): Define.
12302 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
12304         * sysdeps/s390/Makefile: Delete file.
12305         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
12306         * sysdeps/s390/__longjmp.c: Delete file.
12307         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
12308         Remove fields __flags and __reserved.
12309         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
12310         and add versioning.
12311         * sysdeps/s390/rtld-__longjmp.c: Delete file.
12312         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
12313         * sysdeps/s390/rtld-setjmp.S: Likewise.
12314         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
12315         * sysdeps/s390/s390-32/__longjmp.c: ... here.
12316         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
12317         * sysdeps/s390/s390-32/setjmp.S: ... here.
12318         Add versioning.
12319         (__sigsetjmp): Remove setting __flags field.
12320         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
12321         * sysdeps/s390/s390-64/__longjmp.c: ... here.
12322         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
12323         * sysdeps/s390/s390-64/setjmp.S: ... here.
12324         Add versioning.
12325         (__sigsetjmp): Remove setting __flags field.
12326         * sysdeps/s390/setjmp.S: Delete file.
12327         * sysdeps/s390/sigjmp.c: Likewise.
12328         * sysdeps/s390/v1-longjmp.c: Likewise.
12329         * sysdeps/s390/v1-setjmp.h: Likewise.
12330         * sysdeps/s390/v1-sigjmp.c: Likewise.
12331         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
12332         Remove v1-longjmp_chk.
12333         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
12334         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
12335         Include debug/longjmp_chk.c and add versioning.
12336         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
12337         Include nptl/pt-longjmp.c and add versioning.
12338         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
12339         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
12340         Include __longjmp.c.
12341         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12342         Move to ...
12343         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
12344         (__getcontext): Remove setting __flags field.
12345         Add versioning.
12346         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12347         Don't restore upper high grps.
12348         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
12349         Likewise.
12350         (__swapcontext): Remove setting uc_flags field.
12351         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
12352         Delete file.
12353         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12354         Include __longjmp.c.
12355         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12356         Move to ...
12357         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
12358         (__getcontext): Remove setting __flags field.
12359         Add versioning.
12360         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
12361         (__swapcontext): Remove setting uc_flags field.
12362         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
12363         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
12364         Remove fields uc_high_gprs and __reserved.
12365         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
12366         New file with reverted content.
12367         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
12368         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
12369         Regenerated.
12370         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
12371         Regenerated.
12373 2014-07-31  Andreas Schwab  <schwab@suse.de>
12375         * config.h.in (HAVE_IFUNC): Define to 0.
12376         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
12377         definedness.
12379 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
12381         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12382         memmove-avx-unaligned, memcpy-avx-unaligned and
12383         mempcpy-avx-unaligned.
12384         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12385         Add tests for AVX memcpy functions.
12386         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
12387         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
12388         memcpy_chk.
12389         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
12390         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
12391         memmove_chk.
12392         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
12393         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
12394         mempcpy_chk.
12395         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
12396         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
12397         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
12399 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12401         [BZ #17213]
12402         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
12403         powerpc64le.
12405 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
12407         [BZ #16839]
12408         * manual/llio.texi: Add section about open file description locks.
12409         * manual/examples/ofdlocks.c: Example of open file description
12410         lock usage.
12411         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
12412         F_OFD_SETLK, and F_OFD_SETLKW.
12414 2014-07-23  Allan McRae  <allan@archlinux.org>
12416         * po/es.po: Update Spanish translation from translation project.
12418 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
12420         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
12422 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
12424         [BZ #17078]
12425         * sysdeps/arm/dl-machine.h (elf_machine_rela)
12426         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
12427         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
12429 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
12431         [BZ #17088]
12432         * math/fesetenv.c (__fesetenv)
12433         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
12434         * math/feupdateenv.c (__feupdateenv)
12435         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
12437         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
12438         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12439         (__ASSUME_SOCKETCALL): Do not define.
12441         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
12442         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
12443         (__ASSUME_SOCKETCALL): Do not define.
12444         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
12445         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
12446         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12447         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
12448         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12449         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
12450         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12451         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12453         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
12454         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
12455         (__ASSUME_SOCKETCALL): Do not define.
12456         (__ASSUME_IPC64): Define unconditionally.
12457         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
12458         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12459         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
12460         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12461         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
12462         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12463         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
12464         Likewise.
12466         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
12467         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
12468         (__ASSUME_SOCKETCALL): Do not define.
12469         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
12470         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12471         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12472         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12473         (__ASSUME_REQUEUE_PI): Define unconditionally.
12474         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
12475         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
12476         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12477         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
12478         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12479         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12481         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
12482         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
12483         (__ASSUME_SOCKETCALL): Do not define.
12484         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
12485         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12486         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12487         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
12488         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12489         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12491         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
12492         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
12493         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12494         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
12495         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12496         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
12497         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12498         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
12499         (__ASSUME_GETCPU_SYSCALL): Likewise.
12501         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
12502         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
12503         cases for individual architectures.
12504         * sysdeps/gnu/configure: Regenerated.
12505         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
12506         LIBC_SLIBDIR_RTLDDIR.
12507         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
12508         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
12509         LIBC_SLIBDIR_RTLDDIR.
12510         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
12511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
12512         LIBC_SLIBDIR_RTLDDIR.
12513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
12514         Regenerated.
12515         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
12516         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
12517         file.
12518         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
12519         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
12520         file.
12521         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
12522         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
12523         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
12524         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
12526         * sysdeps/aarch64/shlib-versions: Move to ...
12527         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
12528         * sysdeps/alpha/shlib-versions: Move to ...
12529         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
12530         * sysdeps/arm/shlib-versions: Move to ...
12531         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
12532         * sysdeps/hppa/shlib-versions: Move all contents except for
12533         libgcc_s entry to ...
12534         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
12535         entry from ...
12536         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
12537         * sysdeps/ia64/shlib-versions: Move to ...
12538         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
12539         entry from ...
12540         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
12541         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
12542         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
12543         * sysdeps/microblaze/shlib-versions: Move to ...
12544         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
12545         * sysdeps/mips/shlib-versions: Move to ...
12546         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
12547         entry from ...
12548         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
12549         * sysdeps/tile/shlib-versions: Move to ...
12550         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
12551         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
12552         from ...
12553         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
12554         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
12555         entry from ...
12556         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
12558 2014-07-17  Will Newton  <will.newton@linaro.org>
12560         * sysdeps/arm/bits/atomic.h
12561         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
12562         (__arch_compare_and_exchange_bool_16_int): Likewise.
12563         (__arch_compare_and_exchange_bool_64_int): Likewise.
12565         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
12566         into an #else block.
12568 2014-07-16  Roland McGrath  <roland@hack.frob.com>
12570         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
12571         just Linux configurations.  Test empirically that the compiler sets
12572         __ARM_EABI__, rather than using the tuple to decide.
12573         * sysdeps/arm/preconfigure: Regenerated.
12574         * sysdeps/unix/sysv/linux/arm/configure: File removed.
12575         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
12576         contents appended ...
12577         * sysdeps/arm/configure.ac: ... here.
12578         * sysdeps/arm/configure: Regenerated.
12580 2014-07-15  Roland McGrath  <roland@hack.frob.com>
12582         * nptl/pthread_kill.c: New file.
12583         * nptl/pthread_sigmask.c: New file.
12584         * nptl/pthread_sigqueue.c: New file.
12586         * sysdeps/nptl/lowlevellock.h: New file.
12587         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
12588         * sysdeps/nptl/lowlevellock-futex.h: New file.
12590         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
12591         Remove dead declarations.
12593 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
12595         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
12596         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
12597         config-cflags-avx2.
12598         * sysdeps/x86_64/configure.ac: Likewise.
12599         * sysdeps/i386/configure: Regenerated.
12600         * sysdeps/x86_64/configure: Likewise.
12601         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12602         memset-avx2 only if config-cflags-avx2 is yes.
12603         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12604         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
12605         defined.
12606         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
12607         only if HAVE_AVX2_SUPPORT is defined.
12608         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12610 2014-07-14  Alan Modra  <amodra@gmail.com>
12612         [BZ #17153]
12613         * elf/elf.h (DT_PPC64_NUM): Correct value.
12614         * NEWS: Add to fixed bug list.
12616 2014-07-13  Jim Meyering  <meyering@fb.com>
12618         [BZ 17150]
12619         regex: don't deref NULL upon heap allocation failure
12620         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
12621         failure in one more place.
12622         To trigger the segfault, configure grep -with-included-regex,
12623         build it, and run these commands:
12624         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
12626 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
12628         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
12630 2014-07-11  Richard Henderson  <rth@redhat.com>
12632         * sysdeps/aarch64/libm-test-ulps: Update.
12634 2014-07-10  Florian Weimer  <fweimer@redhat.com>
12636         [BZ #17135]
12637         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
12638         * nptl/allocatestack.c (__nptl_setxid_error): New function.
12639         (__nptl_setxid): Initialize error member.  Call
12640         __nptl_setxid_error.
12641         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
12642         * nptl/descr.h (struct xid_command): Add error member.
12643         * nptl/tst-setuid3.c: New file.
12644         * nptl/Makefile (tests): Add it.
12646 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12648         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
12649         New define.
12650         (__lll_trylock): Use __lll_base_trylock.
12651         (__lll_cond_trylock): Likewise.
12653 2014-07-10  Roland McGrath  <roland@hack.frob.com>
12655         * nptl/pthread_create.c (start_thread): Use atomic_or and
12656         lll_futex_wake directly rather than lll_robust_dead.
12657         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
12658         (lll_robust_dead): Macro removed.
12659         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
12660         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
12661         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
12662         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12663         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12664         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
12665         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
12666         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12667         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
12668         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12669         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12670         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12671         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12672         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12673         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12675         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
12676         Use atomic_compare_and_exchange_val_acq directly rather than
12677         lll_robust_trylock.
12678         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
12679         (__lll_robust_trylock, lll_robust_trylock): Removed.
12680         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
12681         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
12682         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12683         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12684         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
12685         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
12686         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12687         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
12688         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12689         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12690         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12691         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12692         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12693         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12695 2014-07-02  Florian Weimer  <fweimer@redhat.com>
12697         * manual/locale.texi (Locale Names): New section documenting
12698         locale name syntax.  Adjust menu and node chaining accordingly.
12699         (Choosing Locale): Reference Locale Names, Locale Categories.
12700         Mention setting LC_ALL=C.  Reflect that name syntax is now
12701         documented.
12702         (Locale Categories): New section title.  Reference Locale Names.
12703         LC_ALL is an environment variable, but not a category.
12704         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
12705         description, now in Locale Name.  Reference that section.  Locale
12706         name syntax is now documented.
12708 2014-07-02  Florian Weimer  <fweimer@redhat.com>
12710         [BZ #17137]
12711         * locale/findlocale.c (name_present, valid_locale_name): New
12712         functions.
12713         (_nl_find_locale): Use the loc_name variable to store name
12714         candidates.  Call name_present and valid_locale_name to check and
12715         validate locale names.  Return an error if the locale is invalid.
12717 2014-07-02  Florian Weimer  <fweimer@redhat.com>
12719         * locale/setlocale.c (setlocale): Use strdup for allocating
12720         composite name copy.
12722 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12724         Sync up with gnulib.
12725         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
12726         [!_LIBC && ENABLE_NLS]: Include gettext.h.
12727         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
12728         and _GL_ARG_NONNULL.
12729         [USE_UNLOCKED_IO]: Include unlocked-io.h.
12730         [!_LIBC]: Include code for Windows and Cygwin.
12731         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
12732         Include prototype for int strerror_r.
12733         [!_LIBC] (is_open): New function.
12734         (flush_stdout): New function.
12735         (print_errno_message): Use it.
12736         (error): Likewise.
12737         (error_at_line): Likewise.
12738         (error_tail) Add function attribute macros.  Use
12739         __builtin_expect.
12741         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
12743         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
12745         * io/ftw.c: Include sys/param.h unconditionally.
12747         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
12749         [BZ #17125]
12750         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
12751         libc_freeres_ptr.
12752         (freecache): New function to free CACHE on exit.
12754         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
12755         initialization.
12757 2014-07-09  David S. Miller  <davem@davemloft.net>
12759         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12761         * sysdeps/sparc/nptl/internaltypes.h: Delete.
12762         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
12763         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
12764         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
12765         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
12766         * sysdeps/sparc/nptl/sem_init.c: Likewise.
12767         * sysdeps/sparc/nptl/sem_post.c: Likewise.
12768         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
12769         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
12770         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
12771         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
12772         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
12773         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
12775 2014-07-09  Andreas Schwab  <schwab@suse.de>
12777         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
12778         output.
12779         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
12780         (do_test): Likewise.
12782         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12784 2014-07-09  Will Newton  <will.newton@linaro.org>
12786         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
12787         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
12788         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
12789         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
12790         * sysdeps/hppa/start.S (_start): Likewise.
12792 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
12794         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
12796         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
12797         defined.
12799 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12801         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
12802         after checking that it is non-NULL.
12804         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
12806 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12808         * sysdeps/powerpc/memmove.c: Remove file.
12809         * sysdeps/powerpc/powerpc32/power4/memcopy.h
12810         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
12811         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
12812         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
12813         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
12814         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
12815         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
12816         string memmove instead of removed powerpc one.
12818         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12819         [weak_alias]: Fix compiler warning due trailing data.
12820         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
12821         [weak_alias]: Likewise.
12822         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
12823         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
12825         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12826         (__libc_ifunc_impl_list): Add memmove functions.
12828 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12830         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
12831         Remove code.
12832         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
12833         Likewise
12834         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
12835         Likewise
12836         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
12837         Likewise
12838         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
12839         Likewise
12840         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
12841         Likewise
12842         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
12843         Likewise
12844         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
12845         Likewise
12846         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
12847         Likewise
12848         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
12849         Likewise
12850         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
12851         Likewise
12852         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
12853         Likewise
12854         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
12855         Likewise
12856         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
12857         Likewise
12858         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
12859         Likewise
12860         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
12861         Likewise
12862         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
12863         Likewise
12865 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12867         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
12868         to avoid alignment traps in non-cacheable memory.
12869         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12871         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
12872         multiarch objects.
12873         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
12874         file: multiarch power7 memmove.
12875         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
12876         multiarch default memmove.
12877         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
12878         multiarch memove for powerpc32/power4.
12880         * string/bcopy.c: Use full path to include memmove.c.
12881         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
12882         multiarch objects.
12883         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
12884         bcopy for powerpc64.
12885         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
12886         bcopy for powerpc64.
12887         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
12888         and memmove implementations.
12889         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
12890         optimized multiarch memmove for POWER7/powerpc64.
12891         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
12892         default multiarch memmove for powerpc64.
12893         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
12894         multiarch for powerpc64.
12895         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
12896         for POWER7/powerpc64.
12897         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
12898         memmove for POWER7/powerpc64.
12900         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
12901         glibc default one.
12903         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
12904         __ELF_NATIVE_CLASS equal to 64.
12906 2014-07-07  Roland McGrath  <roland@hack.frob.com>
12908         * sysdeps/nptl/lowlevellock.h: File removed.
12910         * NEWS: NPTL is no longer an add-on!
12911         * nptl/internaltypes.h: Moved ...
12912         * sysdeps/nptl/internaltypes.h: ... here.
12913         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
12914         * sysdeps/nptl/fork.c: Likewise.
12915         * sysdeps/nptl/gai_misc.h: Likewise.
12916         * sysdeps/nptl/librt-cancellation.c: Likewise.
12917         * sysdeps/nptl/jmp-unwind.c: Likewise.
12918         * sysdeps/nptl/setxid.h: Likewise.
12919         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
12920         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
12921         * sysdeps/unix/sysv/linux/arm/Implies: New file.
12922         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
12923         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
12924         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
12925         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
12926         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
12927         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
12928         * sysdeps/unix/sysv/linux/mips/Implies: New file.
12929         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
12930         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
12931         * sysdeps/unix/sysv/linux/sh/Implies: New file.
12932         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
12933         * sysdeps/unix/sysv/linux/tile/Implies: New file.
12934         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
12935         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
12936         * nptl/Makeconfig: Moved ...
12937         * sysdeps/nptl/Makeconfig: ... here.
12938         * nptl/configure: File removed.
12939         * nptl/ANNOUNCE: File removed.
12940         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
12941         * sysdeps/unix/sysv/linux/configure: Regenerated.
12943         * nptl/Makefile (routines): Add libc_pthread_init,
12944         libc_multiple_threads, register-atfork and unregister-atfork.
12945         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
12946         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
12947         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
12948         pthread-pi-defines.sym, structsem.sym.
12949         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
12950         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
12951         [$(subdir) = nptl] (tests): Add tst-setgetname.
12952         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
12953         * sysdeps/unix/sysv/linux/sigaction.c: Just include
12954         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
12955         [!LIBC_SIGACTION]: Remove aliases.
12956         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
12957         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
12958         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
12959         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
12960         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12961         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
12962         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12963         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12964         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12965         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
12966         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
12967         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
12968         __libc_allocate_rtsig_private.
12969         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
12970         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
12971         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
12972         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
12973         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
12974         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
12975         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
12976         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
12977         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
12978         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
12979         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
12980         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
12981         * nptl/internaltypes.h: ... here.
12982         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
12983         * sysdeps/nptl/jmp-unwind.c: ... here.
12984         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
12985         * nptl/libc-lowlevellock.c: ... here.
12986         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
12987         * nptl/libc_multiple_threads.c: ... here.
12988         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
12989         * nptl/libc_pthread_init.c: ... here.
12990         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
12991         * nptl/lowlevelbarrier.sym: ... here.
12992         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
12993         * nptl/lowlevelcond.sym: ... here.
12994         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
12995         * nptl/lowlevellock.c: ... here.
12996         * nptl/lowlevellock.h: Moved ...
12997         * sysdeps/nptl/lowlevellock.h: ... here.
12998         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
12999         * nptl/lowlevelrobustlock.c: ... here.
13000         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
13001         * nptl/lowlevelrobustlock.sym: ... here.
13002         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
13003         * nptl/lowlevelrwlock.sym: ... here.
13004         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
13005         * nptl/pt-fork.c: ... here.
13006         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
13007         * nptl/pthread-pi-defines.sym: ... here.
13008         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
13009         * nptl/pthread_attr_getaffinity.c: ... here.
13010         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
13011         * nptl/pthread_attr_setaffinity.c: ... here.
13012         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
13013         * nptl/pthread_mutex_cond_lock.c: ... here.
13014         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13015         Update #include.
13016         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
13017         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
13018         * nptl/pthread_once.c: ... here, replacing old file.
13019         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
13020         * nptl/pthread_yield.c: ... here.
13021         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
13022         * nptl/register-atfork.c: ... here.
13023         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
13024         * nptl/sem_post.c: ... here.
13025         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
13026         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
13027         * nptl/sem_timedwait.c: ... here.
13028         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
13029         * nptl/sem_trywait.c: ... here.
13030         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
13031         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
13032         * nptl/sem_wait.c: ... here.
13033         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
13034         * nptl/structsem.sym: ... here.
13035         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
13036         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
13037         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
13038         * nptl/unregister-atfork.c: ... here.
13039         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
13040         * nptl/unwindbuf.sym: ... here.
13041         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
13042         * sysdeps/nptl/fork.c: ... here.
13043         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
13044         * sysdeps/nptl/fork.h: ... here.
13045         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
13046         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
13047         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
13048         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
13049         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
13050         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
13051         * sysdeps/unix/sysv/linux/getpid.c: ... here.
13052         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
13053         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
13054         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
13055         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
13056         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
13057         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
13058         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
13059         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
13060         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
13061         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
13062         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
13063         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
13064         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
13065         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
13066         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
13067         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
13068         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
13069         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
13070         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
13071         * sysdeps/unix/sysv/linux/raise.c: ... here.
13072         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
13073         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
13074         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
13075         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
13076         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
13077         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
13078         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
13079         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
13080         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
13081         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
13082         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
13083         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
13084         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
13085         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
13086         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
13088 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13090         * sysdeps/generic/memcopy.h: Add comment for
13091         MEMCPY_OK_FOR_FWD_MEMMOVE.
13093 2014-07-04  Will Newton  <will.newton@linaro.org>
13095         * string/memchr.c: Merge from gnulib.
13096         [_LIBC]: Remove conditionals.
13097         (__ptr_t): Remove define.
13098         (LONG_MAX_32_BITS): Likewise.
13099         (LONG_MAX): Likewise.
13100         (MEMCHR): Use ANSI prototype and optimize algorithm.
13102         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
13104 2014-07-03  Roland McGrath  <roland@hack.frob.com>
13106         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
13107         (lll_futex_timed_wait_bitset): Fix syscall argument count.
13109         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
13110         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
13111         in a bare environment with no <stdlib.h> installed.
13112         * sysdeps/nptl/configure: Regenerated.
13114         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
13116         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
13117         AC_EGREP_CPP for kernel header checks, so they only succeed if
13118         including <linux/version.h> actually works right.
13119         * sysdeps/unix/sysv/linux/configure: Regenerated.
13121         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
13122         value so it's not diagnosed as unused.
13124         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
13125         thing) with "ifeq ($(subdir),rt)".
13127 2014-07-03  Richard Henderson  <rth@redhat.com>
13129         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
13130         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
13131         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
13133         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
13134         (math_force_eval): New.
13136         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
13137         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
13139         * sysdeps/alpha/fpu/s_round.c: Remove file.
13140         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
13142         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
13143         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
13144         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
13145         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
13146         (_dl_start, print_statistics): Likewise.
13147         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
13148         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
13150         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13151         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13152         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13153         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13154         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13155         (HP_SMALL_TIMING_AVAIL): Define.
13156         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13157         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
13158         (HP_SMALL_TIMING_AVAIL): Define.
13159         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13160         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13162         * sysdeps/aarch64/hp-timing.h: New file.
13164         * sysdeps/generic/hp-timing.h: Remove dead comment.
13165         * sysdeps/generic/hp-timing-common.h: New file.
13166         * sysdeps/alpha/hp-timing.h: Include it.
13167         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
13168         * sysdeps/i386/i686/hp-timing.h: Likewise.
13169         * sysdeps/ia64/hp-timing.h: Likewise.
13170         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13171         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13172         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13173         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13174         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
13175         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
13176         (hp_timing_t): New.
13178         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
13179         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
13180         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
13181         * elf/rtld.c (_dl_start_final): Likewise.
13182         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
13183         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13184         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13185         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13186         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13187         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13188         (HP_TIMING_DIFF_INIT): Remove.
13189         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13190         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
13191         (HP_TIMING_DIFF_INIT): Remove.
13192         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13193         * sysdeps/i386/i686/hp-timing.c: Remove file.
13194         * sysdeps/x86_64/hp-timing.c: Remove file.
13195         * sysdeps/ia64/hp-timing.c: Remove file.
13196         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
13197         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
13198         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
13199         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
13201         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
13202         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
13203         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
13204         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13205         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13206         (HP_TIMING_ACCUM): Remove.
13207         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13208         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
13209         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13211         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
13212         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
13213         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
13214         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
13215         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
13216         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13217         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
13218         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13220         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
13222 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
13224         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
13226 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13228         Sync up with gettext.
13229         * intl/loadmsgcat.c: Define O_BINARY if not defined.
13230         [_MSC_VER]: Include malloc.h
13231         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
13232         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
13233         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
13234         TEMP_FAILURE_RETRY.  Cast return of alloca.
13235         [!_LIBC] Call gl_rwlock_init.
13236         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
13238 2014-07-02  Roland McGrath  <roland@hack.frob.com>
13240         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
13241         before checking its value.
13243 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13245         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
13247         * debug/memcpy_chk.c: Don't include pagecopy.h.
13248         * debug/mempcpy_chk.c: Likewise.
13249         * string/memcpy.c: Likewise.
13250         * string/memmove.c: Likewise.
13251         * sysdeps/powerpc/memmove.c: Likewise.
13252         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
13253         definition of PAGE_COPY_FWD_MAYBE here...
13254         * sysdeps/generic/pagecopy.h: ... from here.
13255         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
13257 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13258             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13260         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
13261         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
13262         optimizations.
13263         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13264         (__libc_ifunc_impl_list): Likewise.
13265         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
13266         multiarch strcat for PPC64.
13267         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
13268         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
13270 2014-07-02  Roland McGrath  <roland@hack.frob.com>
13272         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
13274 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13276         * intl/loadmsgcat.c: Remove declaration of
13277         get_sysdep_segment_value.
13278         (get_sysdep_segment_value): Use ISO C style.
13279         (_nl_load_domain): Use ISO C style.  Get rid of redundant
13280         semicolon.  Fix typo and formatting in comment.
13281         (_nl_unload_domain): Use ISO C style.
13283         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
13285 2014-07-02  Will Newton  <will.newton@linaro.org>
13287         * malloc/obstack.c: Merge from gnulib master.
13288         [HAVE_CONFIG_H]: Remove conditional code.
13289         [!_LIBC]: Include config.h.
13290         [!ELIDE_CODE]: Don't include inttypes.h, include
13291         stdint.h unconditionally.
13292         (print_and_abort): Mark as _Noreturn.
13293         (_obstack_allocated_p): Mark as __attribute_pure__.
13294         (obstack_free): Rename to __obstack_free.
13295         [!__attribute__]: Remove conditional code.
13296         * malloc/obstack.h: Merge from gnulib master.
13297         [__cplusplus]: Move conditional down.
13298         [!__attribute_pure__]: Define __attribute_pure__ here
13299         if it is not already defined.
13300         (_obstack_memory_used): Mark as __attribute_pure__.
13301         [!__obstack_free]: Define as obstack_free.
13302         [__GNUC__]: Remove check for ancient NeXT gcc.
13304 2014-07-02  Will Newton  <will.newton@linaro.org>
13305             Paul Eggert  <eggert@cs.ucla.edu>
13307         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
13309 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13311         * resolv/gethnamaddr.c: Add comment warning that the file is
13312         not maintained.
13314 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
13316         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
13317         entries.
13319         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
13320         entry for aio_cancel and aio_cancel64.
13321         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
13322         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
13323         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
13324         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
13325         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
13326         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
13327         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
13328         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
13329         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
13330         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
13331         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
13332         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
13333         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
13335 2014-07-01  Roland McGrath  <roland@hack.frob.com>
13337         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
13338         * nptl/pthread_mutex_lock.c: Likewise.
13339         * nptl/pthread_mutex_timedlock.c: Likewise.
13340         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
13342 2014-07-01  Richard henderson  <rth@redhat.com>
13344         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
13345         (__isnan, __isnanl): Remove.
13346         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
13348         * sysdeps/alpha/fpu/libm-test-ulps: Update.
13350 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
13352         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13354 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
13356         * resolv/nss_dns/dns-host.c (getanswer_r)
13357         [MULTI_PTRS_ARE_ALIASES]: Remove code.
13359 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
13361         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13362         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
13363         undefine.
13364         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
13365         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
13367 2014-07-01  Roland McGrath <roland@hack.frob.com>
13369         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
13370         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
13372         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
13373         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
13375         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
13376         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
13377         ... here.
13378         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
13379         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
13381         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
13382         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
13383         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
13384         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
13386         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
13387         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
13388         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
13389         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
13390         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
13391         Moved ...
13392         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
13393         ... here.
13394         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
13395         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
13396         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
13397         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
13398         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
13399         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
13400         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
13401         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
13402         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
13403         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
13404         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
13405         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
13406         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
13407         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
13408         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
13409         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
13410         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
13411         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
13412         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
13413         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
13414         ... here.
13415         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
13416         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
13417         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
13418         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
13419         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
13420         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
13421         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
13422         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
13424 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
13426         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
13427         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
13428         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
13429         Add sysdep.
13431 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13433         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13435 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
13437         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13438         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13440         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13442         * sysdeps/arm/libm-test-ulps: Regenerated.
13444 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
13445             Roland McGrath <roland@hack.frob.com>
13447         * test-skeleton.c (signal_handler): Kill the whole process group
13448         before killing the child individually.
13449         (main): Report any failure on `setpgid'.
13451 2014-06-30  Roland McGrath  <roland@hack.frob.com>
13453         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
13454         from _TLS_H to _ARM_NPTL_TLS_H.
13455         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
13456         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
13458 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
13460         [BZ #16539]
13461         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
13462         (__expm1l): Return argument unchanged when small but not
13463         subnormal.
13465         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
13466         include macro name.
13467         (_FP_UNPACK_RAW_1_P): Likewise.
13468         (_FP_PACK_RAW_1): Likewise.
13469         (_FP_PACK_RAW_1_P): Likewise.
13470         (_FP_MUL_MEAT_1_wide): Likewise.
13471         (_FP_MUL_MEAT_DW_1_hard): Likewise.
13472         (_FP_MUL_MEAT_1_hard): Likewise.
13473         (_FP_DIV_MEAT_1_imm): Likewise.
13474         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
13475         (_FP_DIV_MEAT_1_udiv): Likewise.
13476         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
13477         (_FP_UNPACK_RAW_2): Likewise.
13478         (_FP_UNPACK_RAW_2_P): Likewise.
13479         (_FP_PACK_RAW_2): Likewise.
13480         (_FP_PACK_RAW_2_P): Likewise.
13481         (_FP_MUL_MEAT_DW_2_wide): Likewise.
13482         (_FP_MUL_MEAT_2_wide): Likewise.
13483         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
13484         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
13485         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
13486         (_FP_MUL_MEAT_2_gmp): Likewise.
13487         (_FP_DIV_MEAT_2_udiv): Likewise.
13488         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
13489         (_FP_FRAC_SRL_4): Likewise.
13490         (_FP_FRAC_SRST_4): Likewise.
13491         (_FP_FRAC_SRS_4): Likewise.
13492         (_FP_UNPACK_RAW_4): Likewise.
13493         (_FP_UNPACK_RAW_4_P): Likewise.
13494         (_FP_PACK_RAW_4): Likewise.
13495         (_FP_PACK_RAW_4_P): Likewise.
13496         (_FP_MUL_MEAT_DW_4_wide): Likewise.
13497         (_FP_MUL_MEAT_4_wide): Likewise.
13498         (_FP_MUL_MEAT_4_gmp): Likewise.
13499         (umul_ppppmnnn): Likewise.
13500         (_FP_DIV_MEAT_4_udiv): Likewise.
13501         (__FP_FRAC_ADD_4): Likewise.
13502         (__FP_FRAC_SUB_3): Likewise.
13503         (__FP_FRAC_SUB_4): Likewise.
13504         (__FP_FRAC_DEC_3): Likewise.
13505         (__FP_FRAC_DEC_4): Likewise.
13506         (__FP_FRAC_ADDI_4): Likewise.
13507         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
13508         (_FP_FRAC_SRL_8): Likewise.
13509         (_FP_FRAC_SRS_8): Likewise.
13511         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
13512         include macro name.
13513         (FP_UNPACK_RAW_EP): Likewise.
13514         (FP_PACK_RAW_E): Likewise.
13515         (FP_PACK_RAW_EP): Likewise.
13516         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
13517         (_FP_ISSIGNAN): Likewise.
13518         (_FP_ADD_INTERNAL): Likewise.
13519         (_FP_FMA): Likewise.
13520         (_FP_CMP): Likewise.
13521         (_FP_SQRT): Likewise.
13522         (_FP_TO_INT): Likewise.
13523         (_FP_FROM_INT): Likewise.
13524         (FP_EXTEND): Likewise.
13525         (_FP_DIV_MEAT_N_loop): Likewise.
13527 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
13529         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
13530         throughout.
13532 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
13534         [BZ #17097]
13535         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
13536         result with correct sign in case of exponents that produce
13537         overflow except for X very close to 1.
13539 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
13541         mktime: merge #if/#ifdef usage from glibc
13542         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
13543         as that works with both Glibc's and Gnulib's style.
13544         See thread starting at Siddhesh Poyarekar's bug report at:
13545         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
13547 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13549         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
13550         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
13551         * sysdeps/tile/tilegx/memmove.c: Remove file.
13553 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
13555         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
13556         abi-name definition.
13557         * scripts/soversions.awk: Do not handle or generate ABI lines.
13558         * shlib-versions: Remove ABI entries.
13559         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
13560         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
13562 2014-06-27  Roland McGrath  <roland@hack.frob.com>
13564         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
13565         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
13566         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
13567         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
13568         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
13569         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
13570         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
13571         Moved ...
13572         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
13573         ... here.
13574         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
13575         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
13576         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
13577         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
13578         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
13579         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
13580         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
13581         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
13582         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
13583         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
13584         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
13585         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
13586         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
13587         Moved ...
13588         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
13589         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
13590         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
13591         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
13592         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
13593         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
13594         Moved ...
13595         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
13596         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
13597         Moved ...
13598         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
13599         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
13600         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
13601         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
13602         Moved ...
13603         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
13604         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
13605         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
13606         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
13607         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
13608         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
13609         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
13610         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
13611         Moved ...
13612         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
13613         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
13614         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
13615         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
13616         Moved ...
13617         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
13618         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
13619         Moved ...
13620         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
13621         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
13622         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
13623         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
13624         Moved ...
13625         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
13626         ... here.
13627         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
13628         Identical file removed.
13629         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
13630         Moved ...
13631         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
13632         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
13633         Identical file removed.
13634         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
13635         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
13636         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
13637         Moved ...
13638         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
13639         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
13640         Identical file removed.
13641         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
13642         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
13643         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
13644         Identical file removed.
13645         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
13646         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
13647         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
13648         Identical file removed.
13649         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
13650         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
13651         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
13652         Identical file removed.
13653         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
13654         Moved ...
13655         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
13656         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
13657         Identical file removed.
13658         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
13659         Moved ...
13660         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
13661         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
13662         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
13663         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
13664         Identical file removed.
13665         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
13666         Moved ...
13667         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
13668         ... here.
13669         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
13670         Identical file removed.
13671         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
13672         Moved ...
13673         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
13674         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
13675         Identical file removed.
13676         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
13677         Moved ...
13678         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
13679         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
13680         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
13681         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
13682         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
13683         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
13684         Moved ...
13685         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
13686         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
13687         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
13689         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
13690         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
13691         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
13692         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
13693         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
13695 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
13697         [BZ #17092]
13698         * nscd/nscd.c (monitor_child): Return exit status of child
13699         instead of return value from wait syscall.
13701 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
13703         * configure.ac (libc_commonpagesize): Remove variable.
13704         (libc_relro_required): Likewise.
13705         (libc_cv_z_relro): Remove configure test.
13706         * configure: Regenerated.
13707         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
13708         variable.
13709         (libc_relro_required): Likewise.
13710         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
13711         (libc_relro_required): Likewise.
13712         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
13713         (libc_relro_required): Likewise.
13714         * sysdeps/arm/preconfigure: Regenerated.
13715         * sysdeps/ia64/preconfigure: Remove file.
13716         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
13717         variable.
13718         (libc_relro_required): Likewise.
13720         [BZ #16561]
13721         [BZ #16562]
13722         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
13723         (__ieee754_yn): Set FE_TONEAREST mode internally and then
13724         recompute overflowing results in original rounding mode.
13725         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
13726         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
13727         recompute overflowing results in original rounding mode.
13728         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
13729         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13730         recompute overflowing results in original rounding mode.
13731         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
13732         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13733         recompute overflowing results in original rounding mode.
13734         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
13735         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13736         recompute overflowing results in original rounding mode.
13737         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
13738         (libc_feholdsetround_ctx): New macro.
13739         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
13740         * sysdeps/i386/fpu/libm-test-ulps: Update.
13741         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
13743 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
13745         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
13746         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
13747         corresponding .cpsetup call.
13749 2014-06-26  Roland McGrath  <roland@hack.frob.com>
13751         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
13752         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
13753         * sysdeps/arm/Makefile [$(subdir) = csu]
13754         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
13755         (static-only-routines): Add aeabi_read_tp here.
13756         (shared-only-routines): Add libc-aeabi_read_tp here.
13757         (CFLAGS-libc-start.c): Add -fexceptions here.
13758         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
13759         (sysdep_routines, static-only-routines, shared-only-routines):
13760         Don't add to these here.
13761         (CFLAGS-libc-start.c): Likewise.
13763         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
13764         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
13765         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
13766         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
13767         * sysdeps/arm/Makefile [$(subdir) = rt]
13768         (librt-sysdep_routines, librt-shared-only-routines):
13769         Append rt-aeabi_unwind_cpp_pr1 here.
13770         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
13771         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
13772         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
13773         (libpthread-sysdep_routines, libpthread-shared-only-routines):
13774         Append nptl-aeabi_unwind_cpp_pr1 here.
13775         (tests): Filter out tst-cleanupx4 here.
13776         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
13777         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
13778         Don't do those here.
13780 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
13782         * scripts/list-sources.sh: Do not handle ports specially.
13784 2014-06-26  Roland McGrath  <roland@hack.frob.com>
13786         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
13787         * sysdeps/arm/feupdateenv.c: Likewise.
13789         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
13791 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
13793         * manual/texinfo.tex: Update to version 2014-05-05.10 with
13794         trailing whitespace removed.
13795         * scripts/config.guess: Update to version 2014-03-23.
13796         * scripts/config.sub: Update to version 2014-05-01
13797         * scripts/install-sh: Update to version 2013-12-25.23.
13798         * scripts/move-if-change: Update from gnulib.
13800 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13802         * debug/memmove_chk.c: Remove pagecopy.h include.
13804 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
13806         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
13807         identical to gnulib mktime.
13809 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
13811         * configure.ac: Do not test for machine being rs6000.  Do not test
13812         for powerpc*-*soft.
13813         * configure: Regenerated.
13815         [BZ #11505]
13816         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
13817         test.
13818         * configure: Regenerated.
13819         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
13820         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
13821         Remove configure test.
13822         * sysdeps/arm/configure: Regenerated.
13823         * sysdeps/nptl/configure.ac: Do not check
13824         libc_cv_asm_cfi_directives.
13825         * sysdeps/nptl/configure: Regenerated.
13826         * sysdeps/x86_64/nptl/configure.ac: Remove file.
13827         * sysdeps/x86_64/nptl/configure: Remove generated file.
13828         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
13829         unconditional.
13830         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
13832 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13834         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
13835         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
13836         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
13837         it is defined.
13839         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
13840         instead of whether it is defined.
13841         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
13842         * sysdeps/hppa/dl-machine.h: Likewise.
13843         * sysdeps/ia64/dl-machine.h: Likewise.
13844         * sysdeps/m68k/dl-machine.h: Likewise.
13845         * sysdeps/microblaze/dl-machine.h: Likewise.
13846         * sysdeps/mips/dl-machine.: Likewise.
13847         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13848         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13849         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13850         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13851         * sysdeps/sh/dl-machine.h: Likewise.
13852         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13853         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13854         * sysdeps/tile/dl-machine.h: Likewise.
13855         * sysdeps/x86_64/dl-machine.h: Likewise.
13857         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
13858         code.
13859         (verify_persistent_db): Likewise.
13861 2014-06-26  Roland McGrath  <roland@hack.frob.com>
13863         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
13864         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
13865         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
13866         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
13867         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
13868         Moved ...
13869         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
13870         ... here.
13871         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
13872         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
13873         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
13874         Identical file removed.
13875         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
13876         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
13877         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
13878         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
13879         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
13880         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
13881         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
13882         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
13883         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
13884         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
13885         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13886         Moved ...
13887         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
13888         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
13889         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
13890         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
13891         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
13892         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
13893         Moved ...
13894         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
13895         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
13896         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
13897         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
13898         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
13899         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
13900         Identical file removed.
13901         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
13902         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
13903         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
13904         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
13905         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
13906         Moved ...
13907         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
13908         ... here.
13909         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
13910         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
13911         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
13912         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
13913         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
13914         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
13915         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
13916         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
13917         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
13918         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
13919         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13920         Moved ...
13921         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
13922         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
13923         Moved ...
13924         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
13925         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
13926         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
13927         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
13928         Moved ...
13929         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
13930         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
13931         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
13933         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
13934         folded into ...
13935         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
13936         * sysdeps/unix/sysv/linux/s390/Versions
13937         (libpthread: GLIBC_2.19): New version set.
13938         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
13939         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
13940         (librt: GLIBC_2.3.3): New version set.
13941         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
13942         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
13943         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
13944         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
13945         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
13946         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
13947         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
13948         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
13949         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
13950         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
13951         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
13952         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
13953         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
13954         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
13955         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
13956         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
13957         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
13958         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
13959         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
13960         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
13961         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
13962         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
13963         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
13964         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
13965         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
13966         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
13967         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
13968         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
13969         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
13970         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
13971         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
13972         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
13973         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
13974         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
13975         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
13976         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
13977         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
13978         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
13979         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
13980         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
13981         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
13982         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
13983         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
13984         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
13985         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
13987         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
13988         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
13989         (__libc_vfork): Define the function under this name.
13990         [!NOT_IN_libc] (__vfork): Make this an alias.
13991         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
13992         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
13993         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
13994         (__libc_vfork): Define the function under this name.
13995         [!NOT_IN_libc] (__vfork): Make this an alias.
13996         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
13997         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
13998         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
13999         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
14000         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
14001         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
14003         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
14004         code that was previously under [RESET_PID].
14005         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
14006         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
14007         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
14009         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
14010         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
14011         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
14012         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
14013         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
14014         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
14015         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
14016         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
14017         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
14018         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
14019         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
14020         Moved ...
14021         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
14022         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
14023         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
14024         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
14025         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
14026         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
14027         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
14028         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
14029         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
14030         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
14031         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
14032         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
14033         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
14034         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
14035         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
14036         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
14037         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
14038         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
14039         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
14040         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
14041         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
14042         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
14043         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
14044         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
14045         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
14046         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
14047         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
14048         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
14049         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
14051 2014-06-25  Roland McGrath  <roland@hack.frob.com>
14053         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
14054         that was previously under [RESET_PID].
14055         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
14057 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
14059         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
14060         not undefine and redefine.
14061         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
14062         [O_CLOEXEC]: Make code unconditional.
14063         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
14064         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
14065         <kernel-features.h>.
14066         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
14067         conditional variable definition.
14068         (shm_open) [O_CLOEXEC]: Make code unconditional.
14069         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
14070         code.
14072         * configure.ac (USE_REGPARMS): Don't define here.
14073         * configure: Regenerated.
14074         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
14075         * sysdeps/i386/configure: Regenerated.
14077         * nptl/createthread.c: Don't include kernel-features.h.
14078         * nptl/pthread_cancel.c: Likewise.
14079         * nptl/pthread_condattr_setclock.c: Likewise.
14080         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
14081         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
14082         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
14083         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
14084         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
14085         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
14086         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
14087         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
14088         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
14089         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
14090         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
14091         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
14092         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
14093         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
14094         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
14095         * nscd/gai.c: Likewise.
14096         * nss/nss_db/db-open.c: Likewise.
14097         * sysdeps/generic/ldsodefs.h: Likewise.
14098         * sysdeps/sh/nptl/tls.h: Likewise.
14099         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
14100         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
14101         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
14102         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
14103         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
14104         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14105         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
14106         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14107         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14108         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
14109         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
14110         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14111         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
14112         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
14113         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
14114         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
14115         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
14116         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
14117         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
14118         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
14119         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
14120         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
14121         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
14122         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
14123         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
14124         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
14125         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
14126         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
14127         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
14128         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
14129         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
14130         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
14131         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
14132         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14133         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14134         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14135         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14136         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
14137         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
14138         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
14139         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14140         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
14141         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
14142         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14143         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
14144         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
14145         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
14146         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
14147         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
14148         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
14149         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
14150         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
14151         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
14152         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14153         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
14154         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14155         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
14156         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
14157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
14159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
14160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
14161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
14162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
14163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
14164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
14165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
14168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
14169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
14170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
14171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
14173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
14177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
14178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
14179         * sysdeps/unix/sysv/linux/pread.c: Likewise.
14180         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
14181         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
14182         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
14183         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
14184         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
14185         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
14186         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
14187         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
14188         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
14189         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
14190         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
14191         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
14192         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
14193         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
14194         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
14195         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14196         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
14197         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
14198         * sysdeps/unix/sysv/linux/system.c: Likewise.
14199         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
14200         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
14201         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
14202         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
14203         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14204         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14205         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14207         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
14208         * configure: Regenerated.
14209         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
14211         * configure.ac (base_machine): Do not set specially for particular
14212         machines here.
14213         * configure: Regenerated.
14214         * sysdeps/powerpc/preconfigure: Move machine and base_machine
14215         settings from configure.ac.
14216         * sysdeps/i386/preconfigure: New file.
14217         * sysdeps/s390/preconfigure: Likewise.
14218         * sysdeps/sh/preconfigure: Likewise.
14219         * sysdeps/sparc/preconfigure: Likewise.
14221 2014-06-25  Roland McGrath  <roland@hack.frob.com>
14223         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
14224         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
14225         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
14226         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
14227         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
14228         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
14229         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
14230         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
14231         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
14232         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
14233         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
14234         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
14235         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
14236         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
14237         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
14238         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
14239         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
14240         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
14241         * sysdeps/sparc/sparc64/Makefile: ... appended here.
14243         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
14244         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
14245         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
14246         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
14247         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
14248         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
14249         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
14250         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
14251         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
14252         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
14253         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
14254         * sysdeps/sparc/sparc32/sem_post.c: ... here.
14255         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
14256         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
14257         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
14258         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
14259         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
14260         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
14261         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
14262         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
14263         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
14264         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
14265         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
14266         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
14267         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
14268         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
14269         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
14270         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
14271         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
14272         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
14273         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
14274         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
14275         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
14276         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
14277         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
14278         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
14279         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
14280         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
14282         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
14283         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
14284         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
14285         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
14286         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14287         Moved ...
14288         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
14289         ... here.
14290         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
14291         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
14292         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
14293         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
14294         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
14295         Moved ...
14296         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
14297         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
14298         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
14299         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
14300         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
14301         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
14302         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
14303         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14304         Moved ...
14305         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
14306         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14307         Moved ...
14308         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
14309         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
14310         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
14311         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14312         Moved ...
14313         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
14314         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
14315         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
14316         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
14317         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
14318         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
14319         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
14320         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
14321         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
14322         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14323         Moved ...
14324         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
14325         ... here.
14326         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
14327         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
14328         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
14329         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
14330         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
14331         Moved ...
14332         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
14333         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
14334         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
14335         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
14336         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
14337         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
14338         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
14339         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14340         Moved ...
14341         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
14342         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14343         Moved ...
14344         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
14345         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
14346         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
14347         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14348         Moved ...
14349         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
14350         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
14351         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
14352         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
14353         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
14355 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
14357         * timezone/checktab.awk: Update from tzcode 2014e.
14358         * timezone/private.h: Likewise.
14359         * timezone/tzfile.h: Likewise.
14360         * timezone/zdump.c: Likewise.
14361         * timezone/zic.c: Likewise.
14363         * sysdeps/unix/sysv/linux/kernel-features.h
14364         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
14365         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
14366         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
14367         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
14368         Remove conditional code.
14370 2014-06-25  Will Newton  <will.newton@linaro.org>
14372         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
14373         (_dl_arm_cap_flags): Add HWCAP2 values.
14374         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
14375         (_DL_HWCAP_COUNT): Increase to 37.
14376         (_DL_HWCAP_LAST): New define.
14377         (_DL_HWCAP2_LAST): New define.
14378         (_dl_procinfo): Add support for printing
14379         AT_HWCAP2 entries.
14380         (_dl_string_hwcap): Use _dl_hwcap_string.
14382 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14384         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14386 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
14388         * README: Do not mention ports directory.
14390         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
14391         Remove macro.
14392         * sysdeps/unix/sysv/linux/futimes.c: Do not include
14393         <kernel-features.h>.
14394         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
14395         conditional variable definition.
14396         (__futimes): Update comment.
14397         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
14398         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
14400         [BZ #16560]
14401         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
14402         arguments close to 0.
14403         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
14404         Likewise.
14405         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
14406         Likewise.
14407         * math/auto-libm-test-in: Add more tests of exp10.
14408         * math/auto-libm-test-out: Regenerated.
14409         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14411         * sysdeps/unix/sysv/linux/kernel-features.h
14412         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
14413         * sysdeps/unix/sysv/linux/readv.c: Do not include
14414         <kernel-features.h>.
14415         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
14416         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
14417         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
14418         unconditional.
14419         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
14420         conditional code.
14421         * sysdeps/unix/sysv/linux/writev.c: Do not include
14422         <kernel-features.h>.
14423         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
14424         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
14425         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
14426         unconditional.
14427         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
14428         conditional code.
14430 2014-06-25  Will Newton  <will.newton@linaro.org>
14432         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
14433         comment changes throughout the file.  Remove checks
14434         for HAVE_*_H definitions that are not required.
14435         (__gen_tempname): Call abort if an unknown kind value is
14436         passed.
14438 2014-06-25  Andreas Schwab  <schwab@suse.de>
14440         [BZ #17086]
14441         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
14442         scalbln, scalblnf, scalblnl in libc.
14444 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
14446         [BZ #17086]
14447         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
14448         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
14449         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
14451 2014-06-24  Roland McGrath  <roland@hack.frob.com>
14453         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
14454         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
14455         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
14456         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
14457         Update #include.
14458         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
14459         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
14460         Update #include.
14461         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
14462         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
14463         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
14464         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
14465         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
14466         * sysdeps/x86/bits/pthreadtypes.h: ... here.
14467         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
14468         * sysdeps/x86/bits/semaphore.h: ... here.
14469         * sysdeps/x86/nptl/elide.h: Moved ...
14470         * sysdeps/x86/elide.h: ... here.
14471         * sysdeps/x86_64/nptl/Implies: File removed.
14472         * sysdeps/i386/nptl/Implies: File removed.
14474 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
14476         [BZ #16539]
14477         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
14478         return the argument for normal arguments with exponent below -64.
14479         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14480         Likewise.
14481         * math/auto-libm-test-in: Add another test of expm1.
14482         * math/auto-libm-test-out: Regenerated.
14484         [BZ #16287]
14485         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
14486         calling __erfcl for arguments at least 16.
14487         * math/auto-libm-test-in: Add more tests of erf.
14488         * math/auto-libm-test-out: Regenerated.
14490         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
14491         individual architectures.
14492         * sysdeps/unix/sysv/linux/configure: Regenerated.
14493         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
14494         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
14495         * sysdeps/unix/sysv/linux/powerpc/configure.ac
14496         (ldd_rewrite_script): Define variable.
14497         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
14499         file.
14500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
14501         generated file.
14502         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
14503         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
14504         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
14505         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
14506         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
14507         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
14508         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
14509         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
14511 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14513         [BZ #17084]
14514         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
14515         Rename member __data.d to __data.__elision_data.
14517 2014-06-24  Wilco  <wdijkstr@arm.com>
14519         * NEWS: Add 16918 to fixed bug list.
14521 2014-06-24  Wilco  <wdijkstr@arm.com>
14523         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
14525 2014-06-24  Wilco  <wdijkstr@arm.com>
14527         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
14528         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
14529         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
14530         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
14531         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
14532         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
14533         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
14534         Use _FPU_MASK_RM.
14536 2014-06-24  Wilco  <wdijkstr@arm.com>
14538         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
14540 2014-06-24  Wilco  <wdijkstr@arm.com>
14542         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
14543         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
14544         * sysdeps/arm/fesetround.c (fesetround): Remove space.
14545         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
14547 2014-06-24  Wilco  <wdijkstr@arm.com>
14549         [BZ #16918]
14550         * sysdeps/arm/feupdateenv.c (feupdateenv):
14551         Rewrite to reduce FPSCR accesses and fix return value.
14553 2014-06-24  Wilco  <wdijkstr@arm.com>
14555         * sysdeps/arm/fclrexcpt.c (feclearexcept):
14556         Optimize to avoid unnecessary FPSCR writes.
14557         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
14558         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
14559         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
14560         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
14562 2014-06-24  Wilco  <wdijkstr@arm.com>
14564         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
14565         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
14566         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
14567         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
14568         Call libc_fetestexcept_vfp.
14569         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
14570         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
14571         __SOFTFP__ ifdef so that they can be built for softfp.
14573 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14575         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
14576         argument type signed char.
14578         * Makerules (check-abi): Dump diff of symlist if the test
14579         fails.
14581 2014-06-23  Roland McGrath  <roland@hack.frob.com>
14583         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
14584         using abort.
14586         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
14587         Remove unused variable ST.
14589 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
14591         [BZ #16354]
14592         [BZ #17061]
14593         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
14594         small arguments before calling __expm1.
14595         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
14596         small arguments before calling __expm1f.
14597         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
14598         small arguments before calling __expm1l.
14599         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
14600         Likewise.
14601         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
14602         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
14603         spurious underflow for some cosh tests.
14604         * math/auto-libm-test-out: Regenerated.
14605         * sysdeps/i386/fpu/libm-test-ulps: Update.
14607         [BZ #17050]
14608         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
14609         (__ieee754_y1): Set errno if return value overflows.
14610         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
14611         (__ieee754_y1f): Set errno if return value overflows.
14612         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
14613         (__ieee754_y1l): Set errno if return value overflows.
14614         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
14615         (__ieee754_y1l): Set errno if return value overflows.
14616         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
14617         * math/auto-libm-test-out: Regenerated.
14619         * math/gen-auto-libm-tests.c: Document use of
14620         ignore-zero-inf-sign.
14621         (input_flag_type): Add value flag_ignore_zero_inf_sign.
14622         (input_flags): Add ignore-zero-inf-sign.
14623         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
14624         * math/gen-libm-test.pl (generate_testfile): Handle
14625         ignore-zero-inf-sign.
14626         * math/auto-libm-test-in: Mark some cpow tests with
14627         ignore-zero-inf-sign and some with xfail-rounding.
14628         * math/auto-libm-test-out: Regenerated.
14629         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
14630         * sysdeps/i386/fpu/libm-test-ulps: Update.
14631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14633         [BZ #16315]
14634         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
14635         overflowing or underflowing operations take place with sign of
14636         result.
14637         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14638         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14639         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
14640         (__ieee754_pow): Recompute overflowing and underflowing results in
14641         original rounding mode.
14642         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
14643         (__powl_helper): Allow negative argument X and scale negated value
14644         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
14645         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
14646         overflowing or underflowing operations take place with sign of
14647         result.
14648         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
14649         Include <math.h>.
14650         * math/auto-libm-test-in: Add more tests of pow.
14651         * math/auto-libm-test-out: Regenerated.
14652         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
14653         (pow_tonearest_test_data): Remove.
14654         (pow_test_tonearest): Likewise.
14655         (pow_towardzero_test_data): Likewise.
14656         (pow_test_towardzero): Likewise.
14657         (pow_downward_test_data): Likewise.
14658         (pow_test_downward): Likewise.
14659         (pow_upward_test_data): Likewise.
14660         (pow_test_upward): Likewise.
14661         (main): Don't call removed functions.
14662         * sysdeps/i386/fpu/libm-test-ulps: Update.
14663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14665 2014-06-23  Roland McGrath  <roland@hack.frob.com>
14667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
14668         Moved ...
14669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
14670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14671         Moved ...
14672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
14673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
14674         Moved ...
14675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
14676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14677         Moved ...
14678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
14679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14680         File removed.
14681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
14682         File removed.
14683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
14684         File removed.
14685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
14686         File removed.
14687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
14688         File removed.
14689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
14690         File removed.
14691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
14692         File removed.
14693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14694         File removed.
14695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
14696         File removed.
14697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
14698         File removed.
14699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
14700         File removed.
14701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
14702         File removed.
14703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
14704         Moved ...
14705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
14706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
14707         Moved ...
14708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
14709         ... here.
14710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
14711         Moved ...
14712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
14713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
14714         Moved ...
14715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
14716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
14717         Moved ...
14718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
14719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
14720         Moved ...
14721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
14722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
14723         Moved ...
14724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
14725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
14726         Moved ...
14727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
14728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
14729         Moved ...
14730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
14731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
14732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
14733         ... here.
14734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
14735         Moved ...
14736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
14737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14738         Moved ...
14739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14740         ... here.
14741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
14742         Moved ...
14743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14744         ... here.
14745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14746         Moved ...
14747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
14748         ... here.
14749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14750         Moved ...
14751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
14752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
14753         Moved ...
14754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
14755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
14756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
14757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
14758         Moved ...
14759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
14760         ... here.
14761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14762         Moved ...
14763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
14764         ... here.
14765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
14766         Moved ...
14767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
14768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14769         Moved ...
14770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
14771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
14772         Moved ...
14773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
14774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14775         Moved ...
14776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
14777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
14778         Moved ...
14779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
14780         ... here.
14781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14782         Moved ...
14783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
14784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
14785         Moved ...
14786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
14787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14788         Moved ...
14789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
14790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
14791         Moved ...
14792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
14793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
14794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
14795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
14796         Moved ...
14797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
14798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14799         Moved ...
14800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
14801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
14802         Moved ...
14803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14804         ... here.
14805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14806         Moved ...
14807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14808         ... here.
14809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
14810         Moved ...
14811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
14812         ... here.
14813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14814         Moved ...
14815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
14816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
14817         Moved ...
14818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
14819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14820         Moved ...
14821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
14822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
14823         Moved ...
14824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
14825         ... here.
14826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14827         Moved ...
14828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
14829         ... here.
14830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
14831         Moved ...
14832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
14833         ... here.
14834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14835         Moved ...
14836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
14837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14838         Moved ...
14839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
14841 2014-06-23  Will Newton  <will.newton@linaro.org>
14842             Wilco  <wdijkstr@arm.com>
14844         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
14845         implementation.  Include get-rounding-mode.h.
14846         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
14847         [!libc_feholdsetround_noex_ctx]: Define
14848         libc_feholdsetround_noex_ctx.
14849         [!libc_feholdsetround_noexf_ctx]: Define
14850         libc_feholdsetround_noexf_ctx.
14851         [!libc_feholdsetround_noexl_ctx]: Define
14852         libc_feholdsetround_noexl_ctx.
14853         (libc_feholdsetround_ctx): New function.
14854         (libc_feresetround_ctx): New function.
14855         (libc_feholdsetround_noex_ctx): New function.
14856         (libc_feresetround_noex_ctx): New function.
14858 2014-06-23  Roland McGrath  <roland@hack.frob.com>
14860         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
14861         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
14862         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
14863         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
14864         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
14865         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
14867         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
14868         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
14869         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
14870         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
14871         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
14872         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
14873         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
14874         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
14875         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
14876         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
14877         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
14878         Moved ...
14879         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
14880         ... here.
14881         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
14882         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
14883         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
14884         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
14885         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
14886         Moved ...
14887         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
14888         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
14889         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
14890         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
14891         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
14892         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
14893         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
14894         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
14895         Moved ...
14896         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
14897         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
14898         Moved ...
14899         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
14900         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
14901         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
14902         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
14903         Moved ...
14904         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
14905         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
14906         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
14907         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
14908         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
14909         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
14910         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
14911         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
14912         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
14913         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
14914         Moved ...
14915         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
14916         ... here.
14917         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
14918         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
14919         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
14920         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
14921         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
14922         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
14923         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
14924         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
14925         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
14926         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
14927         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
14928         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
14929         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
14930         Moved ...
14931         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
14932         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
14933         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
14934         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
14935         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
14936         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
14937         Moved ...
14938         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
14939         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
14940         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
14941         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
14942         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
14944         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
14945         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
14946         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
14947         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
14948         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
14949         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
14950         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
14951         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
14952         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
14953         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
14954         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
14955         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
14956         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
14957         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
14958         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
14959         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
14960         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
14961         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
14962         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
14963         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
14964         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
14965         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
14966         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
14967         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
14968         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
14969         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
14970         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
14971         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
14973 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
14975         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
14976         (FALLOC_FL_COLLAPSE_RANGE): New macro.
14977         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
14978         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
14979         (IPV6_PMTUDISC_INTERFACE): Likewise.
14980         (IPV6_PMTUDISC_OMIT): Likewise.
14982 2014-06-23  Andreas Schwab  <schwab@suse.de>
14984         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
14985         Remove unused errout label.
14987 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14989         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
14990         macro: hardware supports Vector Crypto instructions.
14992 2014-06-23  Will Newton  <will.newton@linaro.org>
14994         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
14995         rather than __builtin_expect.
14997         * elf/dl-lookup.c (undefined_msg): Remove variable.
14998         (_dl_lookup_symbol_x): Replace undefined_msg with string
14999         literal.
15001         * elf/dl-lookup.c (do_lookup_unique): New function.
15002         (do_lookup_x): Move STB_GNU_UNIQUE handling code
15003         to a separate function.
15005 2014-06-23  Andreas Schwab  <schwab@suse.de>
15007         [BZ #17079]
15008         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
15009         before reading the next line.
15011 2014-06-23  Will Newton  <will.newton@linaro.org>
15013         * test-skeleton.c (signal_handler): Use printf and %m
15014         rather than perror.  Use printf rather than fprintf to
15015         stderr.  Use puts rather than fputs to stderr.
15016         (main): Likewise.
15018 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
15020         * nscd/nscd.c (thread_info_t): Remove typedef.
15021         (thread_info): Remove variable.
15023 2014-06-21  Allan McRae  <allan@archlinux.org>
15025         * NEWS: Mention CVE-2014-4043.
15027 2014-06-20  Roland McGrath  <roland@hack.frob.com>
15029         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
15030         * nptl/smp.h: ... here.
15032         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
15034         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
15035         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
15036         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
15037         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
15039         * nptl/allocatestack.c: Include <stack-aliasing.h>.
15040         * nptl/stack-aliasing.h: New file.
15041         * sysdeps/i386/i686/stack-aliasing.h: New file.
15042         * sysdeps/i386/i686/nptl/Makefile: File removed.
15043         * sysdeps/x86_64/stack-aliasing.h: New file.
15044         * sysdeps/x86_64/nptl/Makefile
15045         (CFLAGS-pthread_create.c): Variable removed.
15047         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
15048         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
15049         old file.
15050         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
15051         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
15052         old file.
15054 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
15056         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15057         (__ASSUME_SIGFRAME_V2): Remove macro.
15058         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
15059         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
15060         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
15061         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
15062         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
15063         Declare as function.  Remove conditional macro definitions.
15064         (__default_rt_sa_restorer): Likewise.
15065         (__default_sa_restorer_v1): Remove declaration.
15066         (__default_sa_restorer_v2): Likewise.
15067         (__default_rt_sa_restorer_v1): Likewise.
15068         (__default_rt_sa_restorer_v2): Likewise.
15069         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
15070         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
15071         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
15073 2014-06-20  Roland McGrath  <roland@hack.frob.com>
15075         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
15076         (libpthread-routines): Add sysdep.
15077         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
15078         * sysdeps/unix/sysv/linux/sparc/Versions
15079         (libpthread: GLIBC_2.3.3): New version set.
15080         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
15081         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
15082         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
15083         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
15084         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
15085         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
15086         Moved ...
15087         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
15088         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
15089         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
15090         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
15091         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
15092         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
15093         * sysdeps/sparc/nptl/sem_init.c: ... here.
15094         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
15095         * sysdeps/sparc/nptl/sem_post.c: ... here.
15096         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
15097         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
15098         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
15099         * sysdeps/sparc/nptl/sem_wait.c: ... here.
15100         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
15101         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
15102         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
15103         (libpthread-routines): Add cpu_relax.
15104         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
15105         File removed.
15106         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
15107         (librt: GLIBC_2.3.3): New version set.
15108         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
15109         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
15110         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
15111         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
15112         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
15113         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
15114         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
15115         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
15116         Moved ...
15117         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
15118         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
15119         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
15120         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
15121         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
15122         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
15123         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
15124         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
15125         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
15126         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
15127         Moved ...
15128         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
15129         Update #include.
15130         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
15131         Moved ...
15132         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
15133         Update #include.
15134         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
15135         Moved ...
15136         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
15137         Update #include.
15138         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
15139         Moved ...
15140         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
15141         Update #include.
15142         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
15143         Moved ...
15144         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
15145         Update #include.
15146         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
15147         Moved ...
15148         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
15149         Update #include.
15150         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
15151         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
15152         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
15153         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
15154         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
15155         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
15156         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
15157         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
15158         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
15159         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
15160         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
15161         Moved ...
15162         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
15163         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
15164         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
15165         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
15166         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
15168 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
15170         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
15171         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
15172         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
15173         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
15174         * nscd/nscd.c: Likewise.
15175         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
15176         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
15177         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
15178         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
15180         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
15181         <kernel-features.h>.
15182         (init_mq_netlink): Remove conditional have_sock_cloexec
15183         definitions.  Remove code conditional on have_sock_cloexec < 0.
15184         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
15185         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
15186         * sysdeps/unix/sysv/linux/opensock.c: Do not include
15187         <kernel-features.h>.
15188         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
15189         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
15191 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
15193         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15194         Add tests for memset_chk and memset.
15196         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
15197         with AVX2_Usable.
15199 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
15201         [BZ #16046]
15202         * elf/tst-dl-iter-static.c: New file.
15203         * elf/Makefile (tests-static): Add tst-dl-iter-static.
15205         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
15206         error.
15208 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
15210         * sysdeps/unix/sysv/linux/kernel-features.h
15211         (__ASSUME_F_GETOWN_EX): Remove macro.
15212         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
15213         <kernel-features.h>.
15214         (miss_F_GETOWN_EX): Remove variable or macro.
15215         (do_fcntl): Do not check miss_F_GETOWN_EX.
15216         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
15218         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
15219         Remove macro.
15220         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
15221         [!__ASSUME_AT_RANDOM]: Remove conditional code.
15222         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
15224         * sysdeps/unix/sysv/linux/kernel-features.h
15225         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
15226         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
15227         [ADJ_OFFSET_SS_READ]: Make code unconditional.
15228         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
15230 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
15232         [BZ #17075]
15233         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
15234         Fix calculation of the symbol's value.
15235         * sysdeps/arm/tst-armtlsdescloc.c: New file.
15236         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
15237         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
15238         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
15239         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
15240         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
15241         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
15242         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
15243         (modules-names): Add `tst-armtlsdescmod',
15244         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
15245         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
15246         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
15247         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
15248         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
15249         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
15250         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
15251         ($(objpfx)tst-armtlsdescloc): New dependency.
15252         ($(objpfx)tst-armtlsdescextnow): Likewise.
15253         ($(objpfx)tst-armtlsdescextlazy): Likewise.
15254         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
15255         TLS scheme support.
15256         * sysdeps/arm/configure: Regenerate.
15258 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
15260         * include/fcntl.h (__atfct_seterrno): Remove prototype.
15261         (__atfct_seterrno_2): Likewise.
15262         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
15263         <kernel-features.h>.
15264         (__ASSUME_ATFCTS): Do not undefine and redefine.
15265         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
15266         (__have_atfcts): Remove conditional definition.
15267         (__fxstatat([__NR_fstatat64]: Make code unconditional.
15268         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
15269         unreachable if [__ASSUME_ATFCTS].
15270         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
15271         not undefine and redefine.
15272         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
15273         <kernel-features.h>.
15274         (faccessat) [__NR_faccessat]: Make code unconditional.
15275         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
15276         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
15277         <kernel-features.h>.
15278         (fchmodat) [__NR_fchmodat]: Make code unconditional.
15279         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
15280         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
15281         <kernel-features.h>.
15282         (fchownat) [__NR_fchownat]: Make code unconditional.
15283         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
15284         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
15285         <kernel-features.h>.
15286         (futimesat) [__NR_futimesat]: Make code unconditional.
15287         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
15288         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
15289         <kernel-features.h>.
15290         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
15291         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15292         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
15293         <kernel-features.h>.
15294         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
15295         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
15296         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
15297         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
15298         <kernel-features.h>.
15299         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
15300         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15301         * sysdeps/unix/sysv/linux/linkat.c: Do not include
15302         <kernel-features.h>.
15303         (linkat) [__NR_linkat]: Make code unconditional.
15304         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15305         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
15306         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
15307         <kernel-features.h>.
15308         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
15309         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
15310         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
15311         <kernel-features.h>.
15312         (mkdirat) [__NR_mkdirat]: Make code unconditional.
15313         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
15314         * sysdeps/unix/sysv/linux/openat.c: Do not include
15315         <kernel-features.h>.
15316         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
15317         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
15318         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
15319         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
15320         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
15321         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
15322         <kernel-features.h>.
15323         (readlinkat) [__NR_readlinkat]: Make code unconditional.
15324         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
15325         result of INLINE_SYSCALL directly, not via int variable.
15326         * sysdeps/unix/sysv/linux/renameat.c: Do not include
15327         <kernel-features.h>.
15328         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
15329         (renameat) [__NR_renameat]: Make code unconditional.
15330         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
15331         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
15332         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
15333         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
15334         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
15335         (__ASSUME_ATFCTS): Do not undefine and redefine.
15336         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
15337         <kernel-features.h>.
15338         (symlinkat) [__NR_symlinkat]: Make code unconditional.
15339         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15340         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
15341         <kernel-features.h>.
15342         (unlinkat) [__NR_unlinkat]: Make code unconditional.
15343         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15344         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
15345         (__ASSUME_ATFCTS): Do not undefine and redefine.
15346         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
15347         <kernel-features.h>.
15348         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
15349         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15350         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
15351         <kernel-features.h>.
15352         (__xmknodat) [__NR_mknodat]: Make code unconditional.
15353         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
15355 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
15357         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
15359 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
15361         [BZ #17069]
15362         * posix/regcomp.c (parse_reg_exp): Deallocate partially
15363         constructed tree before returning error.
15364         * posix/bug-regexp36.c: Expand test case.
15366 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
15368         [BZ #6803]
15369         * math/libm-test.inc (scalbln_test_date):
15370         Add errno expectations.
15371         * math/w_scalblnf.c: New File.
15372         Add wrapper which checks for setting errno to ERANGE.
15373         Add weak_alias for corresponding scalbln function.
15374         * math/w_scalbln.c: Likewise.
15375         * math/w_scalblnl.c: Likewise.
15376         * math/Makefile (libm-calls): Add w_scalbln.
15377         * sysdeps/ieee754/flt-32/s_scalblnf.c:
15378         Remove weak_alias for corresponding scalbln function.
15379         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15380         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
15381         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15382         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15383         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
15384         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
15385         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
15386         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
15387         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
15388         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
15389         Remove long_double_symbol for scalblnl function in libm, libc.
15390         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
15391         Add wrapper which checks for setting errno to ERANGE.
15392         Add long_double_symbol for scalblnl function in libm, libc.
15393         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
15394         Remove long_double_symbol for scalblnl in libm.
15395         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
15396         Add wrapper which checks for setting errno to ERANGE.
15397         Add long_double_symbol for scalblnl function in libm.
15398         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
15399         Do not use wrapper because of own implementation.
15401 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
15403         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
15404         3 bytes for __pad1 for x32.
15405         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
15407 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
15408             H.J. Lu  <hongjiu.lu@intel.com>
15410         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
15411         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
15412         * sysdeps/x86_64/multiarch/memset.S: Likewise.
15413         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15414         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
15416 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
15418         [BZ #17069]
15419         * posix/regcomp.c (parse_expression): Deallocate partially
15420         constructed tree before returning error.
15421         * posix/Makefile.c (tests): Add bug-regex36.
15422         (generated): Add bug-regex36.mtrace.
15423         (tests-special): Add $(objpfx)bug-regex36-mem.out
15424         (bug-regex36-ENV): New variable.
15425         ($(objpfx)bug-regex36-mem.out): New rule.
15426         * posix/bug-regex36.c: New file.
15428 2014-06-19  Will Newton  <will.newton@linaro.org>
15430         * malloc/malloc.c (systrim): If extra is zero then return
15431         early.
15433 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15435         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
15437 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
15439         * sysdeps/aarch64/strchr.S: New file.
15441 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
15443         [BZ #17022]
15444         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
15445         from arguments -2 or below.
15446         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15447         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
15449 2014-06-18  Andreas Schwab  <schwab@suse.de>
15451         [BZ #17062]
15452         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
15453         of a bracket expr not to run off the end of the string.
15454         * posix/Makefile (tests): Add tst-fnmatch3.
15455         * posix/tst-fnmatch3.c: New file.
15457 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
15459         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
15460         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
15461         [$(cross-compiling) = no]: Likewise.
15462         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15463         [$(cross-compiling) = no]: Likewise.
15465 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15467         [BZ #17031]
15468         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
15469         double, adjusted for any remainder from the high double.
15470         * math/libm-test.inc (nearbyint): Add tests.
15471         (rint): Likewise.
15473 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15475         * nptl/sysdeps/powerpc/Makefile: Moved ...
15476         * sysdeps/powerpc/nptl/Makefile: ... here.
15477         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
15478         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
15479         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
15480         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
15481         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
15482         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
15483         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
15484         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
15485         * nptl/sysdeps/powerpc/tls.h: Moved ...
15486         * sysdeps/powerpc/nptl/tls.h: ... here.
15488 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
15490         [BZ #16681]
15491         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
15492         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
15493         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
15494         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
15495         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
15496         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
15497         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
15498         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
15499         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
15501 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
15503         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15505 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
15507         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
15508         defined operator.
15510         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
15511         $TIMEOUTFACTOR.
15513 2014-06-16  Florian Weimer  <fweimer@redhat.com>
15515         [BZ #17058]
15516         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
15517         non-executed part of the test.
15519 2014-06-16  Andreas Schwab  <schwab@suse.de>
15521         * string/bits/string2.h (strdup, strndup): Update feature guard.
15523 2014-06-14  David S. Miller  <davem@davemloft.net>
15525         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15527 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
15529         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
15530         that was previously under [RESET_PID].
15531         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
15533         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
15534         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
15535         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
15536         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15537         (__libc_vfork): New strong alias.
15538         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
15540 2014-06-14 Andi Kleen  <ak@linux.intel.com>
15542         * sysdeps/generic/elide.h: New file.
15544 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
15546         * Makefile (installed-headers): Adjust path of pthread.h header.
15548 2014-06-13  Roland McGrath  <roland@hack.frob.com>
15550         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
15551         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
15552         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
15553         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
15555         * nptl/sysdeps/s390/Makefile: Moved ...
15556         * sysdeps/s390/nptl/Makefile: ... here.
15557         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
15558         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
15559         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
15560         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
15561         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
15562         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
15563         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
15564         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
15565         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
15566         * sysdeps/s390/nptl/pthreaddef.h: ... here.
15567         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
15568         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
15569         * nptl/sysdeps/s390/tls.h: Moved ...
15570         * sysdeps/s390/nptl/tls.h: ... here.
15572         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
15573         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
15575 2014-06-13  David S. Miller  <davem@davemloft.net>
15577         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
15578         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
15579         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
15580         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
15581         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
15582         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
15583         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
15584         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
15585         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
15586         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
15587         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
15588         Remove RESET_PID cpp guards.
15589         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
15590         Remove RESET_PID cpp guards.
15591         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
15593 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
15595         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
15596         __sp to uintptr_t.
15598 2014-06-13  Andi Kleen  <ak@linux.intel.com>
15600         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
15601         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
15602         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
15603         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
15604         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
15605         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
15606         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
15607         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
15608         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
15609         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
15610         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
15611         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
15612         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
15613         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
15614         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
15615         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
15616         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
15617         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
15618         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
15619         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
15621         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
15622         (pthread_rwlock_rdlock): Add elision.
15623         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
15624         (pthread_rwlock_wrlock): Add elision.
15625         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
15626         (pthread_rwlock_trywrlock): Add elision.
15627         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
15628         (pthread_rwlock_tryrdlock): Add elision.
15629         * nptl/pthread_rwlock_unlock.c: Include elide.h.
15630         (pthread_rwlock_tryrdlock): Add elision unlock.
15631         * nptl/sysdeps/pthread/pthread.h:
15632         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
15633         (PTHREAD_RWLOCK_INITIALIZER,
15634         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
15635         Handle new elision field.
15636         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
15637         * sysdeps/arm/nptl/bits/pthreadtypes.h
15638         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15639         * sysdeps/sh/nptl/bits/pthreadtypes.h
15640         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15641         * sysdeps/tile/nptl/bits/pthreadtypes.h
15642         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15643         * sysdeps/a/nptl/bits/pthreadtypes.h
15644         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15645         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
15646         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15647         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
15648         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15649         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
15650         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15651         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
15652         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15653         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
15654         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15655         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
15656         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15657         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
15658         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15659         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
15660         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15661         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
15662         (elision_init): Set try_xbegin to zero when no RTM.
15663         * sysdeps/x86/nptl/bits/pthreadtypes.h
15664         (pthread_rwlock_t): Change __pad1 to __rwelision.
15665         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15667 2014-06-13  Andi Kleen  <ak@linux.intel.com>
15669         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
15670         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
15671         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
15672         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
15674 2014-06-13  Meador Inge  <meadori@codesourcery.com>
15676         [BZ #16996]
15677         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
15678         that the cached result has been set before returning it.
15680 2014-06-12  Roland McGrath  <roland@hack.frob.com>
15682         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
15683         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
15684         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
15685         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
15686         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
15687         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
15689         * nptl/sysdeps/sparc/Makefile: Moved ...
15690         * sysdeps/sparc/nptl/Makefile: ... here.
15691         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
15692         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
15693         * nptl/sysdeps/sparc/tls.h: Moved ...
15694         * sysdeps/sparc/nptl/tls.h: ... here.
15695         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
15696         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
15697         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
15698         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
15699         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
15700         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
15701         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
15702         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
15703         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
15704         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
15705         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
15706         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
15707         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
15708         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
15709         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
15710         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
15711         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
15712         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
15713         Update #include.
15714         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
15715         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
15716         Update #include.
15717         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
15718         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
15719         Update #include.
15720         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
15721         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
15722         Update #include.
15724         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
15726         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
15727         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
15729         * sysdeps/pthread/posix-timer.h: Include <list.h>.
15730         (struct list_links): Type removed.
15731         (struct thread_node, struct timer_node): Replace struct list_links
15732         with struct list_head.
15733         (list_unlink_ip): Likewise.
15734         * sysdeps/pthread/timer_routines.c
15735         (timer_free_list, thread_free_list, thread_active_list): Likewise.
15736         (list_append, list_insbefore): Likewise.
15737         (list_init): Function removed.
15738         (thread_init, init_module): Use INIT_LIST_HEAD instead.
15739         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
15740         * sysdeps/pthread/Makefile: ... here, new file.
15742         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
15743         * sysdeps/nptl/Implies: ... here.
15744         * sysdeps/unix/sysv/linux/Implies: Add nptl.
15745         * nptl/sysdeps/pthread/list.h: Moved ...
15746         * include/list.h: ... here.
15747         * nptl/sysdeps/pthread/createthread.c: Moved ...
15748         * nptl/createthread.c: ... here.
15749         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
15750         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
15751         * nptl/pt-longjmp.c: ... here.
15752         * nptl/sysdeps/pthread/Makefile: Moved ...
15753         * sysdeps/nptl/Makefile: ... here.
15754         * nptl/sysdeps/pthread/Subdirs: Moved ...
15755         * sysdeps/nptl/Subdirs: ... here.
15756         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
15757         * sysdeps/nptl/aio_misc.h: ... here.
15758         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
15759         * sysdeps/nptl/bits/libc-lock.h: ... here.
15760         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
15761         * sysdeps/nptl/bits/libc-lockP.h: ... here.
15762         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
15763         * sysdeps/nptl/bits/stdio-lock.h: ... here.
15764         * nptl/sysdeps/pthread/configure: Moved ...
15765         * sysdeps/nptl/configure: ... here.
15766         * nptl/sysdeps/pthread/configure.ac: Moved ...
15767         * sysdeps/nptl/configure.ac: ... here.
15768         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
15769         * sysdeps/nptl/gai_misc.h: ... here.
15770         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
15771         * sysdeps/nptl/librt-cancellation.c: ... here.
15772         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
15773         * sysdeps/nptl/malloc-machine.h: ... here.
15774         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
15775         * sysdeps/nptl/pthread-functions.h: ... here.
15776         * nptl/sysdeps/pthread/pthread.h: Moved ...
15777         * sysdeps/nptl/pthread.h: ... here.
15778         * nptl/sysdeps/pthread/setxid.h: Moved ...
15779         * sysdeps/nptl/setxid.h: ... here.
15780         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
15781         * sysdeps/nptl/sigfillset.c: ... here.
15782         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
15783         * sysdeps/nptl/tcb-offsets.h: ... here.
15784         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
15785         * sysdeps/nptl/tst-mqueue8x.c: ... here.
15786         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
15787         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
15788         * nptl/sysdeps/pthread/allocalim.h: Moved ...
15789         * sysdeps/pthread/allocalim.h: ... here.
15790         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
15791         * sysdeps/pthread/bits/sigthread.h: ... here.
15792         * nptl/sysdeps/pthread/flockfile.c: Moved ...
15793         * sysdeps/pthread/flockfile.c: ... here.
15794         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
15795         * sysdeps/pthread/ftrylockfile.c: ... here.
15796         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
15797         * sysdeps/pthread/funlockfile.c: ... here.
15798         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
15799         * sysdeps/pthread/posix-timer.h: ... here.
15800         * nptl/sysdeps/pthread/timer_create.c: Moved ...
15801         * sysdeps/pthread/timer_create.c: ... here.
15802         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
15803         * sysdeps/pthread/timer_delete.c: ... here.
15804         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
15805         * sysdeps/pthread/timer_getoverr.c: ... here.
15806         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
15807         * sysdeps/pthread/timer_gettime.c: ... here.
15808         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
15809         * sysdeps/pthread/timer_routines.c: ... here.
15810         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
15811         * sysdeps/pthread/timer_settime.c: ... here.
15812         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
15813         * sysdeps/pthread/tst-timer.c: ... here.
15814         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
15815         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
15817         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
15818         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
15820         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
15821         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
15822         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
15823         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
15824         Update #include target.
15825         * nptl/sysdeps/i386/i686/Makefile: Moved ...
15826         * sysdeps/i386/i686/nptl/Makefile: ... here.
15827         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
15828         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
15829         Update #include target.
15830         * nptl/sysdeps/i386/i686/tls.h: Moved ...
15831         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
15832         * nptl/sysdeps/i386/Makefile: Moved ...
15833         * sysdeps/i386/nptl/Makefile: ... here.
15834         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
15835         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
15836         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
15837         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
15838         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
15839         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
15840         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
15841         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
15842         * sysdeps/i386/nptl/pthreaddef.h: ... here.
15843         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
15844         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
15845         * nptl/sysdeps/i386/tls.h: Moved ...
15846         * sysdeps/i386/nptl/tls.h: ... here.
15848         * sysdeps/sh/Makefile [$(subdir) = csu]
15849         (gen-as-const-headers): Add tcb-offsets.sym.
15850         * nptl/sysdeps/sh/Makefile: File removed.
15851         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
15852         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
15853         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
15854         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
15855         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
15856         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
15857         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
15858         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
15859         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
15860         * sysdeps/sh/nptl/pthreaddef.h: ... here.
15861         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
15862         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
15863         * nptl/sysdeps/sh/tls.h: Moved ...
15864         * sysdeps/sh/nptl/tls.h: ... here.
15865         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
15866         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
15867         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
15868         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
15869         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
15870         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
15871         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
15872         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
15873         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
15874         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
15875         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
15876         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
15877         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
15878         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
15879         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
15880         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
15881         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
15882         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
15883         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
15884         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
15885         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
15886         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
15887         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
15888         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
15889         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
15890         Moved ...
15891         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
15892         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
15893         Moved ...
15894         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
15895         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
15896         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
15897         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
15898         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
15899         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
15900         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
15901         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
15902         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
15903         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
15904         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
15905         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
15906         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
15907         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
15908         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
15909         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
15910         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
15911         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
15912         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
15914 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
15916         * posix/spawn_faction_addopen.c: Include string.h.
15918 2014-06-11  Roland McGrath  <roland@hack.frob.com>
15920         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
15921         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
15922         * nptl/sysdeps/x86_64/Makefile: Moved ...
15923         * sysdeps/x86_64/nptl/Makefile: ... here.
15924         * nptl/sysdeps/x86_64/configure: Moved ...
15925         * sysdeps/x86_64/nptl/configure: ... here.
15926         * nptl/sysdeps/x86_64/configure.ac: Moved ...
15927         * sysdeps/x86_64/nptl/configure.ac: ... here.
15928         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
15929         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
15930         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
15931         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
15932         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
15933         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
15934         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
15935         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
15936         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
15937         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
15938         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
15939         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
15940         * nptl/sysdeps/x86_64/tls.h: Moved ...
15941         * sysdeps/x86_64/nptl/tls.h: ... here.
15942         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
15943         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
15944         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
15945         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
15947         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
15949 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15951         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15953 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
15955         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
15956         type.
15957         [POSIX] (off_t): Likewise.
15958         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
15959         [POSIX] (S_ISBLK): Require macro.
15960         [POSIX] (S_ISCHR): Likewise.
15961         [POSIX] (S_ISDIR): Likewise.
15962         [POSIX] (S_ISFIFO): Likewise.
15963         [POSIX] (S_ISREG): Likewise.
15964         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
15965         optional-macro.
15966         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
15967         type.
15968         [POSIX] (time_t): Likewise.
15969         [POSIX] (timer_t): Likewise.
15971 2014-06-11  Florian Weimer  <fweimer@redhat.com>
15973         [BZ #17048]
15974         * posix/spawn_int.h (struct __spawn_action): Make the path string
15975         non-const to support deallocation.
15976         * posix/spawn_faction_addopen.c
15977         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
15978         * posix/spawn_faction_destroy.c
15979         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
15980         path in all spawn_do_open actions.
15981         * posix/tst-spawn.c (do_test): Exercise the copy operation in
15982         posix_spawn_file_actions_addopen.
15984 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
15986         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
15987         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
15988         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
15989         conditional code always true.
15990         (__libc_vfork): New alias.
15992 2014-06-11  Roland McGrath  <roland@hack.frob.com>
15994         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15995         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
15997         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
15999         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16000         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
16002         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
16003         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
16005         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16006         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
16008 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
16010         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
16011         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
16012         multiarch strcmp for PPC64.
16013         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
16014         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
16015         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
16016         multiarch optimizations.
16017         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16018         (__libc_ifunc_impl_list): Likewise.
16020 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16022         * benchtests/scripts/validate_benchout.py: New script.
16023         * benchtests/Makefile (bench-func): Call it.
16024         * benchtests/scripts/benchout.schema.json: New file.
16026 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
16028         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
16029         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
16030         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
16031         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
16032         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
16033         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
16034         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
16035         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
16036         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
16037         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
16038         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
16039         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
16040         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
16041         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
16042         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
16043         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
16044         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
16045         Moved ...
16046         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
16047         ... here.
16048         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
16049         Moved ...
16050         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
16051         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
16052         Moved ...
16053         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
16054         ... here.
16055         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
16056         Moved ...
16057         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
16058         ... here.
16059         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
16060         Moved ...
16061         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
16062         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
16063         Moved ...
16064         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
16065         ... here.
16066         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
16067         Moved ...
16068         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
16069         ... here.
16070         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
16071         Moved ...
16072         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
16073         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
16074         Moved ...
16075         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
16076         ... here.
16077         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
16078         Moved ...
16079         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
16080         ... here.
16081         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
16082         Moved ...
16083         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
16084         ... here.
16085         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
16086         Moved ...
16087         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
16088         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
16089         Moved ...
16090         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
16091         ... here.
16092         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
16093         Moved ...
16094         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
16095         ... here.
16096         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
16097         Moved ...
16098         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
16099         ... here.
16100         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
16101         Moved ...
16102         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
16103         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
16104         Moved ...
16105         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
16106         ... here.
16107         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
16108         Moved ...
16109         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
16110         ... here.
16111         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
16112         Moved ...
16113         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
16114         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
16115         Moved ...
16116         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
16117         ... here.
16118         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
16119         Moved ...
16120         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
16121         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
16122         Moved ...
16123         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
16124         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
16125         Moved ...
16126         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
16127         ... here.
16128         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
16129         Moved ...
16130         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
16131         ... here.
16132         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
16133         Moved ...
16134         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
16135         ... here.
16136         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
16137         Moved ...
16138         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
16139         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
16140         Moved ...
16141         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
16142         ... here.
16143         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
16144         Moved ...
16145         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
16146         ... here.
16147         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
16148         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
16149         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
16150         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
16151         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
16152         Moved ...
16153         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
16154         ... here.
16155         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
16156         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
16157         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
16158         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
16159         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
16160         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
16161         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
16162         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
16163         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
16164         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
16165         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
16166         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
16167         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
16168         Moved ...
16169         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
16170         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
16171         Moved ...
16172         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
16173         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
16174         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
16175         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
16176         Moved ...
16177         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
16178         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
16179         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
16180         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
16181         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
16182         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
16183         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
16185 2014-06-10  Wilco  <wdijkstr@arm.com>
16187         * math/test-fenv-return.c: New file.
16188         * math/Makefile: Add new test test-fenv-return.
16190 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
16192         [BZ #17042]
16193         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
16194         when x - 1 is zero.
16195         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
16196         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
16197         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
16198         0.0L for an argument of 1.0L.
16199         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
16200         Likewise.
16201         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
16202         value when x - 1 is zero.
16203         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
16204         * sysdeps/i386/fpu/libm-test-ulps: Update.
16205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16207 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
16209         [BZ #15119]
16210         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
16212 2014-06-09  Roland McGrath  <roland@hack.frob.com>
16214         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
16215         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
16217 2014-06-09  Roland McGrath  <roland@hack.frob.com>
16219         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16220         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
16222         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16223         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
16225         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16226         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
16228         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16229         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
16231         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
16232         if not already defined.
16233         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
16234         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
16235         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
16236         (TLS_INIT_TP): Use it.
16237         (TLS_DEFINE_INIT_TP): New macro.
16238         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
16240 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
16242         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
16243         constant.
16244         [POSIX] (IXANY): Likewise.
16245         [POSIX] (OLCUC): Likewise.
16246         [POSIX || POSIX2008] (CBAUD): Do not allow.
16247         [POSIX || POSIX2008] (DEFECHO): Likewise.
16248         [POSIX || POSIX2008] (ECHOCTL): Likewise.
16249         [POSIX || POSIX2008] (ECHOKE): Likewise.
16250         [POSIX || POSIX2008] (ECHOPRT): Likewise.
16251         [POSIX || POSIX2008] (EXTA): Likewise.
16252         [POSIX || POSIX2008] (EXTB): Likewise.
16253         [POSIX || POSIX2008] (FLUSHO): Likewise.
16254         [POSIX || POSIX2008] (LOBLK): Likewise.
16255         [POSIX || POSIX2008] (PENDIN): Likewise.
16256         [POSIX || POSIX2008] (SWTCH): Likewise.
16257         [POSIX || POSIX2008] (VDISCARD): Likewise.
16258         [POSIX || POSIX2008] (VDSUSP): Likewise.
16259         [POSIX || POSIX2008] (VLNEXT): Likewise.
16260         [POSIX || POSIX2008] (VREPRINT): Likewise.
16261         [POSIX || POSIX2008] (VSTATUS): Likewise.
16262         [POSIX || POSIX2008] (VWERASE): Likewise.
16263         (B*): Change to B[0123456789]*.
16264         * conform/data/time.h-data [POSIX || UNIX98]
16265         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
16266         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16267         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
16268         [POSIX] (tm_*): Do not allow.
16270 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
16272         * Makefile (install): Don't set LANGUAGE.
16273         * Makefile.in (install): Likewise.
16274         * assert/Makefile (test-assert-ENV): Remove variable.
16275         (test-assert-perr-ENV): Likewise.
16276         * elf/Makefile (neededtest4-ENV): Likewise.
16277         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16278         [$(cross-compiling) = no]: Don't set LANGUAGE.
16279         * io/ftwtest-sh (LANG): Remove variable.
16280         * libio/Makefile (tst-widetext-ENV): Likewise.
16281         * manual/install.texi (Running make install): Don't refer to
16282         environment settings for make install.
16283         * INSTALL: Regenerated.
16284         * nptl/tst-tls6.sh: Don't set LANG.
16285         * posix/globtest.sh (LANG): Remove variable.
16286         * string/Makefile (tester-ENV): Likewise.
16287         (inl-tester-ENV): Likewise.
16288         (noinl-tester-ENV): Likewise.
16289         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16290         [$(cross-compiling) = no]: Don't set LANGUAGE.
16291         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
16292         without explicit environment settings.
16294 2014-06-06  Roland McGrath  <roland@hack.frob.com>
16296         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
16297         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
16298         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
16299         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
16301 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
16303         * crypt/crypt-private.h [DOS]: Add some includes taken from the
16304         other files in the crypt directory.
16305         * crypt/crypt.c: Remove duplicate includes.
16306         * crypt/crypt-entry.c: Likewise.
16307         * crypt/crypt_util.c: Likewise.
16309 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
16311         * Makeconfig (run-program-env): New variable.
16312         (run-program-prefix-before-env): Likewise.
16313         (run-program-prefix-after-env): Likewise.
16314         (run-program-prefix): Define in terms of new variables.
16315         (built-program-cmd-before-env): New variable.
16316         (built-program-cmd-after-env): Likewise.
16317         (built-program-cmd): Define in terms of new variables.
16318         (test-program-prefix-before-env): New variable.
16319         (test-program-prefix-after-env): Likewise.
16320         (test-program-prefix): Define in terms of new variables.
16321         (test-program-cmd-before-env): New variable.
16322         (test-program-cmd-after-env): Likewise.
16323         (test-program-cmd): Define in terms of new variables.
16324         * Rules (make-test-out): Use $(run-program-env).
16325         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
16326         (help): Do not mention environment variables.  Mention
16327         --timeoutfactor option.
16328         (timeoutfactor): New variable.
16329         (blacklist_exports): Remove function.
16330         (exports): Remove variable.
16331         (command): Do not include ${exports}.
16332         * manual/install.texi (Configuring and compiling): Do not mention
16333         test wrappers preserving environment variables.  Mention that last
16334         assignment to a variable must take precedence.
16335         * INSTALL: Regenerated.
16336         * benchtests/Makefile (run-bench): Use $(run-program-env).
16337         * catgets/Makefile ($(objpfx)test1.cat): Use
16338         $(built-program-cmd-before-env), $(run-program-env) and
16339         $(built-program-cmd-after-env).
16340         ($(objpfx)test2.cat): Do not specify environment variables
16341         explicitly.
16342         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
16343         $(run-program-env) and $(built-program-cmd-after-env).
16344         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
16345         $(run-program-env) and $(test-program-cmd-after-env).
16346         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
16347         explicitly.
16348         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
16349         run_program_env and test_program_cmd_after_env arguments.
16350         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
16351         * elf/tst-pathopt.sh: Use run_program_env argument.
16352         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
16353         $(test-wrapper-env) and $(run-program-env).
16354         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
16355         run_program_env arguments.
16356         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
16357         * intl/Makefile ($(objpfx)tst-gettext.out): Use
16358         $(test-program-prefix-before-env), $(run-program-env) and
16359         $(test-program-prefix-after-env).
16360         ($(objpfx)tst-gettext2.out): Likewise.
16361         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
16362         run_program_env and test_program_prefix_after_env arguments.
16363         * intl/tst-gettext2.sh: Likewise.
16364         * intl/tst-gettext4.sh: Do not set environment variables
16365         explicitly.
16366         * intl/tst-gettext6.sh: Likewise.
16367         * intl/tst-translit.sh: Likewise.
16368         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
16369         $(test-program-prefix-before-env), $(run-program-env) and
16370         $(test-program-prefix-after-env).
16371         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
16372         run_program_env and test_program_prefix_after_env arguments.
16373         * math/Makefile (run-regen-ulps): Use $(run-program-env).
16374         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
16375         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
16376         explicitly with each use of ${test_wrapper_env}.
16377         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
16378         $(test-program-prefix-before-env), $(run-program-env) and
16379         $(test-program-prefix-after-env).
16380         * posix/tst-getconf.sh: Do not set environment variables
16381         explicitly.
16382         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
16383         run_program_env and test_program_prefix_after_env arguments.
16384         * stdio-common/tst-printf.sh: Do not set environment variables
16385         explicitly.
16386         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
16387         $(test-program-prefix-before-env), $(run-program-env) and
16388         $(test-program-prefix-after-env).
16389         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
16390         run_program_env and test_program_prefix_after_env arguments.
16391         Split $test calls into $test_pre and $test.
16392         * timezone/Makefile (build-testdata): Use
16393         $(built-program-cmd-before-env), $(run-program-env) and
16394         $(built-program-cmd-after-env).
16396 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16398         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
16399         strlen for non SHARED builds.
16401 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16403         * nptl/allocatestack.c (check_list): Inlined function...
16404         (__reclaim_stacks): ... here.
16406 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
16408         [BZ #15698]
16409         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
16410         memory overrun.
16412 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
16414         * Rules (make-test-out): Include
16415         LOCPATH=$(common-objpfx)localedata in default environment.
16416         * debug/Makefile (tst-chk1-ENV): Remove variable.
16417         (tst-chk2-ENV): Likewise.
16418         (tst-chk3-ENV): Likewise.
16419         (tst-chk4-ENV): Likewise.
16420         (tst-chk5-ENV): Likewise.
16421         (tst-chk6-ENV): Likewise.
16422         (tst-lfschk1-ENV): Likewise.
16423         (tst-lfschk2-ENV): Likewise.
16424         (tst-lfschk3-ENV): Likewise.
16425         (tst-lfschk4-ENV): Likewise.
16426         (tst-lfschk5-ENV): Likewise.
16427         (tst-lfschk6-ENV): Likewise.
16428         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
16429         (tst-iconv7-ENV): Likewise.
16430         * intl/Makefile (LOCPATH-ENV): Likewise.
16431         (tst-codeset-ENV): Likewise.
16432         (tst-gettext3-ENV): Likewise.
16433         (tst-gettext5-ENV): Likewise.
16434         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
16435         (tst-fopenloc-ENV): Likewise.
16436         (tst-fgetws-ENV): Remove variable.
16437         (tst-ungetwc1-ENV): Likewise.
16438         (tst-ungetwc2-ENV): Likewise.
16439         (bug-ungetwc2-ENV): Likewise.
16440         (tst-swscanf-ENV): Likewise.
16441         (bug-ftell-ENV): Likewise.
16442         (tst-fgetwc-ENV): Likewise.
16443         (tst-fseek-ENV): Likewise.
16444         (tst-ftell-partial-wide-ENV): Likewise.
16445         (tst-ftell-active-handler-ENV): Likewise.
16446         (tst-ftell-append-ENV): Likewise.
16447         * posix/Makefile (tst-fnmatch-ENV): Likewise.
16448         (tst-regexloc-ENV): Likewise.
16449         (bug-regex1-ENV): Likewise.
16450         (tst-regex-ENV): Likewise.
16451         (tst-regex2-ENV): Likewise.
16452         (bug-regex5-ENV): Likewise.
16453         (bug-regex6-ENV): Likewise.
16454         (bug-regex17-ENV): Likewise.
16455         (bug-regex18-ENV): Likewise.
16456         (bug-regex19-ENV): Likewise.
16457         (bug-regex20-ENV): Likewise.
16458         (bug-regex22-ENV): Likewise.
16459         (bug-regex23-ENV): Likewise.
16460         (bug-regex25-ENV): Likewise.
16461         (bug-regex26-ENV): Likewise.
16462         (bug-regex30-ENV): Likewise.
16463         (bug-regex32-ENV): Likewise.
16464         (bug-regex33-ENV): Likewise.
16465         (bug-regex34-ENV): Likewise.
16466         (bug-regex35-ENV): Likewise.
16467         (tst-rxspencer-ENV): Likewise.
16468         (tst-rxspencer-no-utf8-ENV): Likewise.
16469         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
16470         (tst-sscanf-ENV): Likewise.
16471         (tst-swprintf-ENV): Likewise.
16472         (tst-swscanf-ENV): Likewise.
16473         (test-vfprintf-ENV): Likewise.
16474         (scanf13-ENV): Likewise.
16475         (bug14-ENV): Likewise.
16476         (tst-grouping-ENV): Likewise.
16477         * stdlib/Makefile (tst-strtod-ENV): Likewise.
16478         (tst-strtod3-ENV): Likewise.
16479         (tst-strtod4-ENV): Likewise.
16480         (tst-strtod5-ENV): Likewise.
16481         (testmb2-ENV): Likewise./
16482         * string/Makefile (tst-strxfrm-ENV): Likewise.
16483         (tst-strxfrm2-ENV): Likewise.
16484         (bug-strcoll1-ENV): Likewise.
16485         (test-strcasecmp-ENV): Likewise.
16486         (test-strncasecmp-ENV): Likewise.
16487         * time/Makefile (tst-strptime-ENV): Likewise.
16488         (tst-ftime_l-ENV): Likewise.
16489         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
16490         (tst-mbrtowc-ENV): Likewise.
16491         (tst-wcrtomb-ENV): Likewise.
16492         (tst-mbrtowc2-ENV): Likewise.
16493         (tst-c16c32-1-ENV): Likewise.
16494         (tst-mbsnrtowcs-ENV): Likewise.
16496 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
16498         * manual/resource.texi (How to get information about the memory
16499         subsystem?): Fix typo.
16500         Reported by Peon de la Parra Ivan <peon@keba.com>
16502 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
16504         [BZ #16882]
16505         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
16506         (pthread_spin_lock): Branch out of spin loop to proper location.
16507         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
16508         (pthread_spin_lock): Likewise.
16510         * nptl/tst-spin4.c: New test.
16511         * nptl/Makefile (tests): Add tst-spin4.
16513 2014-06-03  Andreas Schwab  <schwab@suse.de>
16515         [BZ #15946]
16516         * resolv/res_send.c (send_dg): Reload file descriptor after
16517         calling reopen.
16519 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
16521         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16523 2014-06-03  Richard Henderson  <rth@redhat.com>
16525         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
16526         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
16527         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
16528         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
16529         in the SAVE_PID block.
16530         (__libc_vfork): New alias.
16531         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
16533         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
16534         child in registers, not on the stack.  Remove RESET_PID conditionals.
16535         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
16537 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
16539         * sysdeps/aarch64/libm-test-ulps: Regenerate.
16541 2014-06-03  Wilco  <wdijkstr@arm.com>
16543         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
16544         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
16545         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
16546         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
16547         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
16548         Likewise.
16550 2014-06-03  Wilco  <wdijkstr@arm.com>
16552         * sysdeps/aarch64/fpu/math_private.h
16553         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
16554         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
16555         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
16556         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
16557         Fix declarations.
16559 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
16561         * crypt/crypt-private.h: Include ufc-crypt.h.
16562         (__b64_from_24bit): Declare extern.
16563         * crypt/crypt_util.c(__b64_from_24bit): New function.
16564         (b64t): New static const variable.
16565         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
16566         (b64t): Remove variable.
16567         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
16568         * crypt/sha256-crypt.c: Include crypt-private.h.
16569         (b64t): Remove variable.
16570         (__sha256_crypt_r): Remove b64_from_24bit and replace
16571         with __b64_from_24bit.
16572         * crypt/sha512-crypt.c: Likewise.
16574 2014-06-02  Roland McGrath  <roland@hack.frob.com>
16576         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
16577         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
16578         Label the code __libc_vfork rather than __vfork.
16579         [!NOT_IN_libc] (vfork): Define as weak alias.
16580         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
16581         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
16582         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
16584 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16586         * malloc/malloc.c (malloc_info): Fix format specifier for
16587         n_mmaps.
16589 2014-06-02  Wilco  <wdijkstr@arm.com>
16591         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
16592         FPCR write.
16594 2014-06-02  Wilco  <wdijkstr@arm.com>
16596         [BZ #17009]
16597         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
16598         Rewrite to reduce FPCR/FPSR accesses.
16600 2014-06-01  David S. Miller  <davem@davemloft.net>
16602         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16604 2014-05-31  David S. Miller  <davem@davemloft.net>
16606         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
16607         to occur in round to nearest mode when |x| >= 2.0
16609 2014-05-30  Richard Henderson  <rth@twiddle.net>
16611         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
16612         (PSEUDO_RET_NOERRNO): Remove.
16613         (ret): Don't redefine.
16614         (ret_NOERRNO): Define in terms of ret.
16615         (ret_ERRVAL): Likewise.
16617         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
16618         use of PSEUDO_RET; perform the error check directly.
16620 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
16622         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
16623         with __int128_t.
16625 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16627         * malloc/malloc (malloc_info): Fix formatting.
16629 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16630             Roland McGrath  <roland@hack.frob.com>
16632         * malloc/malloc (malloc_info): Also print mmapped statistics.
16634 2014-05-30  Roland McGrath  <roland@hack.frob.com>
16636         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
16637         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
16639 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
16641         * malloc/malloc.c (malloc_info): Inline mi_arena.
16643 2014-05-29  Richard Henderson  <rth@twiddle.net>
16645         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
16646         Remove comma before expanding ASM_ARGS_##nr.
16647         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
16648         Make _x0 a strict output; make _x8 a strict input; adjust expansion
16649         of ASM_ARGS_##nr.
16650         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
16651         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
16652         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
16653         (ASM_ARGS_1): Add leading comma.
16655         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
16656         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
16657         to __errno_location.
16658         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
16659         Remove the expected plt for __errno_location.
16661         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16662         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
16663         call to __read_tp.
16665         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16666         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
16667         it and break it down.
16668         (DOCARGS_0, DOCARGS_1): Do nothing.
16669         (DOCARGS_2): Update to store into the new stack frame.
16670         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
16671         (UNDOCARGS_1): Update to restore from the new stack frame.
16672         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
16673         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
16675         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16676         (SINGLE_THREAD_P): New parameter for result regno.
16677         (PSEUDO): Update to match; use cbz instead of beq.
16679         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16680         Use ENTRY to define the _nocancel entry point.  Share the syscall
16681         and syscall error check paths with the cancel path.
16682         (PSEUDO_END): New.
16684         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
16685         whitespace; tabs before and after asm mnemonics.
16687 2014-05-29  Eric Wong  <normalperson@yhbt.net>
16689         [BZ #15132]
16690         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16691         Call fstat64 or stat64 internally, depending on arguments passed.
16692         Replace stat buffer argument with file descriptor argument.
16693         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
16694         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
16695         Pass fd to __internal_statvfs instead of calling fstat64.
16696         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
16697         Pass fd to __internal_statvfs64 instead of calling fstat64.
16698         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
16699         Pass -1 to __internal_statvfs instead of calling stat64.
16700         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
16701         Pass -1 to __internal_statvfs64 instead of calling stat64.
16703 2014-05-28  Roland McGrath  <roland@hack.frob.com>
16705         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
16706         that was previously under [RESET_PID].
16707         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
16709         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
16710         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
16712 2014-05-27  Roland McGrath  <roland@hack.frob.com>
16714         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
16716         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
16717         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
16719 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
16721         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
16723 2014-05-27  Andreas Schwab  <schwab@suse.de>
16725         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
16726         TLS_INIT_TP macro.
16727         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
16728         * elf/rtld.c (init_tls, dl_main): Likewise.
16729         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
16730         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
16731         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
16732         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
16733         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
16734         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
16735         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
16736         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
16737         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
16738         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
16739         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
16740         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
16741         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
16742         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
16743         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
16744         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
16745         * sysdeps/generic/tls.h: Update description.
16747 2014-05-27  Will Newton  <will.newton@linaro.org>
16749         [BZ #16990]
16750         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
16751         and restore r2 rather than just restoring.
16753 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16755         [BZ #16724]
16756         * libio/tst-ftell-append.c: New test case.
16757         * libio/Makefile (tests): Add test case.
16758         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
16759         append mode.
16760         * libio/wfileops.c (do_ftell_wide): Likewise.
16762 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16764         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16766         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
16767         ...
16768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
16769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16770         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
16771         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
16772         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
16773         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
16774         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
16775         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
16776         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
16777         Moved ...
16778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
16779         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
16780         Moved ...
16781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
16782         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
16783         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
16784         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
16785         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
16786         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
16787         ...
16788         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
16789         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
16790         Moved ...
16791         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
16792         here.
16793         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
16794         ...
16795         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
16796         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
16797         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
16799         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
16800         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
16801         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
16802         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
16804         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
16805         merge into ...
16806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
16807         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
16808         ...
16809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
16810         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
16811         ...
16812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
16813         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
16814         Moved ...
16815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
16816         here.
16817         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
16818         Moved ...
16819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
16820         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
16821         Moved ...
16822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
16824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
16825         conditional [RESET_PID].
16826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
16827         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
16828         removed.
16829         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
16830         removed.
16832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
16833         <tcb-offsets.h>.
16834         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16835         (__libc_vfork): New strong alias.
16836         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
16837         removed.
16838         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
16839         Removed.
16841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
16842         <tcb-offsets.h>.
16843         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
16844         (__libc_vfork): New strong alias.
16845         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
16846         removed.
16847         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
16848         removed.
16850 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
16852         * malloc/malloc.c (mi_arena): New function.
16853         (malloc_info): Remove nested function mi_arena. Call non-nosted
16854         function mi_arena.
16856 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16858         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
16859         by insrwi.
16860         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
16861         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
16862         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
16863         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
16864         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
16865         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
16866         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
16868 2014-05-26  Andreas Schwab  <schwab@suse.de>
16870         [BZ #16984]
16871         * locale/programs/repertoire.c (repertoire_read): Add slash
16872         between I18NPATH element and file name.
16873         * locale/programs/locfile.c (locfile_read): Likewise.
16875 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
16877         * nptl/pthread_mutexattr_settype.c
16878         (__pthread_mutexattr_settype):
16879         Disable lock elision for PTHREAD_MUTEX_NORMAL.
16881 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
16883         * nptl/tst-mutex5 (do_test):
16884         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
16886 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16888         * benchtests/README: Document 'init' directive.
16889         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
16890         BENCH_INIT.
16891         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
16892         (parse_file): Recognize 'init' directive.
16894 2014-05-26  Kyle McMartin  <kyle@redhat.com>
16896         [BZ #16796]
16897         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
16898         alignment of struct pthread.
16900 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16902         [BZ #16878]
16903         * nscd/netgroupcache.c (addgetnetgrentX): Look for
16904         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
16905         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
16906         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
16908 2014-05-25  Richard Henderson  <rth@twiddle.net>
16910         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16911         (SINGLE_THREAD_P_PIC): Remove.
16912         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
16913         (SINGLE_THREAD_P_PIC): Remove.
16915         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
16916         branch to syscall error ...
16917         (PSEUDO): ... here.
16918         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
16919         from __local_syscall_error to .Lsyscall_error.
16920         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
16921         (SYSCALL_ERROR): Update label name.
16923         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16924         Do not use DOARGS/UNDOARGS.
16925         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
16926         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
16927         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
16928         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
16929         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
16931         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
16932         block comment.
16934         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
16935         define if !NOT_IN_libc.
16936         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
16937         define with non-default symbol versions.
16939 2014-05-23  Richard Henderson  <rth@twiddle.net>
16941         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
16942         (vfork, __vfork): Define via compat_symbol.
16944         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
16945         [!HAVE_IFUNC] (vfork_compat): Remove.
16946         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
16948 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
16950         [BZ #16978]
16951         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
16952         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
16953         variable.
16955 2014-05-23  Richard Henderson  <rth@twiddle.net>
16957         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
16958         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
16959         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
16960         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
16962         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
16963         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
16964         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
16965         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
16966         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
16967         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
16968         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
16969         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
16970         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
16971         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
16972         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
16973         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
16974         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
16975         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
16976         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
16977         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
16978         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
16979         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
16980         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
16981         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
16982         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
16983         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
16984         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
16985         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
16986         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
16987         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
16988         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
16989         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
16990         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
16991         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
16992         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
16993         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
16994         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
16995         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
16996         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
16997         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
16998         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
16999         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
17000         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
17001         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
17002         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
17003         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
17004         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
17005         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
17006         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
17007         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
17008         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
17009         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
17010         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
17011         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
17012         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
17013         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
17014         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
17015         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
17016         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
17017         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
17019         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
17020         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
17021         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
17022         before exiting on error.
17023         (__libc_vfork): New strong alias.
17024         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
17025         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
17027         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
17028         that was previously under [RESET_PID].
17029         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
17031         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
17033 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
17035         [BZ #16977]
17036         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
17037         value when x - 1 is zero.
17038         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
17039         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
17040         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
17041         0.0L for an argument of 1.0L.
17042         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
17043         Likewise.
17044         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
17045         value when x - 1 is zero.
17046         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
17047         * sysdeps/i386/fpu/libm-test-ulps: Update.
17048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17050 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
17052         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
17053         alphasort and versionsort.
17055 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17057         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
17058         macro.
17059         [copysignf]: Likewise.
17061 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
17063         * crypt/md5-crypt.c: Fix formatting.
17065 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
17067         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
17068         (b64_from_24bit): New function.
17070 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17072         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
17073         libc_hidden_builtin_def to ifunc.
17074         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
17075         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
17077 2014-05-21  Roland McGrath  <roland@hack.frob.com>
17079         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
17080         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
17082 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
17084         * nscd/Depend (linuxthreads): Remove.
17085         (nptl): Add.
17086         * resolv/Depend (linuxthreads): Remove.
17087         * rt/Depend (linuxthreads): Remove.
17089         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
17090         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
17091         $(common-objpfx)elf/.
17092         (link-libc-before-gnulib): Likewise.
17093         (elfobjdir): Remove variable.
17094         * Makefile (install): Use $(elf-objpfx) instead of
17095         $(common-objpfx)elf/.
17096         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
17097         $(elfobjdir)/.
17098         (link-libc-deps): Likewise.
17099         ($(common-objpfx)libc.so): Likewise.
17100         ($(common-objpfx)linkobj/libc.so): Likewise.
17101         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
17102         instead of $(common-objpfx)elf/.
17103         (symbolic-link-list): Likewise.
17104         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17105         [$(cross-compiling) = no]: Likewise.
17106         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
17107         $(elfobjdir)/.
17108         (static-gnulib-arch): Likewise.
17109         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17110         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
17111         $(common-objpfx)elf/.
17113 2014-05-21  Richard Henderson  <rth@redhat.com>
17115         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17116         (SINGLE_THREAD_P): Use the correct width load.  Fold
17117         into the ldr offset.
17119         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
17120         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
17122 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
17124         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
17125         (libgcc_s_resume): Use __attribute_used__.
17126         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
17127         Likewise.
17129 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17131         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
17132         optimization when used with float constants.
17134         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17136 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
17138         [BZ #16915]
17139         * locale/nl_langinfo_l.c: Make direct reference to every
17140         _nl_current_CATEGORY symbol.
17141         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
17142         (tests-static): Add tst-langinfo-static.
17143         (tests-special): Add tst-langinfo-static.out.
17144         ($(objpfx)tst-langinfo.out): Redirect output.
17145         ($(objpfx)tst-langinfo-static.out): New.
17146         * localedata/tst-langinfo.sh: Send output to stdout.
17147         * localedata/tst-langinfo-static.c: New file.
17149         [BZ #16965]
17150         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
17151         when the shift amount is modulo the limb size.
17153 2014-05-20  Richard Henderson  <rth@redhat.com>
17155         [BZ #16967]
17156         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
17157         Change type of sa_flags from unsigned int to int.
17159         [BZ #16966]
17160         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
17162         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
17164 2014-05-20  Will Newton  <will.newton@linaro.org>
17166         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17167         Test the return value of the system call in the nocancel case.
17169 2014-05-20  Will Newton  <will.newton@linaro.org>
17170             Yvan Roux  <yvan.roux@linaro.org>
17172         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
17173         #include of asm/ptrace.h.
17174         (PTRACE_GET_THREAD_AREA): Remove #undef.
17175         (PTRACE_GETHBPREGS): Likewise.
17176         (PTRACE_SETHBPREGS): Likewise.
17177         (struct user_regs_struct): New structure.
17178         (struct user_fpsimd_struct): New structure.
17179         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
17180         #include of asm/ptrace.h and second #include of sys/user.h.
17181         (PTRACE_GET_THREAD_AREA): Remove #undef.
17182         (PTRACE_GETHBPREGS): Likewise.
17183         (PTRACE_SETHBPREGS): Likewise.
17184         (ELF_NGREG): Use new struct user_regs_struct.
17185         (elf_fpregset_t): Use new struct user_fpsimd_struct.
17187 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17189         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
17190         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
17192 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
17194         [BZ #16958]
17195         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
17196         membar to avoid block loads/stores to overlap previous stores.
17198 2014-05-17  Richard Henderson  <rth@redhat.com>
17200         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
17201         Create the __##syscall_name##_nocancel entry point.
17202         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
17203         Remove; let the sysdep-cancel.h code create it.
17205 2014-05-17  David S. Miller  <davem@davemloft.net>
17207         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
17208         Protect with __USE_GNU.
17209         (TIOCSET_TEMPT): Likewise.
17210         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
17211         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
17212         these are already provided in bits/ioctl-types.h
17214 2014-05-16  Roland McGrath  <roland@hack.frob.com>
17216         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
17217         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
17219         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
17220         Use wait4 regardless of [__NR_waitpid].
17222 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
17224         PR libgcc/60166
17225         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17226         (_FP_NANSIGN_Q): Set the quiet bit.
17228 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
17230         * benchtests/Makefile
17231         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
17232         not $(common-objpfx)math/libm.so.
17233         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
17234         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
17235         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
17236         $(common-objpfx)dlfcn/libdl.so.
17237         ($(objpfx)tst-audit8): Depend on $(libm), not
17238         $(common-objpfx)math/libm.so.
17239         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
17240         not $(common-objpfx)dlfcn/libdl.so.
17241         * math/Makefile
17242         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17243         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
17244         [$(build-shared) = yes].
17245         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
17246         $(common-objpfx)nptl/libpthread.so.
17247         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
17248         $(common-objpfx)math/libm.so$(libm.so-version) or
17249         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
17250         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
17251         $(common-objpfx)dlfcn/libdl.so.
17252         * setjmp/Makefile (link-libm): Remove variable.
17253         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
17254         * stdio-common/Makefile (link-libm): Remove variable.
17255         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
17256         * stdlib/Makefile (link-libm): Remove variable.
17257         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
17258         ($(objpfx)tst-strtod-round): Likewise.
17259         ($(objpfx)tst-tininess): Likewise.
17260         ($(objpfx)tst-strtod-underflow): Likewise.
17261         ($(objpfx)tst-strtod6): Likewise.
17262         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
17263         $(libdl), not $(common-objpfx)nptl/libpthread.so and
17264         $(common-objpfx)dlfcn/libdl.so.
17266 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17268         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
17269         BSD terminal modes definitions.
17271 2014-05-16  Roland McGrath  <roland@hack.frob.com>
17273         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
17274         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
17276         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
17277         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
17278         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
17279         Don't do #include_next.
17280         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
17281         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
17282         Don't do #include_next.
17283         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
17284         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
17285         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
17286         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
17288 2014-05-16  Allan McRae  <allan@archlinux.org>
17290         * po/sv.po: Update Swedish translation from translation project.
17292         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
17293         in sed expression.
17295 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
17297         [BZ #16917]
17298         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
17299         errno if the TIOCGPTN ioctl fails with an error different than
17300         EINVAL.
17301         * login/tst-ptsname.c: New file.
17302         * login/Makefile (tests): Add tst-ptsname.
17304         [BZ #16943]
17305         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
17306         and prlimit64.
17308 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17310         [BZ #16849]
17311         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
17312         herrno to return EAI_AGAIN.
17314 2014-05-14  Roland McGrath  <roland@hack.frob.com>
17316         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
17317         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
17318         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
17319         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
17320         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
17321         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
17322         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
17323         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
17324         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
17325         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
17326         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
17327         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
17328         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
17329         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
17330         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
17331         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
17332         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
17333         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
17334         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
17335         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
17336         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
17337         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
17338         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
17339         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
17340         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
17341         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
17342         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
17343         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
17344         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
17345         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
17346         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
17347         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
17348         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
17349         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
17350         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
17351         Moved ...
17352         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
17353         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
17354         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
17355         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
17356         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
17357         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
17358         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
17359         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
17360         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
17361         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
17362         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
17363         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
17364         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
17365         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
17366         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
17367         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
17368         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
17369         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
17370         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
17371         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
17372         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
17373         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
17374         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
17375         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
17376         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
17377         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
17378         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
17379         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17380         Moved ...
17381         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
17382         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
17383         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
17384         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
17385         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
17386         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
17387         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
17388         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
17389         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
17390         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
17391         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
17392         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
17393         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
17394         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
17395         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
17396         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
17397         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
17398         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
17399         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
17400         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17401         Moved ...
17402         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
17403         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
17404         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
17406         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
17407         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
17408         (libpthread-sysdep_routines): Add elision-related stuff here instead.
17409         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
17410         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
17411         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
17412         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
17413         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
17414         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
17415         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
17416         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
17417         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
17418         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
17419         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
17420         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
17421         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
17422         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
17423         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
17424         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
17425         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
17426         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
17427         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
17428         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
17429         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
17430         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
17431         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
17432         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
17433         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
17434         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
17435         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
17436         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
17438         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
17439         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
17441         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
17442         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
17443         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
17444         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
17445         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
17446         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
17447         Moved ...
17448         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
17449         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
17450         Moved ...
17451         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
17452         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
17453         Moved ...
17454         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
17455         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
17456         Moved ...
17457         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
17458         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
17459         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
17460         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
17461         Moved ...
17462         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
17463         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
17464         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
17465         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
17466         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
17467         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
17468         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
17469         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
17470         Moved ...
17471         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
17472         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
17473         Moved ...
17474         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
17475         ... here.
17476         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
17477         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
17478         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
17479         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
17480         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
17481         Moved ...
17482         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
17483         ... here.
17484         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
17485         Moved ...
17486         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
17487         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
17488         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
17489         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
17490         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
17491         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
17492         Moved ...
17493         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
17494         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
17495         Moved ...
17496         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
17497         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
17498         Moved ...
17499         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
17500         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
17501         Moved ...
17502         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
17503         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
17504         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
17505         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
17506         Moved ...
17507         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
17508         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
17509         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
17510         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
17511         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
17512         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
17513         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
17514         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
17515         Moved ...
17516         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
17517         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
17518         Moved ...
17519         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
17520         ... here.
17521         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
17522         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
17523         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
17524         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
17525         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
17526         Moved ...
17527         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
17528         ... here.
17529         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
17530         Moved ...
17531         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
17532         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
17533         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
17534         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
17535         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
17536         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
17537         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
17538         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
17539         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
17540         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
17541         Moved ...
17542         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
17543         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
17544         Moved ...
17545         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
17546         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
17547         Moved ...
17548         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
17549         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
17550         Moved ...
17551         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
17552         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
17553         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
17554         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
17555         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
17556         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
17557         Moved ...
17558         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
17559         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
17560         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
17561         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
17562         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
17563         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
17564         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
17565         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
17566         Moved ...
17567         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
17568         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
17569         Moved ...
17570         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
17571         ... here.
17572         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
17573         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
17574         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
17575         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
17576         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
17577         Moved ...
17578         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
17579         ... here.
17580         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
17581         Moved ...
17582         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
17583         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
17584         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
17585         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
17586         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
17587         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
17588         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
17589         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
17590         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
17591         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
17592         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
17594         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
17595         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
17597         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
17598         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
17600         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
17601         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
17602         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
17603         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
17604         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
17605         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
17606         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
17607         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
17608         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
17609         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
17610         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
17611         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
17612         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
17613         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
17614         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
17615         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
17616         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
17617         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
17618         Moved ...
17619         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
17620         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
17621         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
17622         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
17623         Moved ...
17624         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
17625         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
17626         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
17627         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
17628         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
17629         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
17630         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
17631         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
17632         Moved ...
17633         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
17634         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
17635         Moved ...
17636         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
17637         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
17638         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
17639         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
17640         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
17641         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
17642         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
17643         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
17644         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
17645         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
17646         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
17647         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
17648         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
17649         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
17650         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
17651         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
17652         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
17654         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
17655         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
17656         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
17657         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
17658         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
17660         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
17661         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
17662         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
17663         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
17664         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
17665         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
17666         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
17667         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
17668         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
17669         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
17671         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
17672         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
17674         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
17675         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
17676         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
17677         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
17678         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
17679         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
17680         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
17681         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
17682         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
17683         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
17684         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
17685         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
17686         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
17687         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
17688         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
17689         Update #include.
17690         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
17691         Likewise.
17692         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
17693         Likewise.
17694         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
17695         Likewise.
17696         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
17697         Likewise.
17698         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
17699         Likewise.
17700         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
17701         Likewise.
17702         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
17703         Likewise.
17704         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
17705         Likewise.
17706         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
17707         Likewise.
17708         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
17709         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
17710         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
17711         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
17712         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
17713         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
17714         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
17715         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
17716         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
17717         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
17718         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
17719         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
17720         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
17721         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
17722         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
17724         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
17725         that was previously under [RESET_PID].
17726         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17727         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
17728         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
17730         * sysdeps/i386/nptl/Implies: New file.
17731         * sysdeps/x86_64/nptl/Implies: New file.
17732         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
17733         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
17734         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
17735         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
17737         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
17738         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17739         (__libc_vfork): New strong alias.
17740         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
17741         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
17743         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
17744         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17745         (__libc_vfork): New strong alias.
17746         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
17747         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
17749         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
17750         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17751         (__libc_vfork): New strong alias.
17752         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
17753         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
17754         * nptl/pt-vfork.c: New file.
17755         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
17756         (libpthread: GLIBC_2.20): New version set (empty).
17758 2014-05-14  Will Newton  <will.newton@linaro.org>
17760         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
17761         rather than #if.
17763 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
17765         [BZ #16564]
17766         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
17767         arguments with exponent 65 or above.
17768         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
17769         arguments 0x1p113L or above.
17770         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
17771         to arguments 0x1p107L or above.
17772         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
17773         positive arguments with exponent 65 or above.
17774         * math/auto-libm-test-in: Add more tests of log1p.
17775         * math/auto-libm-test-out: Regenerated.
17777         [BZ #16928]
17778         * math/s_cacos.c (__cacos): Ensure zero real part of result from
17779         non-finite arguments is +0.
17780         * math/s_cacosf.c (__cacosf): Likewise.
17781         * math/s_cacosl.c (__cacosl): Likewise.
17782         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
17783         * sysdeps/i386/fpu/libm-test-ulps: Update.
17784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17786         [BZ #16927]
17787         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
17788         value.
17789         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
17790         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
17791         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
17792         for explicit high bit of mantissa when testing for argument equal
17793         to 1.
17794         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
17795         * sysdeps/i386/fpu/libm-test-ulps: Update.
17796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17798         [BZ #16516]
17799         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
17800         (__erf): Scale by 16 instead of 8 in potentially underflowing
17801         case.  Ensure exception if result actually underflows.
17802         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
17803         (__erff): Scale by 16 instead of 8 in potentially underflowing
17804         case.  Ensure exception if result actually underflows.
17805         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
17806         (efx8): Remove variable.
17807         (__erfl): Scale by 16 instead of 8 in potentially underflowing
17808         case.  Ensure exception if result actually underflows.
17809         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
17810         (efx8): Remove variable.
17811         (__erfl): Scale by 16 instead of 8 in potentially underflowing
17812         case.  Ensure exception if result actually underflows.
17813         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
17814         (efx8): Remove variable.
17815         (__erfl): Scale by 16 instead of 8 in potentially underflowing
17816         case.  Ensure exception if result actually underflows.
17817         * math/auto-libm-test-in: Add more tests of erf.
17818         * math/auto-libm-test-out: Regenerated.
17820 2014-05-14  Andreas Schwab  <schwab@suse.de>
17822         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
17823         Remove code conditionalized on USE___THREAD.
17825         * config.h.in (HAVE_PT_CHOWN): Define as 0.
17826         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
17827         not definedness.
17829 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
17831         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
17832         Define unconditionally.
17833         (__ASSUME_O_CLOEXEC): Likewise.
17834         (__ASSUME_SOCK_CLOEXEC): Likewise.
17835         (__ASSUME_IN_NONBLOCK): Likewise.
17836         (__ASSUME_PIPE2): Likewise.
17837         (__ASSUME_EVENTFD2): Likewise.
17838         (__ASSUME_SIGNALFD4): Likewise.
17839         (__ASSUME_DUP3): Likewise.
17840         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17841         (__ASSUME_DUP3): Do not define.
17842         (__ASSUME_EVENTFD2): Likewise.
17843         (__ASSUME_IN_NONBLOCK): Likewise.
17844         (__ASSUME_O_CLOEXEC): Likewise.
17845         (__ASSUME_PIPE2): Likewise.
17846         (__ASSUME_SIGNALFD4): Likewise.
17847         (__ASSUME_SOCK_CLOEXEC): Likewise.
17848         (__ASSUME_UTIMES): Undefine.
17849         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17850         (__ASSUME_UTIMES): Do not define.
17851         (__ASSUME_O_CLOEXEC): Likewise.
17852         (__ASSUME_SOCK_CLOEXEC): Likewise.
17853         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
17854         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
17855         0x020621].
17856         (__ASSUME_PIPE2): Likewise.
17857         (__ASSUME_EVENTFD2): Likewise.
17858         (__ASSUME_SIGNALFD4): Likewise.
17859         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
17860         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
17861         Do not define.
17862         (__ASSUME_EVENTFD2): Likewise.
17863         (__ASSUME_SIGNALFD4): Likewise.
17864         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17865         (__ASSUME_32BITUIDS): Likewise.
17866         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17867         (__ASSUME_IPC64): Likewise.
17868         (__ASSUME_ST_INO_64_BIT): Likewise.
17869         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
17870         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
17871         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17872         (__ASSUME_UTIMES): Do not define.
17873         (__ASSUME_PSELECT): Likewise.
17874         (__ASSUME_PPOLL): Likewise.
17875         (__ASSUME_O_CLOEXEC): Likewise.
17876         (__ASSUME_SOCK_CLOEXEC): Likewise.
17877         (__ASSUME_IN_NONBLOCK): Likewise.
17878         (__ASSUME_PIPE2): Likewise.
17879         (__ASSUME_EVENTFD2): Likewise.
17880         (__ASSUME_SIGNALFD4): Likewise.
17881         (__ASSUME_DUP3): Likewise.
17882         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17883         (__ASSUME_UTIMES): Likewise.
17884         (__ASSUME_O_CLOEXEC): Likewise.
17885         (__ASSUME_SOCK_CLOEXEC): Likewise.
17886         (__ASSUME_IN_NONBLOCK): Likewise.
17887         (__ASSUME_PIPE2): Likewise.
17888         (__ASSUME_EVENTFD2): Likewise.
17889         (__ASSUME_SIGNALFD4): Likewise.
17890         (__ASSUME_DUP3): Likewise.
17891         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17892         (__ASSUME_UTIMES): Likewise.
17893         (__ASSUME_O_CLOEXEC): Likewise.
17894         (__ASSUME_SOCK_CLOEXEC): Likewise.
17895         (__ASSUME_IN_NONBLOCK): Likewise.
17896         (__ASSUME_PIPE2): Likewise.
17897         (__ASSUME_EVENTFD2): Likewise.
17898         (__ASSUME_SIGNALFD4): Likewise.
17899         (__ASSUME_DUP3): Likewise.
17900         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
17901         Likewise.
17902         (__ASSUME_UTIMES): Likewise.
17903         (__ASSUME_EVENTFD2): Likewise.
17904         (__ASSUME_SIGNALFD4): Likewise.
17905         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17906         (__ASSUME_O_CLOEXEC): Likewise.
17907         (__ASSUME_SOCK_CLOEXEC): Likewise.
17908         (__ASSUME_IN_NONBLOCK): Likewise.
17909         (__ASSUME_PIPE2): Likewise.
17910         (__ASSUME_EVENTFD2): Likewise.
17911         (__ASSUME_SIGNALFD4): Likewise.
17912         (__ASSUME_DUP3): Likewise.
17913         (__ASSUME_UTIMES): Undefine.
17915         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
17916         feclearexcept.  Remove symbol versioning code.
17917         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
17918         symbol versioning code.
17919         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
17920         symbol versioning code.
17921         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
17922         feupdateenv.  Remove symbol versioning code.
17923         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
17924         fegetexceptflag.  Remove symbol versioning code.
17925         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
17926         fesetexceptflag.  Remove symbol versioning code.
17927         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
17928         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
17929         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
17930         (__posix_fadvise64_l32): Remove prototype.
17931         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
17932         code.
17934 2014-05-13  Roland McGrath  <roland@hack.frob.com>
17936         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
17937         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
17938         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
17939         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
17941 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
17943         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
17944         current working directory
17946 2014-05-13  Roland McGrath  <roland@hack.frob.com>
17948         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
17949         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
17950         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
17951         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
17952         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
17953         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
17954         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
17955         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
17956         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
17957         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
17958         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
17959         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
17960         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
17961         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
17962         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
17963         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
17964         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
17965         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
17966         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
17967         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
17968         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
17969         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
17970         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
17971         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
17972         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
17973         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
17974         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
17975         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
17976         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
17977         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
17978         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
17979         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
17980         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
17981         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
17982         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
17983         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
17984         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
17985         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
17986         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
17987         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
17988         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
17989         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
17991         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
17992         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
17994         * sysdeps/unix/sysv/linux/arm/Makefile
17995         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
17996         Add rt-aeabi_unwind_cpp_pr1.
17997         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
17998         Add nptl-aeabi_unwind_cpp_pr1.
17999         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
18000         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
18001         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
18002         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
18003         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
18004         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
18006         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
18007         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
18008         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
18009         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
18011         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
18012         Deconditionalize the code that was previously under [RESET_PID].
18013         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
18015         * sysdeps/generic/exit-thread.h: New file.
18016         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
18017         * include/unistd.h (__exit_thread): Remove declaration.
18018         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
18019         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
18020         * csu/libc-start.c: Include <exit-thread.h>.
18021         (LIBC_START_MAIN): Pass no argument to __exit_thread.
18022         * nptl/pthread_create.c: Include <exit-thread.h>.
18023         (start_thread): Call __exit_thread in place of __exit_thread_inline.
18024         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
18025         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
18026         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
18027         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
18028         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
18029         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
18030         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
18031         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
18032         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
18033         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
18034         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
18035         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
18036         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
18037         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
18038         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
18039         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
18041 2014-05-13  Andreas Schwab  <schwab@suse.de>
18043         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
18045 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
18047         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
18048         (__ASSUME_UTIMES): Do not condition on kernel version.
18049         (__ASSUME_PSELECT): Define unconditionally.
18050         (__ASSUME_PPOLL): Likewise.
18051         (__ASSUME_ATFCTS): Likewise.
18052         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
18053         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
18054         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
18055         (__ASSUME_UTIMENSAT): Define unconditionally.
18056         (__ASSUME_PRIVATE_FUTEX): Likewise.
18057         (__ASSUME_FALLOCATE): Likewise.
18058         (__ASSUME_O_CLOEXEC): Likewise.
18059         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
18060         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
18061         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
18062         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
18063         (__ASSUME_IN_NONBLOCK): Likewise.
18064         (__ASSUME_PIPE2): Likewise.
18065         (__ASSUME_EVENTFD2): Likewise.
18066         (__ASSUME_SIGNALFD4): Likewise.
18067         (__ASSUME_DUP3): Likewise.
18068         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18069         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
18070         (__ASSUME_AT_RANDOM): Likewise.
18071         (__ASSUME_PREADV): Likewise.
18072         (__ASSUME_PWRITEV): Likewise.
18073         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
18074         (__ASSUME_F_GETOWN_EX): Define unconditionally.
18075         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
18076         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
18077         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
18078         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18079         (__ASSUME_O_CLOEXEC): Define unconditionally.
18080         (__ASSUME_PSELECT): Do not undefine conditionally.
18081         (__ASSUME_PPOLL): Likewise.
18082         (__ASSUME_ATFCTS): Likewise.
18083         (__ASSUME_SET_ROBUST_LIST): Likewise.
18084         (__ASSUME_UTIMENSAT): Likewise.
18085         (__ASSUME_FDATASYNC): Define unconditionally.
18086         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18087         (__ASSUME_SIGFRAME_V2): Likewise.
18088         )__ASSUME_EVENTFD2): Likewise.
18089         (__ASSUME_SIGNALFD4): Likewise.
18090         (__ASSUME_PSELECT): Do not undefine conditionally.
18091         (__ASSUME_PPOLL): Likewise.
18092         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18093         (__ASSUME_PSELECT): Define unconditionally.
18094         (__ASSUME_PPOLL): Likewise.
18095         (__ASSUME_O_CLOEXEC): Likewise.
18096         (__ASSUME_SOCK_CLOEXEC): Likewise.
18097         (__ASSUME_IN_NONBLOCK): Likewise.
18098         (__ASSUME_PIPE2): Likewise.
18099         (__ASSUME_EVENTFD2): Likewise.
18100         (__ASSUME_SIGNALFD4): Likewise.
18101         (__ASSUME_DUP3): Likewise.
18102         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18103         (__ASSUME_O_CLOEXEC): Likewise.
18104         (__ASSUME_SOCK_CLOEXEC): Likewise.
18105         (__ASSUME_IN_NONBLOCK): Likewise.
18106         (__ASSUME_PIPE2): Likewise.
18107         (__ASSUME_EVENTFD2): Likewise.
18108         (__ASSUME_SIGNALFD4): Likewise.
18109         (__ASSUME_DUP3): Likewise.
18110         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18111         (__ASSUME_EVENTFD2): Likewise.
18112         (__ASSUME_SIGNALFD4): Likewise.
18113         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18115 2014-05-12  Andreas Schwab  <schwab@suse.de>
18117         [BZ #16932]
18118         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
18119         (_nss_nis_gethostbyname4_r): Return error if item length is larger
18120         than maximum RPC packet size.
18121         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
18122         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
18123         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
18124         (_nss_nis_getservbyport_r): Likewise.
18126 2014-05-12  Will Newton  <will.newton@linaro.org>
18128         * malloc/Makefile (tests): Add tst-mallopt.
18129         * malloc/tst-mallopt.c: New file.
18131 2014-05-09  Roland McGrath  <roland@hack.frob.com>
18133         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
18134         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
18136 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18138         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
18139         (tst-tlsmod6.so): Likewise.
18141 2014-05-09  Roland McGrath  <roland@hack.frob.com>
18143         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
18145 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
18147         [BZ #16064]
18148         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
18149         and <dl-procinfo.h>.
18150         (__fegetenv): Save SSE state in envp->__eip if supported.
18151         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
18152         envp->__eip if supported.
18153         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
18154         and <dl-procinfo.h>.
18155         (__fesetenv): Always set __eip, __cs_selector, __opcode,
18156         __data_offset and __data_selector in environment to 0.  Set SSE
18157         state if supported.
18158         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
18159         test-fenv-sse.
18160         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
18161         -mfpmath=sse.
18162         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
18164 2014-05-09  Will Newton  <will.newton@linaro.org>
18166         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
18167         and libc_relro_required for ARM.
18168         * sysdeps/arm/preconfigure: Regenerate.
18170 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
18171             Stefan Liebler  <stli@linux.vnet.ibm.com>
18173         * config.make.in (enable-lock-elision): New Makefile variable.
18174         * configure.ac: Likewise.
18175         * configure: Regenerate.
18176         * sysdeps/s390/configure.ac:
18177         Add check for gcc transactions support.
18178         * sysdeps/s390/configure: Regenerate.
18179         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
18180         Build elision files if enabled.
18181         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
18182         Add lock elision support for s390.
18183         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
18184         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
18185         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
18186         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
18187         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
18188         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
18189         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
18190         Likewise.
18191         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
18192         Likewise.
18193         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
18194         Likewise.
18195         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
18196         Likewise.
18197         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
18198         (__lll_timedlock_elision, __lll_lock_elision)
18199         (__lll_unlock_elision, __lll_trylock_elision)
18200         (lll_timedlock_elision, lll_lock_elision)
18201         (lll_unlock_elision, lll_trylock_elision): Add.
18202         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18203         (pthread_mutex_t): Add lock elision support for s390.
18205 2014-05-14  Wilco  <wdijkstr@arm.com>
18207         * sysdeps/arm/fclrexcpt.c: Cleanup.
18208         * sysdeps/arm/fedisblxcpt.c: Cleanup.
18209         * sysdeps/arm/feenablxcpt.c: Cleanup.
18210         * sysdeps/arm/fegetenv.c: Cleanup.
18211         * sysdeps/arm/fegetexcept.c: Cleanup.
18212         * sysdeps/arm/fegetround.c: Cleanup.
18213         * sysdeps/arm/feholdexcpt.c: Cleanup.
18214         * sysdeps/arm/fesetenv.c: Cleanup.
18215         * sysdeps/arm/fesetround.c: Cleanup.
18216         * sysdeps/arm/feupdateenv.c: Cleanup.
18217         * sysdeps/arm/fgetexcptflg.c: Cleanup.
18218         * sysdeps/arm/fraiseexcpt.c: Cleanup.
18219         * sysdeps/arm/fsetexcptflg.c: Cleanup.
18220         * sysdeps/arm/ftestexcept.c: Cleanup.
18221         * sysdeps/arm/get-rounding-mode.h: Cleanup.
18222         * sysdeps/arm/setfpucw.c: Cleanup.
18224 2014-05-09  Will Newton  <will.newton@linaro.org>
18226         * sysdeps/arm/armv7/strcmp.S: New file.
18227         * NEWS: Mention addition of ARMv7 optimized strcmp.
18229 2014-05-08  Roland McGrath  <roland@hack.frob.com>
18231         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
18232         look for %.ac rather than %.in.
18234         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
18235         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
18236         * sysdeps/mach/hurd/configure: Regenerated.
18237         * sysdeps/unix/sysv/linux/configure: Regenerated.
18239         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
18241 2014-05-07  Steve Ellcey  <sellcey@mips.com>
18243         [BZ# 16922]
18244         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
18245         (LONG_SUB): Ditto.
18246         (PTR_SUB): Ditto.
18248 2014-05-07  Andreas Schwab  <schwab@suse.de>
18250         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
18251         when skipping over non-matching result from nscd.
18253 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
18255         [BZ #16876]
18256         * nptl/sockperf.c (client): Check socket return value.
18258         [BZ #16877]
18259         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
18260         nscd security class.
18262 2014-05-06  Roland McGrath  <roland@hack.frob.com>
18264         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
18265         * sysdeps/arm/unwind.h: ... here.
18267 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
18269         [BZ# 16916]
18270         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
18271         Define.
18273 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18275         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
18276         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
18277         multiarch strncpy for PPC64.
18278         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
18279         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
18280         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
18281         multiarch optimizations.
18282         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18283         (__libc_ifunc_impl_list): Likewise.
18284         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
18285         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
18286         multiarch stpncpy for PPC64.
18287         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
18288         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
18290 2014-05-06  Andreas Schwab  <schwab@suse.de>
18292         [BZ #16912]
18293         * gmon/mcount.c (_MCOUNT_DECL): Use
18294         atomic_compare_and_exchange_bool_acq instead of
18295         catomic_compare_and_exchange_bool_acq.
18297 2014-05-05  Roland McGrath  <roland@hack.frob.com>
18299         * elf/Makefile (others, install-bin): Remove pldd.
18300         (pldd-modules): Variable removed.
18301         ($(objpfx)pldd): Target removed.
18302         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
18303         (others, install-bin): Append pldd here.
18304         ($(objpfx)pldd): New target.
18306         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
18307         to 0, so the first #if test emitted later doesn't see it undefined.
18308         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
18309         * sysdeps/gnu/errlist.c: Regenerated.
18311 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18313         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
18314         [libc_hidden_builtin_def]: Define to empty value.
18315         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
18316         [libc_hidden_builtin_def]: Likewise.
18317         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
18318         [libc_hidden_builtin_def]: Likewise.
18319         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
18320         [libc_hidden_builtin_def]: Likewise.
18321         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
18322         __redirect_memcpy and define ifunc as default hidden symbol.
18323         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
18324         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
18326 2014-05-04  Adam Conrad  <adconrad@0c3.net>
18328         * locale/iso-4217.def: Reintroduce XDR currency.
18330 2014-05-04  Allan McRae  <allan@archlinux.org>
18332         * po/eo.po: Update Esperanto translation from translation project.
18334 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
18336         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
18337         and FEATURE_INDEX_MAX to 1.
18338         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
18340 2014-05-01  Steve Ellcey  <sellcey@mips.com>
18342         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
18343         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
18344         * iconvdata/big5.c (ONE_DIRECTION): Define.
18345         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
18346         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
18347         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
18348         * iconvdata/cp932.c (ONE_DIRECTION): Define.
18349         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
18350         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
18351         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
18352         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
18353         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
18354         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
18355         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
18356         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
18357         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
18358         * iconvdata/gbk.c (ONE_DIRECTION): Define.
18359         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
18360         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
18361         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
18362         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
18363         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
18364         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
18365         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
18366         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
18367         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
18368         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
18369         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
18370         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
18371         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
18372         * iconvdata/iso646.c (ONE_DIRECTION): Define.
18373         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
18374         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
18375         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
18376         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
18377         * iconvdata/johab.c (ONE_DIRECTION): Define.
18378         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
18379         * iconvdata/sjis.c (ONE_DIRECTION): Define.
18380         * iconvdata/t.61.c (ONE_DIRECTION): Define.
18381         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
18382         * iconvdata/tscii.c (ONE_DIRECTION): Define.
18383         * iconvdata/uhc.c (ONE_DIRECTION): Define.
18384         * iconvdata/unicode.c (ONE_DIRECTION): Define.
18385         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
18386         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
18387         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
18389 2014-05-01  Roland McGrath  <roland@hack.frob.com>
18391         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
18392         (_IO_JUMPS_OFFSET): Define to 0.
18394         * nptl/sysdeps/pthread/bits/libc-lock.h
18395         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
18396         (__libc_lock_define_initialized_recursive): Always define using
18397         initializer.  Modern compilers treat uninitialized (implicit zero) and
18398         explicit zero initializers the same (i.e. put the datum in bss).
18400 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
18402         * nscd/nscd-client.h: Include <string.h>.
18404 2014-05-01  David S. Miller  <davem@davemloft.net>
18406         [BZ #16885]
18407         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
18408         multiple zero bytes exist at the end of a string.
18409         Reported by Aurelien Jarno <aurelien@aurel32.net>
18411         * string/test-strcmp.c (check): Add explicit test for situations where
18412         there are multiple zero bytes after the first.
18414 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
18416         [BZ #16890]
18417         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
18418         when compiling wprintf.
18419         * stdio-common/tstdiomisc.c (t3): New function.
18420         (main): Call it.
18422 2014-05-01  Steve Ellcey  <sellcey@mips.com>
18424         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
18425         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
18426         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
18427         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
18429 2014-05-01  Steve Ellcey  <sellcey@mips.com>
18431         * stdlib/longlong.h: Updated from GCC.
18433 2014-05-01  Will Newton  <will.newton@linaro.org>
18434             Bernard Ogden  <bernie.ogden@linaro.org>
18436         * NEWS: Update fixed bug list.
18438         [BZ #15119]
18439         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
18441 2014-04-30  David S. Miller  <davem@davemloft.net>
18443         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
18444         (libc_feholdexcept_setround_sparc_ctx): New function.
18445         (libc_fesetenv_sparc_ctx): Likewise.
18446         (libc_feupdateenv_sparc_ctx): Likewise.
18447         (libc_feholdsetround_sparc_ctx): Likewise.
18448         (libc_feholdexcept_setround_ctx): Define.
18449         (libc_feholdexcept_setroundf_ctx): Likewise.
18450         (libc_feholdexcept_setroundl_ctx): Likewise.
18451         (libc_fesetenv_ctx): Likewise.
18452         (libc_fesetenvf_ctx): Likewise.
18453         (libc_fesetenvl_ctx): Likewise.
18454         (libc_feupdateenv_ctx): Likewise.
18455         (libc_feupdateenvf_ctx): Likewise.
18456         (libc_feupdateenvl_ctx): Likewise.
18457         (libc_feresetround_ctx): Likewise.
18458         (libc_feresetroundf_ctx): Likewise.
18459         (libc_feresetroundl_ctx): Likewise.
18460         (libc_feholdsetround_ctx): Likewise.
18461         (libc_feholdsetroundf_ctx): Likewise.
18462         (libc_feholdsetroundl_ctx): Likewise.
18464         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
18465         with __USE_GNU instead of XOPEN cpp guards.
18467         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
18468         0.
18470         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
18471         with XOPEN cpp guards.
18473 2014-04-30  Julian Brown  <julian@codesourcery.com>
18475         [BZ #16888]
18476         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
18477         handling.
18479 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
18481         [BZ #9894]
18482         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
18483         Change to 2.6.32.
18484         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
18485         * sysdeps/unix/sysv/linux/configure: Regenerated.
18486         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
18487         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
18488         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
18489         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
18490         * README: Update reference to required Linux kernel version.
18491         * manual/install.texi (Linux): Update reference to required Linux
18492         kernel headers version.
18493         * INSTALL: Regenerated.
18495         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
18496         header inclusion.
18497         [POSIX] (limits.h): Likewise.
18498         [POSIX] (math.h): Likewise.
18499         [POSIX] (sys/wait.h): Likewise.
18500         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
18501         function.
18502         [POSIX] (stddef.h): Do not allow header inclusion.
18504 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18506         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
18508 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
18510         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
18511         Return immediately after lll_futex_wake.
18513 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18515         [BZ #16791]
18516         * nscd/nscd-client.h (datahead_init_common): Initialize entire
18517         structure.
18518         (datahead_init_pos): Call datahead_init_common early.
18519         (datahead_init_neg): Likewise.
18521         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
18522         datahead_init_neg): New functions.
18523         * nscd/aicache.c (addhstaiX): Use them.
18524         * nscd/grpcache.c (cache_addgr): Likewise.
18525         * nscd/hstcache.c (cache_addhst): Likewise.
18526         * nscd/initgrcache.c (addinitgroupsX): Likewise.
18527         * nscd/netgroupcache.c (do_notfound): Likewise.
18528         (addgetnetgrentX): Likewise.
18529         (addinnetgrX): Likewise.
18530         * nscd/pwdcache.c (cache_addpw): Likewise.
18531         * nscd/servicescache.c (cache_addserv): Likewise.
18533 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18534             Atsushi Onoe  <atsushi@onoe.org>
18536         [BZ #14308]
18537         [BZ #12994]
18538         [BZ #13651]
18539         * resolv/res_query.c (__libc_res_nsearch): Return if at least
18540         one response is valid.
18541         * resolv/res_send.c (send_dg): Check for validity of other
18542         response if the current response is a referral.
18544 2014-04-29  Steve Ellcey  <sellcey@mips.com>
18546         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
18548 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
18550         [BZ #16823]
18551         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
18552         Always divide by positive zero when computing -Inf result.
18553         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
18554         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
18556 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18558         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
18559         FPSCR if value do not change.
18560         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18561         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
18562         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
18563         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
18564         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
18565         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
18566         function.
18568 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
18570         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
18571         * sysdeps/unix/sysv/linux/hppa: Move directory from
18572         ports/systeps/unix/sysv/linux/hppa.
18573         * README: Update listing for hppa-*-linux-gnu.
18575 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
18577         [BZ #16754]
18578         * manual/stdio.texi (Hook functions): Fix types of stream hook
18579         functions.
18580         [BZ #16854]
18581         * socket/sys/socket.h: Fix typo in comment.
18583 2014-04-28  Wilco  <wdijkstr@arm.com>
18585         * sysdeps/arm/fenv_private.h: New file.
18586         * sysdeps/arm/math_private.h: New file.
18587         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
18589 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
18591         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
18592         with __int128_t.
18593         (La_x86_64_retval): Likewise.
18595 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
18597         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
18598         fpsr if value didn't change.
18599         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
18600         to fpcr if value didn't change.
18601         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
18602         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
18603         fpsr or fpcr if value didn't change.
18604         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
18605         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
18606         fpcr if value didn't change.
18607         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
18608         to fpsr if value didn't change.
18610 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
18612         * nptl/tst-sem3.c: Use test-skeleton.c
18613         (main): Rename to do_test.  Use return instead of
18614         exit.
18615         * nptl/tst-sem4.c: Use test-skeleton.c
18616         (main): Rename to do_test.
18618 2014-04-22  David S. Miller  <davem@davemloft.net>
18620         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
18621         (struct sigaction): New struct member __glibc_reserved0, change
18622         type of sa_flags to int.
18624 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
18626         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
18627         (COUNT_LEADING_ZEROS_0): Define for AArch64.
18629 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18631         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
18632         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
18634 2014-04-22  Will Newton  <will.newton@linaro.org>
18635             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
18637         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
18638         (__longjmp): Add longjmp and longjmp_target SystemTap
18639         probes.
18640         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
18641         (__sigsetjmp): Add setjmp SystemTap probe.
18643 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
18645         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
18646         match manual order.
18648 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18650         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
18652         * sysdeps/powerpc/fpu/fenv_private.h
18653         (libc_feholdexcept_setroundl_ctx): Define to
18654         libc_feholdexcept_setround_ppc_ctx.
18655         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
18656         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
18657         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
18658         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
18660 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
18662         * sysdeps/aarch64/math-tests.h: New file.
18664 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
18666         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
18667         New.
18668         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18669         Check and set bit_AVX2_Usable.
18670         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
18671         macro.
18672         (bit_AVX2): Likewise.
18673         (index_AVX2_Usable): Likewise.
18674         (CPUID_AVX2): Likewise.
18675         (HAS_AVX2): Likewise.
18677 2014-04-17  Will Newton  <will.newton@linaro.org>
18679         * manual/setjmp.texi (System V contexts): Add note that
18680         calling setcontext on a context created by a call to a
18681         signal handler is undefined.  Update text to note that
18682         setcontext from a signal handler is possible but not
18683         recommended.
18685         [BZ #16629]
18686         * stdlib/tst-setcontext.c: Include signal.h.
18687         (main): Check that the signal stack before and
18688         after swapcontext is the same.
18690         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
18691         Re-implement to restore registers in user code and avoid
18692         rt_sigreturn system call.
18694 2014-04-17  Wilco  <wdijkstr@arm.com>
18696         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
18697         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
18698         * math/test-fenv.c: Skip exception trap tests on targets which only
18699         support non-stop mode.
18701 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
18702             Wilco Dijkstra  <wilco.dijkstra@arm.com>
18704         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
18705         (libc_feholdsetround_aarch64_ctx)
18706         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
18707         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
18708         (libc_feresetround_ctx, libc_feresetroundf_ctx)
18709         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
18710         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
18711         (libc_feresetround_noexl_ctx): Define.
18713 2014-04-16  Richard Henderson  <rth@redhat.com>
18715         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
18717         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
18718         unwind tables.
18720         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
18721         const from the non-libc, non-ldso copy.
18723         * sysdeps/alpha/libm-test-ulps: Regenerate.
18725 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
18726             Wilco Dijkstra  <wilco.dijkstra@arm.com>
18728         * sysdeps/aarch64/fpu/math_private.h: New file.
18730 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
18732         * sysdeps/aarch64/libm-test-ulps: Regenerate.
18734 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
18736         [BZ #16275]
18737         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
18738         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
18739         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
18740         Intel MPX bound registers before _dl_profile_fixup.
18741         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
18742         registers after _dl_profile_fixup.  Save and restore bound
18743         registers bnd0/bnd1 when calling _dl_call_pltexit.
18744         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
18745         (LR_BND_OFFSET): Likewise.
18746         (LRV_BND0_OFFSET): Likewise.
18747         (LRV_BND1_OFFSET): Likewise.
18749 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18751         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
18752         to...
18753         * sysdeps/mach/hurd/i386/tls.h: ... here.
18754         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
18755         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
18756         fields.
18758 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18760         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
18762 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
18764         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18766 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
18768         [BZ #14770]
18769         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
18770         * sysdeps/s390/configure: Regenerate.
18772         [BZ #16824]
18773         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
18774         Set round-to-nearest internally to reduce error accumulation.
18776 2014-04-16  Alan Modra  <amodra@gmail.com>
18778         [BZ #16740]
18779         [BZ #16619]
18780         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
18781         * math/libm-test.inc (frexp_test_data): Add tests.
18782         * NEWS: Update fixed bug list.
18784 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18786         * benchtests/Makefile: Depend on libraries in build directory.
18787         (bench-math): Separate out math tests.
18788         (bench-pthread): Separate out pthread tests.
18789         (bench): Include math and pthread tests.
18791 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
18793         [BZ #16831]
18794         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
18795         _dl_debug_initialize.
18797         * configure.ac: Remove SELinux header check.
18798         * configure: Regenerate.
18799         * nscd/selinux.c (perms): Array of const char* to permission names.
18800         (nscd_request_avc_has_perm): Call security_deny_unknown to find
18801         default policy. Call string_to_security_class and string_to_av_perm to
18802         translate strings. Enforce default policy and call avs_has_perm with
18803         results of translated strings.
18805 2014-04-13  David S. Miller  <davem@davemloft.net>
18807         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18809 2014-04-12  Allan McRae  <allan@archlinux.org>
18811         [BZ #16838]
18812         * manual/string.texi (Collation Functions): Fix qsort argument
18813         order in example.
18814         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18816 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
18818         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
18819         Make the test a no-op if there are no exceptions defined.
18821 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
18823         * elf/Makefile (tests): make tst-dlopen-aout conditional on
18824         enable-hardcoded-path-in-tests
18826 2014-04-11  Will Newton  <will.newton@linaro.org>
18828         * benchtests/Makefile (extra-objs): Add json-lib.o.
18829         (bench-func): Tidy up JSON output.
18830         * benchtests/bench-skeleton.c: Include json-lib.h.
18831         (main): Use JSON library functions to do output of
18832         benchmark results.
18833         * benchtests/bench-timing-type.c (main): Output the
18834         timing type simply, leaving formatting to the user.
18835         * benchtests/json-lib.c: New file.
18836         * benchtests/json-lib.h: Likewise.
18838 2014-04-11  Torvald Riegel  <triegel@redhat.com>
18840         [BZ #15215]
18841         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
18842         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
18843         memory barriers.  Add comments.
18844         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
18845         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
18846         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
18847         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
18848         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
18849         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
18851 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18853         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
18854         * sysdeps/s390/s390-64/configure.ac: ... this ...
18855         * sysdeps/s390/configure.ac: ... to here.
18856         * sysdeps/s390/s390-32/configure: Delete file.
18857         * sysdeps/s390/s390-64/configure: Delete file.
18858         * sysdeps/s390/configure: Regenerate.
18860 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
18862         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
18864 2014-04-11  Will Newton  <will.newton@linaro.org>
18866         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
18867         to zero if it is not defined elsewhere.  (mtrim): Test
18868         the value of MALLOC_DEBUG with #if rather than #ifdef.
18870 2014-04-10 Torvald Riegel  <triegel@redhat.com>
18872         * benchtests/pthread_once-inputs: New file.
18873         * benchtests/pthread_once-source.c: New file.
18874         * benchtests/README: Update documentation.
18876 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
18877             H.J. Lu  <hongjiu.lu@intel.com>
18879         [BZ #16275]
18880         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
18881         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
18882         * sysdeps/x86_64/configure: Regenerated.
18883         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
18884         macro.
18885         (REGISTER_SAVE_RAX): Likewise.
18886         (REGISTER_SAVE_RCX): Likewise.
18887         (REGISTER_SAVE_RDX): Likewise.
18888         (REGISTER_SAVE_RSI): Likewise.
18889         (REGISTER_SAVE_RDI): Likewise.
18890         (REGISTER_SAVE_R8): Likewise.
18891         (REGISTER_SAVE_R9): Likewise.
18892         (REGISTER_SAVE_BND0): Likewise.
18893         (REGISTER_SAVE_BND1): Likewise.
18894         (REGISTER_SAVE_BND2): Likewise.
18895         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
18896         bound registers when calling _dl_fixup.
18898 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18900         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
18901         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
18902         of its definition.
18903         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
18904         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
18905         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
18906         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
18907         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
18908         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
18909         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
18911 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
18913         [BZ #15514]
18914         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
18915         pathconf(_PC_NAME_MAX).
18917 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18919         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
18920         Remove macro usage.
18921         (__PTHREAD_SPINS): Move definition to ...
18922         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
18923         (__PTHREAD_SPINS): ... here.
18924         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18925         (__PTHREAD_SPIN): Likewise.
18926         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
18927         (__PTHREAD_SPIN): Likewise.
18928         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
18929         (__PTHREAD_SPIN): Likewise.
18930         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
18931         (__PTHREAD_SPIN): Likewise.
18932         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
18933         (__PTHREAD_SPIN): Likewise.
18934         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
18935         (__PTHREAD_SPIN): Likewise.
18936         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
18937         (__PTHREAD_SPIN): Likewise.
18938         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
18939         (__PTHREAD_SPIN): Likewise.
18940         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
18941         (__PTHREAD_SPIN): Likewise.
18942         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
18943         (__PTHREAD_SPIN): Likewise.
18944         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
18945         (__PTHREAD_SPIN): Likewise.
18946         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
18947         (__PTHREAD_SPIN): Likewise.
18949         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
18950         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
18951         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
18952         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
18953         imply folder.
18954         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
18955         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
18956         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
18957         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
18958         correct imply path.
18959         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
18960         strlen symbol for non multi-arch builds.
18961         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
18962         missing hidden_def and weak_alias.
18964 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
18966         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
18968 2014-04-07  Will Newton  <will.newton@linaro.org>
18970         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
18971         and contents.  [!_LIBC] Remove #ifndef and contents.
18972         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
18973         * string/memccpy.c (__memccpy): Use ANSI prototype.
18974         * string/memfrob.c (memfrob): Likewise.
18975         * string/strcoll.c (STRCOLL): Likewise.
18976         * string/strlen.c (strlen): Likewise.
18977         * string/strtok.c (STRTOK): Likewise.
18978         * string/strcat.c: Remove unused #include of memcopy.h.
18979         (strcat): Use ANSI prototype.
18980         * string/strchr.c: Remove unused #include of memcopy.h.
18981         (strchr): Use ANSI prototype.
18982         * string/strcmp.c: Remove unused #include of memcopy.h.
18983         (strcmp): Use ANSI prototype.
18984         * string/strcpy.c: Remove unused #include of memcopy.h.
18985         (strcpy): Use ANSI prototype.
18987 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18989         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
18990         * config.make.in (config-extra-cppflags): Set it from
18991         libc_extra_cppflags.
18992         * configure.ac (libc_extra_cflags): Make it accumulate over
18993         configure fragments.
18994         (libc_extra_cppflags): New flag.
18995         * configure. Regenerate.
18996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
18997         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
18998         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
18999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19001         [BZ #16815]
19002         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
19003         result for FE_DOWNWARD rounding mode.
19004         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
19005         Likewise.
19006         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19008 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
19010         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
19011         in function argument name.
19013 2014-04-03  David Svoboda  <svoboda@cert.org>
19015         [BZ #5666]
19016         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
19017         explicitly.
19019 2014-04-03  Roland McGrath  <roland@hack.frob.com>
19021         * elf/dl-unmap-segments.h: New file.
19022         * sysdeps/generic/ldsodefs.h
19023         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
19024         * elf/dl-close.c: Include <dl-unmap-segments.h>.
19025         * elf/dl-fptr.c: Likewise.
19026         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
19027         * sysdeps/aarch64/tlsdesc.c: Likewise.
19028         * sysdeps/arm/tlsdesc.c: Likewise.
19029         * sysdeps/i386/tlsdesc.c: Likewise.
19030         * sysdeps/tile/dl-runtime.c: Likewise.
19031         * sysdeps/x86_64/tlsdesc.c: Likewise.
19032         * elf/dl-load.h: New file.
19033         * elf/dl-load.c: Include it.
19034         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
19035         Macros moved to dl-load.h.
19036         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
19037         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
19038         Use _dl_unmap_segments in place of __munmap.
19039         Break out segment-mapping loop into ...
19040         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
19042 2014-04-03  Will Newton  <will.newton@linaro.org>
19044         * elf/dl-lookup.c (do_lookup_x): Remove comment
19045         referring to nested function and move variable
19046         declarations down to before first use.
19048 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
19050         [BZ #16799]
19051         [BZ #16800]
19052         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
19053         with 0 numerator.
19054         * math/s_catanf.c (__catanf): Likewise.
19055         * math/s_catanh.c (__catanh): Likewise.
19056         * math/s_catanhf.c (__catanhf): Likewise.
19057         * math/s_catanhl.c (__catanhl): Likewise.
19058         * math/s_catanl.c (__catanl): Likewise.
19059         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
19060         by positive zero when computing -Inf result.
19061         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
19062         (catanh_test): Likewise.
19063         * sysdeps/i386/fpu/libm-test-ulps: Update.
19064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19066         [BZ #16789]
19067         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
19068         instead of using underflowing value in computing result.
19069         * math/s_clog10.c (__clog10): Likewise.
19070         * math/s_clog10f.c (__clog10f): Likewise.
19071         * math/s_clog10l.c (__clog10l): Likewise.
19072         * math/s_clogf.c (__clogf): Likewise.
19073         * math/s_clogl.c (__clogl): Likewise.
19074         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
19075         (clog10_test): Likewise.
19076         * sysdeps/i386/fpu/libm-test-ulps: Update.
19077         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19079 2014-04-02  Alan Modra  <amodra@gmail.com>
19081         [BZ #16739]
19082         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
19083         output when value is near a power of two.  Use int64_t for lx and
19084         remove casts.  Use decimal rather than hex exponent constants.
19085         Don't use long double multiplication when double will suffice.
19086         * math/libm-test.inc (nextafter_test_data): Add tests.
19087         * NEWS: Add 16739 and 16786 to bug list.
19089         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
19091         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
19093 2014-04-01  Will Newton  <will.newton@linaro.org>
19095         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
19096         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
19098 2014-04-01  Florian Weimer  <fweimer@redhat.com>
19100         [BZ #13347]
19101         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
19102         * nptl/tst-setuid2.c: New file.
19103         * nptl/Makefile (xtests): Add tst-setuid2.
19105 2014-04-01  Alan Modra  <amodra@gmail.com>
19107         [BZ #16786]
19108         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
19110 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
19112         [BZ #6803]
19113         [BZ #6804]
19114         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
19115         set errno as appropriate.
19116         * math/w_scalbf.c (__scalbf): Likewise.
19117         * math/w_scalbl.c (__scalbl): Likewise.
19118         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
19119         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
19120         * math/libm-test.inc (scalb_test_data): Add errno expectations.
19121         Add more NaN tests.
19123         [BZ #16349]
19124         * math/w_atan2.c: Include <errno.h>.
19125         (__atan2): Set errno for result underflowing to zero.
19126         * math/w_atan2f.c: Include <errno.h>.
19127         (__atan2f): Set errno for result underflowing to zero.
19128         * math/w_atan2l.c: Include <errno.h>.
19129         (__atan2l): Set errno for result underflowing to zero.
19130         * math/auto-libm-test-in: Don't allow missing errno for some atan2
19131         tests.
19132         * math/auto-libm-test-out: Regenerated.
19134 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19136         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
19137         Encode instruction correctly in little endian.
19138         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
19139         Likewise.
19140         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
19141         Likewise.
19142         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
19143         Likewise.
19144         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
19145         Likewise.
19147 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
19149         [BZ #9894]
19150         * sysdeps/unix/sysv/linux/kernel-features.h
19151         [__sparc__ && !__arch64__ && !__sparc_v9__]
19152         (__ASSUME_SET_ROBUST_LIST): Do not define.
19153         [__sparc__ && !__arch64__ && !__sparc_v9__]
19154         (__ASSUME_FUTEX_LOCK_PI): Likewise.
19155         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
19156         Likewise.
19157         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19158         (__ASSUME_FUTEX_LOCK_PI): Undefine.
19159         (__ASSUME_REQUEUE_PI): Likewise.
19160         (__ASSUME_SET_ROBUST_LIST): Likewise.
19161         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19162         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
19163         Undefine.
19164         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19165         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
19166         Likewise.
19167         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
19168         Likewise.
19169         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
19170         Likewise.
19171         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19172         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
19173         Undefine.
19174         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
19175         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
19176         Likewise.
19178         [BZ #16648]
19179         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19180         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
19181         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
19183 2014-03-31  Will Newton  <will.newton@linaro.org>
19185         * benchtests/Makefile (bench): Add ffs and ffsll to list
19186         of tests.
19187         * benchtests/ffs-inputs: New file.
19188         * benchtests/ffsll-inputs: Likewise.
19190 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
19192         [BZ #16770]
19193         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
19194         too large before casting to int.
19195         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
19196         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
19197         * math/libm-test.inc (scalb_test_data): Add more tests.
19199 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19201         * benchtests/Makefile (DETAILED_OPT): New make option.
19202         (bench-func): Run benchmark program with -d if DETAILED_OPT is
19203         set.
19204         * benchtests/bench-skeleton.c: Include stdbool.h.
19205         (main): Store and print timings per input.
19206         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
19207         member to each argument value.
19208         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
19209         (_print_arg_data): Initialize per-input timing to 0.
19211         * benchtests/Makefile (timing-type): New binary.
19212         (bench-clean): Also remove bench-timing-type.
19213         (bench): New target for timing-type.
19214         (bench-func): Print output in JSON format.
19215         * benchtests/bench-skeleton.c (main): Print output in JSON
19216         format.
19217         * benchtests/bench-timing-type.c: New file.
19218         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
19219         (TIMING_PRINT_STATS): Remove.
19220         * benchtests/scripts/bench.py (_print_arg_data): Store variant
19221         name separately.
19223         * benchtests/bench-modf.c: Remove.
19224         * benchtests/modf-inputs: New inputs file.
19226 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
19228         [BZ #16362]
19229         * math/s_clog10.c (M_PI_LOG10E): New macro.
19230         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
19231         imaginary parts are 0.
19232         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
19233         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
19234         imaginary parts are 0.
19235         * math/s_clog10l.c (M_PI_LOG10El): New macro.
19236         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
19237         imaginary parts are 0.
19238         * math/libm-test.inc (clog10_test_data): Update expected results
19239         for when real and imaginary parts are 0.
19241 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
19243         * elf/dl-load.c: Finish conversion of __builtin_expect into
19244         __glibc_{un}likely.
19246 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
19248         [BZ #16348]
19249         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
19250         1+x for argument with exponent below -67.
19251         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
19252         Likewise.
19253         * math/auto-libm-test-in: Add more tests of exp.
19254         * math/auto-libm-test-out: Regenerated.
19256 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19258         [BZ #16759]
19259         * inet/getnetgrent_r.c (get_nonempty_val): New function.
19260         (nscd_getnetgrent): Use it.
19262         [BZ #16760]
19263         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
19264         of stpcpy.
19266 2014-03-27  Andi Kleen  <ak@linux.intel.com>
19268         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
19269         (lll_robust_lock, lll_cond_lock, lll_timedlock)
19270         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
19271         (lll_robust_unlock): Remove out of line section. Use cfi
19272         intrinsics.
19273         (LLL_STUB_UNWIND_INFO*): Remove.
19274         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
19275         (lll_robust_lock, lll_cond_lock, lll_timedlock)
19276         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
19277         (lll_robust_unlock): Remove out of line section. Use cfi
19278         intrinsics.
19279         (LLL_STUB_UNWIND_INFO*): Remove.
19281 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19283         [BZ #16758]
19284         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
19285         blank values.
19287 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
19289         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
19291 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
19293         [BZ #16198]
19294         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
19295         fnstenv.
19296         * math/test-fenv-preserve.c: New file.
19297         * math/Makefile (tests): Add test-fenv-preserve.
19299 2014-03-26  Will Newton <will.newton@linaro.org>
19301         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
19303 2014-03-25  Roland McGrath  <roland@hack.frob.com>
19305         * scripts/versionlist.awk: Partition the version sets and emit all
19306         GLIBC_* (sorted) before all others (sorted).
19308 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
19310         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
19311         GLIBC_2.2.5 version.
19313 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19315         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
19316         calls.
19318         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
19319         previous change.
19321         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19323 2014-03-25  Andreas Schwab  <schwab@suse.de>
19325         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
19326         label to be used after in6ailist is initialized.
19328 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19330         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19331         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
19333 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
19335         [BZ #16357]
19336         [BZ #16599]
19337         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
19338         min_plus_half.
19339         (fp_formats): Update initializers.
19340         (init_fp_formats): Initialize new field.
19341         (output_for_one_input_case): Allow underflow for results up to
19342         min_plus_half.
19343         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
19344         * math/auto-libm-test-in: Don't mark some underflows from asin and
19345         atanh as spurious.
19346         * math/auto-libm-test-out: Regenerated.
19347         * sysdeps/i386/fpu/libm-test-ulps: Update.
19348         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19350 2014-03-25  Andreas Schwab  <schwab@suse.de>
19352         * libio/Makefile (tst-ftell-partial-wide-ENV)
19353         (tst-ftell-active-handler-ENV): Define.
19355 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
19357         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
19359 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
19361         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
19363 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
19365         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
19366         * sysdeps/x86_64/fpu/multiarch/e_exp.c
19367         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19369 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
19371         [BZ #16634]
19372         * elf/dl-load.c (open_verify): Add mode parameter.
19373         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
19374         (open_path): Change from boolean 'secure' to complete flag 'mode'
19375         (_dl_map_object): Adjust.
19376         * elf/Makefile (tests): Add tst-dlopen-aout.
19377         * elf/tst-dlopen-aout.c: New test.
19379 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
19381         [BZ #16714]
19382         * sysdeps/unix/sysv/linux/s390/bits/stat.h
19383         (struct stat): Rename member pad0 to __glibc_reserved0.
19385         [BZ #16712]
19386         * sysdeps/s390/s390-32/bits/wordsize.h
19387         (__WORDSIZE32_SIZE_ULONG): New define.
19388         * sysdeps/s390/s390-64/bits/wordsize.h
19389         (__WORDSIZE32_SIZE_ULONG): Likewise.
19390         * sysdeps/generic/stdint.h (SIZE_MAX):
19391         Define as UL if __WORDSIZE32_SIZE_ULONG.
19393         [BZ #16713]
19394         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
19395         (__glibc_reserved0): New variable.
19396         (sa_flags): Change type to int.
19398         * posix/Makefile (before-compile): Use += before-compile instead
19399         of a :=.
19401         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19402         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
19404 2014-03-20  Andreas Schwab  <schwab@suse.de>
19406         [BZ #16743]
19407         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
19408         non-matching result from nscd.
19410 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19412         * scripts/bench.py: Moved to ...
19413         * benchtests/scripts/bench.py: ... here.
19414         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
19416 2014-03-24  Andreas Schwab  <schwab@suse.de>
19418         [BZ #16002]
19419         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
19420         alloca_account and account alloca use for struct in6ailist.
19422 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
19424         [BZ #16284]
19425         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
19426         rounding mode to recompute results that overflow to infinity or
19427         underflow to zero.
19428         * math/auto-libm-test-in: Don't mark tests as expected to fail for
19429         bug 16284.
19430         * math/auto-libm-test-out: Regenerated.
19431         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
19432         (ccosh_test): Likewise.
19433         (csin_test_data): Use plus_oflow.
19434         (csin_test): Use ALL_RM_TEST.
19435         (csinh_test_data): Use plus_oflow.
19436         (csinh_test): Use ALL_RM_TEST.
19437         * sysdeps/i386/fpu/libm-test-ulps: Update.
19438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19440 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
19442         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
19443         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
19444         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
19446         [BZ #16731]
19447         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
19448         when x - 1 is zero.
19449         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
19450         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
19451         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
19452         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
19453         argument is 1.
19454         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
19455         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
19456         zero.
19457         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
19458         * sysdeps/i386/fpu/libm-test-ulps: Update.
19459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19461 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19463         * scripts/bench.pl: Remove file.
19464         * scripts/bench.py: New benchmark script.
19465         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
19466         * benchtests/README: Mention python dependency.
19467         * scripts/pylintrc: New file.
19468         * scripts/pylint: New file.
19470         * bits/mathdef.h: Use #ifdef instead of #if.
19471         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
19472         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19473         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
19474         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19475         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
19476         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19478 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19479             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
19481         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
19482         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
19483         and strpbrk-ppc64 objects.
19484         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19485         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
19486         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
19487         multiarch strpbrk for POWER7.
19488         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
19489         multiarch strpbrk for PPC64.
19490         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
19491         ifunc selector.
19492         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
19493         strpbrk for POWER7.
19495 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
19497         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
19498         (atan_test): Likewise.
19499         (atanh_test_data): Use NO_TEST_INLINE for two tests.
19500         (atanh_test): Use ALL_RM_TEST.
19501         (atan2_test_data): Likewise.
19502         (cabs_test): Likewise.
19503         (cacosh_test): Likewise.
19504         (carg_test): Likewise.
19505         (casin_test): Likewise.
19506         (casinh_test): Likewise.
19507         (cbrt_test): Likewise.
19508         (csqrt_test): Likewise.
19509         (erf_test): Likewise.
19510         (erfc_test): Likewise.
19511         (pow10_test): Likewise.
19512         (exp2_test): Likewise.
19513         (hypot_test): Likewise.
19514         (j0_test): Likewise.
19515         (j1_test): Likewise.
19516         (lgamma_test): Likewise.
19517         (gamma_test): Likewise.
19518         (sincos_test): Likewise.
19519         (tanh_test): Likewise.
19520         (y0_test): Likewise.
19521         (y1_test): Likewise.
19522         * sysdeps/i386/fpu/libm-test-ulps: Update.
19523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19525 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19527         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
19528         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
19529         and strcspn-ppc64 objects.
19530         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19531         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
19532         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
19533         multiarch strcspn for POWER7.
19534         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
19535         multiarch strcspn for PPC64.
19536         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
19537         ifunc selector.
19538         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
19539         strcspn for POWER7.
19541 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
19543         * math/gen-libm-test.pl (generate_testfile): Expect only function
19544         name as argument to AUTO_TESTS_* and pass results for all rounding
19545         modes to parse_args.
19546         (parse_auto_input): Separate inputs of automatic tests from
19547         outputs before storing in %auto_tests.
19548         * math/libm-test.inc (acos_test_data): Update call to
19549         AUTO_TESTS_f_f.
19550         (acos_test): Use ALL_RM_TEST.
19551         (acos_tonearest_test_data): Remove.
19552         (acos_test_tonearest): Likewise.
19553         (acos_towardzero_test_data): Likewise.
19554         (acos_test_towardzero): Likewise.
19555         (acos_downward_test_data): Likewise.
19556         (acos_test_downward): Likewise.
19557         (acos_upward_test_data): Likewise.
19558         (acos_test_upward): Likewise.
19559         (acosh_test_data): Update call to AUTO_TESTS_f_f.
19560         (asin_test_data): Likewise.
19561         (asin_test): Use ALL_RM_TEST.
19562         (asin_tonearest_test_data): Remove.
19563         (asin_test_tonearest): Likewise.
19564         (asin_towardzero_test_data): Likewise.
19565         (asin_test_towardzero): Likewise.
19566         (asin_downward_test_data): Likewise.
19567         (asin_test_downward): Likewise.
19568         (asin_upward_test_data): Likewise.
19569         (asin_test_upward): Likewise.
19570         (asinh_test_data): Update call to AUTO_TESTS_f_f.
19571         (atan_test_data): Likewise.
19572         (atanh_test_data): Likewise.
19573         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
19574         (cabs_test_data): Update call to AUTO_TESTS_c_f.
19575         (carg_test_data): Likewise.
19576         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
19577         (ccos_test_data): Update call to AUTO_TESTS_c_c.
19578         (ccosh_test_data): Likewise.
19579         (cexp_test_data): Likewise.
19580         (clog_test_data): Likewise.
19581         (clog10_test_data): Likewise.
19582         (cos_test_data): Update call to AUTO_TESTS_f_f.
19583         (cos_test): Use ALL_RM_TEST.
19584         (cos_tonearest_test_data): Remove.
19585         (cos_test_tonearest): Likewise.
19586         (cos_towardzero_test_data): Likewise.
19587         (cos_test_towardzero): Likewise.
19588         (cos_downward_test_data): Likewise.
19589         (cos_test_downward): Likewise.
19590         (cos_upward_test_data): Likewise.
19591         (cos_test_upward): Likewise.
19592         (cosh_test_data): Update call to AUTO_TESTS_f_f.
19593         (cosh_test): Use ALL_RM_TEST.
19594         (cosh_tonearest_test_data): Remove.
19595         (cosh_test_tonearest): Likewise.
19596         (cosh_towardzero_test_data): Likewise.
19597         (cosh_test_towardzero): Likewise.
19598         (cosh_downward_test_data): Likewise.
19599         (cosh_test_downward): Likewise.
19600         (cosh_upward_test_data): Likewise.
19601         (cosh_test_upward): Likewise.
19602         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
19603         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
19604         (ctan_test_data): Likewise.
19605         (ctan_test): Use ALL_RM_TEST.
19606         (ctan_tonearest_test_data): Remove.
19607         (ctan_test_tonearest): Likewise.
19608         (ctan_towardzero_test_data): Likewise.
19609         (ctan_test_towardzero): Likewise.
19610         (ctan_downward_test_data): Likewise.
19611         (ctan_test_downward): Likewise.
19612         (ctan_upward_test_data): Likewise.
19613         (ctan_test_upward): Likewise.
19614         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
19615         (ctanh_test): Use ALL_RM_TEST.
19616         (ctanh_tonearest_test_data): Remove.
19617         (ctanh_test_tonearest): Likewise.
19618         (ctanh_towardzero_test_data): Likewise.
19619         (ctanh_test_towardzero): Likewise.
19620         (ctanh_downward_test_data): Likewise.
19621         (ctanh_test_downward): Likewise.
19622         (ctanh_upward_test_data): Likewise.
19623         (ctanh_test_upward): Likewise.
19624         (erf_test_data): Update call to AUTO_TESTS_f_f.
19625         (erfc_test_data): Likewise.
19626         (exp_test_data): Likewise.
19627         (exp_test): Use ALL_RM_TEST.
19628         (exp_tonearest_test_data): Remove.
19629         (exp_test_tonearest): Likewise.
19630         (exp_towardzero_test_data): Likewise.
19631         (exp_test_towardzero): Likewise.
19632         (exp_downward_test_data): Likewise.
19633         (exp_test_downward): Likewise.
19634         (exp_upward_test_data): Likewise.
19635         (exp_test_upward): Likewise.
19636         (exp10_test_data): Update call to AUTO_TESTS_f_f.
19637         (exp10_test): Use ALL_RM_TEST.
19638         (exp10_tonearest_test_data): Remove.
19639         (exp10_test_tonearest): Likewise.
19640         (exp10_towardzero_test_data): Likewise.
19641         (exp10_test_towardzero): Likewise.
19642         (exp10_downward_test_data): Likewise.
19643         (exp10_test_downward): Likewise.
19644         (exp10_upward_test_data): Likewise.
19645         (exp10_test_upward): Likewise.
19646         (exp2_test_data): Update call to AUTO_TESTS_f_f.
19647         (expm1_test_data): Likewise.
19648         (expm1_test): Use ALL_RM_TEST.
19649         (expm1_tonearest_test_data): Remove.
19650         (expm1_test_tonearest): Likewise.
19651         (expm1_towardzero_test_data): Likewise.
19652         (expm1_test_towardzero): Likewise.
19653         (expm1_downward_test_data): Likewise.
19654         (expm1_test_downward): Likewise.
19655         (expm1_upward_test_data): Likewise.
19656         (expm1_test_upward): Likewise.
19657         (fma_test_data): Update call to AUTO_TESTS_fff_f.
19658         (fma_test): Use ALL_RM_TEST.
19659         (fma_towardzero_test_data): Remove.
19660         (fma_test_towardzero): Likewise.
19661         (fma_downward_test_data): Likewise.
19662         (fma_test_downward): Likewise.
19663         (fma_upward_test_data): Likewise.
19664         (fma_test_upward): Likewise.
19665         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
19666         (j0_test_data): Update call to AUTO_TESTS_f_f.
19667         (j1_test_data): Likewise.
19668         (jn_test_data): Update call to AUTO_TESTS_if_f.
19669         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
19670         (log_test_data): Update call to AUTO_TESTS_f_f.
19671         (log10_test_data): Likewise.
19672         (log1p_test_data): Likewise.
19673         (log2_test_data): Likewise.
19674         (pow_test_data): Update call to AUTO_TESTS_ff_f.
19675         (pow_tonearest_test_data): Likewise.
19676         (sin_test_data): Update call to AUTO_TESTS_f_f.
19677         (sin_test): Use ALL_RM_TEST.
19678         (sin_tonearest_test_data): Remove.
19679         (sin_test_tonearest): Likewise.
19680         (sin_towardzero_test_data): Likewise.
19681         (sin_test_towardzero): Likewise.
19682         (sin_downward_test_data): Likewise.
19683         (sin_test_downward): Likewise.
19684         (sin_upward_test_data): Likewise.
19685         (sin_test_upward): Likewise.
19686         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
19687         (sinh_test_data): Update call to AUTO_TESTS_f_f.
19688         (sinh_test): Use ALL_RM_TEST.
19689         (sinh_tonearest_test_data): Remove.
19690         (sinh_test_tonearest): Likewise.
19691         (sinh_towardzero_test_data): Likewise.
19692         (sinh_test_towardzero): Likewise.
19693         (sinh_downward_test_data): Likewise.
19694         (sinh_test_downward): Likewise.
19695         (sinh_upward_test_data): Likewise.
19696         (sinh_test_upward): Likewise.
19697         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
19698         (sqrt_test): Use ALL_RM_TEST.
19699         (sqrt_tonearest_test_data): Remove.
19700         (sqrt_test_tonearest): Likewise.
19701         (sqrt_towardzero_test_data): Likewise.
19702         (sqrt_test_towardzero): Likewise.
19703         (sqrt_downward_test_data): Likewise.
19704         (sqrt_test_downward): Likewise.
19705         (sqrt_upward_test_data): Likewise.
19706         (sqrt_test_upward): Likewise.
19707         (tan_test_data): Update call to AUTO_TESTS_f_f.
19708         (tan_test): Use ALL_RM_TEST.
19709         (tan_tonearest_test_data): Remove.
19710         (tan_test_tonearest): Likewise.
19711         (tan_towardzero_test_data): Likewise.
19712         (tan_test_towardzero): Likewise.
19713         (tan_downward_test_data): Likewise.
19714         (tan_test_downward): Likewise.
19715         (tan_upward_test_data): Likewise.
19716         (tan_test_upward): Likewise.
19717         (tanh_test_data): Update call to AUTO_TESTS_f_f.
19718         (tgamma_test_data): Likewise.
19719         (y0_test_data): Likewise.
19720         (y1_test_data): Likewise.
19721         (yn_test_data): Update call to AUTO_TESTS_if_f.
19722         (main): Do not call removed functions.
19724 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
19726         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
19727         (ldexp_test_data): Remove.
19728         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
19729         scalbn_test_data.
19730         (scalb_test): Use ALL_RM_TEST.
19732 2014-03-19  Andreas Schwab  <schwab@suse.de>
19734         * nscd/nscd.service: Also invalidate netgroup cache on reload.
19736 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
19738         [BZ #16649]
19739         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19740         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
19741         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
19742         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19743         (__ASSUME_PREADV): Undefine.
19744         (__ASSUME_PWRITEV): Likewise.
19746 2014-03-18  Roland McGrath  <roland@hack.frob.com>
19748         * bits/mman-linux.h: Add comment about non-Linux use.
19749         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
19750         bits/mman-linux.h resting place.
19752         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
19753         * bits/mman-linux.h: ... here.
19755 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19757         * conform/conformtest.pl: Add standard definition when calling C
19758         preprocessor on data files.
19759         (checknamespace): Remove unused variable.
19761 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
19763         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
19764         minus_oflow, plus_uflow and minus_uflow in expected results.
19765         * math/libm-test.inc (scalbn_test_data): Add more tests of
19766         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
19767         minus_uflow.
19768         (scalbn_test): Use ALL_RM_TEST.
19769         (scalbln_test_data): Add more tests of negative arguments.  Use
19770         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
19771         (scalbln_test): Use ALL_RM_TEST.
19773 2014-03-18  Roland McGrath  <roland@hack.frob.com>
19775         * scripts/abilist.awk: Ignore symbols marked with .hidden.
19777 2014-03-18  Will Newton  <will.newton@linaro.org>
19779         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
19780         inaccurate comment.
19782 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
19784         * Makerules [!subdir] (check-abi): Exit with error status if a
19785         test failed.
19787 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
19789         * math/libm-test.inc (nearbyint_test_data): Include all tests used
19790         for rint.  Include results for all rounding modes.
19791         (nearbyint_test): Use ALL_RM_TEST.
19792         (rint_test_data): Include all tests used for nearbyint.
19794 2014-03-17  Will Newton  <will.newton@linaro.org>
19796         * nptl/sysdeps/pthread/pthread.h: Revert previous
19797         change.
19799         * sysdeps/generic/ldsodefs.h: Revert previous
19800         change.
19802         * libio/genops.c: Revert previous change.
19803         * libio/libioP.h: Likewise.
19804         * stdio-common/vfprintf.c: Likewise.
19806         * sysdeps/generic/math_private.h: Revert previous
19807         change.
19809         * sysdeps/generic/math_private.h: Check whether
19810         HAVE_RM_CTX is defined with #ifdef rather
19811         than #if.
19813         * argp/argp-fmtstream.h: Check whether
19814         __STRICT_ANSI__ is defined with #ifdef rather
19815         than #if.
19816         * argp/argp.h: Likewise.
19818         * libio/genops.c: Check whether
19819         _IO_JUMPS_OFFSET is defined with #ifdef rather
19820         than #if.
19821         * libio/libioP.h: Likewise.
19822         * stdio-common/vfprintf.c: Likewise.
19824         * sysdeps/generic/ldsodefs.h: Check whether
19825         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
19826         than #if.
19828         * nptl/sysdeps/pthread/pthread.h: Check
19829         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
19830         its value.
19832 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
19834         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
19835         setting O_APPEND.
19836         * libio/tst-ftell-active-handler.c (do_append_test): Add a
19837         test case.
19839         [BZ #16680]
19840         * libio/fileops.c (_IO_file_open): Seek to end of file but
19841         don't cache the offset.
19842         (get_file_offset): Remove function.
19843         (do_ftell): Use cached offset when available.
19844         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
19845         don't cache the offset.
19846         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
19847         case.
19848         (do_one_test): Call it.
19849         (do_ftell_test): Fix up expected old offset for a+ mode.
19850         * libio/wfileops.c (do_ftell_wide): Used cached offset when
19851         available.
19853         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
19854         up test status with function return status.
19855         (do_write_test): Likewise.
19856         (do_append_test): Likewise.
19858         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
19859         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
19860         Remove.
19862 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
19864         * math/gen-libm-test.pl (parse_args): Handle results specified for
19865         each rounding mode separately.
19866         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
19867         tests and results from lrint_tonearest_test_data,
19868         lrint_towardzero_test_data, lrint_downward_test_data and
19869         lrint_upward_test_data.
19870         (lrint_test): Use ALL_RM_TEST.
19871         (lrint_tonearest_test_data): Remove.
19872         (lrint_test_tonearest): Likewise.
19873         (lrint_towardzero_test_data): Likewise.
19874         (lrint_test_towardzero): Likewise.
19875         (lrint_downward_test_data): Likewise.
19876         (lrint_test_downward): Likewise.
19877         (lrint_upward_test_data): Likewise.
19878         (lrint_test_upward): Likewise.
19879         (llrint_test_data): Merge in per-rounding-mode tests and results
19880         from llrint_tonearest_test_data, llrint_towardzero_test_data,
19881         llrint_downward_test_data and llrint_upward_test_data.
19882         (llrint_test): Use ALL_RM_TEST.
19883         (llrint_tonearest_test_data): Remove.
19884         (llrint_test_tonearest): Likewise.
19885         (llrint_towardzero_test_data): Likewise.
19886         (llrint_test_towardzero): Likewise.
19887         (llrint_downward_test_data): Likewise.
19888         (llrint_test_downward): Likewise.
19889         (llrint_upward_test_data): Likewise.
19890         (llrint_test_upward): Likewise.
19891         (rint_test_data): Merge in per-rounding-mode tests and results
19892         from rint_tonearest_test_data, rint_towardzero_test_data,
19893         rint_downward_test_data and rint_upward_test_data.  Add
19894         per-rounding-mode results for tests not in those arrays.
19895         (rint_test): Use ALL_RM_TEST.
19896         (rint_tonearest_test_data): Remove.
19897         (rint_test_tonearest): Likewise.
19898         (rint_towardzero_test_data): Likewise.
19899         (rint_test_towardzero): Likewise.
19900         (rint_downward_test_data): Likewise.
19901         (rint_test_downward): Likewise.
19902         (rint_upward_test_data): Likewise.
19903         (rint_test_upward): Likewise.
19904         (main): Don't call removed functions.
19906 2014-03-14  Roland McGrath  <roland@hack.frob.com>
19908         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
19909         "Compiled on ..." crapola.  It is anti-useful.
19911 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
19913         * scripts/evaluate-test.sh: Handle fourth argument to determine
19914         whether test run should stop on failure.
19915         * Makeconfig (stop-on-test-failure): New variable.
19916         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
19917         $(stop-on-test-failure).
19918         * Makefile (tests): Give a summary of results from testing and
19919         exit with failure status if they include an ERROR or FAIL.
19920         (xtests): Likewise.
19921         * manual/install.texi (Configuring and compiling): Mention
19922         stop-on-test-failure=y.
19923         * INSTALL: Regenerated.
19925 2014-03-14  Roland McGrath  <roland@hack.frob.com>
19927         * scripts/versionlist.awk: New file.
19928         * Makerules [$(build-shared) = yes]
19929         (postclean-generated): Add Versions.def, not Versions.def.v and
19930         Versions.def.v.i.
19931         ($(common-objpfx)Versions.def.v.i): Target removed.
19932         ($(common-objpfx)Versions.def): New target.
19933         ($(common-objpfx)Versions.all): Depend on that rather that
19934         $(common-objpfx)Versions.def.v.
19935         * Versions.def: File removed.
19937         * Makeconfig (+gccwarn): Add -Wundef.
19938         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
19939         a dl-sysdep.h breaking its contract.
19940         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
19941         * include/stackinfo.h: New file.
19942         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
19943         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
19944         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
19945         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
19946         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
19947         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
19948         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19949         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19950         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19951         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19952         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19953         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
19954         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19955         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19956         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19958 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19960         [BZ #16707]
19961         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
19962         implementation.
19963         * math/libm-test.inc (round_test_data): Add more tests.
19965         [BZ #16706]
19966         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
19967         implementation.
19968         * math/libm-test.inc (nearbyint_test_data): Add more tests.
19970         [BZ #16701]
19971         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
19972         implementation.
19973         * math/libm-test.inc (ceil_test_data): Add more tests.
19975         * math/libm-test.inc (trunc_test_data): Add more tests related to
19976         BZ#16414.
19978 2014-03-14  Roland McGrath  <roland@hack.frob.com>
19980         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
19981         with #if rather than #ifdef.
19982         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
19984 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
19986         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
19987         first.  Disable AVX-512 GCC support if assembler doesn't support
19988         it.
19989         * sysdeps/x86_64/configure: Regenerated.
19991 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
19993         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
19994         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
19995         (__old_pthread_attr_setstack): Likewise.
19996         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
19997         [!_STACK_GROWS_DOWN]: Likewise.
19999 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
20001         * config.make.in (have-bash2): Delete.
20002         * configure.ac (libc_cv_have_bash2): Delete.
20003         * configure: Regenerate.
20004         * elf/Makefile (common-ldd-rewrite): Rename to ...
20005         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
20006         (sh-ldd-rewrite): Delete.
20007         (bash-ldd-rewrite): Delete.
20008         (have-bash2): Delete checks.
20009         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
20010         ldd-rewrite.
20012         * config.make.in (have-ksh): Delete.
20013         (KSH): Delete.
20014         * configure.ac (libc_cv_have_ksh): Delete.
20015         * configure: Regenerate.
20017         * elf/Makefile: Delete $(have-ksh) check.
20018         ($(objpfx)sotruss): Change KSH to BASH.
20019         * elf/sotruss.ksh: Rename to ...
20020         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
20021         function style to match POSIX.  Drop ksh vim mode setting.
20023         * manual/time.texi (Specifying the Time Zone with TZ): Change
20024         Tuesday to Thursday.
20026         * debug/tst-longjmp_chk2.c: Update header comment.
20027         (stackoverflow_handler): Add comment.  Call assert on pass value.
20029 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
20031         [BZ #16194]
20032         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
20033         (HAVE_AVX512_ASM_SUPPORT): Likewise.
20034         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
20035         (La_x86_64_vector): Add zmm.
20036         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
20037         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
20038         ($(objpfx)tst-audit10): New target.
20039         ($(objpfx)tst-audit10.out): Likewise.
20040         (tst-audit10-ENV): New.
20041         (AVX512-CFLAGS): Likewise.
20042         (CFLAGS-tst-audit10.c): Likewise.
20043         (CFLAGS-tst-auditmod10a.c): Likewise.
20044         (CFLAGS-tst-auditmod10b.c): Likewise.
20045         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
20046         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
20047         * sysdeps/x86_64/configure: Regenerated.
20048         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
20049         AVX-512 zmm register support.
20050         (_dl_x86_64_save_sse): Likewise.
20051         (_dl_x86_64_restore_sse): Likewise.
20052         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
20053         size vector registers.
20054         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
20055         (ZMM_SIZE): Likewise.
20056         * sysdeps/x86_64/tst-audit10.c: New file.
20057         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
20058         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
20060 2014-03-13  Roland McGrath  <roland@hack.frob.com>
20062         * configure.ac (HAVE_EHDR_START): New check.
20063         * configure: Regenerated.
20064         * config.h.in (HAVE_EHDR_START): New #undef.
20065         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
20066         assuming the lowest-addressed segment maps the start of the file.
20068 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
20070         * INSTALL: Regenerated.
20072 2014-03-13  Will Newton  <will.newton@linaro.org>
20074         * manual/setjmp.texi (System V contexts): Improve
20075         clarity and grammar of documentation.
20077 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
20079         [BZ #16381]
20080         * elf/Makefile (tests): Add tst-pie2.
20081         (tests-pie): Add tst-pie2.
20082         * elf/tst-pie2.c: New file.
20083         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
20084         for ET_EXEC.
20085         * elf/rtld.c (map_doit): Load executable as lt_executable.
20086         (dl_main): Likewise.
20088 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
20090         [BZ #16642]
20091         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20092         (__ASSUME_PSELECT): Undefine.
20094 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20096         [BZ #16689]
20097         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
20098         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
20099         static build.
20100         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
20101         selector for static builds.
20103 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20105         [BZ #16695]
20106         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
20107         key in the buffer.
20109 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20111         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
20112         IFUNC selector for static builds.
20114 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
20116         * sysdeps/mips/math_private.h [__mips_hard_float]
20117         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
20118         libc_feresetround_mips_ctx.
20119         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
20120         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
20121         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
20123         [BZ #16677]
20124         * math/s_nextafter.c (__nextafter): Do not return value from
20125         overflowing computation.
20126         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
20127         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
20128         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
20129         Likewise.
20130         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
20131         Likewise.
20132         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
20133         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
20135 2014-03-11  Roland McGrath  <roland@hack.frob.com>
20137         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
20138         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
20139         Move sfi_sp use from the load-multiple (that no longer sets sp) to
20140         the new mov targetting sp.
20142 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20144         [BZ #16683]
20145         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
20146         Define it for static builds as well.
20147         (NO_BZERO_IMPL): Likewise.
20149 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20151         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
20152         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
20153         multiarch strspn for PPC64.
20154         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
20155         * sysdeps/powerpc/powerpc64/multiarch/strspn-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 strspn
20159         multiarch optimizations
20160         * string/strspn.c (strspn): Using macro to redefine symbol name.
20162 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20163             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20165         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
20166         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
20167         multiarch strncat for PPC64.
20168         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
20169         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
20170         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20171         (__libc_ifunc_impl_list): Likewise.
20172         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
20173         multiarch optimizations
20175 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20177         [BZ #16639]
20178         * nscd/nscd.service: Make service type forking.
20180 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20182         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
20183         sign in non default rounding modes.
20184         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
20186 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
20188         * math/libm-test.inc (ALL_RM_TEST): New macro.
20189         (ceil_test): Use ALL_RM_TEST.
20190         (cimag_test): Likewise.
20191         (conj_test): Likewise.
20192         (copysign_test): Likewise.
20193         (cproj_test): Likewise.
20194         (creal_test): Likewise.
20195         (fabs_test): Likewise.
20196         (floor_test): Likewise.
20197         (fmax_test): Likewise.
20198         (fmin_test): Likewise.
20199         (fmod_test): Likewise.
20200         (fpclassify_test): Likewise.
20201         (frexp_test): Likewise.
20202         (ilogb_test): Likewise.
20203         (isfinite_test): Likewise.
20204         (finite_test): Likewise.
20205         (isgreater_test): Likewise.
20206         (isgreaterequal_test): Likewise.
20207         (isinf_test): Likewise.
20208         (isless_test): Likewise.
20209         (islessequal_test): Likewise.
20210         (islessgreater_test): Likewise.
20211         (isnan_test): Likewise.
20212         (isnormal_test): Likewise.
20213         (issignaling_test): Likewise.
20214         (isunordered_test): Likewise.
20215         (logb_test): Likewise.
20216         (logb_downward_test_data): Remove.
20217         (logb_test_downward): Likewise.
20218         (lround_test): Use ALL_RM_TEST.
20219         (llround_test): Likewise.
20220         (modf_test): Likewise.
20221         (nexttoward_test): Likewise.
20222         (remainder_test): Likewise.
20223         (drem_test): Likewise.
20224         (remainder_tonearest_test_data): Likewise.
20225         (remainder_test_tonearest): Likewise.
20226         (drem_test_tonearest): Likewise.
20227         (remainder_towardzero_test_data): Likewise.
20228         (remainder_test_towardzero): Likewise.
20229         (drem_test_towardzero): Likewise.
20230         (remainder_downward_test_data): Likewise.
20231         (remainder_test_downward): Likewise.
20232         (drem_test_downward): Likewise.
20233         (remainder_upward_test_data): Likewise.
20234         (remainder_test_upward): Likewise.
20235         (drem_test_upward): Likewise.
20236         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
20237         (round_test): Use ALL_RM_TEST.
20238         (signbit_test): Likewise.
20239         (trunc_test): Likewise.
20240         (significand_test): Likewise.
20241         (main): Don't call removed functions.
20243 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
20245         [BZ #16674]
20246         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
20247         || __USE_XOPEN2K8].
20248         (ILL_ILLOPN): Likewise.
20249         (ILL_ILLADR): Likewise.
20250         (ILL_ILLTRP): Likewise.
20251         (ILL_PRVOPC): Likewise.
20252         (ILL_PRVREG): Likewise.
20253         (ILL_COPROC): Likewise.
20254         (ILL_BADSTK): Likewise.
20255         (FPE_INTDIV): Likewise.
20256         (FPE_INTOVF): Likewise.
20257         (FPE_FLTDIV): Likewise.
20258         (FPE_FLTOVF): Likewise.
20259         (FPE_FLTUND): Likewise.
20260         (FPE_FLTRES): Likewise.
20261         (FPE_FLTINV): Likewise.
20262         (FPE_FLTSUB): Likewise.
20263         (SEGV_MAPERR): Likewise.
20264         (SEGV_ACCERR): Likewise.
20265         (BUS_ADRALN): Likewise.
20266         (BUS_ADRERR): Likewise.
20267         (BUS_OBJERR): Likewise.
20268         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20269         (TRAP_TRACE): Likewise.
20270         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20271         __USE_XOPEN2K8].
20272         (CLD_KILLED): Likewise.
20273         (CLD_DUMPED): Likewise.
20274         (CLD_TRAPPED): Likewise.
20275         (CLD_STOPPED): Likewise.
20276         (CLD_CONTINUED): Likewise.
20277         (POLL_IN): Likewise.
20278         (POLL_OUT): Likewise.
20279         (POLL_MSG): Likewise.
20280         (POLL_ERR): Likewise.
20281         (POLL_PRI): Likewise.
20282         (POLL_HUP): Likewise.
20283         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
20284         Likewise.
20285         (ILL_ILLOPN): Likewise.
20286         (ILL_ILLADR): Likewise.
20287         (ILL_ILLTRP): Likewise.
20288         (ILL_PRVOPC): Likewise.
20289         (ILL_PRVREG): Likewise.
20290         (ILL_COPROC): Likewise.
20291         (ILL_BADSTK): Likewise.
20292         (FPE_INTDIV): Likewise.
20293         (FPE_INTOVF): Likewise.
20294         (FPE_FLTDIV): Likewise.
20295         (FPE_FLTOVF): Likewise.
20296         (FPE_FLTUND): Likewise.
20297         (FPE_FLTRES): Likewise.
20298         (FPE_FLTINV): Likewise.
20299         (FPE_FLTSUB): Likewise.
20300         (SEGV_MAPERR): Likewise.
20301         (SEGV_ACCERR): Likewise.
20302         (BUS_ADRALN): Likewise.
20303         (BUS_ADRERR): Likewise.
20304         (BUS_OBJERR): Likewise.
20305         (BUS_MCEERR_AR): Likewise.
20306         (BUS_MCEERR_AO): Likewise.
20307         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20308         (TRAP_TRACE): Likewise.
20309         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20310         __USE_XOPEN2K8].
20311         (CLD_KILLED): Likewise.
20312         (CLD_DUMPED): Likewise.
20313         (CLD_TRAPPED): Likewise.
20314         (CLD_STOPPED): Likewise.
20315         (CLD_CONTINUED): Likewise.
20316         (POLL_IN): Likewise.
20317         (POLL_OUT): Likewise.
20318         (POLL_MSG): Likewise.
20319         (POLL_ERR): Likewise.
20320         (POLL_PRI): Likewise.
20321         (POLL_HUP): Likewise.
20322         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
20323         (ILL_ILLOPN): Likewise.
20324         (ILL_ILLADR): Likewise.
20325         (ILL_ILLTRP): Likewise.
20326         (ILL_PRVOPC): Likewise.
20327         (ILL_PRVREG): Likewise.
20328         (ILL_COPROC): Likewise.
20329         (ILL_BADSTK): Likewise.
20330         (FPE_INTDIV): Likewise.
20331         (FPE_INTOVF): Likewise.
20332         (FPE_FLTDIV): Likewise.
20333         (FPE_FLTOVF): Likewise.
20334         (FPE_FLTUND): Likewise.
20335         (FPE_FLTRES): Likewise.
20336         (FPE_FLTINV): Likewise.
20337         (FPE_FLTSUB): Likewise.
20338         (SEGV_MAPERR): Likewise.
20339         (SEGV_ACCERR): Likewise.
20340         (BUS_ADRALN): Likewise.
20341         (BUS_ADRERR): Likewise.
20342         (BUS_OBJERR): Likewise.
20343         (BUS_MCEERR_AR): Likewise.
20344         (BUS_MCEERR_AO): Likewise.
20345         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20346         (TRAP_TRACE): Likewise.
20347         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20348         __USE_XOPEN2K8].
20349         (CLD_KILLED): Likewise.
20350         (CLD_DUMPED): Likewise.
20351         (CLD_TRAPPED): Likewise.
20352         (CLD_STOPPED): Likewise.
20353         (CLD_CONTINUED): Likewise.
20354         (POLL_IN): Likewise.
20355         (POLL_OUT): Likewise.
20356         (POLL_MSG): Likewise.
20357         (POLL_ERR): Likewise.
20358         (POLL_PRI): Likewise.
20359         (POLL_HUP): Likewise.
20360         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
20361         Likewise.
20362         (ILL_ILLOPN): Likewise.
20363         (ILL_ILLADR): Likewise.
20364         (ILL_ILLTRP): Likewise.
20365         (ILL_PRVOPC): Likewise.
20366         (ILL_PRVREG): Likewise.
20367         (ILL_COPROC): Likewise.
20368         (ILL_BADSTK): Likewise.
20369         (ILL_BADIADDR): Likewise.
20370         (ILL_BREAK): Likewise.
20371         (FPE_INTDIV): Likewise.
20372         (FPE_INTOVF): Likewise.
20373         (FPE_FLTDIV): Likewise.
20374         (FPE_FLTOVF): Likewise.
20375         (FPE_FLTUND): Likewise.
20376         (FPE_FLTRES): Likewise.
20377         (FPE_FLTINV): Likewise.
20378         (FPE_FLTSUB): Likewise.
20379         (FPE_DECOVF): Likewise.
20380         (FPE_DECDIV): Likewise.
20381         (FPE_DECERR): Likewise.
20382         (FPE_INVASC): Likewise.
20383         (FPE_INVDEC): Likewise.
20384         (SEGV_MAPERR): Likewise.
20385         (SEGV_ACCERR): Likewise.
20386         (SEGV_PSTKOVF): Likewise.
20387         (BUS_ADRALN): Likewise.
20388         (BUS_ADRERR): Likewise.
20389         (BUS_OBJERR): Likewise.
20390         (BUS_MCEERR_AR): Likewise.
20391         (BUS_MCEERR_AO): Likewise.
20392         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20393         (TRAP_TRACE): Likewise.
20394         (TRAP_BRANCH): Likewise.
20395         (TRAP_HWBKPT): Likewise.
20396         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20397         __USE_XOPEN2K8].
20398         (CLD_KILLED): Likewise.
20399         (CLD_DUMPED): Likewise.
20400         (CLD_TRAPPED): Likewise.
20401         (CLD_STOPPED): Likewise.
20402         (CLD_CONTINUED): Likewise.
20403         (POLL_IN): Likewise.
20404         (POLL_OUT): Likewise.
20405         (POLL_MSG): Likewise.
20406         (POLL_ERR): Likewise.
20407         (POLL_PRI): Likewise.
20408         (POLL_HUP): Likewise.
20409         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
20410         (ILL_ILLOPN): Likewise.
20411         (ILL_ILLADR): Likewise.
20412         (ILL_ILLTRP): Likewise.
20413         (ILL_PRVOPC): Likewise.
20414         (ILL_PRVREG): Likewise.
20415         (ILL_COPROC): Likewise.
20416         (ILL_BADSTK): Likewise.
20417         (FPE_INTDIV): Likewise.
20418         (FPE_INTOVF): Likewise.
20419         (FPE_FLTDIV): Likewise.
20420         (FPE_FLTOVF): Likewise.
20421         (FPE_FLTUND): Likewise.
20422         (FPE_FLTRES): Likewise.
20423         (FPE_FLTINV): Likewise.
20424         (FPE_FLTSUB): Likewise.
20425         (SEGV_MAPERR): Likewise.
20426         (SEGV_ACCERR): Likewise.
20427         (BUS_ADRALN): Likewise.
20428         (BUS_ADRERR): Likewise.
20429         (BUS_OBJERR): Likewise.
20430         (BUS_MCEERR_AR): Likewise.
20431         (BUS_MCEERR_AO): Likewise.
20432         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20433         (TRAP_TRACE): Likewise.
20434         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20435         __USE_XOPEN2K8].
20436         (CLD_KILLED): Likewise.
20437         (CLD_DUMPED): Likewise.
20438         (CLD_TRAPPED): Likewise.
20439         (CLD_STOPPED): Likewise.
20440         (CLD_CONTINUED): Likewise.
20441         (POLL_IN): Likewise.
20442         (POLL_OUT): Likewise.
20443         (POLL_MSG): Likewise.
20444         (POLL_ERR): Likewise.
20445         (POLL_PRI): Likewise.
20446         (POLL_HUP): Likewise.
20447         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
20448         (ILL_ILLOPN): Likewise.
20449         (ILL_ILLADR): Likewise.
20450         (ILL_ILLTRP): Likewise.
20451         (ILL_PRVOPC): Likewise.
20452         (ILL_PRVREG): Likewise.
20453         (ILL_COPROC): Likewise.
20454         (ILL_BADSTK): Likewise.
20455         (FPE_INTDIV): Likewise.
20456         (FPE_INTOVF): Likewise.
20457         (FPE_FLTDIV): Likewise.
20458         (FPE_FLTOVF): Likewise.
20459         (FPE_FLTUND): Likewise.
20460         (FPE_FLTRES): Likewise.
20461         (FPE_FLTINV): Likewise.
20462         (FPE_FLTSUB): Likewise.
20463         (SEGV_MAPERR): Likewise.
20464         (SEGV_ACCERR): Likewise.
20465         (BUS_ADRALN): Likewise.
20466         (BUS_ADRERR): Likewise.
20467         (BUS_OBJERR): Likewise.
20468         (BUS_MCEERR_AR): Likewise.
20469         (BUS_MCEERR_AO): Likewise.
20470         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20471         (TRAP_TRACE): Likewise.
20472         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20473         __USE_XOPEN2K8].
20474         (CLD_KILLED): Likewise.
20475         (CLD_DUMPED): Likewise.
20476         (CLD_TRAPPED): Likewise.
20477         (CLD_STOPPED): Likewise.
20478         (CLD_CONTINUED): Likewise.
20479         (POLL_IN): Likewise.
20480         (POLL_OUT): Likewise.
20481         (POLL_MSG): Likewise.
20482         (POLL_ERR): Likewise.
20483         (POLL_PRI): Likewise.
20484         (POLL_HUP): Likewise.
20485         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
20486         (ILL_ILLOPN): Likewise.
20487         (ILL_ILLADR): Likewise.
20488         (ILL_ILLTRP): Likewise.
20489         (ILL_PRVOPC): Likewise.
20490         (ILL_PRVREG): Likewise.
20491         (ILL_COPROC): Likewise.
20492         (ILL_BADSTK): Likewise.
20493         (FPE_INTDIV): Likewise.
20494         (FPE_INTOVF): Likewise.
20495         (FPE_FLTDIV): Likewise.
20496         (FPE_FLTOVF): Likewise.
20497         (FPE_FLTUND): Likewise.
20498         (FPE_FLTRES): Likewise.
20499         (FPE_FLTINV): Likewise.
20500         (FPE_FLTSUB): Likewise.
20501         (SEGV_MAPERR): Likewise.
20502         (SEGV_ACCERR): Likewise.
20503         (BUS_ADRALN): Likewise.
20504         (BUS_ADRERR): Likewise.
20505         (BUS_OBJERR): Likewise.
20506         (BUS_MCEERR_AR): Likewise.
20507         (BUS_MCEERR_AO): Likewise.
20508         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20509         (TRAP_TRACE): Likewise.
20510         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20511         __USE_XOPEN2K8].
20512         (CLD_KILLED): Likewise.
20513         (CLD_DUMPED): Likewise.
20514         (CLD_TRAPPED): Likewise.
20515         (CLD_STOPPED): Likewise.
20516         (CLD_CONTINUED): Likewise.
20517         (POLL_IN): Likewise.
20518         (POLL_OUT): Likewise.
20519         (POLL_MSG): Likewise.
20520         (POLL_ERR): Likewise.
20521         (POLL_PRI): Likewise.
20522         (POLL_HUP): Likewise.
20523         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
20524         (ILL_ILLOPN): Likewise.
20525         (ILL_ILLADR): Likewise.
20526         (ILL_ILLTRP): Likewise.
20527         (ILL_PRVOPC): Likewise.
20528         (ILL_PRVREG): Likewise.
20529         (ILL_COPROC): Likewise.
20530         (ILL_BADSTK): Likewise.
20531         (ILL_DBLFLT): Likewise.
20532         (ILL_HARDWALL): Likewise.
20533         (FPE_INTDIV): Likewise.
20534         (FPE_INTOVF): Likewise.
20535         (FPE_FLTDIV): Likewise.
20536         (FPE_FLTOVF): Likewise.
20537         (FPE_FLTUND): Likewise.
20538         (FPE_FLTRES): Likewise.
20539         (FPE_FLTINV): Likewise.
20540         (FPE_FLTSUB): Likewise.
20541         (SEGV_MAPERR): Likewise.
20542         (SEGV_ACCERR): Likewise.
20543         (BUS_ADRALN): Likewise.
20544         (BUS_ADRERR): Likewise.
20545         (BUS_OBJERR): Likewise.
20546         (BUS_MCEERR_AR): Likewise.
20547         (BUS_MCEERR_AO): Likewise.
20548         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20549         (TRAP_TRACE): Likewise.
20550         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20551         __USE_XOPEN2K8].
20552         (CLD_KILLED): Likewise.
20553         (CLD_DUMPED): Likewise.
20554         (CLD_TRAPPED): Likewise.
20555         (CLD_STOPPED): Likewise.
20556         (CLD_CONTINUED): Likewise.
20557         (POLL_IN): Likewise.
20558         (POLL_OUT): Likewise.
20559         (POLL_MSG): Likewise.
20560         (POLL_ERR): Likewise.
20561         (POLL_PRI): Likewise.
20562         (POLL_HUP): Likewise.
20563         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
20564         (ILL_ILLOPN): Likewise.
20565         (ILL_ILLADR): Likewise.
20566         (ILL_ILLTRP): Likewise.
20567         (ILL_PRVOPC): Likewise.
20568         (ILL_PRVREG): Likewise.
20569         (ILL_COPROC): Likewise.
20570         (ILL_BADSTK): Likewise.
20571         (FPE_INTDIV): Likewise.
20572         (FPE_INTOVF): Likewise.
20573         (FPE_FLTDIV): Likewise.
20574         (FPE_FLTOVF): Likewise.
20575         (FPE_FLTUND): Likewise.
20576         (FPE_FLTRES): Likewise.
20577         (FPE_FLTINV): Likewise.
20578         (FPE_FLTSUB): Likewise.
20579         (SEGV_MAPERR): Likewise.
20580         (SEGV_ACCERR): Likewise.
20581         (BUS_ADRALN): Likewise.
20582         (BUS_ADRERR): Likewise.
20583         (BUS_OBJERR): Likewise.
20584         (BUS_MCEERR_AR): Likewise.
20585         (BUS_MCEERR_AO): Likewise.
20586         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20587         (TRAP_TRACE): Likewise.
20588         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20589         __USE_XOPEN2K8].
20590         (CLD_KILLED): Likewise.
20591         (CLD_DUMPED): Likewise.
20592         (CLD_TRAPPED): Likewise.
20593         (CLD_STOPPED): Likewise.
20594         (CLD_CONTINUED): Likewise.
20595         (POLL_IN): Likewise.
20596         (POLL_OUT): Likewise.
20597         (POLL_MSG): Likewise.
20598         (POLL_ERR): Likewise.
20599         (POLL_PRI): Likewise.
20600         (POLL_HUP): Likewise.
20601         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
20602         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
20604         [BZ #16670]
20605         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
20606         before #include of <time.h>.
20607         [!__USE_XOPEN2K] (__need_timespec): Likewise.
20608         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
20609         (test-xfail-UNIX98/sched.h/conform): Likewise.
20611 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
20613         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
20614         error absence of trapping exception support.
20615         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
20617 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
20619         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
20620         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
20621         * timezone/Makefile (testdata): Move definition above include of
20622         Rules.
20623         (test-zones): New variable.
20624         (tests-special): Add zone files.
20625         (build-testdata): Use $(evaluate-test).
20627         * elf/Makefile (tests-special): Rename tests to end with .out.
20628         ($(objpfx)noload-mem): Likewise.
20629         ($(objpfx)tst-leaks1-mem): Likewise.
20630         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
20631         * iconv/Makefile (xtests-special): Change test-iconvconfig to
20632         $(objpfx)test-iconvconfig.out.
20633         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
20634         set -e inside subshell and redirect output to file.
20635         * iconvdata/Makefile (generated): Rename tests to end with .out.
20636         Correct type.
20637         (tests-special): Rename tests to end with .out.
20638         ($(objpfx)mtrace-tst-loading): Likewise.
20639         * intl/Makefile (generated): Likewise.
20640         (tests-special): Likewise.
20641         ($(objpfx)mtrace-tst-gettext): Likewise.
20642         * misc/Makefile (generated): Likewise.
20643         (tests-special): Likewise.
20644         ($(objpfx)tst-error1-mem): Likewise.
20645         * nptl/Makefile (tests-special): Likewise.
20646         ($(objpfx)tst-stack3-mem): Likewise.
20647         (generated): Likewise.
20648         * posix/Makefile (generated): Likewise.
20649         (tests-special): Likewise.
20650         (xtests-special): Likewise.
20651         ($(objpfx)tst-fnmatch-mem): Likewise.
20652         ($(objpfx)bug-regex2-mem): Likewise.
20653         ($(objpfx)bug-regex14-mem): Likewise.
20654         ($(objpfx)bug-regex21-mem): Likewise.
20655         ($(objpfx)bug-regex31-mem): Likewise.
20656         ($(objpfx)tst-vfork3-mem): Likewise.
20657         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
20658         ($(objpfx)tst-pcre-mem): Likewise.
20659         ($(objpfx)tst-boost-mem): Likewise.
20660         ($(objpfx)bug-ga2-mem): Likewise.
20661         ($(objpfx)bug-glob2-mem): Likewise.
20662         * resolv/Makefile (generate): Likewise.
20663         (tests-special): Likewise.
20664         (xtests-special): Likewise.
20665         (generated): Likewise.
20666         ($(objpfx)mtrace-tst-leaks): Likewise.
20667         ($(objpfx)mtrace-tst-leaks2): Likewise.
20669         * scripts/merge-test-results.sh: New file.
20670         * Makefile (tests-special-notdir): New variable.
20671         (tests): Run merge-test-results.sh.
20672         (xtests): Likewise.
20673         * Rules (tests-special-notdir): New variable.
20674         (xtests-special-notdir): Likewise.
20675         (tests): Run merge-test-results.sh
20676         (xtests): Likewise.
20678         * Makeconfig (test-xfail-name): New variable.
20679         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
20680         compute variable name for expected failures.
20681         * conform/Makefile (conformtest-headers-data): New variable.
20682         (conformtest-standards): Likewise.
20683         (conformtest-headers-ISO): Likewise.
20684         (conformtest-headers-ISO99): Likewise.
20685         (conformtest-headers-ISO11): Likewise.
20686         (conformtest-headers-POSIX): Likewise.
20687         (conformtest-headers-XPG3): Likewise.
20688         (conformtest-headers-XPG4): Likewise.
20689         (conformtest-headers-UNIX98): Likewise.
20690         (conformtest-headers-XOPEN2K): Likewise.
20691         (conformtest-headers-POSIX2008): Likewise.
20692         (conformtest-headers-XOPEN2K8): Likewise.
20693         (conformtest-header-list-base): Likewise.
20694         (conformtest-header-list-tests): Likewise.
20695         (conformtest-header-base): Likewise.
20696         (conformtest-header-tests): Likewise.
20697         (tests-special): Add $(conformtest-header-list-tests).  If
20698         [$(fast-check) && !$(cross-compiling)], add
20699         $(conformtest-header-tests) instead of
20700         $(objpfx)run-conformtest.out.
20701         (generated): Add $(conformtest-header-list-base).  If
20702         [$(fast-check) && !$(cross-compiling)], add
20703         $(conformtest-header-base).  Remove previous setting.
20704         ($(conformtest-header-list-tests)): New target.
20705         (test-xfail-run-conformtest): Remove variable.
20706         ($(objpfx)run-conformtest.out): Remove target.
20707         (test-xfail-ISO11/complex.h/conform): New variable.
20708         (test-xfail-ISO11/stdalign.h/conform): Likewise.
20709         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
20710         (test-xfail-XPG3/varargs.h/conform): Likewise.
20711         (test-xfail-XPG4/varargs.h/conform): Likewise.
20712         (test-xfail-UNIX98/varargs.h/conform): Likewise.
20713         (test-xfail-XPG4/ndbm.h/conform): Likewise.
20714         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
20715         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
20716         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
20717         (test-xfail-XPG3/fcntl.h/conform): Likewise.
20718         (test-xfail-XPG3/ftw.h/conform): Likewise.
20719         (test-xfail-XPG3/grp.h/conform): Likewise.
20720         (test-xfail-XPG3/langinfo.h/conform): Likewise.
20721         (test-xfail-XPG3/limits.h/conform): Likewise.
20722         (test-xfail-XPG3/pwd.h/conform): Likewise.
20723         (test-xfail-XPG3/search.h/conform): Likewise.
20724         (test-xfail-XPG3/signal.h/conform): Likewise.
20725         (test-xfail-XPG3/stdio.h/conform): Likewise.
20726         (test-xfail-XPG3/stdlib.h/conform): Likewise.
20727         (test-xfail-XPG3/string.h/conform): Likewise.
20728         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
20729         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
20730         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
20731         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
20732         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
20733         (test-xfail-XPG3/sys/types.h/conform): Likewise.
20734         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
20735         (test-xfail-XPG3/termios.h/conform): Likewise.
20736         (test-xfail-XPG3/time.h/conform): Likewise.
20737         (test-xfail-XPG3/unistd.h/conform): Likewise.
20738         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
20739         (test-xfail-XPG4/fcntl.h/conform): Likewise.
20740         (test-xfail-XPG4/langinfo.h/conform): Likewise.
20741         (test-xfail-XPG4/netdb.h/conform): Likewise.
20742         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
20743         (test-xfail-XPG4/signal.h/conform): Likewise.
20744         (test-xfail-XPG4/stdio.h/conform): Likewise.
20745         (test-xfail-XPG4/stdlib.h/conform): Likewise.
20746         (test-xfail-XPG4/stropts.h/conform): Likewise.
20747         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
20748         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
20749         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
20750         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
20751         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
20752         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
20753         (test-xfail-XPG4/sys/time.h/conform): Likewise.
20754         (test-xfail-XPG4/sys/types.h/conform): Likewise.
20755         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
20756         (test-xfail-XPG4/termios.h/conform): Likewise.
20757         (test-xfail-XPG4/ucontext.h/conform): Likewise.
20758         (test-xfail-XPG4/unistd.h/conform): Likewise.
20759         (test-xfail-XPG4/utmpx.h/conform): Likewise.
20760         (test-xfail-POSIX/sched.h/conform): Likewise.
20761         (test-xfail-POSIX/signal.h/conform): Likewise.
20762         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
20763         (test-xfail-POSIX/tar.h/conform): Likewise.
20764         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
20765         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
20766         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
20767         (test-xfail-UNIX98/netdb.h/conform): Likewise.
20768         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
20769         (test-xfail-UNIX98/sched.h/conform): Likewise.
20770         (test-xfail-UNIX98/signal.h/conform): Likewise.
20771         (test-xfail-UNIX98/stdio.h/conform): Likewise.
20772         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
20773         (test-xfail-UNIX98/stropts.h/conform): Likewise.
20774         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
20775         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
20776         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
20777         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
20778         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
20779         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
20780         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
20781         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
20782         (test-xfail-UNIX98/unistd.h/conform): Likewise.
20783         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
20784         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
20785         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
20786         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
20787         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
20788         (test-xfail-XOPEN2K/math.h/conform): Likewise.
20789         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
20790         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
20791         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
20792         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
20793         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
20794         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
20795         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
20796         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
20797         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
20798         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
20799         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
20800         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
20801         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
20802         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
20803         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
20804         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
20805         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
20806         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
20807         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
20808         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
20809         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
20810         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
20811         (test-xfail-POSIX2008/signal.h/conform): Likewise.
20812         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
20813         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
20814         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
20815         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
20816         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
20817         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
20818         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
20819         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
20820         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
20821         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
20822         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
20823         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
20824         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
20825         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
20826         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
20827         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
20828         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
20829         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
20830         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
20831         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
20832         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
20833         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
20834         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
20835         (conformtest-cc-flags): Likewise.
20836         ($(conformtest-header-tests): New target.
20837         * conform/check-header-lists.sh: New file.
20838         * conform/run-conformtest.sh: Remove.
20840         * conform/conformtest.pl: Allow ' and \ in values given for
20841         constants.
20842         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
20843         inclusion.
20844         [POSIX] (sys/types.h): Likewise.
20845         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
20846         inclusion.
20847         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
20848         inclusion.
20849         * conform/data/signal.h-data (SIGIO): Remove expectation.
20850         [XPG3] (SIGBUS): Do not expect.
20851         [POSIX || XPG3] (SIGPOLL): Likewise.
20852         [POSIX || XPG3] (SIGPROF): Likewise.
20853         [POSIX || XPG3] (SIGSYS): Likewise.
20854         [XPG3] (SIGTRAP): Likewise.
20855         [POSIX || XPG3] (SIGURG): Likewise.
20856         [POSIX || XPG3] (SIGVTALRM): Likewise.
20857         [POSIX || XPG3] (SIGXCPU): Likewise.
20858         [POSIX || XPG3] (SIGXFSZ): Likewise.
20859         [POSIX] (SA_SIGINFO): Expect.
20860         [XPG3] (siginfo_t): Do not expect type or contents.
20861         [POSIX] (si_pid): Do not expect element.
20862         [POSIX] (si_uid): Likewise.
20863         [POSIX] (si_addr): Likewise.
20864         [POSIX] (si_status): Likewise.
20865         [POSIX] (si_band): Likewise.
20866         [XPG4] (si_value): Likewise.
20867         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
20868         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
20869         [POSIX || XPG3] (ILL_ILLADR): Likewise.
20870         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
20871         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
20872         [POSIX || XPG3] (ILL_PRVREG): Likewise.
20873         [POSIX || XPG3] (ILL_COPROC): Likewise.
20874         [POSIX || XPG3] (ILL_BADSTK): Likewise.
20875         [POSIX || XPG3] (FPE_INTDIV): Likewise.
20876         [POSIX || XPG3] (FPE_INTOVF): Likewise.
20877         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
20878         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
20879         [POSIX || XPG3] (FPE_FLTUND): Likewise.
20880         [POSIX || XPG3] (FPE_FLTRES): Likewise.
20881         [POSIX || XPG3] (FPE_FLTINV): Likewise.
20882         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
20883         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
20884         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
20885         [POSIX || XPG3] (BUS_ADRALN): Likewise.
20886         [POSIX || XPG3] (BUS_ADRERR): Likewise.
20887         [POSIX || XPG3] (BUS_OBJERR): Likewise.
20888         [POSIX || XPG3] (CLD_EXITED): Likewise.
20889         [POSIX || XPG3] (CLD_KILLED): Likewise.
20890         [POSIX || XPG3] (CLD_DUMPED): Likewise.
20891         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
20892         [POSIX || XPG3] (CLD_STOPPED): Likewise.
20893         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
20894         [POSIX || XPG3] (POLL_IN): Likewise.
20895         [POSIX || XPG3] (POLL_OUT): Likewise.
20896         [POSIX || XPG3] (POLL_MSG): Likewise.
20897         [POSIX || XPG3] (POLL_ERR): Likewise.
20898         [POSIX || XPG3] (POLL_PRI): Likewise.
20899         [POSIX || XPG3] (POLL_HUP): Likewise.
20900         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
20901         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
20902         (SIG*): Do not allow.
20903         [XPG3] (si_*): Likewise.
20904         [XPG3] (SI_*): Likewise.
20905         [XPG3 || XPG4] (sigev_*): Likewise.
20906         [XPG3 || XPG4] (SIGEV_*): Likewise.
20907         [XPG3 || XPG4] (sival_*): Likewise.
20908         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
20909         [POSIX || XPG3] (BUS_*): Likewise.
20910         [POSIX || XPG3] (CLD_*): Likewise.
20911         [POSIX || XPG3] (FPE_*): Likewise.
20912         [POSIX || XPG3] (ILL_*): Likewise.
20913         [POSIX || XPG3] (POLL_*): Likewise.
20914         [POSIX || XPG3] (SEGV_*): Likewise.
20915         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
20916         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
20917         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
20918         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
20919         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
20920         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
20921         Specify type and value.
20922         (TVERSLEN): Likewise.
20923         (REGTYPE): Likewise.
20924         (AREGTYPE): Likewise.
20925         (LNKTYPE): Likewise.
20926         (SYMTYPE): Likewise.
20927         (CHRTYPE): Likewise.
20928         (BLKTYPE): Likewise.
20929         (DIRTYPE): Likewise.
20930         (FIFOTYPE): Likewise.
20931         (CONTTYPE): Likewise.
20932         (TSUID): Likewise.
20933         (TSGID): Likewise.
20934         (TSVTX): Likewise.
20935         (TUREAD): Likewise.
20936         (TUWRITE): Likewise.
20937         (TUEXEC): Likewise.
20938         (TGREAD): Likewise.
20939         (TGWRITE): Likewise.
20940         (TGEXEC): Likewise.
20941         (TOREAD): Likewise.
20942         (TOWRITE): Likewise.
20943         (TOEXEC): Likewise.
20944         [POSIX] (TSVTX): Expect constant.
20946 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
20948         * Makefile (tests): Change dependencies to ....
20949         (tests-special): ... additions to this variable.
20950         (tests): Depend on $(tests-special).
20951         * Makerules (check-abi-list): New variable.
20952         (check-abi): Depend on $(check-abi-list).
20953         [$(subdir) = elf] (tests-special): Add
20954         $(objpfx)check-abi-libc.out.
20955         [$(build-shared) = yes && subdir] (tests-special): Add
20956         $(check-abi-list).
20957         [$(build-shared) = yes && subdir] (tests): Do not depend on
20958         check-abi.
20959         * Rules (tests): Depend on $(tests-special).
20960         (xtests): Depend on $(xtests-special).
20961         * catgets/Makefile (tests): Change dependencies to ....
20962         (tests-special): ... additions to this variable.
20963         * conform/Makefile (tests): Change dependencies to ....
20964         (tests-special): ... additions to this variable.
20965         * elf/Makefile (tests): Change dependencies to ....
20966         (tests-special): ... additions to this variable.
20967         * grp/Makefile (tests): Change dependencies to ....
20968         (tests-special): ... additions to this variable.
20969         * iconv/Makefile (xtests): Change dependencies to ....
20970         (xtests-special): ... additions to this variable.
20971         * iconvdata/Makefile (tests): Change dependencies to ....
20972         (tests-special): ... additions to this variable.
20973         * intl/Makefile (tests): Change dependencies to ....
20974         (tests-special): ... additions to this variable.  Also add
20975         $(objpfx)tst-gettext.out.
20976         * io/Makefile (tests): Change dependencies to ....
20977         (tests-special): ... additions to this variable.
20978         * libio/Makefile (tests): Change dependencies to ....
20979         (tests-special): ... additions to this variable.
20980         * malloc/Makefile (tests): Change dependencies to ....
20981         (tests-special): ... additions to this variable.
20982         * misc/Makefile (tests): Change dependencies to ....
20983         (tests-special): ... additions to this variable.
20984         * nptl/Makefile (tests): Change dependencies to ....
20985         (tests-special): ... additions to this variable.
20986         * nptl_db/Makefile (tests): Change dependencies to ....
20987         (tests-special): ... additions to this variable.
20988         * posix/Makefile (tests): Change dependencies to ....
20989         (tests-special): ... additions to this variable.
20990         (xtests): Change dependencies to ....
20991         (xtests-special): ... additions to this variable.
20992         * resolv/Makefile (tests): Change dependencies to ....
20993         (tests-special): ... additions to this variable.
20994         (xtests): Change dependencies to ....
20995         (xtests-special): ... additions to this variable.
20996         * stdio-common/Makefile (tests): Change dependencies to ....
20997         (tests-special): ... additions to this variable.
20998         (do-tst-unbputc): Remove target.
20999         (do-tst-printf): Likewise.
21000         * stdlib/Makefile (tests): Change dependencies to ....
21001         (tests-special): ... additions to this variable.
21002         * string/Makefile (tests): Change dependencies to ....
21003         (tests-special): ... additions to this variable.
21004         * sysdeps/x86/Makefile (tests): Change dependencies to ....
21005         (tests-special): ... additions to this variable.
21007         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
21008         whole file.
21009         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
21010         whole file.
21011         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
21012         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
21014         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
21015         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
21016         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
21017         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
21018         * conform/data/libgen.h-data [XPG3]: Likewise.
21019         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
21020         * conform/data/ndbm.h-data [XPG3]: Likewise.
21021         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21022         * conform/data/netdb.h-data [XPG3]: Likewise.
21023         * conform/data/netinet/in.h-data [XPG3]: Likewise.
21024         * conform/data/poll.h-data [XPG3]: Likewise.
21025         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21026         * conform/data/strings.h-data [XPG3]: Likewise.
21027         * conform/data/stropts.h-data [XPG3]: Likewise.
21028         * conform/data/sys/mman.h-data [XPG3]: Likewise.
21029         * conform/data/sys/resource.h-data [XPG3]: Likewise.
21030         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
21031         Likewise.
21032         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
21033         * conform/data/sys/time.h-data [XPG3]: Likewise.
21034         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
21035         * conform/data/sys/uio.h-data [XPG3]: Likewise.
21036         * conform/data/sys/un.h-data [XPG3]: Likewise.
21037         * conform/data/syslog.h-data [XPG3]: Likewise.
21038         * conform/data/ucontext.h-data [XPG3]: Likewise.
21039         * conform/data/utmpx.h-data [XPG3]: Likewise.
21040         * conform/data/varargs.h-data [UNIX98]: Enable file.
21042         * manual/Makefile (INSTALL_INFO): Remove variable setting.
21044         * math/libm-test.inc (struct test_f_f_data): Move expected results
21045         into structure for each rounding mode.
21046         (struct test_ff_f_data): Likewise.
21047         (struct test_ff_f_data_nexttoward): Likewise.
21048         (struct test_fi_f_data): Likewise.
21049         (struct test_fl_f_data): Likewise.
21050         (struct test_if_f_data): Likewise.
21051         (struct test_fff_f_data): Likewise.
21052         (struct test_c_f_data): Likewise.
21053         (struct test_f_f1_data): Likewise.
21054         (struct test_fF_f1_data): Likewise.
21055         (struct test_ffI_f1_data): Likewise.
21056         (struct test_c_c_data): Likewise.
21057         (struct test_cc_c_data): Likewise.
21058         (struct test_f_i_data): Likewise.
21059         (struct test_ff_i_data): Likewise.
21060         (struct test_f_l_data): Likewise.
21061         (struct test_f_L_data): Likewise.
21062         (struct test_fFF_11_data): Likewise.
21063         (RM_): New macro.
21064         (RM_FE_DOWNWARD): Likewise.
21065         (RM_FE_TONEAREST): Likewise.
21066         (RM_FE_TOWARDZERO): Likewise.
21067         (RM_FE_UPWARD): Likewise.
21068         (RUN_TEST_LOOP_f_f): Update references to expected results.
21069         (RUN_TEST_LOOP_2_f): Likewise.
21070         (RUN_TEST_LOOP_fff_f): Likewise.
21071         (RUN_TEST_LOOP_c_f): Likewise.
21072         (RUN_TEST_LOOP_f_f1): Likewise.
21073         (RUN_TEST_LOOP_fF_f1): Likewise.
21074         (RUN_TEST_LOOP_fI_f1): Likewise.
21075         (RUN_TEST_LOOP_ffI_f1): Likewise.
21076         (RUN_TEST_LOOP_c_c): Likewise.
21077         (RUN_TEST_LOOP_cc_c): Likewise.
21078         (RUN_TEST_LOOP_f_i): Likewise.
21079         (RUN_TEST_LOOP_f_i_tg): Likewise.
21080         (RUN_TEST_LOOP_ff_i_tg): Likewise.
21081         (RUN_TEST_LOOP_f_b): Likewise.
21082         (RUN_TEST_LOOP_f_b_tg): Likewise.
21083         (RUN_TEST_LOOP_f_l): Likewise.
21084         (RUN_TEST_LOOP_f_L): Likewise.
21085         (RUN_TEST_LOOP_fFF_11): Likewise.
21086         * math/gen-libm-test.pl (parse_args): Output four copies of
21087         expected results for each test.
21089         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21090         (__ASSUME_UTIMES): Remove.
21091         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21092         (__ASSUME_UTIMES): Likewise.
21094         * math/gen-auto-libm-tests.c: Update comment on output format.
21095         (output_for_one_input_case): Generate before-rounding and
21096         after-rounding information as conditions on output flags not
21097         floating-point format.
21098         * math/auto-libm-test-out: Regenerated.
21099         * math/gen-libm-test.pl (cond_value): New function.
21100         (or_cond_value): Use cond_value.
21101         (generate_testfile): Handle conditional exceptions.
21103 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
21105         * math/libm-test.inc (max_valid_error): New variable.
21106         (init_max_error): Take new argument specifying whether function
21107         results are exactly determined.  Set max_valid_error and bound
21108         other variables for errors based on this argument.
21109         (set_max_error): Do not record results above max_valid_error.
21110         (check_float_internal): Only accept errors of up to 0.5ulps if
21111         also at most max_valid_error.
21112         (START): Take new argument EXACT and pass it to init_max_error.
21113         (acos_test): Update call to START.
21114         (acos_test_tonearest): Likewise.
21115         (acos_test_towardzero): Likewise.
21116         (acos_test_downward): Likewise.
21117         (acos_test_upward): Likewise.
21118         (acosh_test): Likewise.
21119         (asin_test): Likewise.
21120         (asin_test_tonearest): Likewise.
21121         (asin_test_towardzero): Likewise.
21122         (asin_test_downward): Likewise.
21123         (asin_test_upward): Likewise.
21124         (asinh_test): Likewise.
21125         (atan_test): Likewise.
21126         (atanh_test): Likewise.
21127         (atan2_test): Likewise.
21128         (cabs_test): Likewise.
21129         (cacos_test): Likewise.
21130         (cacosh_test): Likewise.
21131         (carg_test): Likewise.
21132         (casin_test): Likewise.
21133         (casinh_test): Likewise.
21134         (catan_test): Likewise.
21135         (catanh_test): Likewise.
21136         (cbrt_test): Likewise.
21137         (ccos_test): Likewise.
21138         (ccosh_test): Likewise.
21139         (ceil_test): Likewise.
21140         (cexp_test): Likewise.
21141         (cimag_test): Likewise.
21142         (clog_test): Likewise.
21143         (clog10_test): Likewise.
21144         (conj_test): Likewise.
21145         (copysign_test): Likewise.
21146         (cos_test): Likewise.
21147         (cos_test_tonearest): Likewise.
21148         (cos_test_towardzero): Likewise.
21149         (cos_test_downward): Likewise.
21150         (cos_test_upward): Likewise.
21151         (cosh_test): Likewise.
21152         (cosh_test_tonearest): Likewise.
21153         (cosh_test_towardzero): Likewise.
21154         (cosh_test_downward): Likewise.
21155         (cosh_test_upward): Likewise.
21156         (cpow_test): Likewise.
21157         (cproj_test): Likewise.
21158         (creal_test): Likewise.
21159         (csin_test): Likewise.
21160         (csinh_test): Likewise.
21161         (csqrt_test): Likewise.
21162         (ctan_test): Likewise.
21163         (ctan_test_tonearest): Likewise.
21164         (ctan_test_towardzero): Likewise.
21165         (ctan_test_downward): Likewise.
21166         (ctan_test_upward): Likewise.
21167         (ctanh_test): Likewise.
21168         (ctanh_test_tonearest): Likewise.
21169         (ctanh_test_towardzero): Likewise.
21170         (ctanh_test_downward): Likewise.
21171         (ctanh_test_upward): Likewise.
21172         (erf_test): Likewise.
21173         (erfc_test): Likewise.
21174         (exp_test): Likewise.
21175         (exp_test_tonearest): Likewise.
21176         (exp_test_towardzero): Likewise.
21177         (exp_test_downward): Likewise.
21178         (exp_test_upward): Likewise.
21179         (exp10_test): Likewise.
21180         (exp10_test_tonearest): Likewise.
21181         (exp10_test_towardzero): Likewise.
21182         (exp10_test_downward): Likewise.
21183         (exp10_test_upward): Likewise.
21184         (pow10_test): Likewise.
21185         (exp2_test): Likewise.
21186         (expm1_test): Likewise.
21187         (expm1_test_tonearest): Likewise.
21188         (expm1_test_towardzero): Likewise.
21189         (expm1_test_downward): Likewise.
21190         (expm1_test_upward): Likewise.
21191         (fabs_test): Likewise.
21192         (fdim_test): Likewise.
21193         (floor_test): Likewise.
21194         (fma_test): Likewise.
21195         (fma_test_towardzero): Likewise.
21196         (fma_test_downward): Likewise.
21197         (fma_test_upward): Likewise.
21198         (fmax_test): Likewise.
21199         (fmin_test): Likewise.
21200         (fmod_test): Likewise.
21201         (fpclassify_test): Likewise.
21202         (frexp_test): Likewise.
21203         (hypot_test): Likewise.
21204         (ilogb_test): Likewise.
21205         (isfinite_test): Likewise.
21206         (finite_test): Likewise.
21207         (isgreater_test): Likewise.
21208         (isgreaterequal_test): Likewise.
21209         (isinf_test): Likewise.
21210         (isless_test): Likewise.
21211         (islessequal_test): Likewise.
21212         (islessgreater_test): Likewise.
21213         (isnan_test): Likewise.
21214         (isnormal_test): Likewise.
21215         (issignaling_test): Likewise.
21216         (isunordered_test): Likewise.
21217         (j0_test): Likewise.
21218         (j1_test): Likewise.
21219         (jn_test): Likewise.
21220         (ldexp_test): Likewise.
21221         (lgamma_test): Likewise.
21222         (gamma_test): Likewise.
21223         (lrint_test): Likewise.
21224         (lrint_test_tonearest): Likewise.
21225         (lrint_test_towardzero): Likewise.
21226         (lrint_test_downward): Likewise.
21227         (lrint_test_upward): Likewise.
21228         (llrint_test): Likewise.
21229         (llrint_test_tonearest): Likewise.
21230         (llrint_test_towardzero): Likewise.
21231         (llrint_test_downward): Likewise.
21232         (llrint_test_upward): Likewise.
21233         (log_test): Likewise.
21234         (log10_test): Likewise.
21235         (log1p_test): Likewise.
21236         (log2_test): Likewise.
21237         (logb_test): Likewise.
21238         (logb_test_downward): Likewise.
21239         (lround_test): Likewise.
21240         (llround_test): Likewise.
21241         (modf_test): Likewise.
21242         (nearbyint_test): Likewise.
21243         (nextafter_test): Likewise.
21244         (nexttoward_test): Likewise.
21245         (pow_test): Likewise.
21246         (pow_test_tonearest): Likewise.
21247         (pow_test_towardzero): Likewise.
21248         (pow_test_downward): Likewise.
21249         (pow_test_upward): Likewise.
21250         (remainder_test): Likewise.
21251         (drem_test): Likewise.
21252         (remainder_test_tonearest): Likewise.
21253         (drem_test_tonearest): Likewise.
21254         (remainder_test_towardzero): Likewise.
21255         (drem_test_towardzero): Likewise.
21256         (remainder_test_downward): Likewise.
21257         (drem_test_downward): Likewise.
21258         (remainder_test_upward): Likewise.
21259         (drem_test_upward): Likewise.
21260         (remquo_test): Likewise.
21261         (rint_test): Likewise.
21262         (rint_test_tonearest): Likewise.
21263         (rint_test_towardzero): Likewise.
21264         (rint_test_downward): Likewise.
21265         (rint_test_upward): Likewise.
21266         (round_test): Likewise.
21267         (scalb_test): Likewise.
21268         (scalbn_test): Likewise.
21269         (scalbln_test): Likewise.
21270         (signbit_test): Likewise.
21271         (sin_test): Likewise.
21272         (sin_test_tonearest): Likewise.
21273         (sin_test_towardzero): Likewise.
21274         (sin_test_downward): Likewise.
21275         (sin_test_upward): Likewise.
21276         (sincos_test): Likewise.
21277         (sinh_test): Likewise.
21278         (sinh_test_tonearest): Likewise.
21279         (sinh_test_towardzero): Likewise.
21280         (sinh_test_downward): Likewise.
21281         (sinh_test_upward): Likewise.
21282         (sqrt_test): Likewise.
21283         (sqrt_test_tonearest): Likewise.
21284         (sqrt_test_towardzero): Likewise.
21285         (sqrt_test_downward): Likewise.
21286         (sqrt_test_upward): Likewise.
21287         (tan_test): Likewise.
21288         (tan_test_tonearest): Likewise.
21289         (tan_test_towardzero): Likewise.
21290         (tan_test_downward): Likewise.
21291         (tan_test_upward): Likewise.
21292         (tanh_test): Likewise.
21293         (tgamma_test): Likewise.
21294         (trunc_test): Likewise.
21295         (y0_test): Likewise.
21296         (y1_test): Likewise.
21297         (yn_test): Likewise.
21298         (significand_test): Likewise.
21300         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
21301         individual tests in comment.
21302         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
21303         (prev_max_error): New variable.
21304         (prev_real_max_error): Likewise.
21305         (prev_imag_max_error): Likewise.
21306         (compare_ulp_data): Don't refer to test names in comment.
21307         (find_test_ulps): Remove function.
21308         (find_function_ulps): Likewise.
21309         (find_complex_function_ulps): Likewise.
21310         (init_max_error): Take function name as argument.  Look up ulps
21311         for that function.
21312         (print_ulps): Remove function.
21313         (print_max_error): Use prev_max_error instead of calling
21314         find_function_ulps.
21315         (print_complex_max_error): Use prev_real_max_error and
21316         prev_imag_max_error instead of calling find_complex_function_ulps.
21317         (check_float_internal): Take max_ulp parameter instead of calling
21318         find_test_ulps.  Don't call print_ulps.
21319         (check_float): Update call to check_float_internal.
21320         (check_complex): Update calls to check_float_internal.
21321         (START): Pass argument to init_max_error.
21322         * math/gen-libm-test.pl (%results): Don't include "kind"
21323         information.
21324         (parse_ulps): Don't handle ulps of individual tests.
21325         (print_ulps_file): Likewise.
21326         (output_ulps): Likewise.
21327         * math/README.libm-test: Update.
21328         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
21329         individual tests.
21330         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
21331         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
21332         * sysdeps/arm/libm-test-ulps: Likewise.
21333         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21334         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
21335         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
21336         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
21337         * sysdeps/microblaze/libm-test-ulps: Likewise.
21338         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
21339         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21340         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21341         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
21342         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21343         * sysdeps/sh/libm-test-ulps: Likewise.
21344         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21345         * sysdeps/tile/libm-test-ulps: Likewise.
21346         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21348 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
21350         * math/libm-test.inc (print_complex_max_error): Check separately
21351         whether real and imaginary errors are within allowed range and
21352         pass 0 to print_complex_function_ulps instead of value within
21353         allowed range.
21355 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21357         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
21358         formatting.
21359         (get_handles_fopen): Likewise.
21360         (do_write_test): Likewise.
21362         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
21364         * libio/fileops.c (do_ftell): Use cached offset when
21365         available.
21366         * libio/iofwide.c (do_ftell_wide): Likewise.
21367         * libio/iofdopen.c (_IO_new_fdopen): Don't use
21368         _IO_file_attach.
21369         * libio/wfileops.c (_IO_fwide): Don't cache offset.
21371         [BZ #16532]
21372         * libio/libioP.h (get_file_offset): New function.
21373         * libio/fileops.c (get_file_offset): Likewise.
21374         (do_ftell): Likewise.
21375         (_IO_new_file_seekoff): Split out ftell logic.
21376         * libio/wfileops.c (do_ftell_wide): Likewise.
21377         (_IO_wfile_seekoff): Split out ftell logic.
21378         * libio/tst-ftell-active-handler.c: New test case.
21379         * libio/Makefile (tests): Add it.
21381 2014-03-03  Roland McGrath  <roland@hack.frob.com>
21383         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
21384         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
21386 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
21388         [BZ #16639]
21389         * nscd/connections.c (nscd_init): Call do_exit.
21390         (start_threads): Call do_exit and notify_parent.
21391         (begin_drop_privileges): Call do_exit.
21392         (finish_drop_privileges): Likewise.
21393         * nscd/selinux.c (preserve_capabilities): Likewise.
21394         (install_real_capabilities): Likewise.
21395         (nscd_selinux_enabled): Likewise.
21396         (avc_create_thread): Likewise.
21397         (avc_alloc_lock): Likewise.
21398         (nscd_avc_init): Likewise.
21399         * nscd/nscd.c (parent_fd): New static variable.
21400         (main): Create a pipe between parent and child processes.
21401         Skip closing parent_fd.
21402         (monitor_child): New function.
21403         (do_exit): Likewise.
21404         (notify_parent): Likewise.
21405         * nscd/nscd.h (notify_parent): Likewise.
21406         (do_exit): Likewise.
21408 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
21410         * malloc/malloc.c (__libc_calloc): Revert last change.
21412 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21414         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21416 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21418         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
21419         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
21420         implementation.
21421         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21422         (__libc_ifunc_impl_list): Likewise.
21423         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
21424         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
21425         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
21426         * string/strrchr.c: Define STRRCHR.
21428 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
21430         * benchtest/bench-strtok.c (simple_strtok): Delete.
21431         (strtok_string): Use as benchmark.
21432         * string/strtok (STRTOK): New macro.
21434 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
21436         * manual/threads.texi: Add header and standard comments to all
21437         functions.
21439         * elf/dl-lookup.c (check_match): New function.
21440         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
21441         (do_lookup_x): Remove nested function check_match. Use non-nested
21442         function check_match.
21444 2014-02-28  Roland McGrath  <roland@hack.frob.com>
21446         * csu/Makefile (generated, before-compile): Use += rather than =.
21447         * catgets/Makefile (generated, generated-dirs): Likewise.
21448         * debug/Makefile (generated): Likewise.
21449         * dlfcn/Makefile (generated): Likewise.
21450         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
21451         * iconvdata/Makefile (before-compile, generated): Likewise.
21452         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
21453         * libio/Makefile (generated): Likewise.
21454         * malloc/Makefile (generated): Likewise.
21455         * manual/Makefile (generated, generated-dirs): Likewise.
21456         * misc/Makefile (generated): Likewise.
21457         * posix/Makefile (generated): Likewise.
21458         * resolv/Makefile (generated): Likewise.
21459         * sunrpc/Makefile (generated, generated-dirs): Likewise.
21460         * timezone/Makefile (generated, generated-dirs): Likewise.
21462         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
21464 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21466         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
21467         power8 implementation.
21468         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
21469         file: POWER8 llround ifunc implementation.
21470         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
21471         (__lllround): Add POWER8 implementation.
21472         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
21473         POWER8 llround implementation.
21475         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
21476         power8 implementation.
21477         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
21478         file: POWER8 llrint ifunc implementation.
21479         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
21480         Add POWER8 implementation.
21481         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
21482         POWER8 llrint implementation.
21484         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
21485         power8 implementation.
21486         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
21487         file: POWER8 finite ifunc implementation.
21488         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
21489         Add POWER8 implementation.
21490         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
21491         Likewise.
21492         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
21493         POWER8 finite implementation.
21494         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
21496         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
21497         power8 implementation.
21498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
21499         file: POWER8 isinf ifunc implementation.
21500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
21501         POWER8 implementation.
21502         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
21503         Likewise.
21504         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
21505         isinf implementation.
21506         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
21508         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
21509         (INIT_ARCH): Add hwcap2 initialization.
21510         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
21511         power8 implementation.
21512         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
21513         file: POWER8 isnan ifunc implementation.
21514         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
21515         POWER8 implementation.
21516         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
21517         Likewise.
21518         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
21519         isnan implementation.
21520         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
21522 2014-02-27  Joey Ye  <joey.ye@arm.com>
21524         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
21525         (_FP_NANFRAC_Q): Set to zero.
21527 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21529         [BZ #16623]
21530         * math/auto-libm-test-in: New test inputs.
21531         * math/auto-libm-test-out: Regenerate.
21532         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
21533         and DA.
21534         (__cos): Likewise.
21535         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21537 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
21539         * scripts/evaluate-test.sh: Take new argument indicating whether
21540         failure is expected.
21541         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
21542         indicating whether failure is expected.
21543         * conform/Makefile (test-xfail-run-conformtest): New variable.
21544         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
21545         level.
21546         * posix/Makefile (test-xfail-annexc): New variable.
21547         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
21549 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
21551         * argp/Makefile: Include Makeconfig immediately after defining
21552         subdir.
21553         * assert/Makefile: Likewise.
21554         * benchtests/Makefile: Likewise.
21555         * catgets/Makefile: Likewise.
21556         * conform/Makefile: Likewise.
21557         * crypt/Makefile: Likewise.
21558         * csu/Makefile: Likewise.
21559         (all): Remove target.
21560         * ctype/Makefile: Include Makeconfig immediately after defining
21561         subdir.
21562         * debug/Makefile: Likewise.
21563         * dirent/Makefile: Likewise.
21564         * dlfcn/Makefile: Likewise.
21565         * gmon/Makefile: Likewise.
21566         * gnulib/Makefile: Likewise.
21567         * grp/Makefile: Likewise.
21568         * gshadow/Makefile: Likewise.
21569         * hesiod/Makefile: Likewise.
21570         * hurd/Makefile: Likewise.
21571         (all): Remove target.
21572         * iconvdata/Makefile: Include Makeconfig immediately after
21573         defining subdir.
21574         * inet/Makefile: Likewise.
21575         * intl/Makefile: Likewise.
21576         * io/Makefile: Likewise.
21577         * libio/Makefile: Likewise.
21578         (all): Remove target.
21579         * locale/Makefile: Include Makeconfig immediately after defining
21580         subdir.
21581         * login/Makefile: Likewise.
21582         * mach/Makefile: Likewise.
21583         (all): Remove target.
21584         * malloc/Makefile: Include Makeconfig immediately after defining
21585         subdir.
21586         (all): Remove target.
21587         * manual/Makefile: Include Makeconfig immediately after defining
21588         subdir.
21589         * math/Makefile: Likewise.
21590         * misc/Makefile: Likewise.
21591         * nis/Makefile: Likewise.
21592         * nss/Makefile: Likewise.
21593         * po/Makefile: Likewise.
21594         (all): Remove target.
21595         * posix/Makefile: Include Makeconfig immediately after defining
21596         subdir.
21597         * pwd/Makefile: Likewise.
21598         * resolv/Makefile: Likewise.
21599         * resource/Makefile: Likewise.
21600         * rt/Makefile: Likewise.
21601         * setjmp/Makefile: Likewise.
21602         * shadow/Makefile: Likewise.
21603         * signal/Makefile: Likewise.
21604         * socket/Makefile: Likewise.
21605         * soft-fp/Makefile: Likewise.
21606         * stdio-common/Makefile: Likewise.
21607         * stdlib/Makefile: Likewise.
21608         * streams/Makefile: Likewise.
21609         * string/Makefile: Likewise.
21610         * sunrpc/Makefile: Likewise.
21611         (all): Remove target.
21612         * sysvipc/Makefile: Include Makeconfig immediately after defining
21613         subdir.
21614         * termios/Makefile: Likewise.
21615         * time/Makefile: Likewise.
21616         * timezone/Makefile: Likewise.
21617         (all): Remove target.
21618         * wcsmbs/Makefile: Include Makeconfig immediately after defining
21619         subdir.
21620         * wctype/Makefile: Likewise.
21622 2014-02-26  Steve Ellcey  <sellcey@mips.com>
21624         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
21625         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
21626         (libc_feholdexcept_setround_mips): Ditto.
21627         (libc_feholdsetround): New.
21628         (libc_feholdsetroundf): New.
21629         (libc_feholdsetroundl): New.
21630         (libc_feupdateenv_test_mips): New.
21631         (libc_feupdateenv_test): New.
21632         (libc_feupdateenv_testf): New.
21633         (libc_feupdateenv_testl): New.
21634         (libc_feresetround): New.
21635         (libc_feresetroundf): New.
21636         (libc_feresetroundl): New.
21637         (libc_fetestexcept_mips): New.
21638         (libc_fetestexcept): New.
21639         (libc_fetestexceptf): New.
21640         (libc_fetestexceptl): New.
21641         (HAVE_RM_CTX): New.
21642         (libc_feholdexcept_setround_mips_ctx): New.
21643         (libc_feholdexcept_setround_ctx): New.
21644         (libc_feholdexcept_setroundf_ctx): New.
21645         (libc_feholdexcept_setroundl_ctx): New.
21646         (libc_fesetenv_mips_ctx): New.
21647         (libc_fesetenv_ctx): New.
21648         (libc_fesetenv_ctxf): New.
21649         (libc_fesetenv_ctxl): New.
21650         (libc_feupdateenv_mips_ctx): New.
21651         (libc_feupdateenv_ctx): New.
21652         (libc_feupdateenvf_ctx): New.
21653         (libc_feupdateenvl_ctx): New.
21654         (libc_feholdsetround_mips_ctx): New.
21655         (libc_feholdsetround_ctx): New.
21656         (libc_feholdsetroundf_ctx): New.
21657         (libc_feholdsetroundl_ctx): New.
21658         (libc_feresetround_mips_ctx): New.
21659         (libc_feresetround_ctx): New.
21660         (libc_feresetroundf_ctx): New.
21661         (libc_feresetroundl_ctx): New.
21663 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
21665         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
21667         * manual/ipc.texi: New file.
21668         * manual/Makefile (chapters): Add ipc.
21669         * manual/job.texi: Add "Inter-Process Communication" to next.
21670         * manual/process.texi: Add "Inter-Process Communication" to prev.
21672 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21674         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21676 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
21678         * malloc/malloc.c (__libc_calloc): Simplify implementation.
21680         * manual/arith.texi: Fix spaces after sentences.
21681         * manual/charset.texi: Likewise.
21682         * manual/errno.texi: Likewise.
21683         * manual/install.texi: Likewise.
21684         * manual/llio.texi: Likewise.
21685         * manual/locale.texi: Likewise.
21686         * manual/maint.texi: Likewise.
21687         * manual/math.texi: Likewise.
21688         * manual/memory.texi: Likewise.
21689         * manual/message.texi: Likewise.
21690         * manual/probes.texi: Likewise.
21691         * manual/resource.texi: Likewise.
21692         * manual/signal.texi: Likewise.
21693         * manual/socket.texi: Likewise.
21694         * manual/stdio.texi: Likewise.
21695         * manual/string.texi: Likewise.
21696         * manual/time.texi: Likewise.
21697         * manual/users.texi: Likewise.
21699 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
21701         [BZ #16632]
21702         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
21703         _DEFAULT_SOURCE is defined.
21705 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
21706             Carlos O'Donell  <carlos@redhat.com>
21708         [BZ #16613]
21709         * elf/dl-tls.c (_dl_count_modids): New function.
21710         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
21711         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
21712         audit library and increment generation counter.
21713         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
21714         * elf/tst-audit9.c: New file.
21715         * elf/tst-auditmod9a.c: New file.
21716         * elf/tst-auditmod9b.c: New file.
21717         * elf/Makefile: Add rules to build and run tst-audit9.
21719 2014-02-25  Florian Weimer  <fweimer@redhat.com>
21721         [BZ #15347]
21722         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
21724 2014-02-25  Will Newton  <will.newton@linaro.org>
21726         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
21727         (__longjmp): Restore sp and lr before restoring callee
21728         saved registers.  Add longjmp and longjmp_target
21729         SystemTap probe point.
21730         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
21731         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
21732         Define to zero to match jmpbuf layout.
21733         * sysdeps/arm/setjmp.S: Include stap-probe.h.
21734         (__sigsetjmp): Save sp and lr before saving callee
21735         saved registers.  Add setjmp SystemTap probe point.
21737 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21739         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21741 2014-02-24  Andreas Schwab  <schwab@suse.de>
21743         [BZ #15804]
21744         * elf/pldd.c (wait_for_ptrace_stop): New function.
21745         (main): Call it after attaching.
21747 2014-02-22  Roland McGrath  <roland@hack.frob.com>
21749         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
21750         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
21751         Versions files is now verboten.
21752         * hurd/Versions (libc: GLIBC_2.0):
21753         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
21754         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
21755         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
21756         * mach/Versions: Likewise.
21758         * csu/Versions: Remove unused %include.
21759         * resolv/Versions: Likewise.
21761 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
21763         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
21764         ($(objpfx)check-local-headers.out): Likewise.
21765         ($(objpfx)begin-end-check.out): Likewise.
21766         * Makerules (check-abi-%.out): Likewise.
21767         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
21768         ($(objpfx)test2.cat): Likewise.
21769         ($(objpfx)de/libc.cat): Likewise.
21770         ($(objpfx)test-gencat.out): Likewise.
21771         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
21772         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
21773         ($(objpfx)noload-mem): Likewise.
21774         ($(objpfx)tst-pathopt.out): Likewise.
21775         ($(objpfx)tst-rtld-load-self.out): Likewise.
21776         ($(objpfx)tst-array1-cmp.out): Likewise.
21777         ($(objpfx)tst-array1-static-cmp.out): Likewise.
21778         ($(objpfx)tst-array2-cmp.out): Likewise.
21779         ($(objpfx)tst-array3-cmp.out): Likewise.
21780         ($(objpfx)tst-array4-cmp.out): Likewise.
21781         ($(objpfx)tst-array5-cmp.out): Likewise.
21782         ($(objpfx)tst-array5-static-cmp.out): Likewise.
21783         ($(objpfx)check-textrel.out): Likewise.
21784         ($(objpfx)check-execstack.out): Likewise.
21785         ($(objpfx)check-localplt.out): Likewise.
21786         ($(objpfx)order2-cmp.out): Likewise.
21787         ($(objpfx)tst-leaks1-mem): Likewise.
21788         ($(objpfx)tst-leaks1-static-mem): Likewise.
21789         ($(objpfx)tst-initorder-cmp.out): Likewise.
21790         ($(objpfx)tst-initorder2-cmp.out): Likewise.
21791         ($(objpfx)tst-unused-dep.out): Likewise.
21792         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
21793         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
21794         * iconv/Makefile (test-iconvconfig): Likewise.
21795         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
21796         ($(objpfx)iconv-test.out): Likewise.
21797         ($(objpfx)tst-tables.out): Likewise.
21798         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
21799         ($(objpfx)tst-gettext.out): Likewise.
21800         ($(objpfx)tst-translit.out): Likewise.
21801         ($(objpfx)tst-gettext2.out): Likewise.
21802         ($(objpfx)tst-gettext4.out): Likewise.
21803         ($(objpfx)tst-gettext6.out): Likewise.
21804         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
21805         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
21806         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
21807         ($(objpfx)tst-fopenloc-mem.out): Likewise.
21808         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
21809         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
21810         * posix/Makefile ($(objpfx)globtest.out): Likewise.
21811         ($(objpfx)wordexp-tst.out): Likewise.
21812         ($(objpfx)annexc.out): Likewise.
21813         ($(objpfx)tst-fnmatch-mem): Likewise.
21814         ($(objpfx)bug-regex2-mem): Likewise.
21815         ($(objpfx)bug-regex14-mem): Likewise.
21816         ($(objpfx)bug-regex21-mem): Likewise.
21817         ($(objpfx)bug-regex31-mem): Likewise.
21818         ($(objpfx)tst-vfork3-mem): Likewise.
21819         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
21820         ($(objpfx)tst-pcre-mem): Likewise.
21821         ($(objpfx)tst-boost-mem): Likewise.
21822         ($(objpfx)tst-getconf.out): Likewise.
21823         ($(objpfx)bug-ga2-mem): Likewise.
21824         ($(objpfx)bug-glob2-mem): Likewise.
21825         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
21826         ($(objpfx)mtrace-tst-leaks2): Likewise.
21827         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
21828         ($(objpfx)tst-printf.out): Likewise.
21829         ($(objpfx)tst-setvbuf1.out): Likewise.
21830         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
21831         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
21832         ($(objpfx)tst-fmtmsg.out): Likewise.
21833         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
21834         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
21836         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
21837         * bits/sigaction.h [__USE_MISC]: Likewise.
21838         * bits/waitstatus.h: Update #endif comments.
21839         * ctype/ctype.h: Likewise.
21840         * dirent/dirent.h: Likewise.
21841         [__USE_MISC]: Remove redundant conditionals.
21842         * grp/grp.h: Update #endif comments.
21843         [__USE_GNU]: Remove redundant conditionals.
21844         [__USE_MISC]: Likewise.
21845         * inet/netinet/in.h [__USE_GNU]: Likewise.
21846         * io/sys/stat.h [__USE_MISC]: Likewise.
21847         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
21848         * libio/bits/stdio.h: Update #endif comments.
21849         [__USE_MISC]: Remove redundant conditionals.
21850         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
21851         * libio/stdio.h: Update #endif comments.
21852         [__USE_MISC]: Remove redundant conditionals.
21853         * math/bits/math-finite.h [__USE_MISC]: Likewise.
21854         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
21855         * math/math.h: Update #else and #endif comments.
21856         [__USE_MISC]: Remove redundant conditionals.
21857         * misc/sys/uio.h: Update #endif comments.
21858         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
21859         * posix/glob.h [__USE_MISC]: Likewise.
21860         * posix/sys/types.h: Update #endif comments.
21861         [__USE_MISC]: Remove redundant conditionals.
21862         * posix/sys/wait.h: Update #endif comments.
21863         [__USE_MISC]: Remove redundant conditionals.
21864         * posix/unistd.h: Update #endif comments.
21865         [__USE_MISC]: Remove redundant conditionals.
21866         * pwd/pwd.h [__USE_GNU]: Likewise.
21867         [__USE_MISC]: Likewise.
21868         * resolv/netdb.h [__USE_GNU]: Likewise.
21869         * signal/signal.h: Update #endif comments.
21870         [__USE_MISC]: Remove redundant conditionals.
21871         * stdlib/stdlib.h: Update #else and #endif comments.
21872         [__USE_MISC]: Remove redundant conditionals.
21873         [__USE_GNU]: Likewise.
21874         * string/bits/string2.h [__USE_MISC]: Likewise.
21875         * string/string.h: Update #endif comments.
21876         [__USE_MISC]: Remove redundant conditionals.
21877         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
21878         Likewise.
21879         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
21880         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
21881         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
21882         Likewise.
21883         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
21884         Likewise.
21885         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
21886         comments.
21887         [__USE_MISC]: Remove redundant conditionals.
21888         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
21889         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
21890         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
21891         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
21892         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
21893         Likewise.
21894         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
21895         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
21896         Likewise.
21897         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
21898         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
21899         Likewise.
21900         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
21901         Likewise.
21902         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
21903         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
21904         Likewise.
21905         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
21906         Likewise.
21907         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
21908         * sysdeps/x86/bits/string.h: Update #endif comments.
21909         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
21910         conditionals.
21911         * time/sys/time.h: Update #endif comments.
21912         * time/time.h: Likewise.
21913         [__USE_MISC]: Remove redundant conditionals.
21915 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
21917         [BZ #16600]
21918         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
21920 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
21922         * Versions.def (librt): Add GLIBC_2.17.
21924 2014-02-21  Adam Conrad  <adconrad@0c3.net>
21926         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
21927         synonym for _SYS_AUXV_H to allow direct inclusion.
21928         * sysdeps/sparc/bits/hwcap.h: Likewise.
21929         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
21930         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
21931         * sysdeps/sparc/sysdep.h: Likewise.
21933 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21935         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
21937 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21939         * benchtests/bench-strrchr.c: Print length instead of position.
21941 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
21943         [BZ #16611]
21944         * sysdeps/unix/sysv/linux/kernel-features.h
21945         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
21946         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
21947         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
21948         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
21949         Likewise.
21950         [__i386__ || __powerpc__ || __sh__ || __sparc__]
21951         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21952         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
21953         (__ASSUME_SENDMMSG): Define instead of using previous
21954         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
21955         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21956         (__ASSUME_SENDMMSG_SYSCALL): Define.
21957         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21958         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
21959         Likewise.
21960         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21961         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21962         Likewise.
21963         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21964         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21965         Likewise.
21966         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
21967         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
21968         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
21969         [__ASSUME_SENDMMSG]: Change conditionals to
21970         [__ASSUME_SENDMMSG_SOCKETCALL].
21971         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21972         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
21973         Define.
21974         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21975         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
21976         Likewise.
21977         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
21978         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
21979         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
21980         [!__ASSUME_SENDMMSG]: Change conditional to
21981         [!__ASSUME_SENDMMSG_SOCKETCALL].
21982         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21983         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21984         Define.
21986         [BZ #16610]
21987         * sysdeps/unix/sysv/linux/kernel-features.h
21988         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
21989         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
21990         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
21991         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
21992         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21993         [__i386__ || __sparc__]
21994         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21995         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
21996         (__ASSUME_RECVMMSG): Define instead of using previous
21997         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
21998         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21999         (__ASSUME_RECVMMSG_SYSCALL): Define.
22000         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22001         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22002         Likewise.
22003         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22004         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22005         Likewise.
22006         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22007         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22008         Likewise.
22009         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
22010         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
22011         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
22012         [__ASSUME_RECVMMSG]: Change condition to
22013         [__ASSUME_RECVMMSG_SOCKETCALL].
22014         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22015         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22016         Define.
22017         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22018         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22019         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22020         Likewise.
22021         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
22022         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
22023         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
22024         [!__ASSUME_RECVMMSG]: Change condition to
22025         [!__ASSUME_RECVMMSG_SOCKETCALL].
22026         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22027         (__ASSUME_RECVMMSG_SYSCALL): Define.
22029         [BZ #16609]
22030         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
22031         __powerpc__ || __s390__ || __sh__ || __sparc__]
22032         (__ASSUME_SOCKETCALL): Define.
22033         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
22034         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
22035         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
22036         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
22037         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22038         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
22039         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
22040         (__ASSUME_ACCEPT4): Define instead of using previous
22041         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
22042         __powerpc__ || __sparc__ || __s390__)] condition.
22043         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22044         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22045         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
22046         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22047         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22048         [!__ASSUME_ACCEPT4]: Change condition to
22049         [!__ASSUME_ACCEPT4_SOCKETCALL].
22050         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22051         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
22052         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
22053         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22054         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
22055         __ASSUME_ACCEPT4_SYSCALL.
22056         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
22057         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
22058         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22059         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
22060         __ASSUME_ACCEPT4_SYSCALL.
22061         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
22062         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22063         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22064         [__ASSUME_ACCEPT4]: Change condition to
22065         [__ASSUME_ACCEPT4_SOCKETCALL].
22066         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22067         (__ASSUME_SOCKETCALL): Define.
22068         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
22069         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22070         (__ASSUME_SOCKETCALL): Define.
22071         (__ASSUME_ACCEPT4): Remove.
22072         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
22073         Define.
22074         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22075         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
22076         Likewise.
22077         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22078         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22080         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
22081         macro.
22082         (HWCAP_ARM_LPAE): Likewise.
22083         (HWCAP_ARM_EVTSTRM): Likewise.
22084         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
22085         Add vpfd32, lpae and evtstrm.
22086         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
22087         Increase to 22.
22089 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
22091         * math/auto-libm-test-in: Add tests of clog10.
22092         * math/auto-libm-test-out: Regenerated.
22093         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
22094         * sysdeps/i386/fpu/libm-test-ulps: Update.
22095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22097 2014-02-18  Andreas Schwab  <schwab@suse.de>
22099         [BZ #16574]
22100         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
22101         Store non-zero if the second buffer was newly allocated.
22102         (send_dg): Likewise.
22103         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
22104         to send_vc and send_dg.
22105         (res_nsend): Pass NULL for ansp2_malloced.
22106         * resolv/res_query.c (__libc_res_nquery): Add parameter
22107         answerp2_malloced and pass it down to __libc_res_nsend.
22108         (res_nquery): Pass additional NULL to __libc_res_nquery.
22109         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
22110         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
22111         second answer buffer if answerp2_malloced was set.
22112         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
22113         (__libc_res_nquerydomain): Add parameter
22114         answerp2_malloced and pass it down to __libc_res_nquery.
22115         (res_nquerydomain): Pass additional NULL to
22116         __libc_res_nquerydomain.
22117         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
22118         additional NULL to __libc_res_nsend and __libc_res_nquery.
22119         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
22120         additional NULL to __libc_res_nsearch.
22121         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
22122         parameter of __libc_res_nsearch to check for separately allocated
22123         second buffer.
22124         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
22125         __libc_res_nquery.
22126         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
22127         additional NULL to __libc_res_nquery.
22128         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
22129         __libc_res_nsearch.
22130         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
22131         * include/resolv.h: Update prototypes of __libc_res_nquery,
22132         __libc_res_nsearch, __libc_res_nsend.
22134 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
22136         * math/auto-libm-test-in: Add tests of fma.
22137         * math/auto-libm-test-out: Regenerated.
22138         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
22139         (fma_towardzero_test_data): Likewise.
22140         (fma_downward_test_data): Likewise.
22141         (fma_upward_test_data): Likewise.
22142         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
22143         mpc_mode.
22144         (rounding_modes): Add values for new field.
22145         (func_calc_method): Add value mpfr_fff_f.
22146         (func_calc_desc): Add mpfr_fff_f union field.
22147         (test_function): Add field exact_args.
22148         (FUNC): Add macro argument EXACT_ARGS.
22149         (FUNC_mpfr_f_f): Update call to FUNC.
22150         (FUNC_mpfr_f_f): Likewise.
22151         (FUNC_mpfr_ff_f): Likewise.
22152         (FUNC_mpfr_if_f): Likewise.
22153         (FUNC_mpc_c_f): Likewise.
22154         (FUNC_mpc_c_c): Likewise.
22155         (test_functions): Add fma.  Update calls to FUNC.
22156         (handle_input_arg): Add argument exact_args.
22157         (add_test): Update call to handle_input_arg.
22158         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
22159         (output_for_one_input_case): Update call to calc_generic_results.
22160         Recalculate exact zero results in each rounding mode.
22162         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
22163         non-negative before setting low bit.
22164         * math/auto-libm-test-in: Mark one asin test possibly having
22165         spurious underflow.
22166         * math/auto-libm-test-out: Regenerated.
22167         * sysdeps/i386/fpu/libm-test-ulps: Update.
22168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22170 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
22172         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
22173         * sysdeps/unix/sysv/linux/microblaze: Move directory from
22174         ports/sysdeps/unix/sysv/linux/microblaze.
22175         * README: Add missing listing for microblaze*-*-linux-gnu.
22177 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
22179         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
22180         duplicate code
22182 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
22184         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
22185         * sysdeps/unix/sysv/linux/ia64: Move directory from
22186         ports/sysdeps/unix/sysv/linux/ia64.
22187         * README: Update listing for ia64-*-linux-gnu.
22189 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
22190             Joseph Myers  <joseph@codesourcery.com>
22192         * Makeconfig (test-name): New variable.
22193         (evaluate-test): Likewise.
22194         * Makerules (do-test-clean): Remove .test-result files.
22195         (common-mostlyclean): Likewise.
22196         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
22197         * scripts/evaluate-test.sh: New file.
22199 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
22201         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
22202         separate $(objpfx)tst-fopenloc-cmp.out and
22203         $(objpfx)tst-fopenloc-mem.out targets.
22204         (tests): Update dependencies.
22205         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
22206         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
22207         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
22208         (tst-rxspencer-no-utf8-ARGS): New variable.
22209         (tst-rxspencer-no-utf8-ENV): Likewise.
22210         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
22211         instead of $(objpfx)tst-rxspencer-mem.
22212         ($(objpfx)tst-rxspencer-mem): Change target to
22213         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
22214         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
22215         * posix/tst-rxspencer-no-utf8.c: New file.
22217         * elf/Makefile ($(objpfx)order.out): Remove rule.
22218         [$(run-built-tests) = yes] (tests): Depend on
22219         $(objpfx)order-cmp.out.
22220         ($(objpfx)order-cmp.out): New rule.
22221         [$(run-built-tests) = yes] (tests): Depend on
22222         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
22223         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
22224         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
22225         $(objpfx)tst-array5-static-cmp.out.
22226         ($(objpfx)tst-array1.out): Remove rule.
22227         ($(objpfx)tst-array1-cmp.out): New rule.
22228         ($(objpfx)tst-array1-static.out): Remove rule.
22229         ($(objpfx)tst-array1-static-cmp.out): New rule.
22230         ($(objpfx)tst-array2.out): Remove rule.
22231         ($(objpfx)tst-array2-cmp.out): New rule.
22232         ($(objpfx)tst-array3.out): Remove rule.
22233         ($(objpfx)tst-array3-cmp.out): New rule.
22234         ($(objpfx)tst-array4.out): Remove rule.
22235         ($(objpfx)tst-array4-cmp.out): New rule.
22236         ($(objpfx)tst-array5.out): Remove rule.
22237         ($(objpfx)tst-array5-cmp.out): New rule.
22238         ($(objpfx)tst-array5-static.out): Remove rule.
22239         ($(objpfx)tst-array5-static-cmp.out): New rule.
22240         [$(run-built-tests) = yes] (tests): Depend on
22241         $(objpfx)order2-cmp.out.
22242         ($(objpfx)order2.out): Remove rule.
22243         ($(objpfx)order2-cmp.out): New rule.
22244         ($(objpfx)tst-initorder.out): Remove rule.
22245         [$(run-built-tests) = yes] (tests): Depend on
22246         $(objpfx)tst-initorder-cmp.out.
22247         ($(objpfx)tst-initorder-cmp.out): New rule.
22248         ($(objpfx)tst-initorder2.out): Remove rule.
22249         [$(run-built-tests) = yes] (tests): Depend on
22250         $(objpfx)tst-initorder2-cmp.out.
22251         ($(objpfx)tst-initorder2-cmp.out): New rule.
22252         [$(run-built-tests) = yes] (tests): Depend on
22253         $(objpfx)tst-unused-dep-cmp.out.
22254         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
22255         ($(objpfx)tst-unused-dep-cmp.out): New rule.
22256         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
22257         on $(objpfx)tst-setvbuf1-cmp.out.
22258         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
22259         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
22260         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
22261         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
22262         ($(objpfx)tst-svc.out): Remove rule.
22263         ($(objpfx)tst-svc-cmp.out): New rule.
22265 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
22267         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
22268         * ctype/ctype.h [__USE_MISC]: Likewise.
22269         * dirent/dirent.h [__USE_MISC]: Likewise.
22270         * grp/grp.h [__USE_MISC]: Likewise.
22271         * io/fcntl.h [__USE_MISC]: Likewise.
22272         * io/sys/stat.h [__USE_MISC]: Likewise.
22273         * libio/stdio.h [__USE_MISC]: Likewise.
22274         * posix/unistd.h [__USE_MISC]: Likewise.
22275         * pwd/pwd.h [__USE_MISC]: Likewise.
22276         * stdlib.h [__USE_MISC]: Likewise.
22277         * string/bits/string2.h [__USE_MISC]: Likewise.
22278         * string/string.h [__USE_MISC]: Likewise.
22279         * time/time.h [__USE_MISC]: Likewise.
22281 2014-02-13  Andreas Schwab  <schwab@suse.de>
22283         [BZ #16574]
22284         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
22285         second answer buffer if it was separately allocated.
22287 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
22289         * sysdeps/mips/math-tests.h: Include <features.h>.
22290         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
22291         (ROUNDING_TESTS_long_double): Do not define.
22292         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
22293         (EXCEPTION_TESTS_long_double): Likewise.
22294         * sysdeps/mips/mips64/libm-test-ulps: Update.
22296         * include/features.h (__USE_BSD): Remove macro definitions.
22297         (__USE_SVID): Likewise.
22298         (_BSD_SOURCE): Likewise.
22299         (_SVID_SOURCE): Likewise.
22300         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
22301         from definition of _DEFAULT_SOURCE.
22302         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
22303         [_DEFAULT_SOURCE].
22304         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
22305         * bits/mman.h [__USE_BSD]: Likewise.
22306         * bits/termios.h [__USE_BSD]: Likewise.
22307         * bits/waitstatus.h [__USE_BSD]: Likewise.
22308         * ctype/ctype.h [__USE_SVID]: Likewise.
22309         * dirent/dirent.h [__USE_BSD]: Likewise.
22310         * grp/grp.h [__USE_SVID]: Likewise.
22311         [__USE_BSD]: Likewise.
22312         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
22313         * io/fcntl.h [__USE_BSD]: Likewise.
22314         * io/ftw.h [__USE_BSD]: Likewise.
22315         * io/sys/stat.h [__USE_BSD]: Likewise.
22316         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
22317         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
22318         * libio/stdio.h [__USE_SVID]: Likewise.
22319         [__USE_BSD]: Likewise.
22320         * math/math.h [__USE_SVID]: Likewise.
22321         [__USE_BSD]: Likewise.
22322         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
22323         * misc/bits/syslog.h [__USE_BSD]: Likewise.
22324         * misc/search.h [__USE_SVID]: Likewise.
22325         * misc/sys/mman.h [__USE_BSD]: Likewise.
22326         * misc/sys/syslog.h [__USE_BSD]: Likewise.
22327         * misc/sys/uio.h [__USE_BSD]: Likewise.
22328         * posix/bits/unistd.h [__USE_BSD]: Likewise.
22329         * posix/glob.h [__USE_BSD]: Likewise.
22330         * posix/regex.h [__USE_BSD]: Likewise.
22331         * posix/sys/types.h [__USE_BSD]: Likewise.
22332         [__USE_SVID]: Likewise.
22333         * posix/sys/utsname.h [__USE_SVID]: Likewise.
22334         * posix/sys/wait.h [__USE_BSD]: Likewise.
22335         [__USE_SVID]: Likewise.
22336         * posix/unistd.h [__USE_BSD]: Likewise.
22337         [__USE_SVID]: Likewise.
22338         * pwd/pwd.h [__USE_SVID]: Likewise.
22339         * resolv/netdb.h [__USE_BSD]: Likewise.
22340         * setjmp/setjmp.h [__USE_BSD]: Likewise.
22341         * signal/signal.h [__USE_BSD]: Likewise.
22342         [__USE_SVID]: Likewise.
22343         * socket/sys/socket.h [__USE_BSD]: Likewise.
22344         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
22345         * stdlib/stdlib.h [__USE_BSD]: Likewise.
22346         [__USE_SVID]: Likewise.
22347         * string/bits/string2.h [__USE_BSD]: Likewise.
22348         [__USE_SVID]: Likewise.
22349         * string/bits/string3.h [__USE_BSD]: Likewise.
22350         * string/endian.h [__USE_BSD]: Likewise.
22351         * string/string.h [__USE_SVID]: Likewise.
22352         [__USE_BSD]: Likewise.
22353         * string/strings.h [__USE_BSD]: Likewise.
22354         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
22355         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
22356         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
22357         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
22358         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
22359         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
22360         Likewise.
22361         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
22362         Likewise.
22363         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
22364         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
22365         Likewise.
22366         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
22367         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
22368         Likewise.
22369         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
22370         Likewise.
22371         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
22372         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
22373         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
22374         Likewise.
22375         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
22376         Likewise.
22377         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
22378         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
22379         * termios/termios.h [__USE_BSD]: Likewise.
22380         * time/sys/time.h [__USE_BSD]: Likewise.
22381         * time/time.h [__USE_BSD]: Likewise.
22382         [__USE_SVID]: Likewise.
22384         * Makefile (subdir_targets): Remove subdir_lint.out.
22386         * stdio-common/Makefile (do-tst-unbputc): Remove target.
22387         (do-tst-printf): Likewise.
22388         (tests): Depend directly on $(objpfx)tst-unbputc.out and
22389         $(objpfx)tst-printf.out.
22391         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
22393         * Makerules (check-abi-%): Change target to
22394         $(objpfx)check-abi-%.out.
22395         (check-abi target): Update dependencies.
22396         (check-abi-pattern variable): Redirect output of diff to $@.
22397         (check-abi variable): Likewise.
22398         * elf/Makefile (check-abi): Update dependencies.
22400         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
22401         unused.
22402         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
22403         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
22404         subnormal range.
22405         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
22406         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
22407         value has largest subnormal exponent.
22408         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
22409         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
22410         * sysdeps/aarch64/soft-fp/sfp-machine.h
22411         (_FP_TININESS_AFTER_ROUNDING): New macro.
22412         * sysdeps/alpha/soft-fp/sfp-machine.h
22413         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22414         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22415         Likewise.
22416         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
22417         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22418         * sysdeps/mips/soft-fp/sfp-machine.h
22419         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22420         * sysdeps/powerpc/soft-fp/sfp-machine.h
22421         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22422         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22423         Likewise.
22424         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22425         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22426         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22427         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22428         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22429         Likewise.
22431 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
22433         [BZ #16545]
22434         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
22435         model 1.
22437 2014-02-12  Richard Henderson  <rth@redhat.com>
22439         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
22440         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
22441         * sysdeps/unix/sysv/linux/alpha: Move directory from
22442         ports/sysdeps/unix/sysv/linux/alpha.
22443         * README: Update listing for alpha-*-linux-gnu.
22445 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
22447         * include/features.h: Update comment documenting feature test
22448         macros.
22449         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
22450         _DEFAULT_SOURCE.
22451         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
22452         (_SVID_SOURCE): Likewise.
22453         (_DEFAULT_SOURCE): Update description of default features.
22454         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
22455         with _GNU_SOURCE.
22456         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
22457         (S_ISVTX): Likewise.
22458         * manual/math.texi (Mathematical Constants): Likewise.
22459         * manual/signal.texi (Interrupted Primitives): Likewise.
22460         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
22461         * math/test-matherr.c (_SVID_SOURCE): Do not define.
22462         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
22463         Don't refer to _SVID_SOURCE in warning text.
22465         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22467         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
22468         already defined.
22469         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
22470         * sysdeps/mips/dl-lookup.c: Remove.
22471         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
22473 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
22475         [BZ #16447]
22476         * math/auto-libm-test-in: Add testcase for expl.
22477         * math/auto-libm-test-out: Regenerate.
22478         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
22479         calculation of unsafe.
22480         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
22482 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
22484         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
22485         * sysdeps/unix/sysv/linux/aarch64: Move directory from
22486         ports/sysdeps/unix/sysv/linux/aarch64.
22487         * README: Update listing for aarch64*-*-linux-gnu.
22489 2014-02-11  Will Newton  <will.newton@linaro.org>
22491         * manual/probes.texi (Mathematical Function Probes): Use
22492         "triggered" instead of "hit".
22494         * manual/probes.texi (Internal Probes): Add documentation
22495         of setjmp, longjmp and longjmp_target probes.
22497         * include/stap-probe.h: Add comment about probe argument
22498         format.
22500         * malloc/mtrace.c (attribute_hidden): Remove unused macro
22501         definition.  (tr_where, tr_freehook, tr_mallochook,
22502         tr_reallochook, tr_memalignhook): Use ANSI protoype.
22504 2014-02-11  David S. Miller  <davem@davemloft.net>
22506         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
22507         processing int_tests.
22509 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
22511         * sysdeps/mips: Move directory from ports/sysdeps/mips.
22512         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
22513         * sysdeps/unix/sysv/linux/mips: Move directory from
22514         ports/sysdeps/unix/sysv/linux/mips.
22515         * README: Update listing for mips-*-linux-gnu and
22516         mips64-*-linux-gnu.
22518 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
22520         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
22521         * sysdeps/unix/sysv/linux/m68k: Move directory from
22522         ports/sysdeps/unix/sysv/linux/m68k.
22523         * README: Update listing for m68k-*-linux-gnu.
22525 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
22527         * sysdeps/tile: Move directory from ports/sysdeps/tile.
22528         * sysdeps/unix/sysv/linux/generic: Move directory from
22529         ports/sysdeps/unix/sysv/linux/generic.
22530         * sysdeps/unix/sysv/linux/tile: Move directory from
22531         ports/sysdeps/unix/sysv/linux/tile.
22532         * README: Update listing for tile*-*-linux-gnu.
22534 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
22536         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
22537         __builtin_expect.
22538         * benchtests/bench-memmem.c (simple_memmem): Likewise.
22539         * catgets/open_catalog.c (__open_catalog): Likewise.
22540         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
22541         * debug/confstr_chk.c: Likewise.
22542         * debug/fread_chk.c (__fread_chk): Likewise.
22543         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
22544         * debug/getgroups_chk.c: Likewise.
22545         * debug/mbsnrtowcs_chk.c: Likewise.
22546         * debug/mbsrtowcs_chk.c: Likewise.
22547         * debug/mbstowcs_chk.c: Likewise.
22548         * debug/memcpy_chk.c: Likewise.
22549         * debug/memmove_chk.c: Likewise.
22550         * debug/mempcpy_chk.c: Likewise.
22551         * debug/memset_chk.c: Likewise.
22552         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
22553         * debug/strcat_chk.c (__strcat_chk): Likewise.
22554         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
22555         * debug/strncat_chk.c (__strncat_chk): Likewise.
22556         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
22557         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
22558         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
22559         * debug/wcpncpy_chk.c: Likewise.
22560         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
22561         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
22562         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
22563         * debug/wcsncpy_chk.c: Likewise.
22564         * debug/wcsnrtombs_chk.c: Likewise.
22565         * debug/wcsrtombs_chk.c: Likewise.
22566         * debug/wcstombs_chk.c: Likewise.
22567         * debug/wmemcpy_chk.c: Likewise.
22568         * debug/wmemmove_chk.c: Likewise.
22569         * debug/wmempcpy_chk.c: Likewise.
22570         * debug/wmemset_chk.c: Likewise.
22571         * dirent/scandirat.c (SCANDIRAT): Likewise.
22572         * dlfcn/dladdr1.c (dladdr1): Likewise.
22573         * dlfcn/dladdr.c (dladdr): Likewise.
22574         * dlfcn/dlclose.c (dlclose_doit): Likewise.
22575         * dlfcn/dlerror.c (__dlerror): Likewise.
22576         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
22577         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
22578         * dlfcn/dlopen.c (dlopen_doit): Likewise.
22579         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
22580         * dlfcn/dlsym.c (dlsym_doit): Likewise.
22581         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
22582         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
22583         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
22584         Likewise.
22585         * elf/dl-conflict.c: Likewise.
22586         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
22587         * elf/dl-dst.h: Likewise.
22588         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
22589         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
22590         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
22591         * elf/dl-init.c (call_init, _dl_init): Likewise.
22592         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
22593         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
22594         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
22595         Likewise.
22596         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
22597         Likewise.
22598         * elf/dl-minimal.c (__libc_memalign): Likewise.
22599         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
22600         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
22601         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
22602         * elf/dl-sym.c (do_sym): Likewise.
22603         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
22604         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
22605         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
22606         * elf/dl-writev.h (_dl_writev): Likewise.
22607         * elf/ldconfig.c (search_dir): Likewise.
22608         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
22609         (dl_main): Likewise.
22610         * elf/setup-vdso.h (setup_vdso): Likewise.
22611         * grp/compat-initgroups.c (compat_call): Likewise.
22612         * grp/fgetgrent.c (fgetgrent): Likewise.
22613         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
22614         * grp/putgrent.c (putgrent): Likewise.
22615         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22616         Likewise.
22617         * hurd/hurdinit.c: Likewise.
22618         * iconvdata/8bit-gap.c (struct): Likewise.
22619         * iconvdata/ansi_x3.110.c : Likewise.
22620         * iconvdata/big5.c : Likewise.
22621         * iconvdata/big5hkscs.c : Likewise.
22622         * iconvdata/cp1255.c: Likewise.
22623         * iconvdata/cp1258.c : Likewise.
22624         * iconvdata/cp932.c : Likewise.
22625         * iconvdata/euc-cn.c: Likewise.
22626         * iconvdata/euc-jisx0213.c : Likewise.
22627         * iconvdata/euc-jp.c: Likewise.
22628         * iconvdata/euc-jp-ms.c : Likewise.
22629         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
22630         * iconvdata/gb18030.c : Likewise.
22631         * iconvdata/gbbig5.c (const): Likewise.
22632         * iconvdata/gbgbk.c: Likewise.
22633         * iconvdata/gbk.c : Likewise.
22634         * iconvdata/ibm1364.c : Likewise.
22635         * iconvdata/ibm930.c : Likewise.
22636         * iconvdata/ibm932.c: Likewise.
22637         * iconvdata/ibm933.c : Likewise.
22638         * iconvdata/ibm935.c : Likewise.
22639         * iconvdata/ibm937.c : Likewise.
22640         * iconvdata/ibm939.c : Likewise.
22641         * iconvdata/ibm943.c: Likewise.
22642         * iconvdata/iso_11548-1.c: Likewise.
22643         * iconvdata/iso-2022-cn.c : Likewise.
22644         * iconvdata/iso-2022-cn-ext.c : Likewise.
22645         * iconvdata/iso-2022-jp-3.c: Likewise.
22646         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
22647         * iconvdata/iso-2022-kr.c : Likewise.
22648         * iconvdata/iso646.c (gconv_end): Likewise.
22649         * iconvdata/iso_6937-2.c : Likewise.
22650         * iconvdata/iso_6937.c : Likewise.
22651         * iconvdata/iso8859-1.c: Likewise.
22652         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
22653         * iconvdata/shift_jisx0213.c : Likewise.
22654         * iconvdata/sjis.c : Likewise.
22655         * iconvdata/t.61.c : Likewise.
22656         * iconvdata/tcvn5712-1.c : Likewise.
22657         * iconvdata/tscii.c: Likewise.
22658         * iconvdata/uhc.c : Likewise.
22659         * iconvdata/unicode.c (gconv_end): Likewise.
22660         * iconvdata/utf-16.c (gconv_end): Likewise.
22661         * iconvdata/utf-32.c (gconv_end): Likewise.
22662         * iconvdata/utf-7.c (base64): Likewise.
22663         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
22664         * iconv/gconv_close.c (__gconv_close): Likewise.
22665         * iconv/gconv_open.c (__gconv_open): Likewise.
22666         * iconv/gconv_simple.c (internal_ucs4_loop_single)
22667         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
22668         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
22669         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
22670         (ucs4le_internal_loop_single): Likewise.
22671         * iconv/iconv.c (iconv): Likewise.
22672         * iconv/iconv_close.c: Likewise.
22673         * iconv/loop.c (SINGLE): Likewise.
22674         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
22675         * include/atomic.h: Likewise.
22676         * inet/inet6_option.c (option_alloc): Likewise.
22677         * intl/bindtextdom.c (set_binding_values): Likewise.
22678         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
22679         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
22680         * intl/localealias.c (read_alias_file): Likewise.
22681         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
22682         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
22683         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
22684         * libio/fmemopen.c (fmemopen): Likewise.
22685         * libio/iofgets.c (_IO_fgets): Likewise.
22686         * libio/iofgets_u.c (fgets_unlocked): Likewise.
22687         * libio/iofgetws.c (fgetws): Likewise.
22688         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
22689         * libio/iogetdelim.c (_IO_getdelim): Likewise.
22690         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
22691         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
22692         * locale/findlocale.c (_nl_find_locale): Likewise.
22693         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
22694         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
22695         Likewise.
22696         * locale/setlocale.c (setlocale): Likewise.
22697         * login/programs/pt_chown.c (main): Likewise.
22698         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
22699         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
22700         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
22701         (mmap, mmap64, mremap, munmap): Likewise.
22702         * math/e_exp2l.c: Likewise.
22703         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
22704         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
22705         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
22706         * math/s_catan.c (__catan): Likewise.
22707         * math/s_catanf.c (__catanf): Likewise.
22708         * math/s_catanh.c (__catanh): Likewise.
22709         * math/s_catanhf.c (__catanhf): Likewise.
22710         * math/s_catanhl.c (__catanhl): Likewise.
22711         * math/s_catanl.c (__catanl): Likewise.
22712         * math/s_ccosh.c (__ccosh): Likewise.
22713         * math/s_ccoshf.c (__ccoshf): Likewise.
22714         * math/s_ccoshl.c (__ccoshl): Likewise.
22715         * math/s_cexp.c (__cexp): Likewise.
22716         * math/s_cexpf.c (__cexpf): Likewise.
22717         * math/s_cexpl.c (__cexpl): Likewise.
22718         * math/s_clog10.c (__clog10): Likewise.
22719         * math/s_clog10f.c (__clog10f): Likewise.
22720         * math/s_clog10l.c (__clog10l): Likewise.
22721         * math/s_clog.c (__clog): Likewise.
22722         * math/s_clogf.c (__clogf): Likewise.
22723         * math/s_clogl.c (__clogl): Likewise.
22724         * math/s_csin.c (__csin): Likewise.
22725         * math/s_csinf.c (__csinf): Likewise.
22726         * math/s_csinh.c (__csinh): Likewise.
22727         * math/s_csinhf.c (__csinhf): Likewise.
22728         * math/s_csinhl.c (__csinhl): Likewise.
22729         * math/s_csinl.c (__csinl): Likewise.
22730         * math/s_csqrt.c (__csqrt): Likewise.
22731         * math/s_csqrtf.c (__csqrtf): Likewise.
22732         * math/s_csqrtl.c (__csqrtl): Likewise.
22733         * math/s_ctan.c (__ctan): Likewise.
22734         * math/s_ctanf.c (__ctanf): Likewise.
22735         * math/s_ctanh.c (__ctanh): Likewise.
22736         * math/s_ctanhf.c (__ctanhf): Likewise.
22737         * math/s_ctanhl.c (__ctanhl): Likewise.
22738         * math/s_ctanl.c (__ctanl): Likewise.
22739         * math/w_pow.c: Likewise.
22740         * math/w_powf.c: Likewise.
22741         * math/w_powl.c: Likewise.
22742         * math/w_scalb.c (sysv_scalb): Likewise.
22743         * math/w_scalbf.c (sysv_scalbf): Likewise.
22744         * math/w_scalbl.c (sysv_scalbl): Likewise.
22745         * misc/error.c (error_tail): Likewise.
22746         * misc/pselect.c (__pselect): Likewise.
22747         * nis/nis_callback.c (__nis_create_callback): Likewise.
22748         * nis/nis_call.c (__nisfind_server): Likewise.
22749         * nis/nis_creategroup.c (nis_creategroup): Likewise.
22750         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
22751         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
22752         * nis/nis_getservlist.c (nis_getservlist): Likewise.
22753         * nis/nis_lookup.c (nis_lookup): Likewise.
22754         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
22755         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
22756         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
22757         * nis/nis_xdr.c (xdr_endpoint): Likewise.
22758         * nis/nss_compat/compat-grp.c (getgrent_next_file)
22759         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
22760         * nis/nss_compat/compat-initgroups.c (add_group)
22761         (internal_getgrent_r): Likewise.
22762         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
22763         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
22764         * nis/nss_compat/compat-spwd.c (getspent_next_file)
22765         (internal_getspnam_r): Likewise.
22766         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
22767         (_nss_nis_getaliasbyname_r): Likewise.
22768         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
22769         (_nss_nis_getntohost_r): Likewise.
22770         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
22771         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
22772         (_nss_nis_getgrgid_r): Likewise.
22773         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
22774         (internal_nis_gethostent_r, internal_gethostbyname2_r)
22775         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
22776         (_nss_nis_gethostbyname4_r): Likewise.
22777         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
22778         (initgroups_netid): Likewise.
22779         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
22780         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
22781         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
22782         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
22783         (_nss_nis_getprotobynumber_r): Likewise.
22784         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
22785         (_nss_nis_getsecretkey): Likewise.
22786         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
22787         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
22788         (_nss_nis_getpwuid_r): Likewise.
22789         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
22790         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
22791         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
22792         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
22793         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
22794         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
22795         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
22796         Likewise.
22797         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
22798         (_nss_nisplus_getntohost_r): Likewise.
22799         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
22800         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
22801         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
22802         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
22803         Likewise.
22804         * nis/nss_nisplus/nisplus-initgroups.c
22805         (_nss_nisplus_initgroups_dyn): Likewise.
22806         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
22807         (_nss_nisplus_getnetbyaddr_r): Likewise.
22808         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
22809         (_nss_nisplus_getprotobynumber_r): Likewise.
22810         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
22811         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
22812         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
22813         Likewise.
22814         * nis/nss_nisplus/nisplus-service.c
22815         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
22816         (_nss_nisplus_getservbyport_r): Likewise.
22817         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
22818         (_nss_nisplus_getspnam_r): Likewise.
22819         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
22820         Likewise.
22821         * nscd/aicache.c (addhstaiX): Likewise.
22822         * nscd/cache.c (cache_search, prune_cache): Likewise.
22823         * nscd/connections.c (register_traced_file, send_ro_fd)
22824         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
22825         (main_loop_epoll): Likewise.
22826         * nscd/grpcache.c (addgrbyX): Likewise.
22827         * nscd/hstcache.c (addhstbyX): Likewise.
22828         * nscd/initgrcache.c (addinitgroupsX): Likewise.
22829         * nscd/mem.c (gc, mempool_alloc): Likewise.
22830         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
22831         (addinnetgrX): Likewise.
22832         * nscd/nscd-client.h (__nscd_acquire_maplock)
22833         (__nscd_drop_map_ref): Likewise.
22834         * nscd/nscd_getai.c (__nscd_getai): Likewise.
22835         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
22836         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
22837         Likewise.
22838         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
22839         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
22840         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
22841         (__nscd_get_map_ref): Likewise.
22842         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
22843         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
22844         Likewise.
22845         * nscd/pwdcache.c (addpwbyX): Likewise.
22846         * nscd/selinux.c (preserve_capabilities): Likewise.
22847         * nscd/servicescache.c (addservbyX): Likewise.
22848         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
22849         * posix/fnmatch.c (fnmatch): Likewise.
22850         * posix/getopt.c (_getopt_internal_r): Likewise.
22851         * posix/glob.c (glob, glob_in_dir): Likewise.
22852         * posix/wordexp.c (exec_comm_child): Likewise.
22853         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
22854         (getanswer_r, gaih_getanswer_slice): Likewise.
22855         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
22856         * resolv/res_init.c: Likewise.
22857         * resolv/res_mkquery.c (res_nmkquery): Likewise.
22858         * resolv/res_query.c (__libc_res_nquery): Likewise.
22859         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
22860         Likewise.
22861         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
22862         * stdio-common/perror.c (perror): Likewise.
22863         * stdio-common/printf_fp.c (___printf_fp): Likewise.
22864         * stdio-common/tmpnam.c (tmpnam): Likewise.
22865         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
22866         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
22867         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
22868         Likewise.
22869         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
22870         * stdlib/putenv.c (putenv): Likewise.
22871         * stdlib/setenv.c (__add_to_environ): Likewise.
22872         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
22873         * stdlib/strtol_l.c (INTERNAL): Likewise.
22874         * string/memmem.c (memmem): Likewise.
22875         * string/strerror.c (strerror): Likewise.
22876         * string/strnlen.c (__strnlen): Likewise.
22877         * string/test-memmem.c (simple_memmem): Likewise.
22878         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
22879         * sunrpc/pm_getport.c (__get_socket): Likewise.
22880         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
22881         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
22882         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
22883         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
22884         Likewise.
22885         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
22886         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
22887         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
22888         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
22889         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
22890         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
22891         Likewise.
22892         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
22893         Likewise.
22894         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
22895         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
22896         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22897         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
22898         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
22899         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
22900         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
22901         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
22902         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
22903         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
22904         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
22905         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
22906         Likewise.
22907         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
22908         Likewise.
22909         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
22910         Likewise.
22911         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
22912         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22913         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
22914         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
22915         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
22916         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
22917         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22918         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
22919         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
22920         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
22921         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
22922         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22923         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22924         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
22925         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22926         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
22927         Likewise.
22928         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
22929         Likewise.
22930         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
22931         Likewise.
22932         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
22933         Likewise.
22934         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22935         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22936         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
22937         Likewise.
22938         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
22939         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
22940         * sysdeps/posix/opendir.c (__opendirat): Likewise.
22941         * sysdeps/posix/sleep.c: Likewise.
22942         * sysdeps/posix/tempname.c: Likewise.
22943         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
22944         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22945         Likewise.
22946         * sysdeps/powerpc/powerpc32/dl-machine.h
22947         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
22948         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
22949         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22950         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
22951         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
22952         Likewise.
22953         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
22954         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
22955         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
22956         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
22957         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
22958         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
22959         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
22960         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
22961         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22962         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
22963         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
22964         (elf_machine_lazy_rel): Likewise.
22965         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
22966         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
22967         (elf_machine_lazy_rel): Likewise.
22968         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
22969         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
22970         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
22971         * sysdeps/unix/grantpt.c (grantpt): Likewise.
22972         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
22973         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
22974         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
22975         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22976         Likewise.
22977         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
22978         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
22979         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
22980         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
22981         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22982         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22983         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
22984         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
22985         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
22986         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22987         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22988         Likewise.
22989         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
22990         (__posix_fallocate64_l64): Likewise.
22991         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
22992         (posix_fallocate): Likewise.
22993         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
22994         Likewise.
22995         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22996         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
22997         (getifaddrs_internal): Likewise.
22998         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
22999         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
23000         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
23001         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
23002         * sysdeps/unix/sysv/linux/posix_fallocate64.c
23003         (__posix_fallocate64_l64): Likewise.
23004         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
23005         Likewise.
23006         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
23007         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
23008         (__get_clockfreq): Likewise.
23009         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
23010         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
23011         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
23012         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23013         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23014         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
23015         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
23016         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
23017         Likewise.
23018         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
23019         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
23020         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
23021         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
23022         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23023         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
23024         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
23025         Likewise.
23026         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23027         (posix_fallocate): Likewise.
23028         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23029         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
23030         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
23031         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
23032         (elf_machine_rela, elf_machine_rela_relative)
23033         (elf_machine_lazy_rel): Likewise.
23034         * time/asctime.c (asctime_internal): Likewise.
23035         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
23036         * time/tzset.c (__tzset_parse_tz): Likewise.
23037         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
23038         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
23039         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
23040         * wcsmbs/wcsmbsload.h: Likewise.
23042         [BZ #15894]
23043         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
23045         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
23046         (arena_get2): Remove THREAD_STATS conditionals.
23047         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
23048         (__malloc_stats, int): Likewise.
23050 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
23052         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
23053         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
23055         * manual/setjmp.texi: Fix typos/grammar errors.
23057         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
23058         Only return early when n is <= 0.  Delete unused return statement.
23060         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
23061         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
23062         * debug/tst-longjmp_chk3.c: New file.
23064         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
23065         (test_main): Replace code with set_fortify_handler call.
23066         * debug/test-strcpy_chk.c: Likewise.
23067         * debug/tst-chk1.c: Likewise.
23068         * debug/tst-longjmp_chk.c: Likewise.
23069         * test-skeleton.c: Include fcntl.h & paths.h
23070         (set_fortify_handler): Define.
23072         * debug/tst-longjmp_chk.c: Add header comment and include
23073         ../test-skeleton.c.
23074         (do_test): Mark static.
23075         (TEST_FUNCTION): Define.
23077         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
23078         (IP_PMTUDISC_INTERFACE): Likewise.
23079         (IP_MULTICAST_IF): Likewise.
23080         (IP_MULTICAST_TTL): Likewise.
23081         (IP_MULTICAST_LOOP): Likewise.
23082         (IP_ADD_MEMBERSHIP): Likewise.
23083         (IP_DROP_MEMBERSHIP): Likewise.
23084         (IP_UNBLOCK_SOURCE): Likewise.
23085         (IP_BLOCK_SOURCE): Likewise.
23086         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
23087         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
23088         (IP_MSFILTER): Likewise.
23089         (MCAST_JOIN_GROUP): Likewise.
23090         (MCAST_BLOCK_SOURCE): Likewise.
23091         (MCAST_UNBLOCK_SOURCE): Likewise.
23092         (MCAST_LEAVE_GROUP): Likewise.
23093         (MCAST_JOIN_SOURCE_GROUP): Likewise.
23094         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
23095         (MCAST_MSFILTER): Likewise.
23096         (IP_MULTICAST_ALL): Likewise.
23097         (IP_UNICAST_IF): Likewise.
23099         * timezone/Makefile: Delete $(have-ksh) check.
23100         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
23101         * timezone/tzselect.ksh: Add +x mode bits.
23103         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
23104         (ANON_INODE_FS_MAGIC): Likewise.
23105         (BDEVFS_MAGIC): Likewise.
23106         (BINFMTFS_MAGIC): Likewise.
23107         (BTRFS_TEST_MAGIC): Likewise.
23108         (CRAMFS_MAGIC_WEND): Likewise.
23109         (DEBUGFS_MAGIC): Likewise.
23110         (ECRYPTFS_SUPER_MAGIC): Likewise.
23111         (EXT3_SUPER_MAGIC): Likewise.
23112         (EXT4_SUPER_MAGIC): Likewise.
23113         (FUTEXFS_SUPER_MAGIC): Likewise.
23114         (HOSTFS_SUPER_MAGIC): Likewise.
23115         (HUGETLBFS_MAGIC): Likewise.
23116         (MINIX3_SUPER_MAGIC): Likewise.
23117         (MTD_INODE_FS_MAGIC): Likewise.
23118         (NILFS_SUPER_MAGIC): Likewise.
23119         (OPENPROM_SUPER_MAGIC): Likewise.
23120         (PIPEFS_MAGIC): Likewise.
23121         (PSTOREFS_MAGIC): Likewise.
23122         (QNX6_SUPER_MAGIC): Likewise.
23123         (RAMFS_MAGIC): Likewise.
23124         (REISERFS_SUPER_MAGIC_STRING): Likewise.
23125         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
23126         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
23127         (SECURITYFS_MAGIC): Likewise.
23128         (SELINUX_MAGIC): Likewise.
23129         (SMACK_MAGIC): Likewise.
23130         (SOCKFS_MAGIC): Likewise.
23131         (SQUASHFS_MAGIC): Likewise.
23132         (STACK_END_MAGIC): Likewise.
23133         (TMPFS_MAGIC): Likewise.
23134         (USBDEVICE_SUPER_MAGIC): Likewise.
23135         (V9FS_MAGIC): Likewise.
23136         (XENFS_SUPER_MAGIC): Likewise.
23137         (CRAMFS_MAGIC): Fix typo in comment.
23138         (EXT2_SUPER_MAGIC): Update comment.
23139         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
23141 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
23143         * sysdeps/arm: Move directory from ports/sysdeps/arm.
23144         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
23145         * sysdeps/unix/sysv/linux/arm: Move directory from
23146         ports/sysdeps/unix/sysv/linux/arm.
23147         * README: Update listing for arm-*-linux-gnueabi.
23149         * README: Remove mention of am33.
23151 2014-02-07  Roland McGrath  <roland@hack.frob.com>
23153         * bits/sigset.h (__sigemptyset): Use a statement expression rather
23154         than the comma operator, to avoid "rhs of comma has no effect"
23155         compiler warnings.
23156         (__sigfillset, __sigandset, __sigorset): Likewise.
23157         * include/signal.h (__sigemptyset): Likewise.
23158         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
23160 2014-02-07  Allan McRae  <allan@archlinux.org>
23162         * version.h (RELEASE): Set to "development".
23163         (VERSION): Set to "2.19.90"
23164         * NEWS: Add 2.20 section.
23166 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
23168         [BZ #16529]
23169         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
23171 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
23173         * manual/contrib.texi: Update entry for Carlos O'Donell,
23174         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
23176 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
23178         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
23180         * sysdeps/unix/sysv/linux/kernel-features.h
23181         [__LINUX_KERNEL_VERSION >= 0x020621]
23182         (__ASSUME_PROC_PID_TASK_COMM): Define.
23184 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
23186         [BZ #16398]
23187         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
23188         conversion when destination buffer does not have enough space.
23189         * libio/tst-ftell-partial-wide.c: New test case.
23190         * libio/Makefile (tests): Add tst-ftell-partial-wide.
23192         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
23193         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
23194         Leonard and Allan McRae.
23196 2014-02-04  David S. Miller  <davem@davemloft.net>
23198         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
23199         32-bit.
23201 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
23204         New file
23205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
23206         New file
23207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
23208         New file.
23209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
23210         New file.
23211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
23212         New file.
23213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
23214         New file.
23215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
23216         New file.
23217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
23218         New file.
23219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
23220         New file.
23221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
23222         New file.
23223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
23224         New file.
23225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
23226         New file.
23227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
23228         New file.
23230 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23232         * nptl/shlib-versions: Change powerpc*le start to 2.17.
23233         * shlib-versions: Likewise.
23235 2014-02-04  Roland McGrath  <roland@hack.frob.com>
23236             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23238         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
23239         (abilist-pattern): New variable, set to %-le.abilist.
23241         * Makerules (abilist-pattern): New variable.
23242         (vpath): Use $(abilist-pattern) in place of %.abilist.
23243         (check-abi-% pattern rule): Likewise.
23244         (check-abi, update-abi): Likewise.
23246 2014-02-04  Eric Wong  <normalperson@yhbt.net>
23248         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23250 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
23252         * manual/startup.texi: Add next, previous, and top entries for
23253         the `Program Arguments' and `Environment Variables' nodes.
23255 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
23257         * manual/macros.texi: Add comments before MTASC-safety macros.
23259         * manual/users.texi: Document MTASC-safety properties.
23261         * manual/threads.texi (pthread_key_create, pthread_key_delete)
23262         (pthread_getspecific, pthread_setspecific): Format with
23263         @deftypefun, and add @safety note.
23264         * manual/signal.texi: Move comments that analyze the above
23265         functions to their home place.
23267 2014-02-03  Allan McRae  <allan@archlinux.org>
23269         * po/sl.po: Update Slovenian translation from translation project.
23271 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
23273         * manual/time.texi (timegm): Add missing blank after @c.
23274         Reported by Joseph Myers <joseph@codesourcery.com>.
23276 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
23278         * manual/check-safety.sh: New.
23279         * manual/Makefile ($(objpfx)stamp-summary): Run it.
23281         * manual/terminal.texi: Document MTASC-safety properties.
23283         * manual/filesys.texi: Document MTASC-safety properties.
23285         * manual/errno.texi: Document MTASC-safety properties.
23287         * manual/intro.texi: Document safety identifiers and
23288         conditionals.
23290         * manual/string.texi (wcstok): Fix prototype.
23291         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
23293         * manual/time.texi: Document MTASC-safety properties.
23295         * manual/string.texi: Document MTASC-safety properties.
23297         * manual/threads.texi: Document MTASC-safety properties.
23299         * manual/stdio.texi: Document MTASC-safety properties.
23301         * manual/syslog.texi: Document MTASC-safety properties.
23303         * manual/sysinfo.texi: Document MTASC-safety properties.
23305         * manual/startup.texi: Document MTASC-safety properties.
23307         * manual/socket.texi: Document MTASC-safety properties.
23309         * manual/signal.texi: Document MTASC-safety properties.
23311 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
23313         * manual/setjmp.texi: Document MTASC-safety properties.
23315         * manual/search.texi: Document MTASC-safety properties.
23317         * manual/resource.texi: Document MTASC-safety properties.
23319         * manual/process.texi: Document MTASC-safety properties.
23321         * manual/platform.texi: Document MTASC-safety properties.
23323         * manual/pipe.texi: Document MTASC-safety properties.
23325         * manual/pattern.texi: Document MTASC-safety properties.
23327         * manual/message.texi: Document MTASC-safety properties.
23329         [BZ #12751]
23330         * manual/memory.texi: Document MTASC-safety properties.
23332         * manual/math.texi: Document MTASC-safety properties.
23334         * manual/locale.texi: Document MTASC-safety properties.
23336         * manual/llio.texi: Document MTASC-safety properties.
23338         * manual/libdl.texi: New.
23340         * manual/lang.texi: Document MTASC-safety properties.
23342         * manual/job.texi: Document MTASC-safety properties.
23344         * manual/getopt.texi: Document MTASC-safety properties.
23346         * manual/ctype.texi: Document MTASC-safety properties.
23348 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
23350         [BZ #16046]
23351         * csu/libc-tls.c (static_map): Remove variable.
23352         (__libc_setup_tls): Use main executable's link map for TLS data.
23353         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
23354         casing for LM_ID_BASE and GL(dl_nns).
23355         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
23356         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
23357         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
23358         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
23359         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
23360         member.
23361         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
23362         l_phnum members.
23364 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
23366         * manual/debug.texi: Document MTASC-safety properties.
23368 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
23370         [BZ #16510]
23371         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
23372         of __x86_64__ when disabling x87 inline functions.
23374 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
23376         * manual/charset.texi: Document MTASC-safety properties.
23378         * manual/crypt.texi: Document MTASC-safety properties.
23380         * manual/conf.texi: Document MTASC-safety properties.
23382         * manual/arith.texi: Document MTASC-safety properties.
23384         * manual/argp.texi: Document MTASC-safety properties.
23386         * manual/macros.texi: Introduce macros to document multi
23387         thread, asynchronous signal and asynchronous cancellation
23388         safety properties.
23389         * manual/intro.texi: Introduce the properties themselves.
23391 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23393         * sysdeps/sh/sh4/Makefile: New file.
23395 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
23397         * math/gen-libm-test.pl ($srcdir): New variable.
23398         ($auto_input): Use it.
23400 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23402         [BZ #16506]
23403         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
23404         access beyond array bounds when parsing netgroups file.
23406         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
23407         the old buffer before realloc.
23409 2014-01-27  Allan McRae  <allan@archlinux.org>
23411         * po/fr.po: Update French translation from translation project.
23413 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23415         * sysdeps/sh/libm-test-ulps: Regenerate.
23417 2014-01-24  David S. Miller  <davem@davemloft.net>
23419         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
23421 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23423         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
23424         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
23426 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23428         [BZ #16474]
23429         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
23430         string pointers after reallocation.
23432 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23434         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
23435         __SH4A__ instead of __SH_FPU_ANY__.
23437 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23439         * sysdeps/sh/fpu_control.h: New file.
23440         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
23441         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
23442         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
23443         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
23444         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
23445         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
23446         * sysdeps/sh/sys/ucontext.h: Remove.
23447         * sysdeps/sh/sys: Remove directory.
23449 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23451         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
23452         s390/sys/ucontext.h.
23453         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
23454         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
23456 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
23458         [BZ #15605]
23459         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
23461 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23463         [BZ#16431]
23464         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23465         Adjust the vDSO correctly for internal calls.
23466         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
23468 2014-01-20  Allan McRae  <allan@archlinux.org>
23470         * po/ca.po: Update Catalan translation from translation project.
23472 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
23474         * sysdeps/s390/sotruss-lib.c: New file.
23476 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23478         [BZ#16430]
23479         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
23480         (__GI___gettimeofday): Alias for a different internal symbol to avoid
23481         local calls issues by not having a PLT stub required for IFUNC calls.
23482         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
23484 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
23486         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
23487         * math/test-fpucw-static.c: Likewise.
23489 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23491         [BZ #16453]
23492         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
23494 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23496         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
23497         implementation for powerpc.
23499 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
23501         [BZ #14782]
23502         * sysdeps/posix/system.c (__libc_system): Do not enable
23503         asynchronous cancellation.
23505 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23507         [BZ #16427]
23508         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
23509         handling only for numbers special also in the IEEE case.
23511 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23513         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23515 2014-01-11  Allan McRae  <allan@archlinux.org>
23517         * po/bg.po: Update Bulgarian translation from translation project.
23519         * po/de.po: Update German translation from translation project.
23521 2014-01-10  Roland McGrath  <roland@hack.frob.com>
23523         * sysdeps/generic/gcc-compat.h: New file.
23525 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23527         * benchtests/asin-inputs: Correct slow inputs.
23528         * benchtests/acos-inputs: Likewise.
23530 2014-01-10  Allan McRae  <allan@archlinux.org>
23532         * po:sv.po: Update Swedish translation from translation project.
23534         * po/vi.po: Update Vietnamese translation from translation project.
23536         * po/eo.po: Update Esperanto translation from translation project.
23538         * po/cs.po: Update Czech translation from translation project.
23540         * po/nl.po: Update Dutch translation from translation project.
23542         * po/pl.po: Update Polish translation from translation project.
23544         * po/ru.po: Update Russian translation from translation project.
23546         * po/uk.po: Update Ukrainian translation from translation project.
23548 2014-01-08  Brooks Moses  <bmoses@google.com>
23550         * elf/dl-load.c: Fix comment typo.
23552 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
23554         * po/header.pot: Rename to...
23555         * po/pot.header: ... this.
23556         * po/Makefile: Use pot.header.
23558 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
23559             Maxim Kuvyrkov  <maxim@kugelworks.com>
23561         [BZ #16394]
23562         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
23563         SRC and DEST against LEN.
23565 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23567         [BZ #16414]
23568         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
23569         implementation.
23570         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
23572 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23574         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23576 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
23578         [BZ #16408]
23579         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
23580         for large positive arguments.
23582 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
23584         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23586         * math/auto-libm-test-in: Mark various tests with
23587         xfail-rounding:ldbl-128ibm.
23588         * math/auto-libm-test-out: Regenerated.
23590         [BZ #16407]
23591         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
23592         Increase overflow threshold.
23594 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
23596         [BZ #14286]
23597         * stdio-common/vfprintf.c: Check for integer overflow.
23599 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23601         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
23602         the first argument and return value of __tls_get_addr_internal.
23604 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23606         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
23607         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
23609 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23611         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
23612         * sysdeps/s390/rtld-global-offsets.sym: New file.
23613         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
23614         GLIBC_2.19 symbol.
23615         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
23616         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
23617         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
23618         ... this.
23619         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
23620         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
23621         ... this.
23622         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23623         Regenerate.
23624         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23625         Regenerate.
23626         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
23627         halfs of GPRs for high_gprs contexts.
23628         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
23629         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
23630         field.
23631         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
23632         uc_flags field.
23633         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
23634         64 bit versions:
23635         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
23636         for high GPRs (uc_high_gprs) and for future extensions
23637         (__reserved).
23638         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
23639         for future extensions (__reserved).
23640         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
23641         64 bit versions:
23642         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
23643         SC_HIGHGPRS offset definition.
23644         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
23645         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
23647         * Versions.def: Add GLIBC_2.19 for libpthread.
23648         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
23649         siglongjmp for libpthread with GLIBC_2.19 symver.
23650         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
23651         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
23652         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
23653         * sysdeps/s390/__longjmp.c: New file.
23654         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
23655         * sysdeps/s390/longjmp.c: New file.
23656         * sysdeps/s390/setjmp.S: New file.
23657         * sysdeps/s390/sigjmp.S: New file.
23658         * sysdeps/s390/v1-longjmp.c: New file.
23659         * sysdeps/s390/v1-setjmp.h: New file.
23660         * sysdeps/s390/v1-sigjmp.c: New file.
23661         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
23662         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
23663         GLIBC_2.19 version.
23664         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
23665         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
23666         versioned symbols for ____longjmp_chk.
23667         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
23668         Likewise.
23669         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23670         Regenerate.
23671         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23672         Regenerate.
23673         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23674         Regenerate.
23675         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23676         Regenerate.
23677         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
23678         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
23679         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
23680         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
23681         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
23682         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
23683         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
23684         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
23685         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
23686         * sysdeps/s390/rtld-__longjmp.c: New file.
23687         * sysdeps/s390/rtld-setjmp.S: New file.
23689 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
23691         [BZ #16400]
23692         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
23693         Return -__logl (x) for small positive arguments without evaluating
23694         a polynomial.
23696 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
23698         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
23699         Rename to ...
23700         (__ptrace_peeksiginfo_args): ... this.
23701         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23702         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23703         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23705 2014-01-06  Allan McRae  <allan@archlinux.org>
23707         * inet/netinet/in.h: Fix typo in comment.
23709 2014-01-05  Andreas Jaeger  <aj@suse.de>
23711         * sysdeps/i386/fpu/libm-test-ulps: Update.
23713 2014-01-05  Allan McRae  <allan@archlinux.org>
23715         * po/libc.pot: Regenerated.
23717         * malloc/memusagestat.c: Fix gettext call formatting.
23719 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
23721         * nscd/nscd.c: Improve usage() output.
23723 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
23725         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
23726         * sysdeps/unix/sysv/linux/configure: Regenerated.
23727         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
23728         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
23730 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
23732         [BZ #16390]
23733         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23734         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
23736 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23738         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
23739         extra tokens at end of #undef directive.
23740         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
23741         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
23742         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
23744 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
23746         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23748         * math/auto-libm-test-in: Mark various tests with
23749         xfail-rounding:ldbl-128ibm.
23750         * math/auto-libm-test-out: Regenerated.
23752 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
23754         [BZ #16386]
23755         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
23756         numbers with subnormal high part when calculating exponent.
23758         [BZ #16385]
23759         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
23760         fabs.
23762         [BZ #16384]
23763         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
23764         M_LN2l.
23765         (__ieee754_acoshl): Use __log1pl not __log1p.
23767 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
23769         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
23770         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
23771         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
23772         (grow_heap, heap_trim, _int_new_arena, get_free_list)
23773         (reused_arena, arena_get2): Convert to GNU style.
23774         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
23775         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
23776         (memalign_check, __malloc_set_state): Likewise.
23777         * malloc/mallocbug.c (main): Likewise.
23778         * malloc/malloc.c (__malloc_assert, malloc_init_state)
23779         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
23780         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
23781         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
23782         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
23783         (__posix_memalign, malloc_info): Likewise.
23784         * malloc/malloc.h: Likewise.
23785         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
23786         (mallochook, memalignhook, reallochook, mabort): Likewise.
23787         * malloc/mcheck.h: Likewise.
23788         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
23789         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
23790         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
23791         * malloc/morecore.c (__default_morecore): Likewise.
23792         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
23793         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
23794         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
23795         (print_and_abort): Likewise.
23796         * malloc/obstack.h: Likewise.
23797         * malloc/set-freeres.c (__libc_freeres): Likewise.
23798         * malloc/tst-mallocstate.c (main): Likewise.
23799         * malloc/tst-mtrace.c (main): Likewise.
23800         * malloc/tst-realloc.c (do_test): Likewise.
23802 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23804         [BZ #16366]
23805         * nscd/netgroupcache.c (do_notfound): New function.
23806         (addgetnetgrentX): Use it.
23808         [BZ # 16365]
23809         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
23810         NSS_STATUS_NOTFOUND.
23812 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
23814         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23817 2014-01-01  Allan McRae  <allan@archlinux.org>
23819         * scripts/update-copyrights: Update configure input file suffix.
23821         * NEWS: Update copyright year.
23822         * catgets/gencat.c: Likewise.
23823         * csu/version.c: Likewise.
23824         * debug/catchsegv.sh: Likewise.
23825         * debug/pcprofiledump.c: Likewise.
23826         * debug/xtrace.sh: Likewise.
23827         * elf/ldconfig.c: Likewise.
23828         * elf/ldd.bash.in: Likewise.
23829         * elf/pldd.c: Likewise.
23830         * elf/sotruss.ksh: Likewise.
23831         * elf/sprof.c: Likewise.
23832         * iconv/iconv_prog.c: Likewise.
23833         * iconv/iconvconfig.c: Likewise.
23834         * locale/programs/locale.c: Likewise.
23835         * locale/programs/localedef.c: Likewise.
23836         * login/programs/pt_chown.c: Likewise.
23837         * malloc/memusage.sh: Likewise.
23838         * malloc/memusagestat.c: Likewise.
23839         * malloc/mtrace.pl: Likewise.
23840         * manual/libc.texinfo: Likewise.
23841         * nscd/nscd.c: Likewise.
23842         * nss/getent.c: Likewise.
23843         * nss/makedb.c: Likewise.
23844         * posix/getconf.c: Likewise.
23845         * scripts/test-installation.pl: Likewise.
23847         * All files with FSF copyright notices: Update copyright dates
23848         using scripts/update-copyrights.
23849         * intl/plural.c: Regenerated.
23850         * locale/programs/charmap-kw.h: Likewise.
23851         * locale/programs/locfile-kw.h: Likewise.
23853 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
23855         * sysdeps/unix/sysv/linux/configure: Regenerated.
23856         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
23857         the linux/fanotify.h header.
23858         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
23859         HAVE_LINUX_FANOTIFY_H is defined.
23861 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
23863         * benchtests/cos-inputs: New inputs.
23864         * benchtests/sin-inputs: Likewise.
23866         * benchtests/atan-inputs: New inputs. Fix name of multiple
23867         precision fallback inputs.
23869         * benchtests/atanh-inputs: New inputs.
23870         * benchtests/tanh-inputs: Likewise.
23872         * benchtests/acosh-inputs: New inputs.
23873         * benchtests/asinh-inputs: Likewise.
23875         * benchtests/cosh-inputs: New inputs.
23876         * benchtests/sinh-inputs: Likewise.
23878         * benchtests/acos-inputs: Add more inputs.
23879         * benchtests/asin-inputs: Likewise.
23881 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
23883         [BZ #16375]
23884         * manual/arith.texi: Fix spelling.
23885         * manual/charset.texi: Likewise.
23886         * manual/errno.texi: Likewise.
23887         * manual/filesys.texi: Likewise.
23888         * manual/lang.texi: Likewise.
23889         * manual/llio.texi: Likewise.
23890         * manual/locale.texi: Likewise.
23891         * manual/message.texi: Likewise.
23892         * manual/resource.texi: Likewise.
23893         * manual/search.texi: Likewise.
23894         * manual/setjmp.texi: Likewise.
23895         * manual/stdio.texi: Likewise.
23896         * manual/string.texi: Likewise.
23897         * manual/sysinfo.texi: Likewise.
23898         * manual/time.texi: Likewise.
23900 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
23902         * po/sl.po: New file.
23904 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
23906         * .gitignore: Add core/.gdbinit/.gdb_history.
23908 2013-12-27  Allan McRae  <allan@archlinux.org>
23910         [BZ #16369]
23911         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
23912         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
23914 2013-12-24  Brooks Moses  <bmoses@google.com>
23916         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
23917         all compilers that claim C++98 compliance, not just GCC.
23918         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
23919         Likewise.
23921 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
23923         * NEWS: Restore accidentally deleted bug-fix entries.
23925 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
23926             Ondřej Bílka  <neleai@seznam.cz>
23928         [BZ #15073]
23929         * malloc/malloc.c (_int_free): Perform sanity check only if we
23930         have_lock.
23932 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
23934         [BZ #12986]
23935         * manual/stdio.texi (String Input Conversions): Clarify that character
23936         classes are not supported.
23938 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23940         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23942 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
23944         [BZ #16337]
23945         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
23946         Calculate results for small negative arguments directly rather
23947         than using reflection formula with special underflow handling.
23949         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
23950         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
23951         sysdeps/unix/bsd/bsd4.4/syscalls.list.
23952         (fchflags): Likewise.
23953         (revoke): Likewise.
23954         (setlogin): Likewise.
23955         (sigaltstack): Likewise.
23956         (wait4): Likewise.
23957         (sigblock): Remove.
23958         (sigsetmask): Likewise.
23959         (wait3): Likewise.
23960         (waitpid): Likewise.
23961         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
23962         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
23963         file.
23964         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
23965         * sysdeps/unix/bsd/Makefile: ... here.
23966         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
23967         * sysdeps/unix/bsd/Versions: ... here.
23968         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
23969         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
23970         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
23971         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
23972         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
23973         * sysdeps/unix/bsd/sigblock.c: ... here.
23974         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
23975         * sysdeps/unix/bsd/sigsetmask.c: ... here.
23976         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
23977         * sysdeps/unix/bsd/sigvec.c: ... here.
23978         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
23979         * sysdeps/unix/bsd/tcdrain.c: ... here.
23980         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
23981         * sysdeps/unix/bsd/tcgetattr.c: ... here.
23982         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
23983         * sysdeps/unix/bsd/tcsetattr.c: ... here.
23984         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
23985         * sysdeps/unix/bsd/wait.c: ... here.
23986         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
23987         * sysdeps/unix/bsd/wait3.c: ... here.
23988         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
23989         * sysdeps/unix/bsd/waitpid.c: ... here.
23991 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
23993         [BZ #16356]
23994         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
23995         round-to-nearest for [!USE_AS_EXPM1L].
23996         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
23997         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
23998         more tests of exp and exp10.  Expect some exp10 tests to miss
23999         exceptions or fail in directed rounding modes.
24000         * math/auto-libm-test-out: Regenerated.
24001         * math/libm-test.inc (exp10_tonearest_test_data): New array.
24002         (exp10_test_tonearest): New function.
24003         (exp10_towardzero_test_data): New array.
24004         (exp10_test_towardzero): New function.
24005         (exp10_downward_test_data): New array.
24006         (exp10_test_downward): New function.
24007         (exp10_upward_test_data): New array.
24008         (exp10_test_upward): New function.
24009         (main): Call the new functions.
24010         * sysdeps/i386/fpu/libm-test-ulps: Update.
24011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24013 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
24015         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24016         asinh, atan, atan2, atanh, cbrt, cos and cosh.
24017         * math/auto-libm-test-out: Regenerated.
24018         * math/libm-test.inc (acosh_test_data): Add more tests.
24019         (atanh_test_data): Likewise.
24020         (ceil_test_data): Likewise.
24021         (copysign_test_data): Likewise.
24022         * sysdeps/i386/fpu/libm-test-ulps: Update.
24023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24025         * timezone/checktab.awk: Update from tzcode 2013i.
24026         * timezone/private.h: Likewise.
24027         * timezone/scheck.c: Likewise.
24028         * timezone/tzfile.h: Likewise.
24029         * timezone/tzselect.ksh: Likewise.
24030         * timezone/zdump.c: Likewise.
24031         * timezone/zic.c: Likewise.
24033         * math/auto-libm-test-in: Add tests of cpow.
24034         * math/auto-libm-test-out: Regenerated.
24035         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
24036         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24037         mpc_cc_c.
24038         (func_calc_desc): Add mpc_cc_c union field.
24039         (test_functions): Add cpow.
24040         (special_fill_2pi): New function.
24041         (special_real_inputs): Add 2pi.
24042         (calc_generic_results): Handle mpc_cc_c.
24043         * sysdeps/i386/fpu/libm-test-ulps: Update.
24044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24046         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
24047         csqrt, ctan and ctanh.
24048         * math/auto-libm-test-out: Regenerated.
24049         * math/libm-test.inc (TEST_COND_x86_64): New macro.
24050         (TEST_COND_x86): Likewise.
24051         (ccos_test_data): Use AUTO_TESTS_c_c.
24052         (ccosh_test_data): Likewise.
24053         (cexp_test_data): Likewise.
24054         (clog_test_data): Likewise.
24055         (csqrt_test_data): Likewise.
24056         (ctan_test_data): Likewise.
24057         (ctan_tonearest_test_data): Likewise.
24058         (ctan_towardzero_test_data): Likewise.
24059         (ctan_downward_test_data): Likewise.
24060         (ctan_upward_test_data): Likewise.
24061         (ctanh_test_data): Likewise.
24062         (ctanh_tonearest_test_data): Likewise.
24063         (ctanh_towardzero_test_data): Likewise.
24064         (ctanh_downward_test_data): Likewise.
24065         (ctanh_upward_test_data): Likewise.
24066         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24067         mpc_c_c.
24068         (func_calc_desc): Add mpc_c_c union field.
24069         (FUNC_mpc_c_c): New macro.
24070         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
24071         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
24072         ctanh.
24073         (special_fill_min_subnorm_p120): New function.
24074         (special_real_inputs): Add min_subnorm_p120.
24075         (calc_generic_results): Handle mpc_c_c.
24076         * sysdeps/i386/fpu/libm-test-ulps: Update.
24077         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24079 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24081         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
24082         (do_sin_slow): New functions.
24083         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
24084         (cslow2, csloww1, csloww2): Use the new functions.
24086         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
24087         Use M to change sign of result instead of X.  Assume X is
24088         positive.
24089         (csloww1): Likewise.
24090         (__sin): Adjust.
24091         (__cos): Adjust.
24093         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
24094         arguments A and DA.
24095         (__sin): Adjust.
24096         (__cos): Likewise.
24098         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
24099         (__cos): Likewise.
24100         (sloww1): Don't adjust sign of DX.
24101         (csloww1): Likewise.
24102         (sloww2): Use X directly and don't adjust sign of DX.
24103         (csloww2): Likewise.
24105 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
24107         * math/auto-libm-test-in: Add tests of cabs and carg.
24108         * math/auto-libm-test-out: Regenerated.
24109         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
24110         (carg_test_data): Likewise.
24111         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24112         mpc_c_f.
24113         (func_calc_desc): Add mpc_c_f union field.
24114         (test_functions): Add cabs and carg.
24115         (calc_generic_results): Handle mpc_c_f.
24117         * sysdeps/powerpc/powerpc32/libgcc-compat.S
24118         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
24119         as a macro and a compat symbol.
24120         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
24121         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
24122         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
24123         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
24124         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
24125         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
24126         not use .hidden.
24127         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
24128         Likewise.
24129         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
24130         Likewise.
24131         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
24132         Likewise.
24133         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
24134         Likewise.
24135         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
24136         Likewise.
24137         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
24138         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
24139         from GLIBC_2.3.2.
24141 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24143         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24145 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
24147         * manual/texinfo.tex: Update to version 2013-11-26.10 with
24148         trailing whitespace removed.
24149         * scripts/config.guess: Update to version 2013-11-29.
24150         * scripts/config.sub: Update to version 2013-10-01.
24152         * math/auto-libm-test-in: Add tests of sincos.
24153         * math/auto-libm-test-out: Regenerated.
24154         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
24155         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24156         mpfr_f_11.
24157         (func_calc_desc): Add mpfr_f_11 union field.
24158         (test_functions): Add sincos.
24159         (calc_generic_results): Handle mpfr_f_11.
24160         * sysdeps/i386/fpu/libm-test-ulps: Update.
24161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24163 2013-12-19  Andreas Schwab  <schwab@suse.de>
24165         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
24166         CALL_MCOUNT.
24167         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24168         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
24169         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
24171 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
24173         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
24174         * sysdeps/i386/fpu/libm-test-ulps: Update.
24175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24177         [BZ #16293]
24178         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
24179         round-to-nearest mode when using frndint.
24180         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
24181         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
24182         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24183         Likewise.
24184         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
24185         sinh test to fail.
24186         * math/auto-libm-test-out: Regenerated.
24187         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
24188         (TEST_COND_x86): Likewise.
24189         (expm1_tonearest_test_data): New array.
24190         (expm1_test_tonearest): New function.
24191         (expm1_towardzero_test_data): New array.
24192         (expm1_test_towardzero): New function.
24193         (expm1_downward_test_data): New array.
24194         (expm1_test_downward): New function.
24195         (expm1_upward_test_data): New array.
24196         (expm1_test_upward): New function.
24197         (main): Run the new test functions.
24198         * sysdeps/i386/fpu/libm-test-ulps: Update.
24199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24201         * include/features.h: Update comment documenting feature test
24202         macros.  Mention _DEFAULT_SOURCE in comment.
24203         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
24204         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
24205         _BSD_SOURCE and _SVID_SOURCE.
24206         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
24207         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
24208         !_SVID_SOURCE]: Likewise.
24209         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24210         (__USE_POSIX_IMPLICITLY): Define.
24211         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24212         (_POSIX_SOURCE): Undefine and redefine.
24213         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24214         (_POSIX_C_SOURCE): Likewise.
24215         * manual/creature.texi (_DEFAULT_SOURCE): Document.
24216         (Feature Test Macros): Update documentation of default features.
24218 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24220         * benchtests/Makefile: Add bench-strtok.
24221         * benchtests/bench-strtok.c: New file: strtok benchtest.
24223 2013-12-19  Allan McRae  <allan@archlinux.org>
24225         * manual/install.texi: Suppress menu for plain text output.
24226         * INSTALL: Regenerated.
24228 2013-12-18  Brooks Moses  <bmoses@google.com>
24230         [BZ #15846]
24231         * misc/getauxval.c: Include errno.h.
24232         (__getauxval): Set errno to ENOENT if the requested type is not
24233         found.
24234         * misc/sys/auxv.h (getauxval): Document that it may set errno;
24235         don't declare with __attribute_const__.
24236         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
24237         * manual/startup.texi: Document that getauxval sets errno.
24239 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
24241         * math/auto-libm-test-in: Add tests of jn and yn.
24242         * math/auto-libm-test-out: Regenerated.
24243         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
24244         (yn_test_data): Likewise.
24245         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24246         mpfr_if_f.
24247         (func_calc_desc): Add mpfr_if_f union field.
24248         (FUNC_mpfr_if_f): New macro.
24249         (test_functions): Add jn and yn.
24250         (calc_generic_results): Assert type of second input for
24251         mpfr_ff_f.  Handle mpfr_if_f.
24252         (output_for_one_input_case): Disable all checking for arguments
24253         fitting floating-point types in case of an integer argument.
24254         * sysdeps/i386/fpu/libm-test-ulps: Update.
24255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
24258         Don't expect fegetround reference in libm.so.
24260 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24262         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
24263         $(config-cflags-nofma).
24265 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
24267         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
24268         * math/auto-libm-test-out: Regenerated.
24270         [BZ #16338]
24271         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
24272         to determine exponent and adjust argument to have exponent of -1.
24273         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
24274         log2.
24275         * math/auto-libm-test-out: Regenerated.
24276         * sysdeps/i386/fpu/libm-test-ulps: Update.
24277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24279 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
24281         * manual/probes.texi: Remove cases when per-thread arenas are
24282         disabled.
24284 2013-12-18  Andreas Schwab  <schwab@suse.de>
24286         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
24287         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
24288         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
24289         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
24290         * sysdeps/i386/i686/multiarch/Makefile: Update.
24291         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
24293 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
24295         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
24296         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
24298 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
24300         [BZ #15968]
24301         Support TZ transition times < 00:00:00.
24302         This is needed for version-3 tz-format files; it supports time
24303         stamps past 2037 for America/Godthab (the only entry in the tz
24304         database for which this change is relevant).
24305         * manual/time.texi (TZ Variable): Document transition times
24306         from -167:59:59 through -00:00:01.
24307         * time/tzset.c (tz_rule): Time of day is now signed.
24308         (__tzset_parse_tz): Parse negative time of day.
24310         Document TZ transition times >= 25:00:00.
24311         * manual/time.texi (TZ Variable): Document transition times from
24312         25:00:00 through 167:59:59.  These are already supported, and this
24313         support will help with version-3 tz-format files.
24315         * manual/time.texi (TZ Variable): Modernize North America example
24316         to reflect current (i.e., 2007-and-later) daylight saving rules.
24318         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
24320 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
24322         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
24323         * sysdeps/unix/bsd/bits/stat.h: Likewise.
24324         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
24325         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24326         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
24327         * sysdeps/unix/bsd/bsdstat.h: Likewise.
24328         * sysdeps/unix/bsd/clock.c: Likewise.
24329         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
24330         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
24331         * sysdeps/unix/bsd/init-posix.c: Likewise.
24332         * sysdeps/unix/bsd/poll.c: Likewise.
24333         * sysdeps/unix/bsd/ptsname.c: Likewise.
24334         * sysdeps/unix/bsd/seekdir.c: Likewise.
24335         * sysdeps/unix/bsd/setegid.c: Likewise.
24336         * sysdeps/unix/bsd/seteuid.c: Likewise.
24337         * sysdeps/unix/bsd/setgid.c: Likewise.
24338         * sysdeps/unix/bsd/setrgid.c: Likewise.
24339         * sysdeps/unix/bsd/setruid.c: Likewise.
24340         * sysdeps/unix/bsd/setsid.c: Likewise.
24341         * sysdeps/unix/bsd/setuid.c: Likewise.
24342         * sysdeps/unix/bsd/sigaction.c: Likewise.
24343         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
24344         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
24345         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
24346         * sysdeps/unix/bsd/telldir.c: Likewise.
24347         * sysdeps/unix/bsd/times.c: Likewise.
24348         * sysdeps/unix/bsd/usleep.c: Likewise.
24350         * misc/Makefile (install-lib): Remove libbsd-compat.a.
24351         ($(objpfx)libbsd-compat.a): Remove rule.
24353         * include/features.h (__FAVOR_BSD): Do not define.
24354         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
24355         features conflicting with POSIX.
24356         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
24357         (_BSD_SOURCE): Remove description of not being a subset of other
24358         feature test macros.
24359         * manual/job.texi (getpgrp): Do not document BSD version.
24360         (getpgid): Do not document by reference to BSD getpgrp.
24361         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
24362         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
24363         * signal/signal.h [__FAVOR_BSD]: Likewise.
24364         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
24365         instead of making contents conditional on [__FAVOR_BSD].
24366         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
24368 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24370         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24372 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
24374         [BZ #16314]
24375         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
24376         values below 2**-450, not 2**-500.
24377         * math/auto-libm-test-in: Don't allow spurious underflow from
24378         hypot.
24379         * math/auto-libm-test-out: Regenerated.
24381         [BZ #16316]
24382         [BZ #16330]
24383         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
24384         values of ha and hb and sort them after adjusting subnormal
24385         arguments.
24386         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
24387         Likewise.
24388         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
24389         values of ea and eb and sort them after adjusting subnormal
24390         arguments.
24391         * math/auto-libm-test-in: Do not expect some hypot tests of
24392         subnormals to fail.  Add more hypot tests.
24393         * math/auto-libm-test-out: Regenerated.
24395 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24397         [BZ #13304]
24398         * sysdeps/sh/s_fma.c: New file.
24399         * sysdeps/sh/s_fmaf.c: New file.
24400         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
24401         version.
24402         * sysdeps/sh/Implies: Add sh/soft-fp.
24404 2013-12-16  Roland McGrath  <roland@hack.frob.com>
24406         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
24407         level of indirection to members `objname', `errstring', `malloced'.
24408         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
24409         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
24410         it as the __longjmp argument (just pass 1 instead).
24411         (_dl_catch_error): Initialize C with argument pointers and address of
24412         volatile local ERRCODE rather than copying values out of C at return.
24414 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
24416         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
24417         * math/auto-libm-test-out: Regenerated.
24418         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
24419         (hypot_test_data): Likewise.
24420         (pow_test_data): Likewise.
24421         (pow_tonearest_test_data): Likewise.
24422         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24423         mpfr_ff_f.
24424         (func_calc_desc): Add mpfr_ff_f union field.
24425         (FUNC_mpfr_ff_f): New macro.
24426         (test_functions): Add atan2, hypot and pow.
24427         (special_fill_min): New function.
24428         (special_fill_minus_min): Likewise.
24429         (special_fill_min_subnorm): Likewise.
24430         (special_fill_minus_min_subnorm): Likewise.
24431         (special_real_inputs): Add min, -min, min_subnorm and
24432         -min_subnorm.
24433         (calc_generic_results): Handle mpfr_ff_f.
24434         * sysdeps/i386/fpu/libm-test-ulps: Update.
24435         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24437 2013-12-16  Will Newton  <will.newton@linaro.org>
24439         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
24440         (Aligned Memory Blocks): Add documentation for aligned_alloc
24441         and suggest it as an alternative to posix_memalign.
24442         (Hooks for Malloc): Document __memalign_hook is also called
24443         for aligned_alloc.  (Summary of Malloc): Add summary for
24444         aligned alloc.  Document __memalign_hook is also called
24445         for aligned_alloc.
24447 2013-12-16  Will Newton  <will.newton@linaro.org>
24449         * manual/memory.texi (Malloc Examples): Clarify default
24450         alignment documentation.  Suggest posix_memalign rather
24451         than memalign or valloc.
24452         (Aligned Memory Blocks): Remove suggestion to use memalign
24453         or valloc.  Remove obsolete comment about BSD.
24454         Document memalign errno values and mark the function obsolete.
24455         Document posix_memalign returned error codes.  Mark valloc
24456         as obsolete.  (Hooks for Malloc): __memalign_hook is also
24457         called for posix_memalign and valloc.
24458         (Summary of Malloc): Add posix_memalign to function summary.
24459         __memalign_hook is also called for posix_memalign and valloc.
24461 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24463         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
24464         TAYLOR_SIN.
24465         (__sin): Adjust.
24466         (__cos): Likewise.
24467         (sloww): Use mynumber union.  Expand ternary operator into
24468         if-else statements.
24469         (cslow): use mynumber union.
24471 2013-12-16  Allan McRae  <allan@archlinux.org>
24473         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
24474         * configure: Regenerated.
24476         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
24478         [BZ #14120]
24479         * configure.ac: Added --enable-maintainer-mode. Check for
24480         autoconf when enabled.
24481         * configure: Regenerated.
24483         * nscd/nscd.service: New file.
24484         * nscd/nscd.tmpfiles: New file.
24486 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
24488         [BZ #12100]
24489         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
24490         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
24491         * sysdeps/x86_64/multiarch/strstr.c: ... here.
24492         (strstr): Add __strstr_sse2_unaligned ifunc.
24493         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
24494         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
24495         (strcasestr): Remove __strcasestr_sse42 ifunc.
24496         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
24497         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
24498         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24500 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24502         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
24503         * sysdeps/sh/bits/fenv.h: ... here.
24504         * sysdeps/sh/sh4/fpu/bits: Remove directory.
24506 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24508         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
24510         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
24511         hypotf multiarch implementations.
24512         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
24513         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
24514         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
24515         multiarch hypot for PPC64.
24516         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
24517         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
24518         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
24519         multiarch hypotf for PPC64.
24521         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
24522         modff multiarch implementations.
24523         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
24524         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
24525         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
24526         multiarch modf for PPC64.
24527         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
24528         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
24529         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
24530         multiarch modff for PPC64.
24532         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
24533         and logl multiarch implementations.
24534         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
24535         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
24536         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
24537         multiarch logb for PPC64.
24538         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
24539         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
24540         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
24541         multiarch logb for PPC64.
24542         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
24543         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
24544         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
24545         multiarch logb for PPC64.
24547         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
24548         isinff multiarch implementation.
24549         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
24550         file.
24551         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
24552         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
24553         multiarch isinf for PPC64.
24554         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
24555         file.
24556         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
24557         multiarch isinff for PPC64.
24559         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
24560         finitef multiarch implementation.
24561         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
24562         file.
24563         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
24564         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
24565         multiarch finite for PPC64.
24566         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
24567         file.
24568         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
24569         multiarch finitef for PPC64.
24571         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
24572         lrint multiarch implementation.
24573         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
24574         file.
24575         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
24576         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
24577         multiarch llrint for PPC64.
24578         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
24579         multiarch lrint for PPC64.
24581         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
24582         copysignf multiarch implementation.
24583         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
24584         file.
24585         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
24586         file.
24587         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
24588         multiarch copysign for PPC64.
24589         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
24590         multiarch copysignf for PPC64.
24592         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
24593         multiarch implementation.
24594         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
24595         file.
24596         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
24597         file.
24598         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
24599         file.
24600         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
24601         file.
24602         multiarch llround for PPC64.
24603         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
24604         multiarch trunc for PPC64.
24605         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
24606         multiarch truncf for PPC64.
24608         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
24609         multiarch implementation.
24610         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
24611         file.
24612         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
24613         file.
24614         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
24615         file.
24616         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
24617         file.
24618         multiarch llround for PPC64.
24619         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
24620         multiarch round for PPC64.
24621         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
24622         multiarch roundf for PPC64.
24624         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
24625         multiarch implementation.
24626         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
24627         file.
24628         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
24629         file.
24630         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
24631         file.
24632         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
24633         file.
24634         multiarch llround for PPC64.
24635         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
24636         multiarch floor for PPC64.
24637         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
24638         multiarch floorf for PPC64.
24640         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
24641         multiarch implementation.
24642         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
24643         file.
24644         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
24645         file.
24646         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
24647         file.
24648         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
24649         file.
24650         multiarch llround for PPC64.
24651         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
24652         multiarch ceil for PPC64.
24653         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
24654         multiarch ceilf for PPC64.
24656         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
24657         multiarch implementation.
24658         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
24659         file.
24660         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
24661         file.
24662         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
24663         file.
24664         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
24665         multiarch llround for PPC64.
24666         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
24667         multiarch lround for PPC64.
24669         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
24670         multiarch implementation.
24671         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
24672         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
24673         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
24674         file.
24675         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
24676         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
24677         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
24678         multiarch isnan for PPC64.
24679         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
24680         multiarch isnanf for PPC64.
24682         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
24683         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
24684         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
24685         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
24686         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
24687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
24689         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
24690         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24691         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24692         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24694         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
24695         multiarch implementations.
24696         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24697         (__libc_ifunc_impl_list): Likewise.
24698         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
24699         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
24700         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
24701         multiarch stpcpy for PPC64.
24703         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
24704         multiarch implementations.
24705         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24706         (__libc_ifunc_impl_list): Likewise.
24707         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
24708         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
24709         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
24710         multiarch strcpy for PPC64.
24712         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
24713         redefine function name.
24714         (_wordcopy_fwd_dest_aligned): Likewise.
24715         (_wordcopy_bwd_aligned): Likewise.
24716         (_wordcopy_bwd_dest_aligned): Likewise.
24717         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
24718         multiarch implementations.
24719         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24720         (__libc_ifunc_impl_list): Likewise.
24721         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
24722         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
24723         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
24724         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
24725         multiarch wcscpy for PPC64.
24727         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
24728         multiarch implementations.
24729         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24730         (__libc_ifunc_impl_list): Likewise.
24731         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
24732         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
24733         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
24734         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
24735         multiarch wcscpy for PPC64.
24737         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
24738         multiarch implementations.
24739         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24740         (__libc_ifunc_impl_list): Likewise.
24741         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
24742         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
24743         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
24744         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
24745         multiarch wcsrchr for PPC64.
24747         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
24748         multiarch implementations.
24749         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24750         (__libc_ifunc_impl_list): Likewise.
24751         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
24752         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
24753         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
24754         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
24755         multiarch wcschr for PPC64.
24757         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
24758         multiarch implementations.
24759         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24760         (__libc_ifunc_impl_list): Likewise.
24761         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
24762         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
24763         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
24764         multiarch strchrnul for PPC64.
24766         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
24767         implementations.
24768         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24769         (__libc_ifunc_impl_list): Likewise.
24770         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
24771         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
24772         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
24773         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
24774         strchr for PPC64.
24776         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
24777         implementations.
24778         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24779         (__libc_ifunc_impl_list): Likewise.
24780         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
24781         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
24782         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
24783         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
24784         strncmp for PPC64.
24786         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
24787         multiarch implementations.
24788         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24789         (__libc_ifunc_impl_list): Likewise.
24790         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
24791         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
24792         strncasecmp for PPC64.
24793         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
24794         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
24795         multiarch strncasecmp_l for PPC64.
24797         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
24798         multiarch implementations.
24799         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24800         (__libc_ifunc_impl_list): Likewise.
24801         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
24802         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
24803         multiarch strcasecmp for PPC64.
24804         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
24805         file.
24806         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
24807         multiarch strcasecmp_l for PPC64.
24809         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
24810         implementations.
24811         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24812         (__libc_ifunc_impl_list): Likewise.
24813         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
24814         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
24815         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
24816         strnlen for PPC64.
24818         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
24819         implementations.
24820         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24821         (__libc_ifunc_impl_list): Likewise.
24822         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
24823         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
24824         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
24825         strlen for PPC64.
24827         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
24828         implementations.
24829         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24830         (__libc_ifunc_impl_list): Likewise.
24831         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
24832         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
24833         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
24834         rawmemrchr for PPC64.
24836         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
24837         implementation.
24838         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24839         (__libc_ifunc_impl_list): Likewise.
24840         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
24841         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
24842         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
24843         memrchr for PPC64.
24845         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
24846         implementation.
24847         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24848         (__libc_ifunc_impl_list): Likewise.
24849         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
24850         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
24851         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
24852         memchr for PPC64.
24854         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
24855         implementation.
24856         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24857         (__libc_ifunc_impl_list): Likewise.
24858         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
24859         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
24860         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
24861         mempcpy for PPC64.
24863         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
24864         avoid cretion of __bzero symbol.
24865         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
24866         Likewise.
24867         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
24868         Likewise.
24869         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
24870         Likewise.
24871         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
24872         multiarch implementations.
24873         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24874         (__libc_ifunc_impl_list): Likewise.
24875         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
24876         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
24877         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
24878         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
24879         bzero for PPC32.
24880         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
24881         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
24882         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
24883         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
24884         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
24885         memset for PPC64.
24886         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
24888         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
24889         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
24890         implementations.
24891         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24892         (__libc_ifunc_impl_list): Likewise.
24893         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
24894         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
24895         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
24896         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
24897         memcmp for PPC64.
24899         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
24900         multiarch for POWER/PPC64.
24901         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
24902         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
24903         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
24904         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
24905         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
24906         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
24907         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
24908         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
24909         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
24910         memcpy for PPC64.
24912         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
24913         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
24914         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
24915         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
24916         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
24917         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
24918         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
24919         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
24920         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
24921         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
24922         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
24923         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
24924         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
24925         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
24926         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
24927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
24928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
24929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
24930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
24931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
24932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
24933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
24935 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24937         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
24939 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24941         * benchtests/Makefile (bench): Add exp2 and log2.
24942         (LDLIBS-bench-exp2): Add -lm.
24943         (LDLIBS-bench-log2): Likewise.
24944         * benchtests/exp2-inputs: New inputs file.
24945         * benchtests/log2-inputs: New inputs file.
24946         * benchtests/log-inputs: Add new inputs.
24947         * benchtests/tan-inputs: Likewise.
24949 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24951         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
24952         definition...
24953         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
24954         (csloww2): ... from here.
24956         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
24957         instead of structures.
24958         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
24959         (POLYNOMIAL): Likewise.
24960         (TAYLOR_SLOW): Likewise.
24961         (__sin): Likewise.
24962         (__cos): Likewise.
24963         (slow1): Likewise.
24964         (slow2): Likewise.
24965         (sloww): Likewise.
24966         (sloww1); Likewise.
24967         (sloww2): Likewise.
24968         (bsloww1): Likewise.
24969         (bsloww2): Likewise.
24970         (cslow2): Likewise.
24971         (csloww): Likewise.
24972         (csloww1): Likewise.
24973         (csloww2): Likewise.
24975 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
24977         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
24978         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
24979         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
24980         * malloc/hooks.c (realloc_check): Likewise.
24982         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
24983         * malloc/arena.c: Remove PER_THREAD conditional.
24984         [!PER_THREAD]: Remove code.
24985         (ptmalloc_unlock_all2): Likewise.
24986         (ptmalloc_init): Likewise.
24987         (_int_new_arena): Likewise.
24988         (arena_get2): Likewise.
24989         * malloc/hooks.c (__malloc_get_state): Likewise.
24990         (__malloc_set_state): Likewise.
24991         * malloc/malloc.c: Likewise.
24992         (struct malloc_state): Likewise.
24993         (struct malloc_par): Likewise.
24994         (__libc_realloc): Likewise.
24995         (__libc_mallopt): Likewise.
24997 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24999         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
25001 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
25003         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
25004         macro to a function.  Check for zero perturb_byte.
25005         (_int_malloc, _int_free): Remove zero perturb_byte checks.
25007         * malloc/malloc.c: (force_reg): Remove.
25008         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
25009         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
25010         force_reg by atomic_forced_read.
25011         * malloc/arena.c (ptmalloc_init): Likewise.
25012         * malloc/hooks.c (top_check): Likewise.
25014 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25016         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25018 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
25020         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25022 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
25024         * math/auto-libm-test-in: Add tests of lgamma.
25025         * math/auto-libm-test-out: Regenerated.
25026         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
25027         (M_LOG_2_SQRT_PIl): Likewise.
25028         (lgamma_test_data): Use AUTO_TESTS_f_f1.
25029         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25030         mpfr_f_f1.
25031         (func_calc_desc): Add mpfr_f_f1 union field.
25032         (ARGS1): New macro.
25033         (ARGS2): Likewise.
25034         (ARGS3): Likewise.
25035         (ARGS4): Likewise.
25036         (RET1): Likewise.
25037         (RET2): Likewise.
25038         (CALC): Likewise.
25039         (FUNC): Likewise.
25040         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
25041         (test_functions): Add lgamma.
25042         (calc_generic_results): Handle mpfr_f_f1.
25043         * sysdeps/i386/fpu/libm-test-ulps: Update.
25044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25046 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25048         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
25049         __mpn_add_n for PowerPC64/POWER7.
25050         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
25051         __mpn_sub_n for PowerPC64/POWER7.
25053         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
25054         __mpn_addmul_1 for PowerPC64.
25055         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
25056         __mpn_submul_1 for PowerPC64.
25057         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
25058         for PowerPC64.
25059         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
25060         for PowerPC64.
25062 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
25064         [BZ #15089]
25065         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
25067 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25069         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
25071         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
25072         add multiarch folders.
25073         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
25074         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
25075         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
25076         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
25077         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
25078         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
25079         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
25080         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
25081         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
25082         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
25083         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
25084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
25085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
25086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
25087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
25088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
25089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
25091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
25092         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
25093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
25094         New file.
25095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
25096         New file.
25097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
25098         multiarch __ieee754_hypot for PowerPC32.
25099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
25100         New file.
25101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
25102         New file.
25103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
25104         multiarch __ieee754_hypotf for PowerPC32.
25106         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
25107         long_double_symbol only if __logbl is defined.
25108         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
25109         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
25110         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
25111         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
25112         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
25113         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
25114         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
25115         path for implementation.
25116         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
25117         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
25118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
25119         logb, and logbl multiarch implementations for PowerPC32.
25120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
25121         file.
25122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
25123         file.
25124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
25125         multiarch logb for PowerPC32.
25126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
25127         file.
25128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
25129         file.
25130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
25131         multiarch logbf for PowerPC32.
25132         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
25133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
25134         file.
25135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
25136         multiarch logbl implementation for PowerPC32.
25138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
25139         and modff multiarch implementations.
25140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
25141         New file.
25142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
25143         New file.
25144         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
25145         multiarch modf for PowerPC32.
25146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
25147         New file.
25148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
25149         New file.
25150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
25151         multiarch modff for PowerPC32.
25153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
25154         and lrintf multiarch implementations.
25155         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
25156         New file.
25157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
25158         New file.
25159         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
25160         multiarch lrint for PowerPC32.
25161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
25162         file: multiarch lrintf for PowerPC32.
25164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
25165         and lroundf multiarch implementations.
25166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
25167         New file.
25168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
25169         New file.
25170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
25171         New file.
25172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
25173         multiarch lround for PowerPC32.
25174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
25175         file: multiarch lroundf for PowerPC32.
25177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
25178         copysign and copysignf multiarch implementations.
25179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
25180         New file.
25181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
25182         New file.
25183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
25184         file: multiarch copysign for PowerPC32.
25185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
25186         file: multiarch copysignf for PowerPC32.
25188         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
25189         and truncf multiarch implementations.
25190         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
25191         New file.
25192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
25193         file.
25194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
25195         multiarch trunc for PowerPC32.
25196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
25197         New file.
25198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
25199         New file.
25200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
25201         multiarch truncf for PowerPC32.
25203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
25204         and roundf multiarch implementations.
25205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
25206         New file.
25207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
25208         file.
25209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
25210         multiarch round for PowerPC32.
25211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
25212         New file.
25213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
25214         New file.
25215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
25216         multiarch roundf for PowerPC32.
25218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
25219         and floorf multiarch implementations.
25220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
25221         New file.
25222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
25223         file.
25224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
25225         multiarch floor for PowerPC32.
25226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
25227         New file.
25228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
25229         New file.
25230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
25231         multiarch floorf for PowerPC32.
25233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
25234         and ceilf multiarch implementations.
25235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
25236         New file.
25237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
25238         file.
25239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
25240         multiarch ceil for PowerPC32.
25241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
25242         New file.
25243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
25244         file.
25245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
25246         multiarch ceilf for PowerPC32.
25248         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
25249         is defined.
25250         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
25251         FINITEF is defined.
25252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
25253         and finitef multiarch implementations.
25254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
25255         New file.
25256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
25257         file.
25258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
25259         multiarch finite for PowerPC32.
25260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
25261         New file.
25262         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
25263         file: multiarch finitef for PowerPC32.
25265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
25266         and isinff multiarch implementations.
25267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
25268         file.
25269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
25270         file.
25271         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
25272         multiarch isinf for PowerPC32.
25273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
25274         New file.
25275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
25276         multiarch isinff for PowerPC32.
25278         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
25279         alias when __isnan is defined.
25280         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
25281         and isnanf multiarch implementations.
25282         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
25283         file.
25284         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
25285         file.
25286         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
25287         file.
25288         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
25289         file.
25290         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
25291         multiarch isnan for PowerPC32.
25292         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
25293         New file.
25294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
25295         New file.
25296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
25297         multiarch isnanf for PowerPC32.
25299         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
25300         and sqrtf multiarch implementations.
25301         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
25302         file.
25303         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
25304         file.
25305         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
25306         multiarch sqrt for PowerPC32.
25307         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
25308         file.
25309         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
25310         file.
25311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
25312         multiarch sqrtf for PowerPC32.
25314         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
25315         and llroundf multiarch implementations.
25316         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
25317         New file.
25318         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
25319         New file.
25320         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
25321         New file.
25322         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
25323         file: multiarch llround for PowerPC32.
25324         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
25325         file: multiarch llroundf for PowerPC32.
25327         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
25328         multiarch PowerPC32 fpu implementations.
25329         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
25330         New file.
25331         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
25332         New file.
25333         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
25334         multiarch llrint for PowerPC32.
25335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
25336         New file.
25337         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
25338         New file.
25339         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
25340         file.
25342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
25344         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
25345         file.
25346         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
25347         file.
25348         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
25349         file.
25350         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
25351         multiarch wordcopy for PPC32.
25352         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
25353         wordcopy objects.
25354         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25355         (__libc_ifunc_impl_list): Likewise.
25356         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
25357         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
25358         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
25359         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
25360         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
25361         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
25363         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
25364         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
25365         file.
25366         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
25367         file.
25368         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
25369         file.
25370         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
25371         multiarch wcscpy for PPC32.
25372         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
25373         multiarch objects.
25374         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25375         (__libc_ifunc_impl_list): Likewise.
25376         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
25377         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
25378         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
25379         sysdeps/powerpc/power6/wcscpy.c.
25381         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
25382         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
25383         file.
25384         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
25385         file.
25386         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
25387         file.
25388         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
25389         multiarch wcsrchr for PPC32.
25390         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
25391         multiarch objects.
25392         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25393         (__libc_ifunc_impl_list): Likewise.
25394         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
25395         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
25396         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
25397         sysdeps/powerpc/power6/wcsrchr.c.
25399         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
25400         file.
25401         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
25402         file.
25403         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
25404         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
25405         multiarch wcschr for PPc32.
25406         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
25407         multiarch objects.
25408         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25409         (__libc_ifunc_impl_list): Likewise.
25410         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
25411         * sysdeps/powerpc/power6/wcschr.c: ... to here.
25412         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
25413         sysdeps/powerpc/power6/wcschr.c.
25415         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
25416         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
25417         file.
25418         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
25419         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
25420         file: multiarch strchr for PPC32.
25421         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
25422         multiarch objects.
25423         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25424         (__libc_ifunc_impl_list): Likewise.
25426         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
25427         name.
25428         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
25429         file.
25430         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
25431         file.
25432         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
25433         multiarch strchrnul for PPC32.
25434         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
25435         multiarch objects.
25436         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25437         (__libc_ifunc_impl_list): Likewise.
25439         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
25440         file.
25441         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
25442         multiarch strncasecmp for PPC32.
25443         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
25444         file.
25445         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
25446         multiarch strncasecmp_l for PPC32.
25447         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
25448         strncasecmp multiarch objects.
25449         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25450         (__libc_ifunc_impl_list): Likewise.
25452         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
25453         file.
25454         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
25455         multiarch strncasecmp for PPC32.
25456         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
25457         New file.
25458         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
25459         multiarch strcasecmp_l for PPC32.
25460         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
25461         multiarch objects.
25462         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25463         (__libc_ifunc_impl_list): Likewise.
25465         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
25466         file.
25467         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
25468         file.
25469         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
25470         multiarch strncmp for PPC32.
25471         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
25472         multiarch objects.
25473         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25474         (__libc_ifunc_impl_list): Likewise.
25476         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
25477         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
25478         file.
25479         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
25480         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
25481         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
25482         multiarch objects.
25483         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25484         (__libc_ifunc_impl_list): Likewise.
25486         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
25487         file.
25488         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
25489         file.
25490         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
25491         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
25492         multiarch objects.
25493         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25494         (__libc_ifunc_impl_list): Likewise.
25496         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
25497         file.
25498         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
25499         file.
25500         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
25501         multiarch rawmemchr for PPC32.
25502         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
25503         multiarch objects.
25504         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25505         (__libc_ifunc_impl_list): Likewise.
25507         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
25508         file.
25509         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
25510         file.
25511         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
25512         file: memrchr multiarch for PPC32.
25513         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
25514         multiarch objects.
25515         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25516         (__libc_ifunc_impl_list): Likewise.
25518         * string/memchr.c (__memchr): Using macro to redefine symbol name.
25519         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
25520         file.
25521         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
25522         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
25523         multiarch memchr for PPC32.
25524         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
25525         multiarch objects.
25526         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25527         (__libc_ifunc_impl_list): Likewise.
25529         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
25530         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
25531         file.
25532         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
25533         file.
25534         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
25535         file: multiarch mempcpy for PPC32.
25536         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
25537         multiarch objects.
25538         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25539         (__libc_ifunc_impl_list): Likewise.
25541         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
25542         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
25543         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
25544         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
25545         multiarch bzero for PPC32.
25546         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
25547         file.
25548         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
25549         file.
25550         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
25551         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
25552         file: multiarch memset for PPC32.
25553         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
25554         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
25555         memset multiarch objects.
25556         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25557         (__libc_ifunc_impl_list): Likewise.
25559         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
25560         file.
25561         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
25562         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
25563         memcmp for PPC32.
25564         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
25565         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
25566         multiarch objects.
25567         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25568         (__libc_ifunc_impl_list): Likewise.
25570         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
25571         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
25572         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
25573         file.
25574         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
25575         file.
25576         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
25577         file.
25578         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
25579         multiarch memcpy for PPC32.
25580         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
25581         multiarch objects.
25582         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25583         (__libc_ifunc_impl_list): Likewise.
25585         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
25586         support multiarch for POWER/PPC32.
25587         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
25588         Likewise.
25589         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
25590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
25591         Implies file to make multiarch folder appers before the fpu and
25592         default folder for power4 configuration.
25594 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25596         * scripts/bench.pl: Append volatile keyword to type.
25598 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25600         * sysdeps/sh/sotruss-lib.c: New file.
25601         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
25603 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25605         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25607 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
25609         [BZ #6810]
25610         * math/w_tgamma.c: Include <errno.h>.
25611         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
25612         * math/w_tgammaf.c: Include <errno.h>.
25613         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
25614         * math/w_tgammal.c: Include <errno.h>.
25615         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
25616         * math/auto-libm-test-in: Do not allow missing errno on tgamma
25617         underflow.  Add more tgamma tests.
25618         * math/auto-libm-test-out: Regenerated.
25619         * sysdeps/i386/fpu/libm-test-ulps: Update.
25620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25622         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
25623         sin, sinh, tan, tanh, tgamma, y0 and y1.
25624         * math/auto-libm-test-out: Regenerated.
25625         * math/libm-test.inc (TEST_COND_x86_64): New macro.
25626         (TEST_COND_x86): Likewise.
25627         (M_E2l): Remove macro.
25628         (M_E3l): Likewise.
25629         (M_2_SQRT_PIl): Likewise.
25630         (M_SQRT_PIl): Likewise.
25631         (M_1_DIV_El): Likewise.
25632         (log_test_data): Use AUTO_TESTS_f_f.
25633         (log10_test_data): Likewise.
25634         (log1p_test_data): Likewise.
25635         (log2_test_data): Likewise.
25636         (sin_test_data): Likewise.
25637         (sin_tonearest_test_data): Likewise.
25638         (sin_towardzero_test_data): Likewise.
25639         (sin_downward_test_data): Likewise.
25640         (sin_upward_test_data): Likewise.
25641         (sinh_test_data): Likewise.
25642         (sinh_tonearest_test_data): Likewise.
25643         (sinh_towardzero_test_data): Likewise.
25644         (sinh_downward_test_data): Likewise.
25645         (sinh_upward_test_data): Likewise.
25646         (tan_test_data): Likewise.
25647         (tan_tonearest_test_data): Likewise.
25648         (tan_towardzero_test_data): Likewise.
25649         (tan_downward_test_data): Likewise.
25650         (tan_upward_test_data): Likewise.
25651         (tanh_test_data): Likewise.
25652         (tgamma_test_data): Likewise.
25653         (y0_test_data): Likewise.
25654         (y1_test_data): Likewise.
25655         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
25656         (special_real_inputs): Add pi/4.
25657         * sysdeps/i386/fpu/libm-test-ulps: Update.
25658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25660 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25662         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
25663         "longjmp_target" static probes.
25664         (__longjmp): Rename to __longjmp_symbol.
25665         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25666         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
25667         on which longjmp to generate.
25668         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
25669         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
25670         probe.
25671         (__sigsetjmp): Rename to __sigsetjmp_symbol.
25672         (__sigjmp_save): Rename to __sigjmp_save_symbol.
25673         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
25674         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
25675         and __sigjmp_save_symbol based on which sigsetjmp to generated.
25676         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
25677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
25678         __longjmp_symbol based on which __longjmp to generate.
25679         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
25680         probe.
25681         (setjmp): Rename to setjmp_symbol.
25682         (__sigsetjmp): Rename to __sigsetjmp_symbol.
25683         (_setjmp): Rename to _setjmp_symbol.
25684         (__sigsetjmp): Rename to __sigsetjmp_symbol.
25685         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
25686         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
25687         which setjmp to generate.
25688         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
25689         "longjmp_target" static probes.
25691 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25693         * benchtests/README: Add note about output arguments.
25694         * benchtests/bench-sincos.c: Remove file.
25695         * benchtests/sincos-inputs: New file.
25696         * scripts/bench.pl: Identify output arguments and define
25697         static variables for them.
25699         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
25701         [BZ #15941]
25702         * Makefile (INSTALL): Add install-plain.texi as the primary
25703         dependency.
25704         * manual/install-plain.texi: New file.
25705         * manual/install.texi: Include node directive only for
25706         non-plaintext output.
25708 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
25710         * stdlib/longlong.h: Update from GCC.
25712         [BZ #6807]
25713         [BZ #15901]
25714         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
25715         * math/w_j0f.c (y0f): Likewise.
25716         * math/w_j0l.c (__y0l): Likewise.
25717         * math/w_j1.c (y1): Likewise.
25718         * math/w_j1f.c (y1f): Likewise.
25719         * math/w_j1l.c (__y1l): Likewise
25720         * math/w_jn.c (yn): Likewise.
25721         * math/w_jnf.c (ynf): Likewise.
25722         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
25723         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
25724         value for Bessel function domain errors outside _SVID_ mode.
25725         Adjust sign of return value for yn (negative integer, 0).
25726         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
25727         by zero in return for negative x and set sign appropriately for
25728         negative n.
25729         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
25730         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25731         * math/libm-test.inc (y0_test_data): Add more tests and adjust
25732         expectations in error cases.
25733         (y1_test_data): Likewise.
25734         (yn_test_data): Likewise.
25735         * sysdeps/i386/fpu/libm-test-ulps: Update.
25736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25738 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25740         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
25741         "64" to "64-v1".  Add "64-v2".
25742         (abi-64-options): Rename to ...
25743         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
25744         (abi-64-condition): Rename to ...
25745         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
25746         (abi-64-ld-soname): Rename to ...
25747         (abi-64-v1-ld-soname): ... this.
25748         (abi-64-v2-options): Define.
25749         (abi-64-v2-condition): Likewise.
25750         (abi-64-v2-ld-soname): Likewise.
25751         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
25752         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
25753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
25754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
25755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
25757 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25758             Alan Modra  <amodra@gmail.com>
25760         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
25761         New versions for use with the ELFv2 ABI.
25762         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
25763         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
25764         declaration.
25765         (struct La_ppc64v2_retval): Likewise.
25766         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
25767         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
25768         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
25769         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
25770         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
25771         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
25772         Do not save or restore CR.
25773         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
25774         (_dl_profile_resolve): Do no save or restore CR.  Support extended
25775         return values for ELFv2 ABI.  Fix location of FPR return registers.
25776         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
25777         updated values for _CALL_ELF == 2.
25778         (La_regs, La_retval, int_retval): Likewise.
25780 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25782         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
25783         (FRAME_MIN_SIZE_PARM): Likewise.
25784         (FRAME_BACKCHAIN): Likewise.
25785         (FRAME_CR_SAVE): Likewise.
25786         (FRAME_LR_SAVE): Likewise.
25787         (FRAME_TOC_SAVE): Likewise.
25788         (FRAME_PARM_SAVE): Likewise.
25789         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
25790         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
25791         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
25792         (call_mcount_parm_offset): New macro.
25793         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
25794         (PROF): Use symbolic stack frame offsets.
25795         (TAIL_CALL_SYSCALL_ERROR): Likewise.
25796         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
25797         Redefine in terms of FRAME_MIN_SIZE.
25798         (_dl_runtime_resolve): Use symbolic stack frame offsets.
25799         (_dl_profile_resolve): Likewise.  Update comment.
25800         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
25801         symbols stack frame offsets.
25802         (__sigsetjmp): Likewise.
25803         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
25804         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
25805         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
25806         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
25808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
25809         (FRAME_BACKCHAIN): Remove.
25810         (FRAME_CR_SAVE): Likewise.
25811         (FRAME_LR_SAVE): Likewise.
25812         (FRAME_COMPILER_DW): Likewise.
25813         (FRAME_LINKER_DW): Likewise.
25814         (FRAME_TOC_SAVE): Likewise.
25815         (FRAME_PARM_SAVE): Likewise.
25816         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
25817         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
25818         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
25819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
25820         (CHECK_SP): Use symbolic stack frame offsets.
25821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
25822         zone" instead of caller's parameter save area for temp storage.
25823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25824         Likewise.  Also, use symbolic stack frame offsets.
25825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
25826         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
25827         our own stack frame instead of the caller's.
25828         (__socket): Use symbolic stack frame offsets.
25830 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25831             Alan Modra  <amodra@gmail.com>
25833         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
25834         Define.
25835         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
25836         (PPC64_LOCAL_ENTRY_OFFSET): Define.
25837         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
25838         New function.
25839         (elf_machine_fixup_plt): Call it.
25840         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
25841         reloc arguments.
25842         (elf_machine_rela): Update call to elf_machine_plt_conflict.
25843         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
25844         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
25845         r2 before calling target.
25847 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25848             Alan Modra  <amodra@gmail.com>
25850         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
25851         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
25852         versions of macros to support ELFv2 ABI.
25853         (LOCALENTRY): New macro.
25854         (ENTRY, EALIGN): Use it.
25855         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
25856         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
25857         fall through into ENTRY entry point.
25858         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
25859         Only define if _CALL_ELF != 2.
25861         (elf_machine_matches_host): Verify ABI version matches.
25862         (RTLD_START): Use LOCALENTRY.
25863         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
25864         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
25865         (PLT_ENTRY_WORDS): New macro.
25866         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
25867         (elf_machine_runtime_setup): Support ELFv2 ABI.
25868         (elf_machine_fixup_plt): Likewise.
25869         (elf_machine_plt_conflict): Likewise.
25870         (resolve_ifunc): Likewise.
25871         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
25872         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
25873         Likewise.
25874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
25875         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
25876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25877         (makecontext): Support ELFv2 ABI.
25878         * elf/elf.h (EF_PPC64_ABI): Define.
25880 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25882         * sysdeps/powerpc/powerpc64/sysdep.h
25883         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
25884         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
25885         (ENTRY) [ASSEMBLER]: ... but instead here ...
25886         (EALIGN) [ASSEMBLER]: ... and here.
25887         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
25888         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
25889         (ENTRY_2) [!ASSEMBLER]: Use it.
25890         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
25891         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
25892         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
25893         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
25894         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
25895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
25896         Use PPC64_LOAD_FUNCPTR.
25898         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
25900 2013-12-04  Alan Modra  <amodra@gmail.com>
25902         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
25903         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
25904         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
25905         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
25907         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
25908         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
25909         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
25910         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
25911         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
25912         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
25914 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25917         (__makecontext): Fix incorrect CFI when backtracing out of
25918         context created via makecontext.
25919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
25920         (__setcontext): Fix incorrect CFI during switch to new context.
25921         (__novec_setcontext): Likewise.
25923 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
25925         [BZ #4772]
25926         * time/strptime_l.c (__strptime_internal): Allow modifiers
25927         in strptime.
25928         * time/tst-strptime.c (day_tests): Add testcase.
25930 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25932         * scripts/bench.pl: Skip over blank lines.
25934 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
25936         [BZ #926]
25937         * manual/time.texi (Calendar Time): Clarify what timezone functions
25938         use.
25940 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25942         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25944 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
25946         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
25947         implementation.
25948         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
25949         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
25950         * debug/memset_chk.c (__memset_chk): Likewise.
25951         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
25952         * debug/strncpy_chk.c: Likewise.
25954 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
25956         [BZ #15268]
25957         [BZ #15425]
25958         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
25959         (__ieee754_exp): For possibly underflowing results, check size of
25960         result and force underflow exception if required.
25961         * math/auto-libm-test-in: Add more tests of exp.
25962         * math/auto-libm-test-out: Regenerated.
25963         * sysdeps/i386/fpu/libm-test-ulps: Update.
25964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25966         [BZ #16283]
25967         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
25968         * math/w_exp2f.c (__exp2f): Likewise.
25969         * math/w_exp2l.c (__exp2l): Likewise.
25970         * math/auto-libm-test-in: Do not allow missing errno on exp2
25971         underflow.
25972         * math/auto-libm-test-out: Regenerated.
25974 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
25976         [BZ #16274]
25977         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
25978         handle filename validation.
25979         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
25980         (do_open): Delete.
25982 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
25984         [BZ #6786]
25985         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
25986         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
25987         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
25988         <float.h>.
25989         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
25990         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
25991         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25992         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
25993         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25994         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
25995         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25996         * math/auto-libm-test-in: Don't allow missing errno from erfc.
25997         Add more erfc tests.
25998         * math/auto-libm-test-out: Regenerated.
25999         * sysdeps/i386/fpu/libm-test-ulps: Update.
26000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26002         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
26003         exp2, expm1, j0 and j1.
26004         * math/auto-libm-test-out: Regenerated.
26005         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
26006         (erfc_test_data): Likewise.
26007         (exp_test_data): Likewise.
26008         (exp_tonearest_test_data): Likewise.
26009         (exp_towardzero_test_data): Likewise.
26010         (exp_downward_test_data): Likewise.
26011         (exp_upward_test_data): Likewise.
26012         (exp10_test_data): Likewise.
26013         (exp2_test_data): Likewise.
26014         (expm1_test_data): Likewise.
26015         (j0_test_data): Likewise.
26016         (j1_test_data): Likewise.
26017         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
26018         (input_flag_type): Add flag_xfail_rounding.
26019         (input_flags): Add xfail-rounding.
26020         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
26021         (output_for_one_input_case): Handle flag_xfail_rounding.
26022         * sysdeps/i386/fpu/libm-test-ulps: Update.
26023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26025 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
26027         [BZ #16289]
26028         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
26029         division by 0.
26031 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
26033         [BZ #16195]
26034         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
26035         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
26036         (STAP_PROBE0): New macro.
26037         (STAP_PROBE1): Likewise.
26038         (STAP_PROBE2): Likewise.
26039         (STAP_PROBE3): Likewise.
26040         (STAP_PROBE4): Likewise.
26042 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
26044         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
26046 2013-12-02  Steve Ellcey  <sellcey@mips.com>
26048         * benchtests/Makefile (bench): Add sqrt.
26049         (LDLIBS-bench-sqrt): New.
26050         * benchtests/sqrt-input: New.
26052 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
26054         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
26055         (GAIH_EAI): Likewise.
26056         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
26057         (gaih_inet): Likewise.
26058         (getaddrinfo): Don't use GAIH_EAI.
26060         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
26061         (struct gaih): Remove definition.
26063 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26065         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
26066         Use HERRNOP directly.
26068 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26070         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26072 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
26074         * math/gen-auto-libm-tests.c (test_functions): Add more
26075         single-argument functions.
26076         (special_fill_pi_2): New function.
26077         (special_fill_minus_pi_2): Likewise.
26078         (special_fill_pi_6): Likewise.
26079         (special_fill_minus_pi_6): Likewise.
26080         (special_fill_pi_3): Likewise.
26081         (special_fill_2pi_3): Likewise.
26082         (special_fill_e): Likewise.
26083         (special_fill_1_e): Likewise.
26084         (special_fill_e_minus_1): Likewise.
26085         (special_real_inputs): Add more special inputs.
26086         (output_for_one_input_case): Do not require ERANGE on underflow to
26087         zero if round-to-nearest result does not underflow to zero, unless
26088         exact results required.
26089         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
26090         atan, atanh, cbrt, cos and cosh.
26091         * math/auto-libm-test-out: Regenerated.
26092         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
26093         (acos_tonearest_test_data): Likewise.
26094         (acos_towardzero_test_data): Likewise.
26095         (acos_downward_test_data): Likewise.
26096         (acos_upward_test_data): Likewise.
26097         (acosh_test_data): Likewise.
26098         (asin_test_data): Likewise.
26099         (asin_tonearest_test_data): Likewise.
26100         (asin_towardzero_test_data): Likewise.
26101         (asin_upward_test_data): Likewise.
26102         (asinh_test_data): Likewise.
26103         (atan_test_data): Likewise.
26104         (atanh_test_data): Likewise.
26105         (cbrt_test_data): Likewise.
26106         (cos_test_data): Likewise.
26107         (cos_tonearest_test_data): Likewise.
26108         (cos_towardzero_test_data): Likewise.
26109         (cos_downward_test_data): Likewise.
26110         (cos_upward_test_data): Likewise.
26111         (cosh_test_data): Likewise.
26112         (cosh_tonearest_test_data): Likewise.
26113         (cosh_towardzero_test_data): Likewise.
26114         (cosh_downward_test_data): Likewise.
26115         (cosh_upward_test_data): Likewise.
26116         * sysdeps/i386/fpu/libm-test-ulps: Update.
26117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26119 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
26121         [BZ #6787]
26122         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
26123         * math/w_exp10f.c (__exp10f): Likewise.
26124         * math/w_exp10l.c (__exp10l): Likewise.
26125         * math/libm-test.inc (exp10_test_data): Add more tests and expect
26126         errno settings in existing tests.
26128         [BZ #14032]
26129         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
26130         precision control set to double precision.
26131         * sysdeps/i386/fpu/w_sqrt.c: New file.
26132         * math/auto-libm-test-in: Add more tests.
26133         * math/auto-libm-test-out: Update.
26135         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
26136         (sqrt_test_tonearest): New function.
26137         (sqrt_towardzero_test_data): New variable.
26138         (sqrt_test_towardzero): New function.
26139         (sqrt_downward_test_data): New variable.
26140         (sqrt_test_downward): New function.
26141         (sqrt_upward_test_data): New variable.
26142         (sqrt_test_upward): New function.
26143         (main): Call the new functions.
26145         * math/gen-auto-libm-tests.c: New file.
26146         * math/auto-libm-test-in: Likewise.
26147         * math/auto-libm-test-out: New generated file.
26148         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
26149         variables.
26150         (%beautify): Add generated representations of zero.
26151         (top level): Set $auto_input and call parse_auto_input.
26152         (beautify): Remove trailing "f" from hex float constants.
26153         (parse_args): Handle XFAIL_TEST.
26154         (convert_condition): New function.
26155         (or_value): Likewise.
26156         (or_cond_value): Likewise.
26157         (generate_testfile): Handle AUTO_TESTS_* lines.
26158         (parse_auto_input): New function.
26159         * math/libm-test.inc (XFAIL_TEST): New macro.
26160         (ERRNO_UNCHANGED): Update value.
26161         (ERRNO_EDOM): Likewise.
26162         (ERRNO_ERANGE): Likewise.
26163         (IGNORE_RESULT): Likewise.
26164         (TEST_COND_flt_32): New macro.
26165         (TEST_COND_dbl_64): Likewise.
26166         (TEST_COND_ldbl_96_intel): Likewise.
26167         (TEST_COND_ldbl_96_m68k): Likewise.
26168         (TEST_COND_ldbl_128): Likewise.
26169         (TEST_COND_ldbl_128ibm): Likewise.
26170         (TEST_COND_long32): Likewise.
26171         (TEST_COND_long64): Likewise.
26172         (TEST_COND_before_rounding): Likewise.
26173         (TEST_COND_after_rounding): Likewise.
26174         (enable_test): Handle XFAIL_TEST flag.
26175         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
26176         with finite results.
26177         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
26178         auto-libm-test-out.
26180 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26181             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26183         [BZ #16214]
26184         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
26185         __tls_get_addr_internal instead of __tls_get_offset in order to
26186         avoid GOT pointer dependency.  Make rtld export
26187         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
26188         __tls_get_addr since we are a __tls_get_offset platform.
26189         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
26190         GOT pointer being set up before.
26191         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
26193 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
26195         * manual/math.texi (Errors in Math Functions): Document accuracy
26196         goals.
26198         [BZ #15004]
26199         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
26200         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
26201         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26202         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26203         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26204         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26205         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26206         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26207         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26208         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26209         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26210         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26211         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26212         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26213         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26214         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26216         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
26217         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
26218         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
26219         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
26220         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
26221         Likewise.
26222         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
26223         Likewise.
26224         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
26225         Likewise.
26226         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
26227         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
26228         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
26229         atomic-feupdateenv and flt-rounds.
26230         * sysdeps/powerpc/nofpu/Versions (libc): Add
26231         __atomic_feholdexcept, __atomic_feclearexcept,
26232         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
26233         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
26234         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
26235         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
26236         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
26237         here.
26238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
26239         Update.
26241         * manual/arith.texi (FP Exceptions): Document that exceptions may
26242         not be raised when matherr is used.
26243         (Math Error Reporting): Document overflow in directed rounding
26244         modes.  Document that errno may not be set when finite values are
26245         returned on overflow.  Document intent to set errno on underflow
26246         only for underflow to zero.
26248         [BZ #16271]
26249         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
26250         round-to-nearest then adjust result for other rounding modes.
26251         * include/fenv.h (fegetround): Use libm_hidden_proto.
26252         * math/fegetround.c (fegetround): Use libm_hidden_def.
26253         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
26254         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
26255         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
26256         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
26257         Likewise.
26258         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
26259         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26260         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
26261         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
26263 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26265         [BZ #16077]
26266         * nss/Versions (libnss_files): Add
26267         _nss_files_gethostbyname3_r.
26268         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
26269         New function.
26270         (HOST_DB_LOOKUP): Remove macro.
26271         (_nss_files_gethostbyname_r): Implement function without the
26272         HOST_DB_LOOKUP macro.
26273         (_nss_files_gethostbyname2_r): Likewise.
26275 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
26277         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
26279 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
26281         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
26282         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
26283         warning.
26285 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26287         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
26288         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
26289         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
26290         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
26291         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
26292         __fe_nomask_env_priv and attribute_hidden.
26293         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
26294         (libc_feupdateenv_test_ppc): Likewise.
26295         (libc_feresetround_ppc): Likewise.
26296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26297         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
26298         compat_symbol macro.
26299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26300         (__fe_nomask_env): Likewise.
26301         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
26303 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
26305         * string/Makefile: Remove ifunc tests.
26306         * string/test-string.h: Define TEST_IFUNC.
26307         * string/test-bcopy-ifunc.c: Remove.
26308         * string/test-bzero-ifunc.c: Likewise.
26309         * string/test-memccpy-ifunc.c: Likewise.
26310         * string/test-memchr-ifunc.c: Likewise.
26311         * string/test-memcmp-ifunc.c: Likewise.
26312         * string/test-memcpy-ifunc.c: Likewise.
26313         * string/test-memmem-ifunc.c: Likewise.
26314         * string/test-memmove-ifunc.c: Likewise.
26315         * string/test-mempcpy-ifunc.c: Likewise.
26316         * string/test-memrchr-ifunc.c: Likewise.
26317         * string/test-memset-ifunc.c: Likewise.
26318         * string/test-rawmemchr-ifunc.c: Likewise.
26319         * string/test-stpcpy-ifunc.c: Likewise.
26320         * string/test-stpncpy-ifunc.c: Likewise.
26321         * string/test-strcasecmp-ifunc.c: Likewise.
26322         * string/test-strcasestr-ifunc.c: Likewise.
26323         * string/test-strcat-ifunc.c: Likewise.
26324         * string/test-strchr-ifunc.c: Likewise.
26325         * string/test-strchrnul-ifunc.c: Likewise.
26326         * string/test-strcmp-ifunc.c: Likewise.
26327         * string/test-strcpy-ifunc.c: Likewise.
26328         * string/test-strcspn-ifunc.c: Likewise.
26329         * string/test-strlen-ifunc.c: Likewise.
26330         * string/test-strncasecmp-ifunc.c: Likewise.
26331         * string/test-strncat-ifunc.c: Likewise.
26332         * string/test-strncmp-ifunc.c: Likewise.
26333         * string/test-strncpy-ifunc.c: Likewise.
26334         * string/test-strnlen-ifunc.c: Likewise.
26335         * string/test-strpbrk-ifunc.c: Likewise.
26336         * string/test-strrchr-ifunc.c: Likewise.
26337         * string/test-strspn-ifunc.c: Likewise.
26338         * string/test-strstr-ifunc.c: Likewise.
26340 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
26342         * benchtests/Makefile: Remove ifunc tests.
26343         * benchtests/bench-string.h: Define TEST_IFUNC.
26344         * benchtests/bench-bcopy-ifunc.c: Remove.
26345         * benchtests/bench-bzero-ifunc.c: Likewise.
26346         * benchtests/bench-memccpy-ifunc.c: Likewise.
26347         * benchtests/bench-memchr-ifunc.c: Likewise.
26348         * benchtests/bench-memcmp-ifunc.c: Likewise.
26349         * benchtests/bench-memcpy-ifunc.c: Likewise.
26350         * benchtests/bench-memmem-ifunc.c: Likewise.
26351         * benchtests/bench-memmove-ifunc.c: Likewise.
26352         * benchtests/bench-mempcpy-ifunc.c: Likewise.
26353         * benchtests/bench-memrchr-ifunc.c: Likewise.
26354         * benchtests/bench-memset-ifunc.c: Likewise.
26355         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
26356         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
26357         * benchtests/bench-stpcpy-ifunc.c: Likewise.
26358         * benchtests/bench-stpncpy-ifunc.c: Likewise.
26359         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
26360         * benchtests/bench-strcasestr-ifunc.c: Likewise.
26361         * benchtests/bench-strcat-ifunc.c: Likewise.
26362         * benchtests/bench-strchr-ifunc.c: Likewise.
26363         * benchtests/bench-strchrnul-ifunc.c: Likewise.
26364         * benchtests/bench-strcmp-ifunc.c: Likewise.
26365         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
26366         * benchtests/bench-strcpy-ifunc.c: Likewise.
26367         * benchtests/bench-strcspn-ifunc.c: Likewise.
26368         * benchtests/bench-strlen-ifunc.c: Likewise.
26369         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
26370         * benchtests/bench-strncat-ifunc.c: Likewise.
26371         * benchtests/bench-strncmp-ifunc.c: Likewise.
26372         * benchtests/bench-strncpy-ifunc.c: Likewise.
26373         * benchtests/bench-strnlen-ifunc.c: Likewise.
26374         * benchtests/bench-strpbrk-ifunc.c: Likewise.
26375         * benchtests/bench-strrchr-ifunc.c: Likewise.
26376         * benchtests/bench-strsep-ifunc.c: Likewise.
26377         * benchtests/bench-strspn-ifunc.c: Likewise.
26378         * benchtests/bench-strstr-ifunc.c: Likewise.
26380 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
26382         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
26384 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
26386         * resolv/netdb.h: Use __glibc_reserved instead __unused.
26387         * rt/aio.h: Likewise.
26388         * sysdeps/gnu/bits/utmp.h: Likewise.
26389         * sysdeps/gnu/bits/utmpx.h: Likewise.
26390         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26391         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
26392         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
26393         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
26394         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
26395         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
26396         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
26397         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
26398         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
26399         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
26400         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
26401         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
26402         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
26403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
26404         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26405         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
26406         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
26407         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
26408         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
26409         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
26410         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
26411         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
26412         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
26413         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26414         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
26415         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26416         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
26417         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
26418         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
26419         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
26420         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
26421         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
26422         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
26423         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
26424         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
26425         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
26426         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
26427         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
26428         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
26429         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
26430         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
26431         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
26433 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
26435         [BZ #16245]
26436         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
26437         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
26439 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
26441         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
26442         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
26443         Likewise.
26445 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26447         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
26448         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
26449         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
26450         (__fesetround): Remove define.
26451         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
26452         rounding and exceptions handling.
26453         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
26454         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
26455         (__fe_nomask_env): Likewise.
26456         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
26457         __fegetround instead of fegetround.
26458         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
26459         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
26461 2013-11-21  Roland McGrath  <roland@hack.frob.com>
26463         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
26464         it's there.
26466         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
26468 2013-11-21  Meador Inge  <meadori@codesourcery.com>
26470         [BZ #11157]
26471         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
26472         (encrypt_r): Likewise.
26473         * malloc/obstack.h (obstack_free): Likewise.
26474         * posix/unistd.h (encrypt): Likewise.
26476 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
26478         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
26479         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
26480         DL_CALL_DT_FINI() that call the functions directly.
26481         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
26482         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
26483         * elf/dl-fini.c: Likewise.
26485 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
26487         * malloc/hooks.c (memalign_check): Add alignment rounding.
26488         * malloc/malloc.c (_mid_memalign): New function.
26489         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
26490         Implement by calling _mid_memalign.
26491         * manual/probes.texi (Memory Allocation Probes): Remove
26492         memory_valloc_retry and memory_pvalloc_retry.
26494 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26496         * locale/programs/locarchive.c (open_archive): Add const
26497         qualifier to ARCHIVEFNAME and copy default fname to
26498         DEFAULT_FNAME.
26500         [BZ #15601]
26501         * libio/tst-widetext.input: Rename Oriya to Odia.
26502         * locale/iso-639.def: Likewise.
26504         * manual/probes.texi (Mathematical Function Probes): Add
26505         documentation for sin, cos, asin and acos probes.
26506         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
26507         (__sin32): Add slowasin probe.
26508         (__cos32): Add slowacos probe.
26509         (__mpsin): Add slowsin probe.
26510         (__mpcos): Add slowcos probe.
26512 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
26514         [BZ #15483]
26515         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
26516         thread-local __sim_exceptions_thread and global
26517         __sim_exceptions_global.
26518         (__sim_disabled_exceptions): Change to thread-local
26519         __sim_disabled_exceptions_thread and global
26520         __sim_disabled_exceptions_global.
26521         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
26522         and global __sim_round_mode_global.
26523         (__simulate_exceptions): Use thread-local floating-point state and
26524         set global state from it as needed.
26525         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
26526         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
26527         __sim_round_mode_thread.
26528         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
26529         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
26530         and global __sim_exceptions_global.
26531         (__sim_disabled_exceptions): Change to thread-local
26532         __sim_disabled_exceptions_thread and global
26533         __sim_disabled_exceptions_global.
26534         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
26535         and global __sim_round_mode_global.
26536         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
26537         (SIM_SET_GLOBAL): Likewise.
26538         * sysdeps/powerpc/soft-fp/sfp-machine.h
26539         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
26540         __sim_round_mode_thread.
26541         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
26542         __sim_disabled_exceptions_thread.
26543         (__sim_exceptions): Change to __sim_exceptions_thread.
26544         (__sim_disabled_exceptions): Change to
26545         __sim_disabled_exceptions_thread.
26546         (__sim_round_mode): Change to __sim_round_mode_thread.
26547         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
26548         thread-local floating-point state and set global state from it as
26549         needed.
26550         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
26551         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
26552         (__sim_disabled_exceptions): Remove extern declaration.
26553         (feenableexcept): Use thread-local floating-point state and set
26554         global state from it as needed.
26555         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
26556         extern declaration.
26557         (__sim_disabled_exceptions): Likewise.
26558         (__sim_round_mode): Likewise.
26559         (__fegetenv): Use thread-local floating-point state.
26560         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
26561         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
26562         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
26563         floating-point state and set global state from it as needed.
26564         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
26565         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
26566         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
26567         Likewise.
26568         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
26569         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
26570         Likewise.
26571         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
26572         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
26573         Use __sim_round_mode_thread.
26574         * math/test-fenv-tls.c: New file.
26575         * math/Makefile (tests): Add test-fenv-tls.
26576         ($(objpfx)test-fenv-tls): Depend on
26577         $(common-objpfx)nptl/libpthread.so.
26579 2013-11-19  Andreas Schwab  <schwab@suse.de>
26581         * locale/programs/locale.c (show_info): Decode wordarray elements.
26582         * locale/categories.def (LC_MONETARY): Add element for
26583         _NL_MONETARY_CRNCYSTR.
26584         * locale/C-monetary.c (conversion_rate): New variable.
26585         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
26586         element.
26588 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
26590         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
26591         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
26593 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
26595         * elf/Makefile (tst-auxv): New test.
26596         * elf/tst-auxv.c: New
26597         * elf/rtld.c (dl_main): Adjust AT_EXECFN
26599 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
26601         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
26602         (hidden_proto): Caller changed.
26603         (hidden_tls_proto): New macro.
26604         (libc_hidden_tls_proto): Likewise.
26605         (rtld_hidden_tls_proto): Likewise.
26606         (libm_hidden_tls_proto): Likewise.
26607         (libresolv_hidden_tls_proto): Likewise.
26608         (librt_hidden_tls_proto): Likewise.
26609         (libdl_hidden_tls_proto): Likewise.
26610         (libnss_files_hidden_tls_proto): Likewise.
26611         (libnsl_hidden_tls_proto): Likewise.
26612         (libnss_nisplus_hidden_tls_proto): Likewise.
26613         (libutil_hidden_tls_proto): Likewise.
26615 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
26617         [BZ #10253]
26618         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
26619         (decompose_rpath): Defer expansion to fillin_rpath.
26620         (_dl_init_paths): Pass linkmap to fillin_rpath.
26622 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26624         * benchtests/Makefile: Add strsep.
26625         * benchtests/bench-strsep.c: New file: strsep benchtest.
26626         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
26628 2013-11-18  Andreas Schwab  <schwab@suse.de>
26630         * locale/programs/locale.c (show_info) [case byte]: Check for
26631         '\377' instead of '\177'.
26632         * locale/C-monetary.c (not_available): Always use "\377".
26633         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
26634         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
26635         detect unavailable sign_posn locale elements.
26636         * locale/localeconv.c (__localeconv): For grouping and
26637         mon_grouping handle "\177" and "\377" like no grouping.
26638         (INT_ELEM): New macro.  Use it to set all numeric members.
26639         * locale/programs/ld-monetary.c (monetary_read)
26640         <tok_mon_grouping>: Normalize single -1 to the empty string.
26641         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
26642         Likewise.
26644 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
26646         [BZ #16055]
26647         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
26648         when we match (nil).
26649         * stdio-common/tst-sscanf.c (struct test): Add testcase.
26651 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
26653         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
26654         (NO_TEST_INLINE): Update value.
26655         (ERRNO_UNCHANGED): Likewise.
26656         (ERRNO_EDOM): Likewise.
26657         (ERRNO_ERANGE): Likewise.
26658         (IGNORE_RESULT): Likewise.
26659         (check_float_internal): Check signs of NaN results if
26660         TEST_NAN_SIGN used.
26661         (check_complex): Pass TEST_NAN_SIGN flag through to second
26662         check_float_internal call.
26663         (copysign_test_data): Add tests with quiet NaNs as second
26664         argument.  Use TEST_NAN_SIGN.
26665         (fabs_test_data): Add test of negative quiet NaN argument.  Use
26666         TEST_NAN_SIGN.
26667         (signbit_test_data): Add tests of quiet NaN argument.
26668         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
26670         * math/gen-libm-test.pl (show_exceptions): Take extra argument
26671         $ignore_result.
26672         (parse_args): Handle function results specified as IGNORE.
26673         * math/libm-test.inc (IGNORE_RESULT): New macro.
26674         (check_float_internal): Do not check numerical result if flag
26675         IGNORE_RESULT set.
26676         (check_complex): Pass through IGNORE_RESULT to second
26677         check_float_internal call.
26678         (check_int): Do not check numerical result if flag IGNORE_RESULT
26679         set.
26680         (check_long): Likewise.
26681         (check_bool): Likewise.
26682         (check_longlong): Likewise.
26683         (lrint_test_data): Add tests of infinite and NaN arguments.
26684         (lrint_tonearest_test_data): Likewise.
26685         (lrint_towardzero_test_data): Likewise.
26686         (lrint_downward_test_data): Likewise.
26687         (lrint_upward_test_data): Likewise.
26688         (llrint_test_data): Likewise.
26689         (llrint_tonearest_test_data): Likewise.
26690         (llrint_towardzero_test_data): Likewise.
26691         (llrint_downward_test_data): Likewise.
26692         (llrint_upward_test_data): Likewise.
26693         (lround_test_data): Likewise.
26694         (llround_test_data): Likewise.
26696         * math/libm-test.inc (NO_TEST_INLINE): New macro.
26697         (ERRNO_UNCHANGED): Update value.
26698         (ERRNO_EDOM): Likewise.
26699         (ERRNO_ERANGE): Likewise.
26700         (NO_TEST_INLINE_FLOAT): New macro.
26701         (NO_TEST_INLINE_DOUBLE): Likewise.
26702         (enable_test): New function.
26703         (RUN_TEST_f_f): Check enable_test before running test.
26704         (RUN_TEST_2_f): Likewise.
26705         (RUN_TEST_fff_f): Likewise.
26706         (RUN_TEST_c_f): Likewise.
26707         (RUN_TEST_f_f1): Likewise.
26708         (RUN_TEST_fF_f1): Likewise.
26709         (RUN_TEST_fI_f1): Likewise.
26710         (RUN_TEST_ffI_f1): Likewise.
26711         (RUN_TEST_c_c): Likewise.
26712         (RUN_TEST_cc_c): Likewise.
26713         (RUN_TEST_f_i): Likewise.
26714         (RUN_TEST_f_i_tg): Likewise.
26715         (RUN_TEST_ff_i_tg): Likewise.
26716         (RUN_TEST_f_b): Likewise.
26717         (RUN_TEST_f_b_tg): Likewise.
26718         (RUN_TEST_f_l): Likewise.
26719         (RUN_TEST_f_L): Likewise.
26720         (RUN_TEST_fFF_11): Likewise.
26721         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
26722         conditionals.
26723         (cosh_test_data): Likewise.
26724         (exp_test_data): Likewise.
26725         (expm1_test_data): Likewise.
26726         (hypot_test_data): Likewise.
26727         (pow_test_data): Likewise.
26728         (sinh_test_data): Likewise.
26729         (tanh_test_data): Likewise.
26730         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
26731         flags argument.
26733         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
26734         tests with quiet NaN input and output.
26735         (acosh_test_data): Likewise.
26736         (asin_test_data): Likewise.
26737         (asinh_test_data): Likewise.
26738         (atan_test_data): Likewise.
26739         (atanh_test_data): Likewise.
26740         (atan2_test_data): Likewise.
26741         (cbrt_test_data): Likewise.
26742         (cos_test_data): Likewise.
26743         (cosh_test_data): Likewise.
26744         (erf_test_data): Likewise.
26745         (erfc_test_data): Likewise.
26746         (exp_test_data): Likewise.
26747         (exp10_test_data): Likewise.
26748         (exp2_test_data): Likewise.
26749         (expm1_test_data): Likewise.
26750         (hypot_test_data): Likewise.
26751         (j0_test_data): Likewise.
26752         (j1_test_data): Likewise.
26753         (jn_test_data): Likewise.
26754         (lgamma_test_data): Likewise.
26755         (log_test_data): Likewise.
26756         (log10_test_data): Likewise.
26757         (log1p_test_data): Likewise.
26758         (log2_test_data): Likewise.
26759         (pow_test_data): Likewise.
26760         (scalb_test_data): Likewise.
26761         (sin_test_data): Likewise.
26762         (sincos_test_data): Likewise.
26763         (sinh_test_data): Likewise.
26764         (tan_test_data): Likewise.
26765         (tanh_test_data): Likewise.
26766         (tgamma_test_data): Likewise.
26767         (y0_test_data): Likewise.
26768         (y1_test_data): Likewise.
26769         (yn_test_data): Likewise.
26771         [BZ #16167]
26772         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
26773         argument being NaN and avoid computations with second argument in
26774         that case.
26775         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26776         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
26777         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
26779 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
26781         * locale/iso-639.def: Add Chitwani Tharu (the).
26783 2013-11-14  Andreas Schwab  <schwab@suse.de>
26785         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
26786         word instead of empty string.
26788 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26791         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
26792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26793         (__fe_nomask_env): Likewise.
26795 2013-11-13  Steve Ellcey  <sellcey@mips.com>
26797         * benchtests/bench-timing.h: Include time.h.
26799 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
26801         [BZ #15997]
26802         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
26803         to 3.4.0 for x32.
26804         * sysdeps/unix/sysv/linux/configure: Regenerated.
26806 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
26808         [BZ #16151]
26809         * stdlib/strtod_l.c (round_and_return): Do not consider
26810         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
26811         exponent one less than half the least subnormal exponent.
26812         * stdlib/test-strtod-round-data: Add more tests.
26813         * stdlib/tst-strtod-round.c (tests): Regenerated.
26815 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26817         [BZ #14143]
26818         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
26819         (__fe_mask_env): Likewise.
26820         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
26821         libm_hidden_proto and add function prototype.
26822         (__fe_mask_env): Add function prototype.
26823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26824         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
26825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26826         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
26827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26828         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
26830 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26832         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
26833         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
26835 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26837         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
26838         of htab_find_slot().
26840 2013-11-11  David S. Miller  <davem@davemloft.net>
26842         [BZ #16150]
26843         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
26844         symbol in the non-vis3 case in static builds.
26845         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
26846         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
26847         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
26848         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
26850 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
26852         [BZ #387]
26853         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
26854         it is empty.
26856 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26858         * benchtests/Makefile: Add bench-strtod.
26859         * benchtests/bench-strtod.c: New file: strtod benchtest
26861 2013-11-11  Andreas Schwab  <schwab@suse.de>
26863         [BZ #16153]
26864         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
26865         terminating NUL in key length.
26867 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26869         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
26870         Add artificial ODP entry for vDSO symbol for PPC64.
26871         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
26872         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
26874 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
26876         [BZ #15374]
26877         * nss/getent.c (services_keys): Recognize services starting with digit.
26879 2013-11-06  David S. Miller  <davem@davemloft.net>
26881         [BZ #15985]
26882         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
26883         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
26885 2013-11-06  Will Newton  <will.newton@linaro.org>
26887         * manual/memory.texi (Malloc Examples): Remove register
26888         keyword from examples.
26890 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
26892         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
26894 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
26896         [BZ #6981]
26897         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
26898         depending on [__GCC_IEC_559 > 0].
26899         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
26900         depending on [__GCC_IEC_559_COMPLEX > 0].
26902 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
26904         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
26905         to iso-639.def.
26907 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
26909         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
26911 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
26913         [BZ #16112]
26914         * malloc/malloc (malloc_info): Do not handle first bin as
26915         special case.
26917 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
26919         * locale/iso-639.def: Add Central Nahuatl (nhn).
26921 2013-11-01  Bruno Haible  <bruno@clisp.org>
26923         [BZ #7003]
26924         * manual/math.texi (BSD Random): Specify range upper bound as
26925         in POSIX.
26927 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
26929         * locale/iso-639.def: Add Meadow Mari (mhr).
26931 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
26933         [BZ #14752], [BZ #15763]
26934         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
26935         Validate name.
26936         * rt/tst_shm.c: Add test for escaping directory.
26938 2013-10-31  Andreas Schwab  <schwab@suse.de>
26940         [BZ #15917]
26941         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
26942         followed by 'x' as part of digit sequence.
26943         * stdio-common/tst-sscanf.c (double_tests2): New tests.
26945 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
26947         [BZ #16037]
26948         * configure.ac: allow GNU Make 4.0 and greater.
26949         * configure: Regenerated.
26951 2013-10-30  Will Newton  <will.newton@linaro.org>
26953         [BZ #16038]
26954         * malloc/hooks.c (memalign_check): Limit alignment to the
26955         maximum representable power of two.
26956         * malloc/malloc.c (__libc_memalign): Likewise.
26957         * malloc/tst-memalign.c (do_test): Add test for very
26958         large alignment values.
26959         * malloc/tst-posix_memalign.c (do_test): Likewise.
26961 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
26963         [BZ #11087]
26964         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
26965         (munmap_chunk): Likewise.
26966         (mremap_chunk): Likewise.
26968 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
26970         [BZ #15799]
26971         * stdlib/div.c (div): Remove obsolete code.
26972         * stdlib/ldiv.c (ldiv): Likewise.
26973         * stdlib/lldiv.c (lldiv): Likewise.
26975 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26977         [BZ #16071]
26978         * nss/nss_files/files-XXX.c (get_contents_ret): New
26979         enumerator.
26980         (get_contents): New function.
26981         (internal_getent): Use it.  Expand size of LINEBUFLEN.
26983 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
26985         * configure.in: Moved to ...
26986         * configure.ac: ... here. Change reference to configure.in
26987         to configure.ac.
26988         * sysdeps/arm/preconfigure.ac: ... here.
26989         configure.in to configure.ac.
26990         * sysdeps/gnu/configure.in: Moved to ...
26991         * sysdeps/gnu/configure.ac: ... here.
26992         * sysdeps/i386/configure.in: Moved to ...
26993         * sysdeps/i386/configure.ac: ... here.
26994         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
26995         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
26996         * sysdeps/mach/configure.in: Moved to ...
26997         * sysdeps/mach/configure.ac: ... here.
26998         * sysdeps/mach/hurd/configure.in: Moved to ...
26999         * sysdeps/mach/hurd/configure.ac: ... here.
27000         * sysdeps/powerpc/configure.in: Moved to ...
27001         * sysdeps/powerpc/configure.ac: ... here.
27002         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
27003         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
27004         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
27005         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
27006         * sysdeps/s390/s390-32/configure.in: Moved to ...
27007         * sysdeps/s390/s390-32/configure.ac: ... here.
27008         * sysdeps/s390/s390-64/configure.in: Moved to ...
27009         * sysdeps/s390/s390-64/configure.ac: ... here.
27010         * sysdeps/sh/configure.in: Moved to ...
27011         * sysdeps/sh/configure.ac: ... here.
27012         * sysdeps/sparc/configure.in: Moved to ...
27013         * sysdeps/sparc/configure.ac: ... here.
27014         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
27015         * sysdeps/unix/sysv/linux/configure.ac: ... here.
27016         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
27017         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
27018         * sysdeps/x86_64/configure.in: Moved to ...
27019         * sysdeps/x86_64/configure.ac: ... here.
27020         * sysdeps/x86_64/preconfigure.in: Moved to ...
27021         * sysdeps/x86_64/preconfigure.ac: ... here.
27022         * aclocal.m4: Change reference to configure.in to configure.ac.
27023         * config.h.in: Likewise.
27024         * manual/install.texi: Likewise.
27025         * manual/maint.texi: Likewise.
27026         * Makefile: Likewise.
27027         * malloc/Makefile: Likewise.
27028         * nscd/Makefile: Likewise.
27029         * Makeconfig: Change reference to configure.in and
27030         preconfigure.in to configure.ac and preconfigure.ac
27031         respectively.
27032         * INSTALL: Regenerated.
27033         * configure: Likewise.
27034         * sysdeps/gnu/configure: Likewise.
27035         * sysdeps/i386/configure: Likewise.
27036         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
27037         * sysdeps/mach/configure: Likewise.
27038         * sysdeps/mach/hurd/configure: Likewise.
27039         * sysdeps/powerpc/configure: Likewise.
27040         * sysdeps/powerpc/powerpc32/configure: Likewise.
27041         * sysdeps/powerpc/powerpc64/configure: Likewise.
27042         * sysdeps/s390/s390-32/configure: Likewise.
27043         * sysdeps/s390/s390-64/configure: Likewise.
27044         * sysdeps/sh/configure: Likewise.
27045         * sysdeps/sparc/configure: Likewise.
27046         * sysdeps/unix/sysv/linux/configure: Likewise.
27047         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
27048         * sysdeps/x86_64/configure: Likewise.
27049         * sysdeps/x86_64/preconfigure: Likewise.
27051 2013-10-29  Andreas Schwab  <schwab@suse.de>
27053         * stdio-common/Makefile (tst-swscanf-ENV): Define.
27055 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27057         * benchtests/pow-inputs: Add new inputs.
27059         * benchtests/exp-inputs: Add new inputs.
27061         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
27062         conditional check for return value.
27063         (__cos32): Likewise.
27065 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27067         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
27068         to provide a boost for large inputs with word alignment.
27069         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
27070         implementation based on optimized PPC64 strcpy.
27071         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
27072         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
27073         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
27074         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
27076 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
27078         [BZ #2801]
27079         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
27081 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
27083         [BZ #14876]
27084         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
27085         * time/tst-strptime.c (day_tests): Add testcase.
27087 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
27089         [BZ #14029]
27090         * manual/pattern.texi: Acknowledge that fnmatch can fail.
27092 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
27094         [BZ #16074]
27095         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
27096         MAP_FAILED on error.
27098 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27100         [BZ #16072]
27101         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
27102         heap for large requests.
27104 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
27106         [BZ #9954]
27107         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
27108         result if the result has no associated interface.
27109         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
27110         interface for all 127.X.Y.Z addresses.
27112 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
27114         * locale/iso-639.def: Add Ligurian (lij)
27116 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
27118         [BZ #15825]
27119         * sunrpc/rpc_main.c: Document rpcgen -5.
27121 2013-10-19  Michael Stahl  <mstahl@redhat.com>
27123         * elf/rtld.c (do_preload): Print the reason why preloading failed.
27125 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
27127         [BZ #10278]
27128         * posix/glob.c: Match only directories when trailing slash is present.
27129         * posix/tst-gnuglob.c (my_opendir): Do not open files.
27130         (main): Add testcase.
27132 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
27134         [BZ #15670]
27135         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
27137 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
27139         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
27140         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
27141         AUTH_DES and cindex for FIPS 140-2.
27142         (DES Encryption): Add cindex FIPS 46-3.
27144         * locale/locarchive.h (struct locarhandle): Add fname.
27145         * locale/programs/localedef.c (main): Pass ARGV[remaining]
27146         if an optional argument was specified to --list-archive,
27147         otherwise NULL.
27148         * locale/programs/locarchive.c (show_archive_content): Take new
27149         argument fname and pass it via ah.fname to open_archive.
27150         * locale/programs/localedef.h: Update decl.
27151         (open_archive): If AH->fname is non-null, open that file
27152         rather than the default file name, and don't ignore ENOENT.
27153         (create_archive): Set AH.fname to NULL.
27154         (delete_locales_from_archive): Likewise.
27155         (add_locales_to_archive): Likewise.
27156         * locale/programs/locfile.c (write_all_categories): Likewise.
27158 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
27159             Aldy Hernandez  <aldyh@redhat.com>
27161         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
27162         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
27163         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
27164         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
27165         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
27166         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
27167         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
27168         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
27169         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
27170         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
27171         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
27172         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
27173         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
27174         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
27175         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
27176         Likewise.
27177         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
27178         Likewise.
27179         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
27180         Likewise.
27181         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
27182         Likewise.
27183         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
27184         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
27185         Likewise.
27186         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
27187         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
27188         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
27189         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
27190         Likewise.
27191         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
27192         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
27193         * sysdeps/powerpc/preconfigure: Likewise.
27194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
27195         Likewise.
27196         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
27197         Replace contents of file by #include of <fenv_libc.h>.
27198         * sysdeps/powerpc/soft-fp/sfp-machine.h
27199         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
27200         and <sys/prctl.h>.
27201         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
27202         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
27203         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
27204         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
27205         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
27206         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
27207         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
27208         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
27209         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
27210         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
27211         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
27212         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
27213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
27214         Allow copysignl PLT reference to be missing.
27216 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
27217             Joseph Myers  <joseph@codesourcery.com
27219         [BZ #15948]
27220         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
27221         single character.
27222         (add_to_tablewc): Assert sequence of wide characters is nonempty.
27224 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27226         * elf/tst-tls-dlinfo.c: Don't include tls.h.
27227         * elf/tst-tls1.c: Likewise.
27228         * elf/tst-tls10.h: Likewise.
27229         * elf/tst-tls14.c: Likewise.
27230         * elf/tst-tls2.c: Likewise.
27231         * elf/tst-tls3.c: Likewise.
27232         * elf/tst-tls4.c: Likewise.
27233         * elf/tst-tls5.c: Likewise.
27234         * elf/tst-tls6.c: Likewise.
27235         * elf/tst-tls7.c: Likewise.
27236         * elf/tst-tls8.c: Likewise.
27237         * elf/tst-tls9.c: Likewise.
27238         * elf/tst-tlsmod1.c: Likewise.
27239         * elf/tst-tlsmod13.c: Likewise.
27240         * elf/tst-tlsmod13a.c: Likewise.
27241         * elf/tst-tlsmod14a.c: Likewise.
27242         * elf/tst-tlsmod16a.c: Likewise.
27243         * elf/tst-tlsmod16b.c: Likewise.
27244         * elf/tst-tlsmod2.c: Likewise.
27245         * elf/tst-tlsmod3.c: Likewise.
27246         * elf/tst-tlsmod4.c: Likewise.
27247         * elf/tst-tlsmod5.c: Likewise.
27248         * elf/tst-tlsmod6.c: Likewise.
27250 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
27252         [BZ #12486]
27253         * malloc/malloc.c: remove checks for statistics.
27255 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
27257         [BZ #15277]
27258         * inet/inet_net.c (inet_network): Detect additional invalid strings.
27259         * inet/tst-network.c: Add testcase.
27261 2013-10-17  Andreas Schwab  <schwab@suse.de>
27263         [BZ #15218]
27264         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
27265         to determine canonical name.
27267 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
27269         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
27270         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
27271         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27272         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27273         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27274         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27275         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27276         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27277         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27278         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27279         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27280         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27281         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27282         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27283         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27284         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27285         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27286         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27287         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27288         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27289         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27290         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27291         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27292         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
27293         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
27294         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27295         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27296         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
27297         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27298         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
27299         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27300         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27301         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27302         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27303         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27304         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27305         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27306         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27307         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27308         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27309         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27310         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27311         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27312         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27313         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27314         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27315         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27316         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27317         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27318         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27319         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27320         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27321         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27322         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27323         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27324         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27325         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27326         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27328 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
27330         [BZ #16041]
27331         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
27332         make result into a quiet NaN.
27334 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
27336         * soft-fp/adddf3.c: Fix horizontal whitespace.
27337         * soft-fp/addsf3.c: Likewise.
27338         * soft-fp/addtf3.c: Likewise.
27339         * soft-fp/divdf3.c: Likewise.
27340         * soft-fp/divsf3.c: Likewise.
27341         * soft-fp/divtf3.c: Likewise.
27342         * soft-fp/double.h: Likewise.
27343         * soft-fp/eqdf2.c: Likewise.
27344         * soft-fp/eqsf2.c: Likewise.
27345         * soft-fp/eqtf2.c: Likewise.
27346         * soft-fp/extenddftf2.c: Likewise.
27347         * soft-fp/extended.h: Likewise.
27348         * soft-fp/extendsfdf2.c: Likewise.
27349         * soft-fp/extendsftf2.c: Likewise.
27350         * soft-fp/extendxftf2.c: Likewise.
27351         * soft-fp/fixdfdi.c: Likewise.
27352         * soft-fp/fixdfsi.c: Likewise.
27353         * soft-fp/fixdfti.c: Likewise.
27354         * soft-fp/fixsfdi.c: Likewise.
27355         * soft-fp/fixsfsi.c: Likewise.
27356         * soft-fp/fixsfti.c: Likewise.
27357         * soft-fp/fixtfdi.c: Likewise.
27358         * soft-fp/fixtfsi.c: Likewise.
27359         * soft-fp/fixtfti.c: Likewise.
27360         * soft-fp/fixunsdfdi.c: Likewise.
27361         * soft-fp/fixunsdfsi.c: Likewise.
27362         * soft-fp/fixunsdfti.c: Likewise.
27363         * soft-fp/fixunssfdi.c: Likewise.
27364         * soft-fp/fixunssfsi.c: Likewise.
27365         * soft-fp/fixunssfti.c: Likewise.
27366         * soft-fp/fixunstfdi.c: Likewise.
27367         * soft-fp/fixunstfsi.c: Likewise.
27368         * soft-fp/fixunstfti.c: Likewise.
27369         * soft-fp/floatdidf.c: Likewise.
27370         * soft-fp/floatdisf.c: Likewise.
27371         * soft-fp/floatditf.c: Likewise.
27372         * soft-fp/floatsidf.c: Likewise.
27373         * soft-fp/floatsisf.c: Likewise.
27374         * soft-fp/floatsitf.c: Likewise.
27375         * soft-fp/floattidf.c: Likewise.
27376         * soft-fp/floattisf.c: Likewise.
27377         * soft-fp/floattitf.c: Likewise.
27378         * soft-fp/floatundidf.c: Likewise.
27379         * soft-fp/floatundisf.c: Likewise.
27380         * soft-fp/floatunditf.c: Likewise.
27381         * soft-fp/floatunsidf.c: Likewise.
27382         * soft-fp/floatunsisf.c: Likewise.
27383         * soft-fp/floatunsitf.c: Likewise.
27384         * soft-fp/floatuntidf.c: Likewise.
27385         * soft-fp/floatuntisf.c: Likewise.
27386         * soft-fp/floatuntitf.c: Likewise.
27387         * soft-fp/fmadf4.c: Likewise.
27388         * soft-fp/fmasf4.c: Likewise.
27389         * soft-fp/fmatf4.c: Likewise.
27390         * soft-fp/gedf2.c: Likewise.
27391         * soft-fp/gesf2.c: Likewise.
27392         * soft-fp/getf2.c: Likewise.
27393         * soft-fp/ledf2.c: Likewise.
27394         * soft-fp/lesf2.c: Likewise.
27395         * soft-fp/letf2.c: Likewise.
27396         * soft-fp/muldf3.c: Likewise.
27397         * soft-fp/mulsf3.c: Likewise.
27398         * soft-fp/multf3.c: Likewise.
27399         * soft-fp/negdf2.c: Likewise.
27400         * soft-fp/negsf2.c: Likewise.
27401         * soft-fp/negtf2.c: Likewise.
27402         * soft-fp/op-1.h: Likewise.
27403         * soft-fp/op-2.h: Likewise.
27404         * soft-fp/op-4.h: Likewise.
27405         * soft-fp/op-8.h: Likewise.
27406         * soft-fp/op-common.h: Likewise.
27407         * soft-fp/quad.h: Likewise.
27408         * soft-fp/single.h: Likewise.
27409         * soft-fp/soft-fp.h: Likewise.
27410         * soft-fp/sqrtdf2.c: Likewise.
27411         * soft-fp/sqrtsf2.c: Likewise.
27412         * soft-fp/sqrttf2.c: Likewise.
27413         * soft-fp/subdf3.c: Likewise.
27414         * soft-fp/subsf3.c: Likewise.
27415         * soft-fp/subtf3.c: Likewise.
27416         * soft-fp/truncdfsf2.c: Likewise.
27417         * soft-fp/trunctfdf2.c: Likewise.
27418         * soft-fp/trunctfsf2.c: Likewise.
27419         * soft-fp/trunctfxf2.c: Likewise.
27420         * soft-fp/unorddf2.c: Likewise.
27421         * soft-fp/unordsf2.c: Likewise.
27422         * soft-fp/unordtf2.c: Likewise.
27424 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
27426         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
27427         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
27429 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
27431         * elf/dl-libc.c: Clear initfini list after freeing.
27433 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
27435         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
27436         * soft-fp/addsf3.c: Likewise.
27437         * soft-fp/addtf3.c: Likewise.
27438         * soft-fp/divdf3.c: Likewise.
27439         * soft-fp/divsf3.c: Likewise.
27440         * soft-fp/divtf3.c: Likewise.
27441         * soft-fp/double.h: Likewise.
27442         * soft-fp/eqdf2.c: Likewise.
27443         * soft-fp/eqsf2.c: Likewise.
27444         * soft-fp/eqtf2.c: Likewise.
27445         * soft-fp/extenddftf2.c: Likewise.
27446         * soft-fp/extended.h: Likewise.
27447         * soft-fp/extendsfdf2.c: Likewise.
27448         * soft-fp/extendsftf2.c: Likewise.
27449         * soft-fp/extendxftf2.c: Likewise.
27450         * soft-fp/fixdfdi.c: Likewise.
27451         * soft-fp/fixdfsi.c: Likewise.
27452         * soft-fp/fixdfti.c: Likewise.
27453         * soft-fp/fixsfdi.c: Likewise.
27454         * soft-fp/fixsfsi.c: Likewise.
27455         * soft-fp/fixsfti.c: Likewise.
27456         * soft-fp/fixtfdi.c: Likewise.
27457         * soft-fp/fixtfsi.c: Likewise.
27458         * soft-fp/fixtfti.c: Likewise.
27459         * soft-fp/fixunsdfdi.c: Likewise.
27460         * soft-fp/fixunsdfsi.c: Likewise.
27461         * soft-fp/fixunsdfti.c: Likewise.
27462         * soft-fp/fixunssfdi.c: Likewise.
27463         * soft-fp/fixunssfsi.c: Likewise.
27464         * soft-fp/fixunssfti.c: Likewise.
27465         * soft-fp/fixunstfdi.c: Likewise.
27466         * soft-fp/fixunstfsi.c: Likewise.
27467         * soft-fp/fixunstfti.c: Likewise.
27468         * soft-fp/floatdidf.c: Likewise.
27469         * soft-fp/floatdisf.c: Likewise.
27470         * soft-fp/floatditf.c: Likewise.
27471         * soft-fp/floatsidf.c: Likewise.
27472         * soft-fp/floatsisf.c: Likewise.
27473         * soft-fp/floatsitf.c: Likewise.
27474         * soft-fp/floattidf.c: Likewise.
27475         * soft-fp/floattisf.c: Likewise.
27476         * soft-fp/floattitf.c: Likewise.
27477         * soft-fp/floatundidf.c: Likewise.
27478         * soft-fp/floatundisf.c: Likewise.
27479         * soft-fp/floatunsidf.c: Likewise.
27480         * soft-fp/floatunsisf.c: Likewise.
27481         * soft-fp/floatuntidf.c: Likewise.
27482         * soft-fp/floatuntisf.c: Likewise.
27483         * soft-fp/floatuntitf.c: Likewise.
27484         * soft-fp/fmadf4.c: Likewise.
27485         * soft-fp/fmasf4.c: Likewise.
27486         * soft-fp/fmatf4.c: Likewise.
27487         * soft-fp/gedf2.c: Likewise.
27488         * soft-fp/gesf2.c: Likewise.
27489         * soft-fp/getf2.c: Likewise.
27490         * soft-fp/ledf2.c: Likewise.
27491         * soft-fp/lesf2.c: Likewise.
27492         * soft-fp/letf2.c: Likewise.
27493         * soft-fp/muldf3.c: Likewise.
27494         * soft-fp/mulsf3.c: Likewise.
27495         * soft-fp/multf3.c: Likewise.
27496         * soft-fp/negdf2.c: Likewise.
27497         * soft-fp/negsf2.c: Likewise.
27498         * soft-fp/negtf2.c: Likewise.
27499         * soft-fp/op-1.h: Likewise.
27500         * soft-fp/op-2.h: Likewise.
27501         * soft-fp/op-4.h: Likewise.
27502         * soft-fp/op-8.h: Likewise.
27503         * soft-fp/op-common.h: Likewise.
27504         * soft-fp/quad.h: Likewise.
27505         * soft-fp/single.h: Likewise.
27506         * soft-fp/soft-fp.h: Likewise.
27507         * soft-fp/sqrtdf2.c: Likewise.
27508         * soft-fp/sqrtsf2.c: Likewise.
27509         * soft-fp/sqrttf2.c: Likewise.
27510         * soft-fp/subdf3.c: Likewise.
27511         * soft-fp/subsf3.c: Likewise.
27512         * soft-fp/subtf3.c: Likewise.
27513         * soft-fp/truncdfsf2.c: Likewise.
27514         * soft-fp/trunctfdf2.c: Likewise.
27515         * soft-fp/trunctfsf2.c: Likewise.
27516         * soft-fp/trunctfxf2.c: Likewise.
27517         * soft-fp/unorddf2.c: Likewise.
27518         * soft-fp/unordsf2.c: Likewise.
27519         * soft-fp/unordtf2.c: Likewise.
27521 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
27523         [BZ #15672]
27524         * misc/error.c (error_tail): Fix possible buffer overflow.
27526 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
27528         [BZ #13028]
27529         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
27530         address.
27532 2013-10-14  P. J. McDermott  <pj@pehjota.net>
27534         [BZ #832]
27535         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
27536         testing pipefail option.
27538 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
27540         * soft-fp/double.h: Indent preprocessor directives inside #if.
27541         * soft-fp/extended.h: Likewise.
27542         * soft-fp/op-2.h: Likewise.
27543         * soft-fp/op-4.h: Likewise.
27544         * soft-fp/op-common.h: Likewise.
27545         * soft-fp/quad.h: Likewise.
27546         * soft-fp/single.h: Likewise.
27547         * soft-fp/soft-fp.h: Likewise.
27549 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
27551         * iconv/iconv_prog.c: Fix typos.
27552         * stdio-common/psiginfo-data.h: Likewise.
27554 2013-10-12   Reuben Thomas <rrt@sc3d.org>
27556         [BZ #15764]
27557         * locale/setlocale.c: Fix typo.
27559 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
27561         [BZ #16036]
27562         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
27563         signaling NaN arguments.
27564         * soft-fp/unordsf2.c (__unordsf2): Likewise.
27565         * soft-fp/unordtf2.c (__unordtf2): Likewise.
27567         [BZ #14910]
27568         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
27569         unordered operands.
27570         * soft-fp/gesf2.c (__gesf2): Likewise.
27571         * soft-fp/getf2.c (__getf2): Likewise.
27572         * soft-fp/ledf2.c (__ledf2): Likewise.
27573         * soft-fp/lesf2.c (__lesf2): Likewise.
27574         * soft-fp/letf2.c (__letf2): Likewise.
27576         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
27577         * soft-fp/eqsf2.c (__eqsf2): Likewise.
27578         * soft-fp/eqtf2.c (__eqtf2): Likewise.
27579         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
27580         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
27581         * soft-fp/fixdfti.c (__fixdfti): Likewise.
27582         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
27583         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
27584         * soft-fp/fixsfti.c (__fixsfti): Likewise.
27585         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
27586         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
27587         * soft-fp/fixtfti.c (__fixtfti): Likewise.
27588         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
27589         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
27590         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
27591         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
27592         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
27593         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
27594         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
27595         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
27596         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
27597         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
27598         * soft-fp/floatdisf.c (__floatdisf): Likewise.
27599         * soft-fp/floatsisf.c (__floatsisf): Likewise.
27600         * soft-fp/floattidf.c (__floattidf): Likewise.
27601         * soft-fp/floattisf.c (__floattisf): Likewise.
27602         * soft-fp/floattitf.c (__floattitf): Likewise.
27603         * soft-fp/floatundidf.c (__floatundidf): Likewise.
27604         * soft-fp/floatundisf.c (__floatundisf): Likewise.
27605         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
27606         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
27607         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
27608         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
27609         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
27610         * soft-fp/gesf2.c (__gesf2): Likewise.
27611         * soft-fp/getf2.c (__getf2): Likewise.
27612         * soft-fp/ledf2.c (__ledf2): Likewise.
27613         * soft-fp/lesf2.c (__lesf2): Likewise.
27614         * soft-fp/letf2.c (__letf2): Likewise.
27616         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
27617         Undefine and redefine.
27618         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
27619         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
27620         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
27621         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
27622         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27623         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
27624         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27625         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
27626         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27627         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
27628         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27629         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
27630         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27631         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
27632         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27634         [BZ #16032]
27635         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
27636         without decrementing exponent if mantissa >= that for the
27637         denominator, not >.
27638         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
27639         denominator, not >.  Decrement exponent in < case instead of
27640         incrementing in >= case.
27641         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
27642         without decrementing exponent if mantissa >= that for the
27643         denominator, not >.
27645         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
27646         computing saturated result for unsigned overflow.
27648 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27649             Jeff Law  <law@redhat.com>
27651         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
27652         (atan2Mp): Add systemtap probe marker.
27653         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
27654         (__ieee754_log): Add systemtap probe marker.
27655         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
27656         (atanMp): Add systemtap probe marker.
27657         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
27658         (tanMp): Add systemtap probe marker.
27659         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
27660         (__slowexp): Add systemtap probe marker.
27661         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
27662         (__slowpow): Add systemtap probe marker.
27663         * manual/probes.texi: Document probes.
27665 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
27667         [BZ #15362]
27668         * libio/fileops.c (_IO_new_file_write): Return count of bytes
27669         written.
27670         (_IO_new_file_xsputn): Don't return EOF if nothing has been
27671         written.
27672         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
27673         written to buffer but not flushed.
27674         * libio/iofwrite_u.c:  Likewise.
27675         * libio/iopadn.c:  Return bytes returned even if EOF was
27676         encountered.
27677         * libio/iowpadn.c:  Likewise.
27678         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
27679         if _IO_padn does not write the whole buffer.
27680         [!COMPILE_WPRINTF] (PAD): Likewise.
27682 2013-10-10  David S. Miller  <davem@davemloft.net>
27684         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
27685         directory block.
27687 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
27689         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
27690         instead of FSF address.
27691         * soft-fp/fixdfti.c: Likewise.
27692         * soft-fp/fixsfti.c: Likewise.
27693         * soft-fp/fixtfti.c: Likewise.
27694         * soft-fp/fixunsdfti.c: Likewise.
27695         * soft-fp/fixunssfti.c: Likewise.
27696         * soft-fp/fixunstfti.c: Likewise.
27697         * soft-fp/floattidf.c: Likewise.
27698         * soft-fp/floattisf.c: Likewise.
27699         * soft-fp/floattitf.c: Likewise.
27700         * soft-fp/floatuntidf.c: Likewise.
27701         * soft-fp/floatuntisf.c: Likewise.
27702         * soft-fp/floatuntitf.c: Likewise.
27703         * soft-fp/trunctfxf2.c: Likewise.
27705         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
27706         * soft-fp/fixdfti.c: Likewise.
27707         * soft-fp/fixsfti.c: Likewise.
27708         * soft-fp/fixtfti.c: Likewise.
27709         * soft-fp/fixunsdfti.c: Likewise.
27710         * soft-fp/fixunssfti.c: Likewise.
27711         * soft-fp/fixunstfti.c: Likewise.
27712         * soft-fp/floattidf.c: Likewise.
27713         * soft-fp/floattisf.c: Likewise.
27714         * soft-fp/floattitf.c: Likewise.
27715         * soft-fp/floatuntidf.c: Likewise.
27716         * soft-fp/floatuntisf.c: Likewise.
27717         * soft-fp/floatuntitf.c: Likewise.
27718         * soft-fp/trunctfxf2.c: Likewise.
27720 2013-10-10  David S. Miller  <davem@davemloft.net>
27722         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27724 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
27726         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
27727         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
27728         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
27729         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
27730         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
27731         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
27732         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
27734         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
27735         for NaNs before doing comparisons on argument.
27736         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
27737         Likewise.
27739 2013-10-10  Will Newton  <will.newton@linaro.org>
27741         * malloc/hooks.c (memalign_check): Ensure the value of bytes
27742         passed to _int_memalign does not overflow.
27744 2013-10-10  Torvald Riegel  <triegel@redhat.com>
27746         * scripts/bench.pl: Add include-sources directive.
27747         * benchtests/README: Update documentation.
27749 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
27751         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
27752         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
27753         instead of FP_INIT_ROUNDMODE.
27754         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
27755         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
27757         [BZ #16034]
27758         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
27759         copy class of input value.
27760         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
27761         not handle exceptions.
27762         * soft-fp/negsf2.c (__negsf2): Likewise.
27763         * soft-fp/negtf2.c (__negtf2): Likewise.
27764         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
27766 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
27768         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
27769         semicolon.  From Linux kernel.
27771 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
27773         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
27775 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
27777         [BZ #156]
27778         * manual/socket.texi: Added statement about buffer
27779         for gethostbyname2_r.
27781 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
27783         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
27784         Use .p2align directive instead, throughout.
27785         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27786         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
27787         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
27788         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27789         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27790         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
27791         * sysdeps/x86_64/strchr.S: Likewise.
27792         * sysdeps/x86_64/strrchr.S: Likewise.
27794 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27796         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
27798         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
27800         * sysdeps/generic/math_private.h (__mpsin1): Remove
27801         declaration.
27802         (__mpcos1): Likewise.
27803         (__mpsin): New argument __range_reduce.
27804         (__mpcos): Likewise.
27805         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27806         (slow): Use __mpsin and __mpcos.
27807         (slow1): Likewise.
27808         (slow2): Likewise.
27809         (sloww): Likewise.
27810         (sloww1): Likewise.
27811         (sloww2): Likewise.
27812         (bsloww): Likewise.
27813         (bsloww1): Likewise.
27814         (bsloww2): Likewise.
27815         (cslow2): Likewise.
27816         (csloww): Likewise.
27817         (csloww1): Likewise.
27818         (csloww2): Likewise.
27819         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
27820         range_reduce.  Merge in __mpsin1.
27821         (__mpcos): Likewise.
27822         (__mpsin1): Remove.
27823         (__mpcos1): Likewise.
27825 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
27827         * locale/loadlocale.c (_nl_intern_locale_data): Use
27828         LOCFILE_ALIGNED_P.
27829         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
27830         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
27831         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
27832         obstack data is appropriately aligned.
27833         (obstack_int32_grow_fast): Likewise.
27834         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
27835         * locale/programs/locfile.c (add_locale_uint32): Likewise.
27836         (add_locale_uint32_array): Likewise.
27838 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
27840         * benchtests/Makefile: Remove ARGLIST and RET variables.
27841         ($(objpfx)bench-%.c): Pass only function name to the script.
27842         * benchtests/README: Update documentation.
27843         * benchtests/acos-inputs: Add new directives.
27844         * benchtests/acosh-inputs: Likewise.
27845         * benchtests/asin-inputs: Likewise.
27846         * benchtests/asinh-inputs: Likewise.
27847         * benchtests/atan-inputs: Likewise.
27848         * benchtests/atanh-inputs: Likewise.
27849         * benchtests/cos-inputs: Likewise.
27850         * benchtests/cosh-inputs: Likewise.
27851         * benchtests/exp-inputs: Likewise.
27852         * benchtests/log-inputs: Likewise.
27853         * benchtests/pow-inputs: Likewise.
27854         * benchtests/rint-inputs: Likewise.
27855         * benchtests/sin-inputs: Likewise.
27856         * benchtests/sinh-inputs: Likewise.
27857         * benchtests/tan-inputs: Likewise.
27858         * benchtests/tanh-inputs: Likewise.
27859         * scripts/bench.pl: Add support for new directives.
27861 2013-10-07  Alan Modra  <amodra@gmail.com>
27863         * README: Fix careless merge.
27865 2013-10-05  Alan Modra  <amodra@gmail.com>
27867         * NEWS: Mention powerpc64le support and bugs fixed.
27868         * README: Both big-endian and little-endian powerpc64 supported.
27870 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27872         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
27873         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
27874         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
27875         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
27877 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
27879         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
27880         match prototype.
27882 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
27884         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
27885         Move -mhard-float appending from
27886         ports/sysdeps/powerpc/powerpc32/Makefile.
27887         [$(with-fp) = yes] (ASFLAGS): Likewise.
27888         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
27889         * sysdeps/powerpc/nofpu: Move directory from
27890         ports/sysdeps/powerpc/nofpu.
27891         * sysdeps/powerpc/soft-fp: Move directory from
27892         ports/sysdeps/powerpc/soft-fp.
27893         * sysdeps/powerpc/powerpc32/405: Move directory from
27894         ports/sysdeps/powerpc/powerpc32/405.
27895         * sysdeps/powerpc/powerpc32/440: Move directory from
27896         ports/sysdeps/powerpc/powerpc32/440.
27897         * sysdeps/powerpc/powerpc32/464: Move directory from
27898         ports/sysdeps/powerpc/powerpc32/464.
27899         * sysdeps/powerpc/powerpc32/476: Move directory from
27900         ports/sysdeps/powerpc/powerpc32/476.
27901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
27902         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
27903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
27904         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
27905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
27906         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
27907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
27908         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
27909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
27910         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
27911         * README: Update for powerpc-*-linux-gnu software floating point
27912         support in libc.
27914         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
27915         case to powerpc/powerpc32*.
27916         * sysdeps/unix/sysv/linux/configure: Regenerated.
27918         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
27919         (_FPU_MASK_OM): Define as 0x04.
27920         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
27921         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
27922         0x00c10080.
27923         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
27924         0x0000003c.
27925         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
27927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
27928         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
27929         getcontext_e500.
27930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
27931         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
27932         setcontext_e500.
27933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
27934         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
27935         and setcontext_e500.
27937 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
27939         * locale/iso-3166.def: Update iso-1366.def and related occurrences
27941 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27943         * manual/threads.texi (Default Thread Attributes): Fix typo.
27945 2013-10-04  Will Newton  <will.newton@linaro.org>
27947         * malloc/Makefile: Add tst-memalign.
27948         * malloc/tst-memalign.c: New file.
27950         * malloc/tst-posix_memalign.c: Add comments.
27951         (do_test): Add comments and call free on all potentially
27952         allocated pointers. Add space after cast.
27954         * malloc/tst-pvalloc.c: Add comments.
27955         (do_test): Add comments and call free on all potentially
27956         allocated pointers. Remove duplicate check for NULL pointer.
27957         Add space after cast.
27959         * malloc/tst-valloc.c: Add comments.
27960         (do_test): Add comments and call free on all potentially
27961         allocated pointers. Remove duplicate check for NULL pointer.
27962         Add space after cast.
27964 2013-10-04  Alan Modra  <amodra@gmail.com>
27966         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27967         Use stdint types in rather than __attribute__((mode())).
27968         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27970 2013-10-04  Alan Modra  <amodra@gmail.com>
27972         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27973         Correct handling of unaligned relocs for little-endian.
27974         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27976 2013-10-04  Alan Modra  <amodra@gmail.com>
27978         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
27979         * configure: Regenerate.
27980         * nptl/shlib-versions: Powerpc*le starts at 2.18.
27981         * shlib-versions: Likewise.
27983 2013-10-04  Alan Modra  <amodra@gmail.com>
27985         * string/tester.c (test_memrchr): Increment reported test cycle.
27987 2013-10-04  Alan Modra  <amodra@gmail.com>
27989         * string/test-memcpy.c (do_one_test): When reporting errors, print
27990         string address and don't overrun end of string.
27992 2013-10-04  Alan Modra  <amodra@gmail.com>
27994         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
27995         insrdi.  Make better use of reg selection to speed exit slightly.
27996         Schedule entry path a little better.  Remove useless "are we done"
27997         checks on entry to main loop.  Handle wrapping around zero address.
27998         Correct main loop count.  Handle single left-over word from main
27999         loop inline rather than by using loop_small.  Remove extra word
28000         case in loop_small caused by wrong loop count.  Add little-endian
28001         support.
28002         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28003         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
28004         cache hint.
28005         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28006         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
28007         support.  Avoid rlwimi.
28008         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
28010 2013-10-04  Alan Modra  <amodra@gmail.com>
28012         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
28013         insrdi.  Formatting.
28014         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
28015         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28016         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
28017         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
28018         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
28019         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
28021 2013-10-04  Alan Modra  <amodra@gmail.com>
28023         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
28024         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28025         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
28026         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
28027         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28028         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28029         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28030         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28031         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
28032         use of regs.  Use power7 mtocrf.  Tidy function tails.
28034 2013-10-04  Alan Modra  <amodra@gmail.com>
28036         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
28037         Formatting.  Consistently use rXXX register defines or rN defines.
28038         Use early exit labels that avoid restoring unused non-volatile regs.
28039         Make cr field use more consistent with rWORDn compares.  Rename
28040         regs used as shift registers for unaligned loop, using rN defines
28041         for short lifetime/multiple use regs.
28042         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28043         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
28044         addi 1,1,64 to pop stack frame.  Simplify return value code.
28045         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28047 2013-10-04  Alan Modra  <amodra@gmail.com>
28049         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
28050         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
28051         rather than rlwimi.
28052         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
28053         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
28054         little-endian support.  Correct typos.
28055         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
28056         rather than rlwimi.
28057         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
28058         in loop and entry code to keep "and." results.
28059         (strchr): Add little-endian support.  Comment.  Move cntlzd
28060         earlier in tail.
28061         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
28063 2013-10-04  Alan Modra  <amodra@gmail.com>
28065         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
28066         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
28067         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
28068         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
28070 2013-10-04  Alan Modra  <amodra@gmail.com>
28072         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
28073         (rTMP): Define as r11.
28074         (strcmp): Add little-endian support.  Optimise tail.
28075         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
28076         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28077         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28078         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28079         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28080         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28081         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28083 2013-10-04  Alan Modra  <amodra@gmail.com>
28085         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
28086         little-endian support.  Remove unnecessary "are we done" tests.
28087         Handle "s" wrapping around zero and extremely large "size".
28088         Correct main loop count.  Handle single left-over word from main
28089         loop inline rather than by using small_loop.  Correct comments.
28090         Delete "zero" tail, use "end_max" instead.
28091         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
28093 2013-10-04  Alan Modra  <amodra@gmail.com>
28095         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
28096         support.  Don't branch over align.
28097         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
28098         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
28099         support.  Rearrange tmp reg use to suit.  Comment.
28100         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
28102 2013-10-04  Alan Modra  <amodra@gmail.com>
28104         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
28106 2013-10-04  Alan Modra  <amodra@gmail.com>
28108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
28109         conditional form of branch and link when obtaining pc.
28110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
28112 2013-10-04  Alan Modra  <amodra@gmail.com>
28114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
28115         HIWORD/LOWORD.
28116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
28117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
28119 2013-10-04  Alan Modra  <amodra@gmail.com>
28121         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
28122         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
28123         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
28124         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
28125         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
28126         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28127         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
28128         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28129         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
28130         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
28132 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28133             Alistair Popple <alistair@ozlabs.au.ibm.com>
28134             Alan Modra <amodra@gmail.com>
28136         [BZ #15723]
28137         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
28138         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
28139         _dl_hwcap access for little-endian.
28140         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
28141         destroy vmx regs when saving unaligned.
28142         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
28143         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
28144         destroy vmx regs when saving unaligned.
28146 2013-10-04  Alan Modra  <amodra@gmail.com>
28148         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
28149         Don't use a union to pack hi/low value.
28151 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28153         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
28154         for little-endian.
28155         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
28156         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
28157         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28158         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
28159         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
28161 2013-10-04  Alan Modra  <amodra@gmail.com>
28163         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
28164         constants to usual value for .cst8 section, and remove redundant
28165         high address load.
28166         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
28167         constant for 0x1p52.  Load little-endian words of double from
28168         correct stack offsets.
28170 2013-10-04  Alan Modra  <amodra@gmail.com>
28172         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
28173         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
28174         words of double from correct stack offsets.
28175         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
28176         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
28177         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
28178         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
28179         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
28180         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
28181         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
28182         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
28183         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
28184         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
28185         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
28186         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
28187         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28188         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28189         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28190         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
28191         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
28193 2013-10-04  Alan Modra  <amodra@gmail.com>
28195         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
28196         64-bit int/double union.
28197         (_FPU_SETCW): Likewise.
28198         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
28199         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
28201 2013-10-04  Alan Modra  <amodra@gmail.com>
28203         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
28204         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
28206 2013-10-04  Alan Modra  <amodra@gmail.com>
28208         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
28209         use vector int constants.
28210         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
28212 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28214         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
28215         array with long long.
28216         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
28217         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
28218         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
28219         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
28220         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
28221         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
28222         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
28223         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
28224         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
28225         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
28226         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
28227         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
28228         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
28230 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28232         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
28233         (__signbit): Likewise.  Correct for little-endian.
28234         (__signbitl): Call __signbit.
28235         (lrint): Correct for little-endian.
28236         (lrintf): Call lrint.
28238 2013-10-04  Alan Modra  <amodra@gmail.com>
28240         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
28241         union 32-bit int array member with 64-bit int array.
28242         (t515, tm256): Double rather than long double.
28243         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
28245 2013-10-04  Alan Modra  <amodra@gmail.com>
28247         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
28248         Delete.
28249         (IEEE854_LONG_DOUBLE_BIAS): Delete.
28250         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
28251         version of math_ldbl.h.
28253 2013-10-04  Alan Modra  <amodra@gmail.com>
28255         [BZ #15734], [BZ #15735]
28256         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
28257         all uses of ieee875 long double macros and unions.  Simplify test
28258         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
28259         ldbl_extract_mantissa value for ix,iy exponents.  Properly
28260         normalize after ldbl_extract_mantissa, and don't add hidden bit
28261         already handled.  Don't treat low word of ieee854 mantissa like
28262         low word of IBM long double and mask off bit when testing for
28263         zero.
28264         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
28265         all uses of ieee875 long double macros and unions.  Simplify tests
28266         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
28267         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
28268         two1022, instead use their values.  Recognise that tests for large
28269         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
28270         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
28271         Rewrite all uses of ieee875 long double macros and unions.  Simplify
28272         test for 0.0L and nan.  Correct negation.
28273         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
28274         ieee875 long double macros and unions.  Correct output for large
28275         magnitude x.  Correct absolute value calculation.
28276         (__erfcl): Likewise.
28277         * math/libm-test.inc: Add tests for errors discovered in IBM long
28278         double versions of fmodl, remainderl, erfl and erfcl.
28280 2013-10-04  Alan Modra  <amodra@gmail.com>
28282         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
28283         all uses of ieee854 long double macros and unions.  Simplify tests
28284         for long doubles that are fully specified by the high double.
28285         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
28286         Likewise.
28287         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
28288         Remove dead code too.
28289         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
28290         (__ieee754_ynl): Likewise.
28291         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
28292         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
28293         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
28294         Remove dead code too.
28295         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
28296         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
28297         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
28298         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
28299         Simplify.
28300         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
28301         Simplify.
28302         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
28303         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
28304         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
28305         Comment on variable precision.
28306         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
28307         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28308         Likewise.
28309         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
28310         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28311         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28312         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
28313         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
28315 2013-10-04  Alan Modra  <amodra@gmail.com>
28317         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
28318         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
28319         all uses of ieee854 long double macros and unions.
28320         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
28321         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
28322         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
28323         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
28324         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
28325         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
28326         Likewise.
28327         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
28328         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28329         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
28330         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28331         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
28332         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
28333         Simplify sign and nan test too.
28334         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
28335         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
28336         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
28337         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
28338         Likewise.
28339         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
28340         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
28341         Likewise.
28342         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28343         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
28344         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
28345         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
28346         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
28347         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
28349 2013-10-04  Alan Modra  <amodra@gmail.com>
28351         * stdio-common/printf_size.c (__printf_size): Don't use
28352         union ieee854_long_double in fpnum union.
28353         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
28354         signbit macro to retrieve sign from long double.
28355         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
28356         retrieve sign from long double.
28357         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
28358         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
28359         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
28360         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28361         * math/test-misc.c (main): Don't use union ieee854_long_double.
28363 2013-10-04  Alan Modra  <amodra@gmail.com>
28365         [BZ #15680]
28366         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
28367         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
28368         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
28369         calculation.  Remove unnecessary test for denormal exponent.
28370         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
28371         Correct handling of denormals.  Avoid undefined shift behaviour.
28372         Correct normalisation of low mantissa when low double is denormal.
28373         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
28374         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
28375         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
28376         Correct normalisation of low mantissa.  Test for overflow of high
28377         mantissa and normalise.
28378         (ldbl_nearbyint): Use more readable constant for two52.
28379         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
28380         (__mpn_construct_long_double): Fix test for overflow of high
28381         mantissa and correct normalisation.  Avoid undefined shift.
28383 2013-10-04  Alan Modra  <amodra@gmail.com>
28385         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
28386         (union ibm_extended_long_double): Define as an array of ieee754_double.
28387         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
28388         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
28389         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
28390         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
28391         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28392         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
28393         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28394         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28395         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28396         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
28397         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28399 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
28401         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
28402         page size instead of calling getpagesize.
28404         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
28405         (LOCFILE_ALIGN_MASK): Likewise.
28406         (LOCFILE_ALIGN_UP): Likewise.
28407         (LOCFILE_ALIGNED_P): Likewise.
28408         * locale/programs/ld-collate.c (collate_output): Use the new
28409         macros instead of __alignof__ (int32_t).
28410         * locale/weight.h (findidx): Likewise.
28412 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
28414         [BZ #431]
28415         * manual/string.texi: Fix strncat and wcsncat.
28417 2013-10-03  Brooks Moses  <bmoses@google.com>
28419         [BZ #15915]
28420         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
28421         * Makerules: ...here, and adjust associated comments.
28423 2013-10-02  Will Newton  <will.newton@linaro.org>
28425         * malloc/Makefile: Add tst-pvalloc.
28426         * malloc/tst-pvalloc.c: New file.
28428 2013-10-02  Will Newton  <will.newton@linaro.org>
28430         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
28431         improve test coverage.
28433 2013-10-02  Will Newton  <will.newton@linaro.org>
28435         * malloc/Makefile: Add tst-posix_memalign.
28436         * malloc/tst-posix_memalign.c: New file.
28438 2013-10-01  Eric Blake  <eblake@redhat.com>
28440         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
28441         Use __THROWNL rather than __THROW on static functions.
28443 2013-09-30  Petr Machata  <pmachata@redhat.com>
28445         * elf/elf.h (R_AARCH64_ABS16): New macro.
28446         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
28447         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
28448         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
28449         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
28450         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
28451         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
28452         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
28453         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
28454         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
28455         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
28456         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
28457         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
28458         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
28459         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
28460         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
28461         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
28462         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
28463         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
28464         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
28465         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
28466         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
28467         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
28468         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
28469         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
28470         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
28471         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
28472         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
28473         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
28474         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
28475         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
28476         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
28477         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
28478         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
28479         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
28480         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
28481         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
28482         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
28483         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
28484         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
28485         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
28486         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
28487         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
28488         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
28489         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
28490         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
28491         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
28492         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
28493         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
28494         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
28495         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
28496         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
28497         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
28498         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
28499         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
28500         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
28501         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
28502         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
28503         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
28504         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
28505         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
28506         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
28507         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
28508         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
28509         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
28510         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
28511         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
28512         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
28513         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
28514         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
28515         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
28516         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
28517         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
28518         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
28519         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
28520         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
28521         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
28522         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
28523         (R_AARCH64_TLSDESC_LDR): Likewise.
28524         (R_AARCH64_TLSDESC_ADD): Likewise.
28525         (R_AARCH64_TLSDESC_CALL): Likewise.
28527 2013-09-30  Andreas Schwab  <schwab@suse.de>
28529         [BZ #15048]
28530         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
28531         the nss database lookup.
28532         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28533         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28535 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
28537         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
28539 2013-09-28  P. J. McDermott  <pj@pehjota.net>
28541         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
28542         ${Bash-specific parameter/pattern/string} parameter expansion.
28543         * sysdeps/unix/make-syscalls.sh: Likewise.
28545 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28547         * sysdeps/sh/stackguard-macros.h: New file.
28549 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
28551         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
28552         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
28553         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
28554         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
28555         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28556         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
28558 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28560         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
28561         Fix thread ID register.
28563 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
28565         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
28566         [POSIX || UNIX98]: Require rather than permitting all symbols from
28567         <time.h>.
28568         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
28569         element of struct sched_param.
28570         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
28571         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
28572         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
28573         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
28574         constant.
28576 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
28578         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
28579         argument calculation.
28581 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
28583         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
28584         Expect macro.
28585         [POSIX] (pthread_attr_t): Do not require type.
28586         [POSIX] (pthread_cond_t): Likewise.
28587         [POSIX] (pthread_condattr_t): Likewise.
28588         [POSIX] (pthread_key_t): Likewise.
28589         [POSIX] (pthread_mutex_t): Likewise.
28590         [POSIX] (pthread_mutexattr_t): Likewise.
28591         [POSIX] (pthread_once_t): Likewise.
28592         [POSIX] (pthread_t): Likewise.
28593         [POSIX-based standards] (pthread_atfork): Expect function.
28595 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
28596             Richard Sandiford  <richard@codesourcery.com>
28598         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
28599         (swap_endianness_p): New extern variable.
28600         (set_big_endian): New inline function.
28601         (maybe_swap_uint32): Likewise.
28602         (maybe_swap_uint32_array): Likewise.
28603         (maybe_swap_uint32_obstack): Likewise.
28604         * locale/programs/locfile.c: Include <stdbool.h>.
28605         (swap_endianness_p): New variable.
28606         (add_locale_uint32): Call maybe_swap_uint32.
28607         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
28608         (write_locale_data): Call maybe_swap_uint32_array.
28609         * locale/programs/ld-collate.c (obstack_int32_grow): Call
28610         maybe_swap_uint32.
28611         (obstack_int32_grow_fast): Likewise.
28612         (output_weightwc): Call maybe_swap_uint32_obstack.
28613         (collate_output): Likewise.
28614         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
28615         (OPT_LITTLE_ENDIAN): Likewise.
28616         (options): Add --little-endian and --big-endian options.
28617         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
28618         * locale/programs/locarchive.c: Include "locfile.h".
28619         (GET): New macro.
28620         (SET): Likewise.
28621         (INC): Likewise.
28622         (create_archive): Use the new macros to access fields of
28623         structures directly mapped from or written to locale archives.
28624         (oldlocrecentcmp): Likewise.
28625         (enlarge_archive): Likewise.
28626         (insert_name): Likewise.
28627         (add_alias): Likewise.
28628         (add_locale): Likewise.
28629         (delete_locales_from_archive): Likewise.
28630         (show_archive_content): Likewise.
28631         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
28632         locale data.
28634 2013-09-24  Roland McGrath  <roland@hack.frob.com>
28636         * manual/freemanuals.texi: Updated from (newly) canonical copy at
28637         http://www.gnu.org/doc/freemanuals.texi.
28638         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
28640 2013-09-24  Will Newton  <will.newton@linaro.org>
28642         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
28643         macro.
28645 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
28647         * locale/hashval.h (compute_hashval): Interpret bytes of key as
28648         unsigned char.
28650 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
28652         * manual/threads.texi (POSIX Threads): Fix a typo.
28654 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
28656         [BZ #14547]
28657         * string/tst-strcoll-overflow.c: New test case.
28658         * string/Makefile (xtests): Add tst-strcoll-overflow.
28659         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
28660         cache if string sizes may cause integer overflow.
28662         [BZ #14547]
28663         * string/strcoll_l.c (coll_seq): New members rule, idx,
28664         save_idx and back_us.
28665         (get_next_seq_nocache): New function.
28666         (do_compare_nocache): New function.
28667         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
28668         when malloc fails.
28670 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
28672         [BZ #15754]
28673         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
28674         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
28675         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
28677         [BZ #15754]
28678         * elf/Makefile (tests): Add tst-ptrguard1.
28679         (tests-static): Add tst-ptrguard1-static.
28680         (tst-ptrguard1-ARGS): Define.
28681         (tst-ptrguard1-static-ARGS): Define.
28682         * elf/tst-ptrguard1.c: New file.
28683         * elf/tst-ptrguard1-static.c: New file.
28684         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
28685         * sysdeps/i386/stackguard-macros.h: Likewise.
28686         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28687         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28688         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28689         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28690         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28691         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28693 2013-09-23  Hector Marco  <hecmargi@upv.es>
28694             Ismael Ripoll  <iripoll@disca.upv.es>
28695             Carlos O'Donell  <carlos@redhat.com>
28697         [BZ #15754]
28698         * sysdeps/generic/stackguard-macros.h: Define
28699         __pointer_chk_guard_local and POINTER_CHK_GUARD.
28700         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
28701         Define __pointer_chk_guard_local.
28702         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
28703         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
28705 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
28707         [BZ #15859]
28708         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
28710 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
28712         * include/string.h (__ffs): Declare as hidden.
28713         * string/ffs.c (__ffs): Define as hidden.
28714         * sysdeps/i386/ffs.c (__ffs): Likewise.
28715         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
28716         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
28717         * sysdeps/s390/ffs.c (__ffs): Likewise.
28718         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
28720 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
28722         * NEWS: Mention malloc probes.
28724         * malloc/arena.c (new_heap): New memory_heap_new probe.
28725         (grow_heap): New memory_heap_more probe.
28726         (shrink_heap): New memory_heap_less probe.
28727         (heap_trim): New memory_heap_free probe.
28728         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
28729         (systrim): New memory_sbrk_less probe.
28730         * manual/probes.texi: Document them.
28732         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
28733         * manual/probes.texi: Document it.
28735         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
28736         (__libc_realloc): Add memory_realloc_retry probe.
28737         (__libc_memalign): Add memory_memalign_retry probe.
28738         (__libc_valloc): Add memory_valloc_retry probe.
28739         (__libc_pvalloc): Add memory_pvalloc_retry probe.
28740         (__libc_calloc): Add memory_calloc_retry probe.
28741         * manual/probes.texi: Document them.
28743         * malloc/arena.c (get_free_list): Add probe
28744         memory_arena_reuse_free_list.
28745         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
28746         and memory_arena_reuse.
28747         (arena_get2) [!PER_THREAD]: Likewise.
28748         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
28749         memory_arena_reuse_realloc.
28750         * manual/probes.texi: Document them.
28752         * malloc/malloc.c (__libc_free): Add
28753         memory_mallopt_free_dyn_thresholds probe.
28754         (__libc_mallopt): Add multiple memory_mallopt probes.
28755         * manual/probes.texi: Document them.
28757         * malloc/malloc.c: Include stap-probe.h.
28758         (__libc_mallopt): Add memory_mallopt probe.
28759         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
28760         * manual/probes.texi: New.
28761         * manual/Makefile (chapters): Add probes.
28762         * manual/threads.texi: Set next node.
28764 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
28766         [BZ #15963, #13985]
28767         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
28768         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
28769         Add `Chinese' to `nan' entry name.
28771 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28773         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
28774         (POLYNOMIAL): Likewise.
28775         (TAYLOR_SINCOS): Likewise.
28776         (TAYLOR_SLOW): Likewise.
28777         (__sin): Use TAYLOR_SINCOS.
28778         (__cos): Likewise.
28779         (slow): Use TAYLOR_SLOW.
28780         (sloww): Likewise.
28781         (bsloww): Likewise.
28782         (csloww): Likewise.
28784 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28786         * stdlib/strtod_l.c: Fix buffer overrun.
28788 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28790         * benchtests/Makefile (bench): Add sincos.
28791         * benchtests/bench-sincos.c: New file.
28793         * math/libm-test.inc (cos_test_data): New test inputs.
28794         (sin_test_data): Likewise.
28796         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
28797         macro.
28798         (__sin): Use it.
28799         (__cos): Likewise.
28800         (slow1): Likewise.
28801         (slow2): Likewise.
28802         (sloww1): Likewise.
28803         (sloww2): Likewise.
28804         (bsloww1): Likewise.
28805         (bsloww2): Likewise.
28806         (cslow2): Likewise.
28807         (csloww1): Likewise.
28808         (csloww2): Likewise.
28810         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
28811         function.
28812         (__sin): Use it.
28813         (__cos): Likewise.
28815         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
28816         gotos.
28817         (__cos): Likewise.
28819 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
28821         * config.h.in (HAVE_MIPS_NAN2008): New macro.
28822         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
28823         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
28824         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
28825         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
28826         * elf/cache.c (print_entry): Handle the new cache flags.
28828 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
28829             Aldy Hernandez  <aldyh@redhat.com>
28831         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
28832         Change condition to [_SOFT_FLOAT].
28833         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
28834         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
28835         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
28836         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
28837         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
28838         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
28839         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
28840         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
28841         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
28842         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
28843         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
28844         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
28845         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
28846         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
28847         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
28848         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
28849         declaration.
28851 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
28853         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
28854         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
28855         (__longjmp): Use LOAD_GP to load saved GPRs.
28856         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
28857         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
28858         (__sigsetjmp): Use SAVE_GP to save GPRs.
28860         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
28861         Do not append -msoft-float.
28862         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
28864 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28866         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
28868 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
28870         [BZ #15966]
28871         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
28872         (_FPU_GETCW): Use initial "__" on variable and field names but not
28873         on macro parameter name.
28874         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
28875         parentheses around reference to macro parameter.
28877 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
28879         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
28880         prototype.
28881         (ctype_startup): Use uint32_t in cast and sizeof for
28882         ctype->charnames.
28884 2013-09-11  Jia Liu  <proljc@gmail.com>
28886         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
28887         __daddr_t_defined.
28888         [__FreeBSD__]: Likewise.
28890 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
28892         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
28893         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
28894         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
28895         (strchr): Remove __strchr_sse42 ifunc selection.
28896         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
28897         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
28899 2013-09-11  Will Newton  <will.newton@linaro.org>
28901         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
28902         parameter to RES. Remove hardcoded 1000 value.
28903         * benchtests/bench-skeleton.c (main): Pass RES parameter
28904         to TIMING_INIT and multiply result by 1000.
28906 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28908         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28910 2013-09-11  Andreas Schwab  <schwab@suse.de>
28912         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
28913         if not defined.
28914         (O_TMPFILE) [__USE_GNU]: Define.
28915         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
28916         Define.
28918 2013-09-11  Will Newton  <will.newton@linaro.org>
28920         [BZ #15857]
28921         * malloc/malloc.c (__libc_memalign): Check the value of bytes
28922         does not overflow.
28924 2013-09-11  Will Newton  <will.newton@linaro.org>
28926         [BZ #15856]
28927         * malloc/malloc.c (__libc_valloc): Check the value of bytes
28928         does not overflow.
28930 2013-09-11  Will Newton  <will.newton@linaro.org>
28932         [BZ #15855]
28933         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
28934         does not overflow.
28936 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
28938         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
28939         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28940         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28941         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28942         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28944 2013-09-10  Allan McRae  <allan@archlinux.org>
28946         [BZ #15748]
28947         * manual/arith.texi (Parsing of Floats): Clarify
28948         cross-reference.
28950         [BZ #15849]
28951         * manual/install.texi (Running make install): Mention
28952         --enable-pt-chown.
28953         * INSTALL: Regenerated.
28955 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
28957         * csu/init-first.c (_init): Remove the !SHARED condition around
28958         FPU control word initialization.
28959         * elf/dl-support.c (_dl_fpu_control): New variable.
28960         (_dl_aux_init) <AT_FPUCW>: Initialize it.
28961         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
28962         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
28963         * math/test-fpucw-static.c: New file.
28964         * math/test-fpucw-ieee.c: New file.
28965         * math/test-fpucw-ieee-static.c: New file.
28966         * math/Makefile (tests): Add `test-fpucw-ieee' and
28967         `$(tests-static)'.
28968         (tests-static): New variable.
28969         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
28970         dependency to...
28971         [($(build-shared),yes)]
28972         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
28973         ... this.
28974         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
28975         New dependency.
28977 2013-09-09  Allan McRae  <allan@archlinux.org>
28979         [BZ #15939]
28980         * manual/string.texi (Collation Functions): Fix typo in
28981         strcoll example.
28982         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
28984         [BZ #15893]
28985         * stdlib/isomac.c (get_null_defines): Fix memory leak.
28987         [BZ #15892]
28988         * libio/memstream.c (open_memstream): Fix memory leak.
28989         * libio/wmemstream.c (open_wmemstream): Likewise.
28991         [BZ #15895]
28992         * nscd/netgroupcache.c: Fix nesting of ifdefs.
28994 2013-09-09  Will Newton  <will.newton@linaro.org>
28996         * malloc/Makefile: Add tst-realloc to tests.
28997         * malloc/tst-realloc.c: New file.
28999 2013-09-09  Allan McRae  <allan@archlinux.org>
29001         [BZ #15844]
29002         * COPYING: Update from GNU website to fix FSF address.
29003         * COPYING.LIB: Likewise.
29005 2013-09-06  David S. Miller  <davem@davemloft.net>
29007         * po/zh_TW.po: Update Chinese (traditional) translation from
29008         translation project.
29010 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
29011             Joseph Myers  <joseph@codesourcery.com>
29013         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
29014         "localeinfo.h".
29015         (obstack_chunk_alloc): New macro.
29016         (obstack_chunk_free): Likewise.
29017         (record_offset): New function.
29018         (init_locale_data): Likewise.
29019         (align_locale_data): Likewise.
29020         (add_locale_empty): Likewise.
29021         (add_locale_raw_data): Likewise.
29022         (add_locale_raw_obstack): Likewise.
29023         (add_locale_string): Likewise.
29024         (add_locale_wstring): Likewise.
29025         (add_locale_uint32): Likewise.
29026         (add_locale_uint32_array): Likewise.
29027         (add_locale_char): Likewise.
29028         (start_locale_structure): Likewise.
29029         (end_locale_structure): Likewise.
29030         (start_locale_prelude): Likewise.
29031         (end_locale_prelude): Likewise.
29032         (write_locale_data): Take locale_file structure rather than an
29033         iovec.
29034         * locale/programs/locfile.h: Include "obstack.h".
29035         (struct locale_file): Change to store locale file contents instead
29036         of header.
29037         (init_locale_data): New prototype.
29038         (align_locale_data): Likewise.
29039         (add_locale_empty): Likewise.
29040         (add_locale_raw_data): Likewise.
29041         (add_locale_raw_obstack): Likewise.
29042         (add_locale_string): Likewise.
29043         (add_locale_wstring): Likewise.
29044         (add_locale_uint32): Likewise.
29045         (add_locale_uint32_array): Likewise.
29046         (add_locale_char): Likewise.
29047         (start_locale_structure): Likewise.
29048         (end_locale_structure): Likewise.
29049         (start_locale_prelude): Likewise.
29050         (end_locale_prelude): Likewise.
29051         (write_locale_data): Update prototype.
29052         * locale/programs/3level.h (struct TABLE): Remove result field.
29053         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
29054         Use new locale_file interface.
29055         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
29056         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
29057         * locale/programs/ld-address.c (address_output): Use new
29058         locale_file interface.
29059         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
29060         NO_ADD_LOCALE.
29061         (collate_finish): Don't call collseq_table_finalize.
29062         (collate_output): Use new locale_file interface.
29063         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
29064         in file.
29065         (NO_FINALIZE): Change to NO_ADD_LOCALE.
29066         (TABLE): Move defines earlier in file.
29067         (ELEMENT): Likewise.
29068         (DEFAULT): Likewise.
29069         (wctrans_table_add): Move macro and inline function earlier in
29070         file.
29071         (struct wctype_table): Move type earlier in file.
29072         (add_locale_wctype_table): New static prototype.
29073         (struct locale_ctype_t): Use logical types instead of struct iovec
29074         pointers for members.
29075         (ctype_output): Use new locale_file interface.
29076         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
29077         new locale_file interface.
29078         (allocate_arrays): Update for use of new locale_file interface.
29079         * locale/programs/ld-identification.c (identification_output): Use
29080         new locale_file interface.
29081         * locale/programs/ld-measurement.c (measurement_output): Likewise.
29082         * locale/programs/ld-messages.c (messages_output): Likewise.
29083         * locale/programs/ld-monetary.c (monetary_output): Likewise.
29084         * locale/programs/ld-name.c (name_output): Likewise.
29085         * locale/programs/ld-numeric.c (numeric_output): Likewise.
29086         * locale/programs/ld-paper.c (paper_output): Likewise.
29087         * locale/programs/ld-telephone.c (telephone_output): Likewise.
29088         * locale/programs/ld-time.c (time_output): Likewise.
29090 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29092         * benchtests/Makefile: Add memrchr benchmark.
29093         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
29094         benchmark as memrchr.
29095         * benchtests/bench-memrchr-ifunc.c: New file.
29096         * benchtests/bench-memrchr.c: New file.
29098 2013-09-06   Will Newton  <will.newton@linaro.org>
29100         * benchtests/Makefile (string-bench): Add memcpy.
29102 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
29103             Cong Wang  <amwang@redhat.com>
29105         [BZ #15850]
29106         * sysdeps/unix/sysv/linux/bits/in.h
29107         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
29108         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
29109         before __USE_KERNEL_IPV6_DEFS uses.
29110         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
29111         IPPROTO_BEETPH.
29112         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
29113         sockaddr_in6, or ipv6_mreq.
29115 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29117         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
29118         memory access for final bytes in some large inputs.
29119         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
29121 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29123         * string/test-memrchr.c: New file.
29124         * string/test-memrchr-ifunc.c: New file.
29125         * string/Makefile: Add new memrchr testcase.
29127 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
29129         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
29130         fanotify_init returns EPERM.
29132 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
29134         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
29135         errors.
29136         (top level): Treat second token from macro or constant entries for
29137         allowed headers as allowed.
29138         * include/complex.h: Condition internal declarations on
29139         [!_ISOMAC].
29140         * include/fenv.h: Condition include of <stdbool.h> and internal
29141         declarations on [!_ISOMAC].
29143 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
29145         [BZ #15923]
29146         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
29148 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
29150         * configure.in (--enable-versioning): Remove configure option.
29151         (libc_cv_asm_symver_directive): Remove configure test.
29152         (libc_cv_ld_version_script_option): Likewise.
29153         (VERSIONING): Remove variable and AC_SUBST.
29154         (DO_VERSIONING): Remove AC_DEFINE.
29155         * configure: Regenerated.
29156         * config.h.in (DO_VERSIONING): Remove macro.
29157         * Makerules [$(versioning) = yes]: Change conditionals to
29158         [$(build-shared) = yes].
29159         * config.make.in (versioning): Remove variable.
29160         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
29161         [$(build-shared) = yes].
29162         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
29163         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
29164         * elf/Makefile [$(versioning) = yes]: Change conditionals to
29165         [$(build-shared) = yes].
29166         * extra-lib.mk [$(versioning) = yes]: Likewise.
29167         * hurd/Makefile [$(versioning) = yes]: Likewise.
29168         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
29169         [SHARED].
29170         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
29171         [SHARED].
29172         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
29173         [SHARED && !NO_HIDDEN].
29174         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
29175         [SHARED].
29176         [SHARED && DO_VERSIONING]: Likewise..
29177         * libio/Makefile [$(versioning) = yes]: Change conditionals to
29178         [$(build-shared) = yes].
29179         * manual/install.texi (--disable-versioning): Remove
29180         documentation.
29181         * INSTALL: Regenerated.
29182         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
29183         to [SHARED].
29184         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
29185         [$(build-shared) = yes].
29186         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
29187         * sysdeps/i386/i686/multiarch/strstr-c.c
29188         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
29189         [SHARED && !NO_HIDDEN].
29190         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
29191         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
29192         * sysdeps/powerpc/powerpc32/dl-machine.c
29193         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
29194         * sysdeps/powerpc/powerpc32/sysdep.h
29195         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
29196         to [SHARED && PIC && !NO_HIDDEN].
29197         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
29198         conditional to [SHARED].
29200 2013-09-04   Will Newton  <will.newton@linaro.org>
29202         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
29203         * benchtests/bench-string.h: Include bench-timing.h instead
29204         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
29205         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
29206         call to HP_TIMING_DIFF_INIT.
29207         * benchtests/bench-memccpy.c: Use bench-timing.h macros
29208         instead of hp-timing.h macros.
29209         * benchtests/bench-memchr.c: Likewise.
29210         * benchtests/bench-memcmp.c: Likewise.
29211         * benchtests/bench-memcpy.c: Likewise.
29212         * benchtests/bench-memmem.c: Likewise.
29213         * benchtests/bench-memmove.c: Likewise.
29214         * benchtests/bench-memset.c: Likewise.
29215         * benchtests/bench-rawmemchr.c: Likewise.
29216         * benchtests/bench-strcasecmp.c: Likewise.
29217         * benchtests/bench-strcasestr.c: Likewise.
29218         * benchtests/bench-strcat.c: Likewise.
29219         * benchtests/bench-strchr.c: Likewise.
29220         * benchtests/bench-strcmp.c: Likewise.
29221         * benchtests/bench-strcpy.c: Likewise.
29222         * benchtests/bench-strcpy_chk.c: Likewise.
29223         * benchtests/bench-strlen.c: Likewise.
29224         * benchtests/bench-strncasecmp.c: Likewise.
29225         * benchtests/bench-strncat.c: Likewise.
29226         * benchtests/bench-strncmp.c: Likewise.
29227         * benchtests/bench-strncpy.c: Likewise.
29228         * benchtests/bench-strnlen.c: Likewise.
29229         * benchtests/bench-strpbrk.c: Likewise.
29230         * benchtests/bench-strrchr.c: Likewise.
29231         * benchtests/bench-strspn.c: Likewise.
29232         * benchtests/bench-strstr.c: Likewise.
29234 2013-09-04  Will Newton  <will.newton@linaro.org>
29236         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
29238 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
29240         [BZ #15427]
29241         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
29242         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
29243         * math/libm-test.inc (lgamma_test_data): Add more tests.
29244         * sysdeps/i386/fpu/libm-test-ulps: Update.
29245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29247 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
29249         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
29250         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29251         Add ifunc.
29252         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29253         Add strcmp-sse2-unaligned
29254         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
29256 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
29258         * Versions.def (libc): Add GLIBC_2.19.
29260 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
29262         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
29263         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
29265 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
29267         [BZ #14155]
29268         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
29269         intermediate calculations in recurrence.
29270         (__ieee754_ynf): Likewise.
29271         * math/libm-test.inc (jn_test_data): Do not allow spurious
29272         underflow exception.  Add more tests.
29273         (yn_test_data): Add more tests.
29274         * sysdeps/i386/fpu/libm-test-ulps: Update.
29275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29277 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
29279         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
29281 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
29283         * csu/init-first.c: Fix then/than typos.
29284         * locale/programs/ld-collate.c: Likewise.
29285         * locale/programs/linereader.h: Likewise.
29286         * manual/charset.texi: Likewise.
29287         * manual/filesys.texi: Likewise.
29288         * manual/stdio.texi: Likewise.
29289         * manual/string.texi: Likewise.
29290         * stdlib/fmtmsg.c: Likewise.
29291         * sysdeps/i386/stpncpy.S: Likewise.
29292         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29293         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
29294         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29295         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29297 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
29299         * elf/dl-open.c: Fix typos.
29300         * iconvdata/gbbig5.c: Likewise.
29301         * iconvdata/iso-2022-jp.c: Likewise.
29302         * iconv/gconv_int.h: Likewise.
29303         * iconv/loop.c: Likewise.
29304         * nis/rpcsvc/nis.h: Likewise.
29305         * resolv/ns_name.c: Likewise.
29306         * stdio-common/vfscanf.c: Likewise.
29307         * streams/stropts.h: Likewise.
29308         * sunrpc/rpc_thread.c: Likewise.
29309         * sysdeps/i386/strpbrk.S: Likewise.
29310         * sysdeps/ieee754/k_standard.c: Likewise.
29311         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29312         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29313         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
29314         * sysdeps/mach/hurd/profil.c: Likewise.
29315         * sysdeps/s390/dl-procinfo.h: Likewise.
29316         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
29317         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
29318         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
29319         * sysdeps/x86_64/dl-trampoline.S: Likewise.
29320         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29322 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
29324         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
29325         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
29327 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
29329         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
29330         aix specific files.
29331         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
29332         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
29333         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
29334         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
29335         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
29336         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
29337         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
29338         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
29340 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
29341             Roland McGrath  <roland@hack.frob.com>
29343         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
29344         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
29346 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29348         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
29349         __executable_start symbol instead of _start.
29351 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
29353         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
29354         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
29355         Move macros to...
29356         * sysdeps/gnu/ldsodefs.h: ... this new file.
29358         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
29359         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
29360         instead of ELFOSABI_LINUX.
29362         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
29363         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
29364         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
29365         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
29366         Likewise.
29367         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
29368         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
29369         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
29370         Likewise.
29371         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
29372         (ibm_extended_long_double): Add ieee_nan member.
29373         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
29374         (do_test): New function.
29376         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
29377         TEST_TRUNC.
29378         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
29379         functions, renamed from truncdfsf_test, trunctfsf_test,
29380         trunctfdf_test.
29381         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
29382         functions.
29383         (do_test): Run all these.
29385 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
29387         * argp/argp-help.c: Fix typos.
29388         * argp/argp-parse.c: Likewise.
29389         * debug/backtracesyms.c: Likewise.
29390         * elf/elf.h: Likewise.
29391         * malloc/malloc.c: Likewise.
29392         * nis/nis_print.c: Likewise.
29393         * resolv/res_comp.c: Likewise.
29394         * stdlib/stdlib.h: Likewise.
29395         * sunrpc/clnt_tcp.c: Likewise.
29396         * sunrpc/clnt_udp.c: Likewise.
29397         * sunrpc/clnt_unix.c: Likewise.
29398         * sysdeps/unix/bsd/ptsname.c: Likewise.
29399         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
29400         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
29401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
29402         Likewise.
29403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
29404         Likewise.
29405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
29406         Likewise.
29407         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
29409 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29411         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
29412         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29414 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
29416         [BZ #15897]
29417         * dlfcn/Makefile (tests): Add bug-dl-leaf.
29418         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
29419         ($(objpfx)bug-dl-leaf): New rule.
29420         ($(objpfx)bug-dl-leaf.so): Likewise.
29421         ($(objpfx)bug-dl-leaf.out): Likewise.
29422         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
29423         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
29424         * dlfcn/bug-dl-leaf.c: New test.
29425         * dlfcn/bug-dl-leaf-lib.c: Likewise.
29426         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
29427         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
29428         (dlclose): Likewise.
29429         (dlmopen): Likewise.
29431 2013-08-27  Roland McGrath  <roland@hack.frob.com>
29433         * include/netdb.h [!_ISOMAC]:
29434         Don't include <tls.h>.
29435         (h_errno, __libc_h_errno): Move declaration and macros out of
29436         [_LIBC_REENTRANT].
29438         * include/resolv.h [_RESOLV_H_]:
29439         Don't include <tls.h>.
29440         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
29441         * resolv/res_libc.c: Don't include <tls.h>.
29442         (_res): Use __attribute__ ((nocommon)) in place of
29443         __attribute__ ((section (".bss"))).
29445         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
29446         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
29448         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
29450         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
29451         only under [SIOCGIFCONF && SIOCGIFNETMASK].
29453         * resolv/res_mkquery.c: Include <sys/time.h>.
29455         * inet/ifreq.c: Moved to ...
29456         * sysdeps/unix/ifreq.c: ... here.
29457         * inet/ifreq.c: New file, true stub version.
29459         * socket/sa_len.c: New file.
29460         * socket/Makefile (aux): Add it.
29461         * sysdeps/unix/sysv/linux/Makefile
29462         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
29463         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
29464         and #include <socket/sa_len.c>.
29465         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
29466         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
29468         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
29469         * bits/socket.h: ... here.
29471         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
29472         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
29473         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
29475 2013-08-27  Andreas Schwab  <schwab@suse.de>
29477         [BZ #15736]
29478         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
29479         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
29480         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
29481         * string/test-strcasecmp.c (test_main): Run tests in several
29482         locales.
29483         * string/test-strncasecmp.c (test_main): Likewise.
29485         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
29486         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
29487         to __strcasecmp_nonascii and __strncasecmp_nonascii.
29488         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
29489         (__strncasecmp_ssse3) [PIC]: Likewise.
29491 2013-08-26  Roland McGrath  <roland@hack.frob.com>
29493         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
29495         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
29496         instead of explicitly declaring xdecrypt.
29497         * nis/nss_nis/nis-publickey.c: Likewise.
29499 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29501         [BZ #15890]
29502         * nscd/aicache.c: Include res_hconf.h.
29503         (addhstaiX): Initialize res_hconf.
29505 2013-08-26  Andreas Schwab  <schwab@suse.de>
29507         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
29508         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
29510 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29512         * nscd/aicache.c (addhstaiX): Fix indentation.
29514 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
29516         * configure.ac: Quote $build_pt_chown test.
29517         * configure: Regenerated.
29519 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
29521         [BZ #15532]
29522         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
29523         * math/s_cexpf.c (__cexpf): Likewise.
29524         * math/s_cexpl.c (__cexpl): Likewise.
29525         * math/libm-test.inc (cexp_test_data): Correct expected return
29526         value for NaN + i0.  Add another test.
29528 2013-08-22  David S. Miller  <davem@davemloft.net>
29530         * po/ca.po: Update Catalan translation from translation project.
29531         * po/uk.po: Add Ukrainian translations from translation project.
29533 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
29535         [BZ #15797]
29536         * math/s_fdim.c (__fdim): Check for infinite arguments if result
29537         is infinite, not alongside NaN test.
29538         * math/s_fdimf.c (__fdimf): Likewise.
29539         * math/s_fdiml.c (__fdiml): Likewise.
29540         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
29541         errno is unchanged.
29543 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
29545         * argp/argp-help.c: Fix typos.
29546         * crypt/speeds.c: Likewise.
29547         * csu/check_fds.c: Likewise.
29548         * elf/dl-load.c: Likewise.
29549         * elf/dl-open.c: Likewise.
29550         * elf/reldep3.c: Likewise.
29551         * elf/reldep.c: Likewise.
29552         * elf/sprof.c: Likewise.
29553         * iconv/iconv_charmap.c: Likewise.
29554         * iconv/skeleton.c: Likewise.
29555         * iconv/strtab.c: Likewise.
29556         * io/lockf64.c: Likewise.
29557         * libio/libioP.h: Likewise.
29558         * resolv/gai_notify.c: Likewise.
29559         * resolv/ns_name.c: Likewise.
29560         * resolv/ns_samedomain.c: Likewise.
29561         * resolv/res_send.c: Likewise.
29562         * stdlib/random.c: Likewise.
29563         * sunrpc/rpc/xdr.h: Likewise.
29564         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
29565         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29566         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29567         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29568         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29569         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29570         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29571         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29572         * sysdeps/mach/hurd/check_fds.c: Likewise.
29573         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
29574         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
29575         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29576         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
29577         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
29578         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
29579         * sysdeps/pthread/aio_notify.c: Likewise.
29580         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
29581         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
29582         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
29583         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29584         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
29586 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29588         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
29589         version if bit_Slow_SSE4_2 is set.
29590         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29591         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29593 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29595         [BZ #15867]
29596         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
29597         trampoline stack frame information.
29598         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
29599         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
29600         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
29601         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
29602         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
29603         * sysdeps/unix/sysv/linux/powerpc/init-first.c
29604         (_libc_vdso_platform_setup): Initialize the signal trampolines.
29605         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
29606         sa_flags value.
29607         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
29608         interrupting a syscall and set with option SA_SIGINFO.
29610 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
29612         [BZ #15531]
29613         * math/s_cproj.c (__cproj): Only return an infinity if one part of
29614         argument is infinite.
29615         * math/s_cprojf.c (__cprojf): Likewise.
29616         * math/s_cprojl.c (__cprojl): Likewise.
29617         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
29618         * math/libm-test.inc (cproj_test_data): Add more tests.
29620         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
29622         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
29623         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
29624         size.  Use __ffs to determine corresponding shift.
29626 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
29627             Roland McGrath  <roland@hack.frob.com>
29629         * Makefile (INSTALL): Remove trailing blank lines from output of
29630         makeinfo.
29632 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29634         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
29635         Align 32 bit compat elf_greg to 8 bytes.
29637 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
29639         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
29641 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29643         * string/strcoll_l.c (coll_seq): New structure.
29644         (get_next_seq_cached): New function.
29645         (get_next_seq): New function.
29646         (do_compare): New function.
29647         (STRCOLL): Use GNU style definition.  Simplify implementation
29648         by using get_next_seq, get_next_seq_cached and do_compare.
29650 2013-08-16  Florian Weimer  <fweimer@redhat.com>
29652         [BZ #14699]
29653         CVE-2013-4237
29654         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
29655         member.
29656         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
29657         member.
29658         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
29659         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
29660         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
29661         conditional.
29662         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
29663         GETDENTS_64BIT_ALIGNED.
29664         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29665         * manual/filesys.texi (Reading/Closing Directory): Document
29666         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
29667         strongly.
29668         * manual/conf.texi (Limits for Files): Add portability note to
29669         NAME_MAX, PATH_MAX.
29670         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
29672 2013-08-13  Andreas Schwab  <schwab@suse.de>
29674         [BZ #15749]
29675         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
29676         of fabs.
29677         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
29678         LDBL_MAX_EXP >= 16384]: Add tests for it.
29680 2013-08-12  David S. Miller  <davem@davemloft.net>
29682         * version.h (RELEASE): Set to "development".
29683         (VERSION): Set to "2.18.90".
29684         * NEWS: Add 2.19 section.
29686 2013-08-03  David S. Miller  <davem@davemloft.net>
29688         * po/ko.po: Update Korean translation from translation project.
29690 2013-08-01  David S. Miller  <davem@davemloft.net>
29692         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
29693         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
29694         Bilka.
29696 2013-07-30  David S. Miller  <davem@davemloft.net>
29698         * po/fr.po: Update French translation from translation project.
29700 2013-07-28  David S. Miller  <davem@davemloft.net>
29702         * po/cs.po: Update Czech translation from translation project.
29704         * po/sv.po: Update Swedish translation from translation project.
29706 2013-07-27  David S. Miller  <davem@davemloft.net>
29708         * po/eo.po: Update Esperanto translation from translation project.
29710         * po/vi.po: Update Vietnamese translation from translation project.
29712         * po/de.po: Update German translation from translation project.
29714 2013-07-26  David S. Miller  <davem@davemloft.net>
29716         * po/bg.po: Update Bulgarian translation from translation project.
29718         * po/nl.po: Update Dutch translation from translation project.
29719         * po/pl.po: Update Polish translation from translation project.
29720         * po/ru.po: Update Russian translation from translation project.
29722 2013-07-24  David S. Miller  <davem@davemloft.net>
29724         * po/libc.pot: Update.
29726 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29728         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
29729         variable page size.
29730         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
29731         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
29732         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
29734 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29736         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
29738 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29739             Andreas Schwab  <schwab@suse.de>
29740             Roland McGrath  <roland@hack.frob.com>
29741             Joseph Myers  <joseph@codesourcery.com>
29742             Carlos O'Donell  <carlos@redhat.com>
29744         [BZ #15755]
29745         * config.h.in: Define HAVE_PT_CHOWN.
29746         * config.make.in (build-pt-chown): New variable.
29747         * configure.in (--enable-pt_chown): New configure option.
29748         * configure: Regenerate.
29749         * login/Makefile: Include Makeconfig.  Build pt_chown only if
29750         build-pt-chown is enabled.
29751         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
29752         pt_chown to fix pty ownership.
29753         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
29754         CLOSE_ALL_FDS.
29755         * manual/install.texi (Configuring and compiling): Mention
29756         --enable-pt_chown. Add @findex for grantpt.
29757         * INSTALL: Regenerate.
29759 2013-07-20  David S. Miller  <davem@davemloft.net>
29761         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
29762         difference between 32-bit and 64-bit.
29764 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
29766         [BZ #15711]
29767         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
29768         Avoid system header dependency with -ffreestanding.
29769         ($(objpfx)bits/syscall%d): Likewise.
29771 2013-07-13  David S. Miller  <davem@davemloft.net>
29773         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
29774         underflows from atanl/atan2l due to bug 15319.
29775         (casinh_test_data): Likewise.
29777 2013-07-07  David S. Miller  <davem@davemloft.net>
29779         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
29781 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
29783         * sysdeps/i386/fpu/libm-test-ulps: Update.
29784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29786 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29788         * configure.in (--enable-lock-elision): Fix message text.
29789         * INSTALL: Regenerate.
29790         * configure: Regenerate.
29792 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29794         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29796 2013-07-03  Andreas Jaeger  <aj@suse.de>
29798         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
29799         define.
29800         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
29801         (ptrace_peeksiginfo_args): Add.
29802         (__ptrace_peeksiginfo_flags): Add.
29803         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29804         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29805         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29807 2013-07-03  Allan McRae  <allan@archlinux.org>
29809         * sysdeps/i386/fpu/libm-test-ulps: Update.
29811 2013-07-02  David S. Miller  <davem@davemloft.net>
29813         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29815 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
29817         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29819 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
29821         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
29822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29824 2013-07-02  Andi Kleen <ak@linux.intel.com>
29826         * config.h.in (ENABLE_LOCK_ELISION): Add.
29827         * configure.in (--enable-lock-elision): Add option.
29828         * manual/install.texi: Document --enable lock elision.
29829         * configure: Regenerate
29830         * INSTALL: Regenerate.
29832 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
29834         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
29835         SSE4.2 strcasecmp for libc.a.
29836         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
29838 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
29840         [BZ #13304]
29841         * soft-fp/op-common.h (_FP_FMA): New macro.
29842         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
29843         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
29844         (_FP_MUL_MEAT_1_imm): ... here.
29845         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
29846         (_FP_MUL_MEAT_1_wide): ... here.
29847         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
29848         (_FP_MUL_MEAT_1_hard): ... here.
29849         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
29850         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
29851         (_FP_MUL_MEAT_2_wide): ... here.
29852         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
29853         (_FP_MUL_MEAT_2_wide_3mul): ... here.
29854         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
29855         (_FP_MUL_MEAT_2_gmp): ... here.
29856         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
29857         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
29858         (_FP_MUL_MEAT_4_wide): ... here.
29859         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
29860         (_FP_MUL_MEAT_4_gmp): ... here.
29861         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
29862         (_FP_WFRACBITS_DW_S): Likewise.
29863         (_FP_WFRACXBITS_DW_S): Likewise.
29864         (_FP_HIGHBIT_DW_S): Likewise.
29865         (FP_FMA_S): Likewise.
29866         (_FP_FRAC_HIGH_DW_S): Likewise.
29867         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
29868         (_FP_WFRACBITS_DW_D): Likewise.
29869         (_FP_WFRACXBITS_DW_D): Likewise.
29870         (_FP_HIGHBIT_DW_D): Likewise.
29871         (FP_FMA_D): Likewise.
29872         (_FP_FRAC_HIGH_DW_D): Likewise.
29873         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
29874         (_FP_WFRACBITS_DW_E): Likewise.
29875         (_FP_WFRACXBITS_DW_E): Likewise.
29876         (_FP_HIGHBIT_DW_E): Likewise.
29877         (FP_FMA_E): Likewise.
29878         (_FP_FRAC_HIGH_DW_E): Likewise.
29879         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
29880         (_FP_WFRACBITS_DW_Q): Likewise.
29881         (_FP_WFRACXBITS_DW_Q): Likewise.
29882         (_FP_HIGHBIT_DW_Q): Likewise.
29883         (FP_FMA_Q): Likewise.
29884         (_FP_FRAC_HIGH_DW_Q): Likewise.
29885         * soft-fp/fmasf4.c: New file.
29886         * soft-fp/fmadf4.c: Likewise.
29887         * soft-fp/fmatf4.c: Likewise.
29889 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29891         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
29892         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
29893         Silvermont.
29894         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
29895         macro.
29896         (index_Slow_SSE4_2): Likewise.
29897         (index_Prefer_PMINUB_for_stringop): Likewise.
29898         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
29899         bit_Slow_SSE4_2 is set.
29900         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29901         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29903 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29905         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
29906         rtld_global._dl_hwcap2.
29907         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
29908         POWER8.
29909         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
29910         POWER8 feature descriptions defined in _dl_hwcap2.
29911         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
29912         string handling for POWER8 feature bits.
29913         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
29914         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
29915         _dl_powerpc_cap_flags.
29916         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
29917         * sysdeps/powerpc/rtld-global-offsets.sym
29918         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
29919         _dl_hwcap2 in the rtld_global_ro structure.
29921 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29923         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
29924         hardware capabilities in support of AT_HWCAP2.
29925         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
29926         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
29927         GLRO(dl_hwcap2).
29928         (_dl_show_auxv): Add support for calling _dl_procinfo to display
29929         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
29930         explicitly the unknown a_type display mechanism is used.
29931         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
29932         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
29933         struct member.
29934         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
29935         to macro prototype for AT_HWCAP2 support.
29936         * sysdeps/i386/dl-procinfo.h: Likewise.
29937         * sysdeps/s390/dl-procinfo.h: Likewise.
29938         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
29939         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
29940         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
29941         return -1 for unknown a_type display fallback.
29942         * sysdeps/sparc/dl-procinfo.h: Likewise.
29943         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
29944         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
29946 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
29948         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
29949         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
29951 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
29953         [BZ #12492]
29954         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
29955         mprotect making __stack_prot writable.
29957 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
29958             Joseph Myers  <joseph@codesourcery.com>
29960         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
29961         as being properly aligned.
29963 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
29965         * dlfcn/modstatic5.c: New file.
29966         * dlfcn/tststatic5.c: New file.
29967         * dlfcn/Makefile (tests): Add tststatic5.
29968         (tests-static): Likewise.
29969         (modules-names): Add modstatic5.
29970         (tststatic5-ENV): New variable.
29971         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
29973         [BZ #15022]
29974         * elf/dl-support.c (_dl_main_map): New variable.
29975         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
29976         (_dl_nns, _dl_load_adds): Set to 1.
29977         (_dl_initial_searchlist): Refer to _dl_main_map.
29978         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
29979         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
29980         call to _dl_get_origin.
29981         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
29982         around call_map.
29983         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
29984         * dlfcn/modstatic3.c: New file.
29985         * dlfcn/tststatic3.c: New file.
29986         * dlfcn/tststatic4.c: New file.
29987         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
29988         (tests-static): Likewise.
29989         (modules-names): Add modstatic3.
29990         (tststatic3-ENV, tststatic4-ENV): New variables.
29991         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
29992         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
29994 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
29996         * configure.in (CC): Require GCC version 4.4 or later.
29997         * configure: Regenerated.
29998         * manual/install.texi (Tools for Compilation): Update GCC version
29999         requirement.
30000         * INSTALL: Regenerated.
30002 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30004         [BZ #15674]
30005         * string/test-memcmp.c (check2): New.
30006         (main): Call check2.
30008         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
30010 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
30012         [BZ #15022]
30013         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
30014         over to...
30015         (dl_open_worker) [!SHARED]: ... here.
30017 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30019         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
30021 2013-06-25  Richard Henderson  <rth@redhat.com>
30023         * locale/programs/locarchive.c: Include <libc-internal.h>
30025 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
30027         * manual/texinfo.tex: Update to version 2013-06-21.17, with
30028         trailing whitespace removed.
30030 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
30032         [BZ #10283]
30033         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
30034         * locale/programs/locarchive.c: Include libc-mmap.h.
30035         (prepare_address_space): Take two new outputs (the mmap base and len).
30036         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
30037         values.
30038         (create_archive): Declare new mmap base and len values for
30039         prepare_address_space, and store the result in ah.
30040         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
30041         (enlarge_archive): If ah->mmap_base is not NULL, use that and
30042         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30043         Declare new mmap base and len values for
30044         prepare_address_space, and store the result in new_ah.
30045         (open_archive): Declare new mmap base and len values for
30046         prepare_address_space, and store the result in ah.
30047         (close_archive): If ah->mmap_base is not NULL, use that and
30048         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30049         * sysdeps/generic/libc-mmap.h: New file.
30051 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
30053         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
30054         (ALIGN_UP): Likewise.
30055         (PTR_ALIGN_DOWN): Likewise.
30056         (PTR_ALIGN_UP): Likewise.
30058 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30060         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
30061         entry mapped to PPC_PLATFORM_POWER8.
30062         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
30063         POWER8.
30064         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
30065         (_dl_string_platform): Add case for exporting platform position for
30066         POWER8.
30067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
30068         search path to sysdeps/powerpc/powerpc32/power8 directory.
30069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
30070         search path to sysdeps/powerpc/powerpc64/power8 directory.
30071         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
30072         power7 directories.
30073         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
30074         power7 directories.
30076 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30078         * INSTALL: Regenerate.
30080         * nscd/connections.c (nscd_init): Fix comment.
30082 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
30084         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
30086         [BZ #15667]
30087         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
30088         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
30090 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
30092         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
30093         DL_DST_REQ_STATIC.
30094         (DL_DST_REQ_STATIC): Remove macro.
30096 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
30098         [BZ #7006]
30099         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
30100         with a shift of 0 bits.
30102 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
30104         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
30105         $(tststatic-ENV).
30107 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30109         [BZ #15655]
30110         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
30112 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30114         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
30115         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
30116         accepts -fno-tree-loop-distribute-patterns.
30117         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
30118         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
30119         recursive call.
30120         * string/memset.c (memset): Likewise.
30121         * string/test-memmove.c (simple_memmove): Disable loop transformation
30122         to library calls.
30123         * string/test-memset.c (simple_memset): Likewise.
30124         * benchtests/bench-memmove.c (simple_memmove): Likewise.
30125         * benchtests/bench-memset.c (simple_memset): Likewise.
30126         * configure: Regenerated.
30128 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
30130         * math/test-misc.c (main): Ignore fesetround failure when failures
30131         of subsequent rounding tests would be ignored.
30133         [BZ #15654]
30134         * math/fedisblxcpt.c (fedisableexcept): Return 0.
30135         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
30136         * math/fegetenv.c (__fegetenv): Return 0.
30137         * math/fegetexcept.c (fegetexcept): Return 0.
30138         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
30139         FE_TONEAREST.
30140         * math/feholdexcpt.c (feholdexcept): Return 0.
30141         * math/fesetenv.c (__fesetenv): Return 0.
30142         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
30143         argument FE_TONEAREST.
30144         * math/feupdateenv.c (__feupdateenv): Return 0.
30145         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
30147 2013-06-18  Roland McGrath  <roland@hack.frob.com>
30149         * elf/rtld-Rules (rtld-compile-command.S): New variable.
30150         (rtld-compile-command.s, rtld-compile-command.c): New variables.
30151         ($(objpfx)rtld-%.os rules): Use them.
30153 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30155         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
30156         fields.
30158 2013-06-17  Roland McGrath  <roland@hack.frob.com>
30160         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
30161         length of target pattern, then descending length of dependency pattern.
30162         * configure.in (AWK): Require gawk 3.1.2 or newer.
30163         * manual/install.texi (Tools for Compilation): Say that we do.
30164         * configure: Regenerated.
30166         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
30167         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
30168         * scripts/sysd-rules.awk: ... this new script.
30169         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
30170         than a glob-style pattern.
30172 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
30174         * math/test-misc.c (main): Do not treat incorrectly rounded
30175         conversions as failure unless ROUNDING_TESTS passes.
30177 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
30179         [BZ #15631]
30180         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
30181         restore exception state around main square root computation, then
30182         check for inexactness explicitly.
30184         * math/libm-test.inc (fma_test_data): Add another test.
30186 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30188         * manual/threads.texi (Non-POSIX Extensions): New document
30189         node.  Document pthread_getattr_default_np and
30190         pthread_setattr_default_np.
30192         * Versions.def (libpthread): Add GLIBC_2.18.
30193         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
30194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30195         Likewise.
30196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30197         Likewise.
30198         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30199         Likewise.
30200         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30201         Likewise.
30202         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
30203         Likewise.
30204         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30205         Likewise.
30206         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30207         Likewise.
30208         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30209         Likewise.
30210         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30211         Likewise.
30213 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30215         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30216         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
30218 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30219             H.J. Lu  <hjl.tools@gmail.com>
30221         [BZ #15627]
30222         * sysdeps/x86_64/rtld-memset.c: Remove file.
30223         * sysdeps/x86_64/rtld-memset.S: New file.
30225 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
30227         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
30228         (test_in_one_mode): Take arguments for whether the rounding mode
30229         is supported for each floating-point type.
30230         (do_test): Pass new arguments to test_in_one_mode using
30231         ROUNDING_TESTS.
30233 2013-06-13  Roland McGrath  <roland@hack.frob.com>
30235         * posix/tst-waitid.c (do_test): Distinguish different instances of
30236         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
30237         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
30238         before entering the kernel for waitpid.
30240 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30242         * NEWS: Fix note on clock function precision.  Text by Roland
30243         McGrath.
30245 2013-06-13  Roland McGrath  <roland@hack.frob.com>
30247         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
30248         it into place only when and if the sanity check passes.
30250 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
30252         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
30253         output for whether conversion result is exact.  Take argument
30254         indicating whether type is IBM long double.
30255         (round_for_all): Change need_exact field to ibm_ld.
30256         * stdlib/tst-strtod-round.c (struct exactness): New type.
30257         (struct test): Change bool ld_ok field to struct exactness exact.
30258         (TEST): Update all definitions for change to field.
30259         (tests): Regenerate array contents.
30260         (test_in_one_mode): Take pointer to new field instead of old ld_ok
30261         field value.  Check for IBM long double here.
30262         (do_test): Update calls to test_in_one_mode.
30264 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30266         [BZ #12515]
30267         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
30268         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
30270 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30272         [BZ #15605]
30273         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
30274         generated by the compiler on loop optimizations.
30275         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
30276         general definitions.
30278 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
30280         * math/bug-nextafter.c: Include <math-tests.h>.
30281         (main): Only test for exceptions if EXCEPTION_TESTS is true for
30282         the relevant type.
30283         * math/bug-nexttoward.c: Include <math-tests.h>.
30284         (main): Only test for exceptions if EXCEPTION_TESTS is true for
30285         the relevant type.
30286         * math/test-misc.c: Include <math-tests.h>.
30287         (main): Only test for exceptions if EXCEPTION_TESTS is true for
30288         the relevant type.
30290 2013-06-12  Andreas Jaeger  <aj@suse.de>
30292         * po/ia.po: Update Interlingua translation from translation
30293         project.
30295 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30297         * include/fenv.h: Include stdbool.h.
30298         (struct rm_ctx): New structure.
30299         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
30300         Define macro.
30301         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
30302         (SET_RESTORE_ROUNDF): Likewise.
30303         (SET_RESTORE_ROUNDL): Likewise.
30304         (SET_RESTORE_ROUND_NOEX): Likewise.
30305         (SET_RESTORE_ROUND_NOEXF): Likewise.
30306         (SET_RESTORE_ROUND_NOEXL): Likewise.
30307         (SET_RESTORE_ROUND_53BIT): Likewise.
30308         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
30309         (libc_feresetround_noexf_ctx): Likewise.
30310         (libc_feresetround_noexl_ctx): Likewise.
30311         (libc_feholdsetround_53bit_ctx): Likewise.
30312         (libc_feresetround_53bit_ctx): Likewise.
30313         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
30314         (libc_feholdexcept_setround_sse_ctx): New function.
30315         (libc_fesetenv_sse_ctx): Likewise.
30316         (libc_feupdateenv_sse_ctx): Likewise.
30317         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
30318         (libc_feholdexcept_setround_387_ctx): Likewise.
30319         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
30320         (libc_feholdsetround_387_prec_ctx): Likewise.
30321         (libc_feholdsetround_387_ctx): Likewise.
30322         (libc_feholdsetround_387_53bit_ctx): Likewise.
30323         (libc_feholdsetround_sse_ctx): Likewise.
30324         (libc_feresetround_sse_ctx): Likewise.
30325         (libc_feresetround_387_ctx): Likewise.
30326         (libc_feupdateenv_387_ctx): Likewise.
30327         (libc_feholdexcept_setroundf_ctx): Define macro.
30328         (libc_fesetenvf_ctx): Likewise.
30329         (libc_feupdateenvf_ctx): Likewise.
30330         (libc_feholdsetroundf_ctx): Likewise.
30331         (libc_feresetroundf_ctx): Likewise.
30332         (libc_feholdexcept_setround_ctx): Likewise.
30333         (libc_fesetenv_ctx): Likewise.
30334         (libc_feupdateenv_ctx): Likewise.
30335         (libc_feholdsetround_ctx): Likewise.
30336         (libc_feresetround_ctx): Likewise.
30337         (libc_feholdexcept_setroundl_ctx): Likewise.
30338         (libc_feupdateenvl_ctx): Likewise.
30339         (libc_feholdsetroundl_ctx): Likewise.
30340         (libc_feresetroundl_ctx): Likewise.
30341         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
30342         (libc_feresetround_53bit_ctx): Likewise.
30344 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30346         * locale/iso-639.def: Convert to UTF-8.
30348 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
30350         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
30351         (EXCEPTION_TESTS_double): Likewise.
30352         (EXCEPTION_TESTS_long_double): Likewise.
30353         (EXCEPTION_TESTS): Likewise.
30354         * math/libm-test.inc (test_exceptions): Only test exceptions if
30355         EXCEPTION_TESTS (FLOAT).
30357 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30359         * benchtests/Makefile (string-bench): Add strcpy_chk and
30360         stpcpy_chk.
30361         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
30362         * benchtests/bench-stpcpy_chk.c: New file.
30363         * benchtests/bench-strcpy_chk-ifunc.c: New file.
30364         * benchtests/bench-strcpy_chk.c: New file.
30365         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
30366         code.
30367         (do_test): Likewise.
30369 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30371         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
30372         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
30373         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
30374         with tabs where appropriate.
30375         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
30376         dl-procinfo.h.
30377         [PPC_PLATFORM_PPC440]: Likewise.
30378         [PPC_PLATFORM_PPC464]: Likewise.
30379         [PPC_PLATFORM_PPC476]: Likewise.
30380         (_dl_string_platform): Add support for detecting ppc405, ppc440,
30381         ppc464, and ppc476 platform strings merging from ports/
30382         dl-procinfo.h.
30384 2013-06-11  Andreas Schwab  <schwab@suse.de>
30386         [BZ #14991]
30387         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
30388         (from_ucs4_idx): Regenerate.
30389         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
30390         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
30391         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
30392         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
30393         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
30394         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
30395         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
30396         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
30397         from FROM_LOOP and TO_LOOP specific macros.
30398         (BODY): Handle combining characters.
30399         * iconvdata/BIG5HKSCS.irreversible: Update.
30400         * iconvdata/BIG5HKSCS.precomposed: New file.
30401         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
30402         characters.
30403         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
30405 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30407         * include/sys/time.h: Fix indentation and add copyright header.
30409         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
30410         (do_test): Likewise.
30411         * string/test-memchr.c (do_one_test): Likewise.
30412         (do_test): Likewise.
30413         * string/test-memcmp.c (do_one_test): Likewise.
30414         (do_test): Likewise.
30415         * string/test-memcpy.c (do_one_test): Likewise.
30416         (do_test): Likewise.
30417         * string/test-memmem.c (do_one_test): Likewise.
30418         (do_test): Likewise.
30419         (do_random_tests): Likewise.
30420         * string/test-memmove.c (do_one_test): Likewise.
30421         (do_test): Likewise.
30422         * string/test-memset.c (do_one_test): Likewise.
30423         (do_test): Likewise.
30424         * string/test-rawmemchr.c (do_one_test): Likewise.
30425         (do_test): Likewise.
30426         * string/test-strcasecmp.c (do_one_test): Likewise.
30427         (do_test): Likewise.
30428         * string/test-strcasestr.c (do_one_test): Likewise.
30429         (do_test): Likewise.
30430         * string/test-strcat.c (do_one_test): Likewise.
30431         (do_test): Likewise.
30432         * string/test-strchr.c (do_one_test): Likewise.
30433         (do_test): Likewise.
30434         * string/test-strcmp.c (do_one_test): Likewise.
30435         (do_test): Likewise.
30436         * string/test-strcpy.c (do_one_test): Likewise.
30437         (do_test): Likewise.
30438         * string/test-string.h: Likewise.
30439         (test_init): Likewise.
30440         * string/test-strlen.c (do_one_test): Likewise.
30441         (do_test): Likewise.
30442         * string/test-strncasecmp.c (do_one_test): Likewise.
30443         (do_test): Likewise.
30444         * string/test-strncat.c (do_one_test): Likewise.
30445         (do_test): Likewise.
30446         * string/test-strncmp.c (do_one_test): Likewise.
30447         (do_test_limit): Likewise.
30448         (do_test): Likewise.
30449         * string/test-strncpy.c (do_one_test): Likewise.
30450         (do_test): Likewise.
30451         * string/test-strnlen.c (do_one_test): Likewise.
30452         (do_test): Likewise.
30453         * string/test-strpbrk.c (do_one_test): Likewise.
30454         (do_test): Likewise.
30455         * string/test-strrchr.c (do_one_test): Likewise.
30456         (do_test): Likewise.
30457         * string/test-strspn.c (do_one_test): Likewise.
30458         (do_test): Likewise.
30459         * string/test-strstr.c (do_one_test): Likewise.
30460         (do_test): Likewise.
30462         * benchtests/Makefile (string-bench): Add string benchmarks.
30463         * benchtests/bench-bcopy-ifunc.c: New file.
30464         * benchtests/bench-bcopy.c: New file.
30465         * benchtests/bench-bzero-ifunc.c: New file.
30466         * benchtests/bench-bzero.c: New file.
30467         * benchtests/bench-memccpy-ifunc.c: New file.
30468         * benchtests/bench-memccpy.c: New file.
30469         * benchtests/bench-memchr-ifunc.c: New file.
30470         * benchtests/bench-memchr.c: New file.
30471         * benchtests/bench-memcmp-ifunc.c: New file.
30472         * benchtests/bench-memcmp.c: New file.
30473         * benchtests/bench-memmem-ifunc.c: New file.
30474         * benchtests/bench-memmem.c: New file.
30475         * benchtests/bench-memmove-ifunc.c: New file.
30476         * benchtests/bench-memmove.c: New file.
30477         * benchtests/bench-mempcpy-ifunc.c: New file.
30478         * benchtests/bench-mempcpy.c: New file.
30479         * benchtests/bench-memset-ifunc.c: New file.
30480         * benchtests/bench-memset.c: New file.
30481         * benchtests/bench-rawmemchr-ifunc.c: New file.
30482         * benchtests/bench-rawmemchr.c: New file.
30483         * benchtests/bench-stpcpy-ifunc.c: New file.
30484         * benchtests/bench-stpcpy.c: New file.
30485         * benchtests/bench-stpncpy-ifunc.c: New file.
30486         * benchtests/bench-stpncpy.c: New file.
30487         * benchtests/bench-strcasecmp-ifunc.c: New file.
30488         * benchtests/bench-strcasecmp.c: New file.
30489         * benchtests/bench-strcasestr-ifunc.c: New file.
30490         * benchtests/bench-strcasestr.c: New file.
30491         * benchtests/bench-strcat-ifunc.c: New file.
30492         * benchtests/bench-strcat.c: New file.
30493         * benchtests/bench-strchr-ifunc.c: New file.
30494         * benchtests/bench-strchr.c: New file.
30495         * benchtests/bench-strchrnul-ifunc.c: New file.
30496         * benchtests/bench-strchrnul.c: New file.
30497         * benchtests/bench-strcmp-ifunc.c: New file.
30498         * benchtests/bench-strcmp.c: New file.
30499         * benchtests/bench-strcpy-ifunc.c: New file.
30500         * benchtests/bench-strcpy.c: New file.
30501         * benchtests/bench-strcspn-ifunc.c: New file.
30502         * benchtests/bench-strcspn.c: New file.
30503         * benchtests/bench-strlen-ifunc.c: New file.
30504         * benchtests/bench-strlen.c: New file.
30505         * benchtests/bench-strncasecmp-ifunc.c: New file.
30506         * benchtests/bench-strncasecmp.c: New file.
30507         * benchtests/bench-strncat-ifunc.c: New file.
30508         * benchtests/bench-strncat.c: New file.
30509         * benchtests/bench-strncmp-ifunc.c: New file.
30510         * benchtests/bench-strncmp.c: New file.
30511         * benchtests/bench-strncpy-ifunc.c: New file.
30512         * benchtests/bench-strncpy.c: New file.
30513         * benchtests/bench-strnlen-ifunc.c: New file.
30514         * benchtests/bench-strnlen.c: New file.
30515         * benchtests/bench-strpbrk-ifunc.c: New file.
30516         * benchtests/bench-strpbrk.c: New file.
30517         * benchtests/bench-strrchr-ifunc.c: New file.
30518         * benchtests/bench-strrchr.c: New file.
30519         * benchtests/bench-strspn-ifunc.c: New file.
30520         * benchtests/bench-strspn.c: New file.
30521         * benchtests/bench-strstr-ifunc.c: New file.
30522         * benchtests/bench-strstr.c: New file.
30524         * benchtests/Makefile: Disable parallel execution of targets.
30525         (string-bench): Add memcpy.
30526         (benchset): New variable to store a list of benchmark sets.
30527         (bench-func): Renamed from bench.
30528         (bench-set): New target.
30529         (bench): Depend on bench-func and bench-set.
30530         * benchtests/README: Add section on benchmark sets.
30531         * benchtests/bench-memcpy-ifunc.c: New file.
30532         * benchtests/bench-memcpy.c: New file.
30533         * benchtests/bench-string.h: New file.
30535 2013-06-11  Andreas Schwab  <schwab@suse.de>
30537         [BZ #15577]
30538         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
30539         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
30540         values in the triple.
30541         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
30542         terminator in the group key.
30544 2013-06-11  Andreas Jaeger  <aj@suse.de>
30546         * po/zh_TW.po: Update Chinese (traditional) translation from
30547         translation project.
30549 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30551         * include/time.h (__clock_gettime): Add libc_hidden_proto.
30552         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
30553         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
30554         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30555         (clock_getcpuclockid): Likewise.
30556         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
30557         Add weak_alias and libc_hidden_def.
30558         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
30559         * rt/clock_gettime.c (clock_gettime): Rename to
30560         __clock_gettime.  Add weak_alias and libc_hidden_def.
30561         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
30562         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
30563         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
30564         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
30565         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
30566         Likewise.
30567         * rt/clock_settime.c (clock_settime): Rename to
30568         __clock_settime.  Add weak_alias and libc_hidden_def.
30569         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
30571 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
30573         * mach/err_boot.sub: Remove trailing whitespace.
30574         * mach/err_ipc.sub: Likewise.
30575         * mach/err_mach.sub: Likewise.
30577         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
30578         (ROUNDING_TESTS_double): Likewise.
30579         (ROUNDING_TESTS_long_double): Likewise.
30580         (ROUNDING_TESTS): Likewise.
30581         * math/libm-test.inc: Include <math-tests.h>.
30582         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
30583         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
30584         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
30585         (IF_ROUND_INIT_FE_UPWARD): Likewise.
30587 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30589         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
30590         of assigning.
30592 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
30594         * sysdeps/gnu/errlist.awk: Do not generate space at end of
30595         otherwise empty TRANS lines.
30596         * sysdeps/gnu/errlist.c: Regenerated.
30598         * catgets/gencat.c (error_print): Use (void) in function
30599         definition.
30600         * crypt/crypt_util.c (__init_des): Likewise.
30601         * crypt/speeds.c (Stop): Likewise.
30602         (main): Likewise.
30603         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
30604         * inet/ruserpass.c (token): Likewise.
30605         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
30606         * intl/localealias.c (extend_alias_table): Likewise.
30607         * intl/plural-exp.c (init_germanic_plural): Likewise.
30608         * libio/fcloseall.c (__fcloseall): Likewise.
30609         * libio/genops.c (_IO_flush_all): Likewise.
30610         (_IO_flush_all_linebuffered): Likewise.
30611         (_IO_cleanup): Likewise.
30612         (_IO_iter_begin): Likewise.
30613         (_IO_iter_end): Likewise.
30614         (_IO_list_lock): Likewise.
30615         (_IO_list_unlock): Likewise.
30616         (_IO_list_resetlock): Likewise.
30617         * libio/getchar.c (getchar): Likewise.
30618         * libio/getchar_u.c (getchar_unlocked): Likewise.
30619         * libio/getwchar.c (getwchar): Likewise.
30620         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
30621         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
30622         * login/getpt.c (__getpt): Likewise.
30623         * login/tst-utmp.c (main): Likewise.
30624         * malloc/hooks.c (__malloc_check_init): Likewise.
30625         * malloc/malloc.c (__malloc_stats): Likewise.
30626         * malloc/mtrace.c (tr_break): Likewise.
30627         (mtrace): Likewise.
30628         (muntrace): Likewise.
30629         * misc/fstab.c (endfsent): Likewise.
30630         * misc/getclktck.c (__getclktck): Likewise.
30631         * misc/getdtsz.c (__getdtablesize): Likewise.
30632         * misc/gethostid.c (gethostid): Likewise.
30633         * misc/getpagesize.c (__getpagesize): Likewise.
30634         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
30635         (__get_nprocs): Likewise.
30636         (__get_phys_pages): Likewise.
30637         (__get_avphys_pages): Likewise.
30638         * misc/getttyent.c (getttyent): Likewise.
30639         (setttyent): Likewise.
30640         (endttyent): Likewise.
30641         * misc/getusershell.c (getusershell): Likewise.
30642         (endusershell): Likewise.
30643         (setusershell): Likewise.
30644         (initshells): Likewise.
30645         * misc/hsearch.c (__hdestroy): Likewise.
30646         * misc/sync.c (sync): Likewise.
30647         * misc/syslog.c (closelog_internal): Likewise.
30648         (closelog): Likewise.
30649         * misc/ttyslot.c (ttyslot): Likewise.
30650         * misc/vhangup.c (vhangup): Likewise.
30651         * posix/fork.c (__fork): Likewise.
30652         * posix/getegid.c (__getegid): Likewise.
30653         * posix/geteuid.c (__geteuid): Likewise.
30654         * posix/getgid.c (__getgid): Likewise.
30655         * posix/getpid.c (__getpid): Likewise.
30656         * posix/getppid.c (__getppid): Likewise.
30657         * posix/getuid.c (__getuid): Likewise.
30658         * posix/pause.c (pause): Likewise.
30659         * posix/setpgrp.c (setpgrp): Likewise.
30660         * posix/setsid.c (__setsid): Likewise.
30661         * posix/test-vfork.c (noop): Likewise.
30662         * resolv/gethnamaddr.c (_endhtent): Likewise.
30663         (_gethtent): Likewise.
30664         (ht_endhostent): Likewise.
30665         (gethostent): Likewise.
30666         (dns_service): Likewise.
30667         * stdlib/drand48.c (drand48): Likewise.
30668         * stdlib/lrand48.c (lrand48): Likewise.
30669         * stdlib/mrand48.c (mrand48): Likewise.
30670         * stdlib/rand.c (rand): Likewise.
30671         * stdlib/random.c (__random): Likewise.
30672         * stdlib/setenv.c (clearenv): Likewise.
30673         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
30674         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
30675         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
30676         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
30677         (__get_nprocs): Likewise.
30678         (__get_phys_pages): Likewise.
30679         (__get_avphys_pages): Likewise.
30680         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
30681         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
30682         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
30683         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
30684         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
30685         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
30686         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
30687         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
30688         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
30689         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
30690         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
30691         * sysdeps/mach/hurd/sync.c (sync): Likewise.
30692         * sysdeps/posix/clock.c (clock): Likewise.
30693         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
30694         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
30695         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
30696         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
30697         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
30698         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30699         (__get_nprocs_conf): Likewise.
30700         (__get_phys_pages): Likewise.
30701         (__get_avphys_pages): Likewise.
30702         * time/clock.c (clock): Likewise.
30703         * time/tzset.c (__tzname_max): Likewise.
30705 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
30707         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
30708         (__bswap_32): Do not use "register".
30709         * crypt/crypt.c (_ufc_doit_r): Likewise.
30710         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
30711         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
30712         * gmon/gmon.c (__monstartup): Likewise.
30713         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
30714         * hurd/hurdmalloc.c (more_memory): Likewise.
30715         (malloc): Likewise.
30716         (free): Likewise.
30717         (realloc): Likewise.
30718         (malloc_fork_prepare): Likewise.
30719         (malloc_fork_parent): Likewise.
30720         (malloc_fork_child): Likewise.
30721         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
30722         (_svcauth_des): Likewise.
30723         * inet/inet_lnaof.c (inet_lnaof): Likewise.
30724         * inet/inet_net.c (inet_network): Likewise.
30725         * inet/inet_netof.c (inet_netof): Likewise.
30726         * inet/rcmd.c (__validuser2_sa): Likewise.
30727         * io/fts.c (fts_open): Likewise.
30728         (fts_load): Likewise.
30729         (fts_close): Likewise.
30730         (fts_read): Likewise.
30731         (fts_children): Likewise.
30732         (fts_build): Likewise.
30733         (fts_stat): Likewise.
30734         (fts_sort): Likewise.
30735         (fts_alloc): Likewise.
30736         (fts_lfree): Likewise.
30737         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
30738         (_IO_file_xsgetn): Likewise.
30739         (_IO_file_xsgetn_mmap): Likewise.
30740         * libio/iofopncook.c (_IO_cookie_read): Likewise.
30741         (_IO_cookie_write): Likewise.
30742         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
30743         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
30744         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
30745         * malloc/obstack.c (_obstack_begin): Likewise.
30746         (_obstack_begin_1): Likewise.
30747         (_obstack_newchunk): Likewise.
30748         (_obstack_allocated_p): Likewise.
30749         (obstack_free): Likewise.
30750         (_obstack_memory_used): Likewise.
30751         * misc/getttyent.c (getttynam): Likewise.
30752         (getttyent): Likewise.
30753         (skip): Likewise.
30754         (value): Likewise.
30755         * misc/getusershell.c (initshells): Likewise.
30756         * misc/syslog.c (__vsyslog_chk): Likewise.
30757         * misc/ttyslot.c (ttyslot): Likewise.
30758         * nis/nis_hash.c (__nis_hash): Likewise.
30759         * posix/fnmatch_loop.c (FCT): Likewise.
30760         * posix/getconf.c (print_all): Likewise.
30761         (main): Likewise.
30762         * posix/getopt.c (exchange): Likewise.
30763         * posix/glob.c (globfree): Likewise.
30764         (prefix_array): Likewise.
30765         (__glob_pattern_type): Likewise.
30766         * resolv/arpa/nameser.h (NS_GET16): Likewise.
30767         (NS_GET32): Likewise.
30768         (NS_PUT16): Likewise.
30769         (NS_PUT32): Likewise.
30770         * resolv/gethnamaddr.c (getanswer): Likewise.
30771         (gethostbyname2): Likewise.
30772         (gethostbyaddr): Likewise.
30773         (_gethtent): Likewise.
30774         (_gethtbyname2): Likewise.
30775         (_gethtbyaddr): Likewise.
30776         * resolv/ns_print.c (dst_s_get_int16): Likewise.
30777         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
30778         * resolv/res_init.c (__res_vinit): Likewise.
30779         (net_mask): Likewise.
30780         * resolv/res_mkquery.c (outchar): Likewise.
30781         (PRINT): Likewise.
30782         * stdio-common/printf_fp.c (outchar): Likewise.
30783         (PRINT): Likewise.
30784         * stdio-common/printf_fphex.c (outchar): Likewise.
30785         (PRINT): Likewise.
30786         * stdio-common/printf_size.c (outchar): Likewise.
30787         (PRINT): Likewise.
30788         * stdio-common/test_rdwr.c (main): Likewise.
30789         * stdio-common/tfformat.c (matches): Likewise.
30790         * stdio-common/vfprintf.c (outchar): Likewise.
30791         (printf_unknown): Likewise.
30792         (buffered_vfprintf): Likewise.
30793         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
30794         * stdio-common/xbug.c (AppendToBuffer): Likewise.
30795         (ReadFile): Likewise.
30796         * stdlib/qsort.c (SWAP): Likewise.
30797         (_quicksort): Likewise.
30798         * stdlib/setenv.c (__add_to_environ): Likewise.
30799         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
30800         * stdlib/strtol_l.c (__strtol_l): Likewise.
30801         * stdlib/tst-strtod.c (main): Likewise.
30802         * stdlib/tst-strtol.c (main): Likewise.
30803         * stdlib/tst-strtoll.c (main): Likewise.
30804         * string/bits/string2.h (__strcmp_cc): Likewise.
30805         (__strcmp_cg): Likewise.
30806         (__strcspn_c1): Likewise.
30807         (__strcspn_c2): Likewise.
30808         (__strcspn_c3): Likewise.
30809         (__strspn_c1): Likewise.
30810         (__strspn_c2): Likewise.
30811         (__strspn_c3): Likewise.
30812         (__strsep_1c): Likewise.
30813         (__strsep_2c): Likewise.
30814         (__strsep_3c): Likewise.
30815         * string/memccpy.c (__memccpy): Likewise.
30816         * string/stpcpy.c (__stpcpy): Likewise.
30817         * string/strcmp.c (strcmp): Likewise.
30818         * string/strrchr.c (strrchr): Likewise.
30819         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
30820         Likewise.
30821         * sysdeps/mach/hurd/getcwd.c
30822         (_hurd_canonicalize_directory_name_internal): Likewise.
30823         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
30824         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
30825         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
30826         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
30827         Likewise, in both definitions.
30828         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
30829         definitions.
30830         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
30831         64] (__bswap_64): Likewise.
30832         * time/test_time.c (main): Likewise.
30833         * time/tzfile.c (__tzfile_read): Likewise.
30834         (__tzfile_compute): Likewise.
30835         * time/tzset.c (__tzset_parse_tz): Likewise.
30836         (tzset_internal): Likewise.
30837         (compute_change): Likewise.
30838         * wcsmbs/wcscat.c (__wcscat): Likewise.
30839         * wcsmbs/wcschr.c (wcschr): Likewise.
30840         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
30841         * wcsmbs/wcscspn.c (wcscspn): Likewise.
30842         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
30843         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
30844         * wcsmbs/wcsspn.c (wcsspn): Likewise.
30845         * wcsmbs/wcsstr.c (wcsstr): Likewise.
30846         * wcsmbs/wmemchr.c (wmemchr): Likewise.
30847         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
30848         * wcsmbs/wmemset.c (wmemset): Likewise.
30850 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
30852         * scripts/config.guess: Update to version 2013-05-16.
30853         * scripts/config.sub: Update to version 2013-04-24.
30854         * scripts/install-sh: Update to version 2011-11-20.07.
30855         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
30856         * scripts/move-if-change: Update to version 2012-01-06 07:23.
30858 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
30860         * debug/fgetws_u_chk.c: Fix leading whitespaces.
30861         * elf/sln.c: Likewise.
30862         * hurd/hurd/ioctl.h: Likewise.
30863         * hurd/hurdmalloc.c: Likewise.
30864         * hurd/xattr.c: Likewise.
30865         * include/shlib-compat.h: Likewise.
30866         * inet/ruserpass.c: Likewise.
30867         * libio/iofgets_u.c: Likewise.
30868         * libio/iofgetws_u.c: Likewise.
30869         * locale/programs/ld-identification.c: Likewise.
30870         * locale/programs/ld-time.c: Likewise.
30871         * mach/msg-destroy.c: Likewise.
30872         * nss/nss_files/files-netgrp.c: Likewise.
30873         * resolv/res_data.c: Likewise.
30874         * soft-fp/op-1.h: Likewise.
30875         * soft-fp/op-2.h: Likewise.
30876         * soft-fp/op-4.h: Likewise.
30877         * soft-fp/op-common.h: Likewise.
30878         * stdio-common/printf_fphex.c: Likewise.
30879         * stdlib/strtod_l.c: Likewise.
30880         * sunrpc/rpc/clnt.h: Likewise.
30881         * sysdeps/generic/framestate.c: Likewise.
30882         * sysdeps/i386/bsd-_setjmp.S: Likewise.
30883         * sysdeps/i386/bsd-setjmp.S: Likewise.
30884         * sysdeps/i386/__longjmp.S: Likewise.
30885         * sysdeps/i386/setjmp.S: Likewise.
30886         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30887         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30888         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30889         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30890         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30891         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
30892         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30893         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30894         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30895         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
30896         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
30897         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
30898         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
30899         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
30900         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
30901         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30902         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
30903         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
30904         * sysdeps/ieee754/support.c: Likewise.
30905         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
30906         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
30907         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
30908         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
30909         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
30910         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
30911         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
30912         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
30913         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
30914         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
30915         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
30916         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
30917         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
30918         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
30919         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
30920         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
30921         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
30924 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
30926         * posix/transbug.c: Remove executable mode.
30928 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
30930         * crypt/speeds.c: Remove trailing whitespace.
30931         * dlfcn/default.c: Likewise.
30932         * elf/ifuncdep2.c: Likewise.
30933         * elf/ifuncmain1.c: Likewise.
30934         * elf/ifuncmain1vis.c: Likewise.
30935         * elf/testobj.h: Likewise.
30936         * elf/tst-stackguard1.c: Likewise.
30937         * gmon/sys/gmon.h: Likewise.
30938         * hurd/hurdmsg.c: Likewise.
30939         * hurd/new-fd.c: Likewise.
30940         * hurd/ports-get.c: Likewise.
30941         * iconvdata/ibm1008_420.c: Likewise.
30942         * inet/tst-getni1.c: Likewise.
30943         * inet/tst-getni2.c: Likewise.
30944         * libio/ioungetc.c: Likewise.
30945         * libio/wfiledoalloc.c: Likewise.
30946         * manual/libm-err-tab.pl: Likewise.
30947         * math/w_dremf.c: Likewise.
30948         * misc/ftruncate.c: Likewise.
30949         * posix/bug-glob2.c: Likewise.
30950         * posix/tst-pcre.c: Likewise.
30951         * posix/wait4.c: Likewise.
30952         * resolv/README: Likewise.
30953         * resolv/res_debug.h: Likewise.
30954         * resolv/tst-inet_ntop.c: Likewise.
30955         * setjmp/bug269-setjmp.c: Likewise.
30956         * soft-fp/extended.h: Likewise.
30957         * soft-fp/op-1.h: Likewise.
30958         * soft-fp/op-2.h: Likewise.
30959         * soft-fp/op-4.h: Likewise.
30960         * soft-fp/op-8.h: Likewise.
30961         * soft-fp/testit.c: Likewise.
30962         * stdio-common/bug16.c: Likewise.
30963         * stdlib/random.c: Likewise.
30964         * sunrpc/rpcsvc/rquota.x: Likewise.
30965         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
30966         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30967         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30968         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30969         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30970         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30971         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30972         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30973         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30974         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30975         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30976         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
30977         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30978         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
30979         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30980         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
30981         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
30982         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30983         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
30984         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30985         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30986         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30987         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
30988         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
30989         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
30990         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
30991         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30992         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30993         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30994         * sysdeps/ieee754/s_lib_version.c: Likewise.
30995         * sysdeps/mach/hurd/check_fds.c: Likewise.
30996         * sysdeps/mach/hurd/getsockname.c: Likewise.
30997         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
30998         * sysdeps/mach/hurd/recvfrom.c: Likewise.
30999         * sysdeps/powerpc/bits/link.h: Likewise.
31000         * sysdeps/powerpc/dl-procinfo.c: Likewise.
31001         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
31002         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
31003         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
31004         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31005         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
31006         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
31007         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31008         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
31009         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31010         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
31011         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
31012         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
31013         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31014         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31015         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31016         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
31017         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
31018         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31019         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31020         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31021         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
31022         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31023         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
31024         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
31025         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
31026         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
31027         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31028         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31029         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
31030         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
31031         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
31032         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31033         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31034         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
31035         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31036         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
31037         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
31038         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
31039         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
31040         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
31041         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
31042         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
31043         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
31044         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
31045         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
31046         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
31047         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
31048         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
31049         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
31050         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31051         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31052         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31053         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31054         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
31055         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
31056         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
31057         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31058         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
31059         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
31060         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
31061         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
31062         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
31063         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31064         * sysdeps/powerpc/sysdep.h: Likewise.
31065         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31066         * sysdeps/s390/s390-64/sub_n.S: Likewise.
31067         * sysdeps/sh/dl-trampoline.S: Likewise.
31068         * sysdeps/sh/memset.S: Likewise.
31069         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
31070         * sysdeps/sh/strlen.S: Likewise.
31071         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
31072         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
31073         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
31074         * sysdeps/sparc/sparc32/rem.S: Likewise.
31075         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
31076         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
31077         * sysdeps/sparc/sparc32/strchr.S: Likewise.
31078         * sysdeps/sparc/sparc32/udiv.S: Likewise.
31079         * sysdeps/sparc/sparc32/urem.S: Likewise.
31080         * sysdeps/sparc/sparc64/add_n.S: Likewise.
31081         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31082         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
31083         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
31084         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
31085         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
31086         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
31087         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
31088         * sysdeps/unix/bsd/times.c: Likewise.
31089         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
31090         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
31091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
31092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
31093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
31094         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
31095         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
31096         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
31097         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
31098         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
31099         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
31100         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31101         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
31102         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
31103         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31104         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
31105         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31106         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
31107         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
31108         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
31109         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
31110         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
31111         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
31112         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
31113         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
31114         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
31115         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
31116         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31117         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
31118         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
31119         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
31120         * sysdeps/x86_64/strcspn.S: Likewise.
31122 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31124         * locale/C-translit.h: Revert #include <stdint.h> because this is a
31125         generated file.  Regenerate properly from gen-translit.pl.
31126         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
31127         locale/C-translit.h.
31129 2013-06-05  Andreas Schwab  <schwab@suse.de>
31131         [BZ #15100]
31132         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
31133         week as 6 instead of -1.
31134         * time/tst-strptime.c (day_tests): Add test case.
31136 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31138         * sysdeps/generic/math_private.h
31139         (libc_feholdexcept_setround_53bit): Replace with
31140         libc_feholdsetround_53bit.
31141         (libc_feupdateenv_53bit): Replace with
31142         libc_feresetround_53bit.
31143         (SET_RESTORE_ROUND_53BIT): Adjust.
31145 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
31147         * string/test-strchrnul.c: Add copyright header.
31149         * posix/tst-getaddrinfo4.c: Increase test timeout.
31151 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
31153         [BZ #15536]
31154         * math/libm-test.inc (MAX_EXP): Remove
31155         (MIN_EXP): Define.
31156         (ulp): Use MIN_EXP - MANT_DIG.
31157         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
31159 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
31161         * po/be.po: Revert last change.
31162         * po/zh_CN.po: Likewise.
31163         * po/header.pot: Likewise.
31165 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
31167         * Makefile ($(common-objpfx)linkobj/libc.so): Define
31168         link-libc-deps to empty as target-specific variable.
31169         * Makerules (link-libc-args): New variable.
31170         (libc-for-link): Likewise.
31171         (link-libc-deps): Likewise.
31172         (lib%.so): Depend on $(link-libc-deps).  Link with
31173         $(link-libc-args).
31174         (build-module): Link with $(link-libc-args).
31175         (build-module-asneeded): Likewise.
31176         (build-module-helper-objlist): Filter out $(link-libc-deps) from
31177         list of objects.
31178         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
31179         target-specific variable.
31180         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
31181         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
31182         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
31183         libc.
31184         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
31185         libc and ld.so.
31186         ($(objpfx)libpcprofile.so): Likewise.
31187         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
31188         libc_nonshared.a.
31189         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
31190         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
31191         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
31192         $(link-libc-deps).
31193         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
31194         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
31195         * login/Makefile ($(objpfx)libutil.so): Likewise.
31196         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
31197         * math/Makefile ($(objpfx)libm.so): Likewise.
31198         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
31199         $(objpfx)libnsl.so): Define libc-for-link as target-specific
31200         variable instead of depending directly on libc.
31201         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
31202         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
31203         $(link-libc-deps).
31204         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
31205         libc.
31206         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
31207         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
31208         ($(objpfx)libanl.so): Likewise.
31209         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
31210         ld.so.
31211         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
31212         $(link-libc-deps).
31213         * sysdeps/i386/fpu/Makefile: Remove file.
31214         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
31215         ($(objpfx)libm.so): Remove dependency on ld.so.
31217 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
31219         [BZ # 15553]
31220         * nis/yp_xdr.c (XDRMAXNAME): Define.
31221         (XDRMAXRECORD): Define.
31222         (xdr_domainname): Use XDRMAXNAME.
31223         (xdr_mapname): Likewise.
31224         (xdr_peername): Likewise.
31225         (xdr_keydat): Use XDRMAXRECORD.
31226         (xdr_valdat): Likewise.
31228 2013-05-30  Jeff Law  <law@redhat.com>
31230         [BZ #14256]
31231         * manual/errno.texi (ESTALE): Update to account for more than
31232         just NFS file systems.
31233         * sysdeps/gnu/errlist.c: Regenerated.
31235 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31237         [BZ #15465]
31238         * elf/Makefile (tests): Add tst-null-argv.
31239         (modules-names):  Add tst-null-argv-lib.
31240         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
31241         (tst-null-argv-ENV): Set environment for tst-null-argv.
31242         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
31243         (RTLD_PROGNAME): New macro.
31244         * elf/tst-null-argv.c: New test case.
31245         * elf/tst-null-argv-lib.c: Library for test case.
31246         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
31247         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
31248         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
31249         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
31250         * elf/dl-init.c (call_init): Likewise.
31251         (_dl_init): Likewise.
31252         * elf/dl-load.c (print_search_path): Likewise.
31253         (_dl_map_object): Likewise.
31254         * elf/dl-lookup.c (do_lookup_x): Likewise.
31255         (add_dependency): Likewise.
31256         (_dl_lookup_symbol_x): Likewise.
31257         (_dl_debug_bindings): Likewise.
31258         * elf/dl-open.c (_dl_show_scope): Likewise.
31259         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
31260         * elf/dl-version.c (match_symbol): Likewise.
31261         (_dl_check_map_versions): Likewise.
31262         * elf/rtld.c (dl_main): Likewise.
31263         (print_unresolved): Use RTLD_PROGNAME.
31264         (print_missing_version): Likewise.
31265         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
31266         (elf_machine_rela): Likewise.
31267         * sysdeps/powerpc/powerpc32/dl-machine.c
31268         (__process_machine_rela): Likewise.
31269         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31270         Likewise.
31271         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31272         Likewise.
31273         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
31274         Likewise.
31275         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31276         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
31277         Likewise.
31278         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
31279         Likewise.
31280         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31282 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
31284         * po/be.po: Add descriptive title.
31285         * po/zh_CN.po: Likewise.
31286         * po/header.pot: Likewise.
31288 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
31290         * locale/programs/locarchive.c (create_archive): Inlucde fname in
31291         error message.
31292         (enlarge_archive): Likewise.
31294 2013-05-28  Ben North  <ben@redfrontdoor.org>
31296         * manual/arith.texi (frexp): It is the magnitude of the return
31297         value which lies in [0.5, 1), not the return value itself.
31299 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31301         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31303 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
31305         * stdio-common/bug26.c (main): Correct fscanf template.
31307         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
31308         declare _dl_skip_args.
31310         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
31311         Don't declare.
31313         * manual/platform.texi: Add missing @end deftypefun.
31315 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
31317         [BZ #15529]
31318         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
31319         bit of mantissa of 2^16382.
31320         * math/libm-test.inc (hypot_test_data): Add more tests.
31322         * math/libm-test.inc: Add drem and pow10 to list of tested
31323         functions.
31324         (pow10_test): New function.
31325         (drem_test): Likewise.
31326         (drem_test_tonearest): Likewise.
31327         (drem_test_towardzero): Likewise.
31328         (drem_test_downward): Likewise.
31329         (drem_test_upward): Likewise.
31330         (main): Call the new functions.
31332         * math/libm-test.inc (finite_test_data): Remove.
31333         (finite_test): Run tests from isfinite_test_data.
31334         (gamma_test_data): Remove.
31335         (gamma_test): Run tests from lgamma_test_data.
31336         * sysdeps/i386/fpu/libm-test-ulps: Update.
31337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31339 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31341         * manual/platform.texi: Add PowerPC PPR function set documentation.
31342         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
31343         implementation.
31345 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
31347         * math/libm-test.inc (MAX_EXP): Define.
31348         (ULPDIFF): Define.
31349         (ulp): New function.
31350         (check_float_internal): Use ULPDIFF.
31351         (cpow_test): Disable failing test.
31352         (check_ulp): Test ulp() implemetnation.
31353         (main): Call check_ulp before starting tests.
31355 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
31357         * math/gen-libm-test.pl (generate_testfile): Do not handle
31358         START_DATA and END_DATA.
31359         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
31360         END_DATA.
31361         (acos_tonearest_test_data): Likewise.
31362         (acos_towardzero_test_data): Likewise.
31363         (acos_downward_test_data): Likewise.
31364         (acos_upward_test_data): Likewise.
31365         (acosh_test_data): Likewise.
31366         (asin_test_data): Likewise.
31367         (asin_tonearest_test_data): Likewise.
31368         (asin_towardzero_test_data): Likewise.
31369         (asin_downward_test_data): Likewise.
31370         (asin_upward_test_data): Likewise.
31371         (asinh_test_data): Likewise.
31372         (atan_test_data): Likewise.
31373         (atanh_test_data): Likewise.
31374         (atan2_test_data): Likewise.
31375         (cabs_test_data): Likewise.
31376         (cacos_test_data): Likewise.
31377         (cacosh_test_data): Likewise.
31378         (carg_test_data): Likewise.
31379         (casin_test_data): Likewise.
31380         (casinh_test_data): Likewise.
31381         (catan_test_data): Likewise.
31382         (catanh_test_data): Likewise.
31383         (cbrt_test_data): Likewise.
31384         (ccos_test_data): Likewise.
31385         (ccosh_test_data): Likewise.
31386         (ceil_test_data): Likewise.
31387         (cexp_test_data): Likewise.
31388         (cimag_test_data): Likewise.
31389         (clog_test_data): Likewise.
31390         (clog10_test_data): Likewise.
31391         (conj_test_data): Likewise.
31392         (copysign_test_data): Likewise.
31393         (cos_test_data): Likewise.
31394         (cos_tonearest_test_data): Likewise.
31395         (cos_towardzero_test_data): Likewise.
31396         (cos_downward_test_data): Likewise.
31397         (cos_upward_test_data): Likewise.
31398         (cosh_test_data): Likewise.
31399         (cosh_tonearest_test_data): Likewise.
31400         (cosh_towardzero_test_data): Likewise.
31401         (cosh_downward_test_data): Likewise.
31402         (cosh_upward_test_data): Likewise.
31403         (cpow_test_data): Likewise.
31404         (cproj_test_data): Likewise.
31405         (creal_test_data): Likewise.
31406         (csin_test_data): Likewise.
31407         (csinh_test_data): Likewise.
31408         (csqrt_test_data): Likewise.
31409         (ctan_test_data): Likewise.
31410         (ctan_tonearest_test_data): Likewise.
31411         (ctan_towardzero_test_data): Likewise.
31412         (ctan_downward_test_data): Likewise.
31413         (ctan_upward_test_data): Likewise.
31414         (ctanh_test_data): Likewise.
31415         (ctanh_tonearest_test_data): Likewise.
31416         (ctanh_towardzero_test_data): Likewise.
31417         (ctanh_downward_test_data): Likewise.
31418         (ctanh_upward_test_data): Likewise.
31419         (erf_test_data): Likewise.
31420         (erfc_test_data): Likewise.
31421         (exp_test_data): Likewise.
31422         (exp_tonearest_test_data): Likewise.
31423         (exp_towardzero_test_data): Likewise.
31424         (exp_downward_test_data): Likewise.
31425         (exp_upward_test_data): Likewise.
31426         (exp10_test_data): Likewise.
31427         (exp2_test_data): Likewise.
31428         (expm1_test_data): Likewise.
31429         (fabs_test_data): Likewise.
31430         (fdim_test_data): Likewise.
31431         (finite_test_data): Likewise.
31432         (floor_test_data): Likewise.
31433         (fma_test_data): Likewise.
31434         (fma_towardzero_test_data): Likewise.
31435         (fma_downward_test_data): Likewise.
31436         (fma_upward_test_data): Likewise.
31437         (fmax_test_data): Likewise.
31438         (fmin_test_data): Likewise.
31439         (fmod_test_data): Likewise.
31440         (fpclassify_test_data): Likewise.
31441         (frexp_test_data): Likewise.
31442         (gamma_test_data): Likewise.
31443         (hypot_test_data): Likewise.
31444         (ilogb_test_data): Likewise.
31445         (isfinite_test_data): Likewise.
31446         (isgreater_test_data): Likewise.
31447         (isgreaterequal_test_data): Likewise.
31448         (isinf_test_data): Likewise.
31449         (isless_test_data): Likewise.
31450         (islessequal_test_data): Likewise.
31451         (islessgreater_test_data): Likewise.
31452         (isnan_test_data): Likewise.
31453         (isnormal_test_data): Likewise.
31454         (issignaling_test_data): Likewise.
31455         (isunordered_test_data): Likewise.
31456         (j0_test_data): Likewise.
31457         (j1_test_data): Likewise.
31458         (jn_test_data): Likewise.
31459         (ldexp_test_data): Likewise.
31460         (lgamma_test_data): Likewise.
31461         (lrint_test_data): Likewise.
31462         (lrint_tonearest_test_data): Likewise.
31463         (lrint_towardzero_test_data): Likewise.
31464         (lrint_downward_test_data): Likewise.
31465         (lrint_upward_test_data): Likewise.
31466         (llrint_test_data): Likewise.
31467         (llrint_tonearest_test_data): Likewise.
31468         (llrint_towardzero_test_data): Likewise.
31469         (llrint_downward_test_data): Likewise.
31470         (llrint_upward_test_data): Likewise.
31471         (log_test_data): Likewise.
31472         (log10_test_data): Likewise.
31473         (log1p_test_data): Likewise.
31474         (log2_test_data): Likewise.
31475         (logb_test_data): Likewise.
31476         (logb_downward_test_data): Likewise.
31477         (lround_test_data): Likewise.
31478         (llround_test_data): Likewise.
31479         (modf_test_data): Likewise.
31480         (nearbyint_test_data): Likewise.
31481         (nextafter_test_data): Likewise.
31482         (nexttoward_test_data): Likewise.
31483         (pow_test_data): Likewise.
31484         (pow_tonearest_test_data): Likewise.
31485         (pow_towardzero_test_data): Likewise.
31486         (pow_downward_test_data): Likewise.
31487         (pow_upward_test_data): Likewise.
31488         (remainder_test_data): Likewise.
31489         (remainder_tonearest_test_data): Likewise.
31490         (remainder_towardzero_test_data): Likewise.
31491         (remainder_downward_test_data): Likewise.
31492         (remainder_upward_test_data): Likewise.
31493         (remquo_test_data): Likewise.
31494         (rint_test_data): Likewise.
31495         (rint_tonearest_test_data): Likewise.
31496         (rint_towardzero_test_data): Likewise.
31497         (rint_downward_test_data): Likewise.
31498         (rint_upward_test_data): Likewise.
31499         (round_test_data): Likewise.
31500         (scalb_test_data): Likewise.
31501         (scalbn_test_data): Likewise.
31502         (scalbln_test_data): Likewise.
31503         (signbit_test_data): Likewise.
31504         (sin_test_data): Likewise.
31505         (sin_tonearest_test_data): Likewise.
31506         (sin_towardzero_test_data): Likewise.
31507         (sin_downward_test_data): Likewise.
31508         (sin_upward_test_data): Likewise.
31509         (sincos_test_data): Likewise.
31510         (sinh_test_data): Likewise.
31511         (sinh_tonearest_test_data): Likewise.
31512         (sinh_towardzero_test_data): Likewise.
31513         (sinh_downward_test_data): Likewise.
31514         (sinh_upward_test_data): Likewise.
31515         (sqrt_test_data): Likewise.
31516         (tan_test_data): Likewise.
31517         (tan_tonearest_test_data): Likewise.
31518         (tan_towardzero_test_data): Likewise.
31519         (tan_downward_test_data): Likewise.
31520         (tan_upward_test_data): Likewise.
31521         (tanh_test_data): Likewise.
31522         (tgamma_test_data): Likewise.
31523         (trunc_test_data): Likewise.
31524         (y0_test_data): Likewise.
31525         (y1_test_data): Likewise.
31526         (yn_test_data): Likewise.
31527         (significand_test_data): Likewise.
31529         * math/gen-libm-test.pl (@functions): Remove variable.
31530         (generate_testfile): Don't handle START and END lines.
31531         * math/libm-test.inc (START): New macro.
31532         (END): Likewise.
31533         (END_COMPLEX): Likewise.
31534         (acos_test): Use END macro without arguments.
31535         (acos_test_tonearest): Likewise.
31536         (acos_test_towardzero): Likewise.
31537         (acos_test_downward): Likewise.
31538         (acos_test_upward): Likewise.
31539         (acosh_test): Likewise.
31540         (asin_test): Likewise.
31541         (asin_test_tonearest): Likewise.
31542         (asin_test_towardzero): Likewise.
31543         (asin_test_downward): Likewise.
31544         (asin_test_upward): Likewise.
31545         (asinh_test): Likewise.
31546         (atan_test): Likewise.
31547         (atanh_test): Likewise.
31548         (atan2_test): Likewise.
31549         (cabs_test): Likewise.
31550         (cacos_test): Use END_COMPLEX macro without arguments.
31551         (cacosh_test): Likewise.
31552         (carg_test): Use END macro without arguments.
31553         (casin_test): Use END_COMPLEX macro without arguments.
31554         (casinh_test): Likewise.
31555         (catan_test): Likewise.
31556         (catanh_test): Likewise.
31557         (cbrt_test): Use END macro without arguments.
31558         (ccos_test): Use END_COMPLEX macro without arguments.
31559         (ccosh_test): Likewise.
31560         (ceil_test): Use END macro without arguments.
31561         (cexp_test): Use END_COMPLEX macro without arguments.
31562         (cimag_test): Use END macro without arguments.
31563         (clog_test): Use END_COMPLEX macro without arguments.
31564         (clog10_test): Likewise.
31565         (conj_test): Likewise.
31566         (copysign_test): Use END macro without arguments.
31567         (cos_test): Likewise.
31568         (cos_test_tonearest): Likewise.
31569         (cos_test_towardzero): Likewise.
31570         (cos_test_downward): Likewise.
31571         (cos_test_upward): Likewise.
31572         (cosh_test): Likewise.
31573         (cosh_test_tonearest): Likewise.
31574         (cosh_test_towardzero): Likewise.
31575         (cosh_test_downward): Likewise.
31576         (cosh_test_upward): Likewise.
31577         (cpow_test): Use END_COMPLEX macro without arguments.
31578         (cproj_test): Likewise.
31579         (creal_test): Use END macro without arguments.
31580         (csin_test): Use END_COMPLEX macro without arguments.
31581         (csinh_test): Likewise.
31582         (csqrt_test): Likewise.
31583         (ctan_test): Likewise.
31584         (ctan_test_tonearest): Likewise.
31585         (ctan_test_towardzero): Likewise.
31586         (ctan_test_downward): Likewise.
31587         (ctan_test_upward): Likewise.
31588         (ctanh_test): Likewise.
31589         (ctanh_test_tonearest): Likewise.
31590         (ctanh_test_towardzero): Likewise.
31591         (ctanh_test_downward): Likewise.
31592         (ctanh_test_upward): Likewise.
31593         (erf_test): Use END macro without arguments.
31594         (erfc_test): Likewise.
31595         (exp_test): Likewise.
31596         (exp_test_tonearest): Likewise.
31597         (exp_test_towardzero): Likewise.
31598         (exp_test_downward): Likewise.
31599         (exp_test_upward): Likewise.
31600         (exp10_test): Likewise.
31601         (exp2_test): Likewise.
31602         (expm1_test): Likewise.
31603         (fabs_test): Likewise.
31604         (fdim_test): Likewise.
31605         (finite_test): Likewise.
31606         (floor_test): Likewise.
31607         (fma_test): Likewise.
31608         (fma_test_towardzero): Likewise.
31609         (fma_test_downward): Likewise.
31610         (fma_test_upward): Likewise.
31611         (fmax_test): Likewise.
31612         (fmin_test): Likewise.
31613         (fmod_test): Likewise.
31614         (fpclassify_test): Likewise.
31615         (frexp_test): Likewise.
31616         (gamma_test): Likewise.
31617         (hypot_test): Likewise.
31618         (ilogb_test): Likewise.
31619         (isfinite_test): Likewise.
31620         (isgreater_test): Likewise.
31621         (isgreaterequal_test): Likewise.
31622         (isinf_test): Likewise.
31623         (isless_test): Likewise.
31624         (islessequal_test): Likewise.
31625         (islessgreater_test): Likewise.
31626         (isnan_test): Likewise.
31627         (isnormal_test): Likewise.
31628         (issignaling_test): Likewise.
31629         (isunordered_test): Likewise.
31630         (j0_test): Likewise.
31631         (j1_test): Likewise.
31632         (jn_test): Likewise.
31633         (ldexp_test): Likewise.
31634         (lgamma_test): Likewise.
31635         (lrint_test): Likewise.
31636         (lrint_test_tonearest): Likewise.
31637         (lrint_test_towardzero): Likewise.
31638         (lrint_test_downward): Likewise.
31639         (lrint_test_upward): Likewise.
31640         (llrint_test): Likewise.
31641         (llrint_test_tonearest): Likewise.
31642         (llrint_test_towardzero): Likewise.
31643         (llrint_test_downward): Likewise.
31644         (llrint_test_upward): Likewise.
31645         (log_test): Likewise.
31646         (log10_test): Likewise.
31647         (log1p_test): Likewise.
31648         (log2_test): Likewise.
31649         (logb_test): Likewise.
31650         (logb_test_downward): Likewise.
31651         (lround_test): Likewise.
31652         (llround_test): Likewise.
31653         (modf_test): Likewise.
31654         (nearbyint_test): Likewise.
31655         (nextafter_test): Likewise.
31656         (nexttoward_test): Likewise.
31657         (pow_test): Likewise.
31658         (pow_test_tonearest): Likewise.
31659         (pow_test_towardzero): Likewise.
31660         (pow_test_downward): Likewise.
31661         (pow_test_upward): Likewise.
31662         (remainder_test): Likewise.
31663         (remainder_test_tonearest): Likewise.
31664         (remainder_test_towardzero): Likewise.
31665         (remainder_test_downward): Likewise.
31666         (remainder_test_upward): Likewise.
31667         (remquo_test): Likewise.
31668         (rint_test): Likewise.
31669         (rint_test_tonearest): Likewise.
31670         (rint_test_towardzero): Likewise.
31671         (rint_test_downward): Likewise.
31672         (rint_test_upward): Likewise.
31673         (round_test): Likewise.
31674         (scalb_test): Likewise.
31675         (scalbn_test): Likewise.
31676         (scalbln_test): Likewise.
31677         (signbit_test): Likewise.
31678         (sin_test): Likewise.
31679         (sin_test_tonearest): Likewise.
31680         (sin_test_towardzero): Likewise.
31681         (sin_test_downward): Likewise.
31682         (sin_test_upward): Likewise.
31683         (sincos_test): Likewise.
31684         (sinh_test): Likewise.
31685         (sinh_test_tonearest): Likewise.
31686         (sinh_test_towardzero): Likewise.
31687         (sinh_test_downward): Likewise.
31688         (sinh_test_upward): Likewise.
31689         (sqrt_test): Likewise.
31690         (tan_test): Likewise.
31691         (tan_test_tonearest): Likewise.
31692         (tan_test_towardzero): Likewise.
31693         (tan_test_downward): Likewise.
31694         (tan_test_upward): Likewise.
31695         (tanh_test): Likewise.
31696         (tgamma_test): Likewise.
31697         (trunc_test): Likewise.
31698         (y0_test): Likewise.
31699         (y1_test): Likewise.
31700         (yn_test): Likewise.
31701         (significand_test): Likewise.
31703 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
31705         [BZ #15381]
31706         * libio/genops.c (_IO_no_init): Initialize wide struct info.
31708 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
31710         [BZ #14894]
31711         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
31712         __ppc_mdoio and __ppc_mdoom.
31713         * manual/platform.texi: Document new functions __ppc_yield,
31714         __ppc_mdoio and __ppc_mdoom.
31716 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
31718         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
31719         (main): Mention "tls" pseudo-hwcap is legacy.
31720         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
31722 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
31724         * math/gen-libm-test.pl (parse_args): Output only string of
31725         arguments as text for test name, not full call or descriptions of
31726         tests for extra outputs.
31727         (generate_testfile): Do not pass function name to parse_args.
31728         Generate this_func variable from START.
31729         * math/libm-test.inc (struct test_f_f_data): Rename test_name
31730         field to arg_str.
31731         (struct test_ff_f_data): Likewise.
31732         (test_ff_f_data_nexttoward): Likewise.
31733         (struct test_fi_f_data): Likewise.
31734         (struct test_fl_f_data): Likewise.
31735         (struct test_if_f_data): Likewise.
31736         (struct test_fff_f_data): Likewise.
31737         (struct test_c_f_data): Likewise.
31738         (struct test_f_f1_data): Likewise.  Remove field extra_name.
31739         (struct test_fF_f1_data): Likewise.
31740         (struct test_ffI_f1_data): Likewise.
31741         (struct test_c_c_data): Rename test_name field to arg_str.
31742         (struct test_cc_c_data): Likewise.
31743         (struct test_f_i_data): Likewise.
31744         (struct test_ff_i_data): Likewise.
31745         (struct test_f_l_data): Likewise.
31746         (struct test_f_L_data): Likewise.
31747         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
31748         and extra2_name.
31749         (COMMON_TEST_SETUP): New macro.
31750         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
31751         (COMMON_TEST_CLEANUP): Likewise.
31752         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
31753         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
31754         macros.
31755         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
31756         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
31757         macros.
31758         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
31759         (RUN_TEST_fff_f): Take argument string.  Call new setup and
31760         cleanup macros.
31761         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
31762         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
31763         macros.
31764         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
31765         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
31766         macros.
31767         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
31768         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
31769         cleanup macros.
31770         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
31771         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
31772         cleanup macros.
31773         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
31774         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
31775         cleanup macros.
31776         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
31777         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
31778         macros.
31779         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
31780         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
31781         macros.
31782         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
31783         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
31784         macros.
31785         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
31786         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
31787         cleanup macros.
31788         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
31789         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
31790         cleanup macros.
31791         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
31792         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
31793         macros.
31794         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
31795         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
31796         cleanup macros.
31797         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
31798         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
31799         macros.
31800         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
31801         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
31802         macros.
31803         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
31804         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
31805         cleanup macros.
31806         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
31808 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
31810         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
31811         to _sifields.sigfault.
31812         (si_addr_lsb): Define new macro.
31813         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
31814         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31815         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
31817 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
31819         [BZ #15441]
31820         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
31821         returns -1.
31822         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
31823         null return -1.
31824         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
31825         loading the domain.
31827 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
31829         * math/gen-libm-test.pl (parse_args): Do not include expected
31830         result in test name.
31831         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
31832         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31833         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31834         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31835         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31838 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
31840         * benchtests/Makefile: Sort function entries.
31842         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
31843         tanh, asinh, acosh, atanh.
31844         * benchtests/acos-inputs: New file.
31845         * benchtests/acosh-inputs: New file.
31846         * benchtests/asin-inputs: New file.
31847         * benchtests/asinh-inputs: New file.
31848         * benchtests/atanh-inputs: New file.
31849         * benchtests/cosh-inputs: New file.
31850         * benchtests/log-inputs: New file.
31851         * benchtests/sinh-inputs: New file.
31852         * benchtests/tanh-inputs: New file.
31854 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
31856         [BZ #15339]
31857         * posix/tst-getaddrinfo4.c: New test.
31858         * posix/Makefile (tests): Add it.
31860 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31862         [BZ #15339]
31863         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
31864         when no services were used.
31865         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
31866         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
31868 2013-05-21  Andreas Schwab  <schwab@suse.de>
31870         [BZ #15014]
31871         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
31872         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
31873         successful.
31874         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
31875         redundant variable declarations and reallocation of buffer when
31876         parsing as IPv6 address.  Always set NSS status when called from
31877         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
31878         buffer too small.  Correct computation of needed size.
31879         * nss/Makefile (tests): Add test-digits-dots.
31880         * nss/test-digits-dots.c: New test.
31882 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31884         * benchtests/Makefile: Remove instructions for adding
31885         benchmark tests.
31886         * benchtests/README: New file to explain how to execute and
31887         enhance the benchmark tests.
31889 2013-05-21  Andreas Schwab  <schwab@suse.de>
31891         [BZ #15493]
31892         * setjmp/Makefile (tests): Add tst-sigsetjmp.
31893         * setjmp/tst-sigsetjmp.c: New test.
31895 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
31897         * sysdeps/x86_64/memset.S (memset): New implementation.
31898         (__bzero): Likewise.
31899         (__memset_tail): New function.
31901 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
31903         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
31904         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
31905         __memcpy_sse2_unaligned ifunc selection.
31906         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31907         Add memcpy-sse2-unaligned.S.
31908         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31909         Add: __memcpy_sse2_unaligned.
31911 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
31913         [BZ #15490]
31914         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31915         math_force_eval before restoring floating-point envrionment.
31916         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
31917         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
31918         Likewise.
31919         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
31920         <math_private.h>.
31921         (__nearbyintl): Use math_force_eval before restoring
31922         floating-point environment.
31923         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
31925         * math/gen-libm-test.pl (special_functions): Remove.
31926         (parse_args): Don't handle TEST_extra.  Handle functions with no
31927         return value.
31928         * math/libm-test.inc (struct test_sincos_data): Replace with
31929         struct test_fFF_11_data.
31930         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
31931         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
31932         (sincos_test_data): Change element type to struct
31933         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
31934         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
31935         RUN_TEST_LOOP_sincos.
31936         * math/README.libm-test: Don't mention special handling of
31937         individual functions.
31938         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
31939         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31940         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31941         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31942         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31945         * math/gen-libm-test.pl (get_variable): Remove function.
31946         (parse_args): Don't show pointer parameters to call in test
31947         names.  Use "extra output N" in test names for extra outputs
31948         rather than naming variables.
31950 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
31952         [BZ #15488]
31953         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
31954         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
31955         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
31956         double tests.
31957         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
31958         disable.
31959         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
31960         check_long_double.
31962         * math/gen-libm-test.pl (@tests): Remove variable.
31963         ($count): Likewise.
31964         (new_test): Remove function.
31965         (show_exceptions): New function.
31966         (special_functions): Use show_exceptions instead of new_test.
31967         (parse_args): Likewise.
31968         (generate_testfile): Pass only function name in generated call to
31969         print_max_error or print_complex_max_error.
31970         (get_ulps): Do not handle complex tests specially.
31971         (output_test): Rename to ...
31972         (get_all_ulps_for_test): ... this.  Return a string rather than
31973         printing to a file.  Require ulps to be present.
31974         (output_ulps): Generate arrays rather than #defines.
31975         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
31976         (struct ulp_data): New type.
31977         (BUILD_COMPLEX_ULP): Remove macro.
31978         (compare_ulp_data): New function.
31979         (find_ulps): Likewise.
31980         (find_test_ulps): Likewise.
31981         (find_function_ulps): Likewise.
31982         (find_complex_function_ulps): Likewise.
31983         (print_max_error): Determine allowed ulps using
31984         find_function_ulps.
31985         (print_complex_max_error): Determine allowed ulps using
31986         find_complex_function_ulps.
31987         (check_float_internal): Determine max ulps using find_test_ulps.
31988         (check_float): Do not take max_ulp parameter.  Update call to
31989         check_float_internal.
31990         (check_complex): Likewise.
31991         (check_int): Do not take max_ulp parameter.
31992         (check_long): Likewise.
31993         (check_bool): Likewise.
31994         (check_longlong): Likewise.
31995         (struct test_f_f_data): Remove max_ulp field.
31996         (struct test_ff_f_data): Likewise.
31997         (struct test_ff_f_data_nexttoward): Likewise.
31998         (struct test_fi_f_data): Likewise.
31999         (struct test_fl_f_data): Likewise.
32000         (struct test_if_f_data): Likewise.
32001         (struct test_fff_f_data): Likewise.
32002         (struct test_c_f_data): Likewise.
32003         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
32004         (struct test_fF_f1_data): Likewise.
32005         (struct test_ffI_f1_data): Likewise.
32006         (struct test_c_c_data): Remove max_ulp field.
32007         (struct test_cc_c_data): Likewise.
32008         (struct test_f_i_data): Likewise.
32009         (struct test_ff_i_data): Likewise.
32010         (struct test_f_l_data): Likewise.
32011         (struct test_f_L_data): Likewise.
32012         (struct test_sincos_data): Likewise.
32013         (RUN_TEST_f_f): Do not handle ulps.
32014         (RUN_TEST_LOOP_f_f): Likewise.
32015         (RUN_TEST_2_f): Likewise.
32016         (RUN_TEST_LOOP_2_f): Likewise.
32017         (RUN_TEST_fff_f): Likewise.
32018         (RUN_TEST_LOOP_fff_f): Likewise.
32019         (RUN_TEST_c_f): Likewise.
32020         (RUN_TEST_LOOP_c_f): Likewise.
32021         (RUN_TEST_f_f1): Likewise.
32022         (RUN_TEST_LOOP_f_f1): Likewise.
32023         (RUN_TEST_fF_f1): Likewise.
32024         (RUN_TEST_LOOP_fF_f1): Likewise.
32025         (RUN_TEST_fI_f1): Likewise.
32026         (RUN_TEST_LOOP_fI_f1): Likewise.
32027         (RUN_TEST_ffI_f1): Likewise.
32028         (RUN_TEST_LOOP_ffI_f1): Likewise.
32029         (RUN_TEST_c_c): Likewise.
32030         (RUN_TEST_LOOP_c_c): Likewise.
32031         (RUN_TEST_cc_c): Likewise.
32032         (RUN_TEST_LOOP_cc_c): Likewise.
32033         (RUN_TEST_f_i): Likewise.
32034         (RUN_TEST_LOOP_f_i): Likewise.
32035         (RUN_TEST_f_i_tg): Likewise.
32036         (RUN_TEST_LOOP_f_i_tg): Likewise.
32037         (RUN_TEST_ff_i_tg): Likewise.
32038         (RUN_TEST_LOOP_ff_i_tg): Likewise.
32039         (RUN_TEST_f_b): Likewise.
32040         (RUN_TEST_LOOP_f_b): Likewise.
32041         (RUN_TEST_f_b_tg): Likewise.
32042         (RUN_TEST_LOOP_f_b_tg): Likewise.
32043         (RUN_TEST_f_l): Likewise.
32044         (RUN_TEST_LOOP_f_l): Likewise.
32045         (RUN_TEST_f_L): Likewise.
32046         (RUN_TEST_LOOP_f_L): Likewise.
32047         (RUN_TEST_sincos): Likewise.
32048         (RUN_TEST_LOOP_sincos): Likewise.
32050 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
32052         [BZ #15480]
32053         [BZ #15485]
32054         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
32055         main case of finite arguments, set rounding mode to FE_TONEAREST
32056         and discard exceptions.
32057         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
32058         exceptions.
32059         (remainder_tonearest_test_data): New variable.
32060         (remainder_test_tonearest): New function.
32061         (remainder_towardzero_test_data): New variable.
32062         (remainder_test_towardzero): New function.
32063         (remainder_downward_test_data): New variable.
32064         (remainder_test_downward): New function.
32065         (remainder_upward_test_data): New variable.
32066         (remainder_test_upward): New function.
32067         (main): Call the new test functions.
32069         * math/libm-test.inc (struct test_f_f1_data): Remove field
32070         extra_init.
32071         (struct test_fF_f1_data): Likewise.
32072         (struct test_ffI_f1_data): Likewise.
32073         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
32074         based on value of EXTRA_EXPECTED.
32075         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
32076         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
32077         EXTRA_VAR based on value of EXTRA_EXPECTED.
32078         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
32079         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
32080         EXTRA_VAR based on value of EXTRA_EXPECTED.
32081         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
32082         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
32083         EXTRA_VAR based on value of EXTRA_EXPECTED.
32084         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
32085         * math/gen-libm-test.pl (parse_args): Don't output initializers
32086         for extra output values.
32088         * math/libm-test.inc (check_int): Expect result to be exactly
32089         equal to expected value and do not handle ulps.
32090         (check_long): Likewise.
32091         (check_longlong): Likewise.
32093         * math/libm-test.inc (ceil_test_data): Test for "inexact"
32094         exceptions.
32095         (cimag_test_data): Likewise.
32096         (conj_test_data): Likewise.
32097         (copysign_test_data): Likewise.
32098         (cproj_test_data): Likewise.
32099         (creal_test_data): Likewise.
32100         (fabs_test_data): Likewise.
32101         (fdim_test_data): Likewise.
32102         (finite_test_data): Likewise.
32103         (floor_test_data): Likewise.
32104         (fmax_test_data): Likewise.
32105         (fmin_test_data): Likewise.
32106         (fmod_test_data): Likewise.
32107         (fpclassify_test_data): Likewise.
32108         (frexp_test_data): Likewise.
32109         (ilogb_test_data): Likewise.
32110         (isfinite_test_data): Likewise.
32111         (isgreater_test_data): Likewise.
32112         (isgreaterequal_test_data): Likewise.
32113         (isinf_test_data): Likewise.
32114         (isless_test_data): Likewise.
32115         (islessequal_test_data): Likewise.
32116         (islessgreater_test_data): Likewise.
32117         (isnan_test_data): Likewise.
32118         (isnormal_test_data): Likewise.
32119         (issignaling_test_data): Likewise.
32120         (isunordered_test_data): Likewise.
32121         (ldexp_test_data): Likewise.
32122         (lrint_test_data): Likewise.
32123         (lrint_test_data) [TEST_FLOAT]: Disable one test.
32124         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
32125         (lrint_tonearest_test_data): Test for "inexact" exceptions.
32126         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
32127         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
32128         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
32129         test input.
32130         (lrint_towardzero_test_data): Test for "inexact" exceptions.
32131         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
32132         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
32133         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
32134         that test input.
32135         (lrint_downward_test_data): Test for "inexact" exceptions.
32136         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
32137         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
32138         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
32139         test input.
32140         (lrint_upward_test_data): Test for "inexact" exceptions.
32141         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
32142         test input.
32143         (llrint_test_data): Test for "inexact" exceptions.
32144         (llrint_test_data) [TEST_FLOAT]: Disable one test.
32145         (llrint_tonearest_test_data): Test for "inexact" exceptions.
32146         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
32147         (llrint_towardzero_test_data): Test for "inexact" exceptions.
32148         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
32149         (llrint_downward_test_data): Test for "inexact" exceptions.
32150         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
32151         (llrint_upward_test_data): Test for "inexact" exceptions.
32152         (logb_test_data): Likewise.
32153         (logb_downward_test_data): Likewise.
32154         (nextafter_test_data): Likewise.
32155         (nexttoward_test_data): Likewise.
32156         (remainder_test_data): Likewise.
32157         (remquo_test_data): Likewise.
32158         (scalbn_test_data): Likewise.
32159         (scalbln_test_data): Likewise.
32160         (signbit_test_data): Likewise.
32161         (sqrt_test_data): Likewise.
32162         (significand_test_data): Likewise.
32164 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
32166         [BZ #15424]
32167         * benchtests/bench-modf.c (struct args): Mark arg0 as
32168         volatile.
32169         * scripts/bench.pl: Mark members of struct args as volatile.
32171 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32173         [BZ # 15497]
32174         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
32175         negative infinity on POWER6 or lower.
32176         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
32178 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
32180         [BZ #15442]
32181         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
32182         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
32183         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
32184         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
32185         (_FP_SETQNAN): New macro.
32186         (_FP_SETQNAN_SEMIRAW): Likewise.
32187         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
32188         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
32189         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
32190         (FP_EXTEND): Use _FP_FRAC_SNANP.
32191         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
32192         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
32193         into account.
32194         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32195         New macro.
32196         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32197         Likewise.
32199 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
32201         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
32202         with DIVIDE_BY_ZERO_EXCEPTION.
32203         (gamma_test_data): Likewise.
32204         (lgamma_test_data): Likewise.
32205         (log_test_data): Likewise.
32206         (log10_test_data): Likewise.
32207         (log2_test_data): Likewise.
32208         (tgamma_test_data): Likewise.
32210         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
32211         (acos_test_tonearest): Likewise.
32212         (acos_test_towardzero): Likewise.
32213         (acos_test_downward): Likewise.
32214         (acos_test_upward): Likewise.
32215         (acosh_test): Likewise.
32216         (asin_test): Likewise.
32217         (asin_test_tonearest): Likewise.
32218         (asin_test_towardzero): Likewise.
32219         (asin_test_downward): Likewise.
32220         (asin_test_upward): Likewise.
32221         (asinh_test): Likewise.
32222         (atan_test): Likewise.
32223         (atanh_test): Likewise.
32224         (atan2_test): Likewise.
32225         (cabs_test): Likewise.
32226         (cacos_test): Likewise.
32227         (cacosh_test): Likewise.
32228         (casin_test): Likewise.
32229         (casinh_test): Likewise.
32230         (catan_test): Likewise.
32231         (catanh_test): Likewise.
32232         (cbrt_test): Likewise.
32233         (ccos_test): Likewise.
32234         (ccosh_test): Likewise.
32235         (cexp_test): Likewise.
32236         (clog_test): Likewise.
32237         (clog10_test): Likewise.
32238         (cos_test): Likewise.
32239         (cos_test_tonearest): Likewise.
32240         (cos_test_towardzero): Likewise.
32241         (cos_test_downward): Likewise.
32242         (cos_test_upward): Likewise.
32243         (cosh_test): Likewise.
32244         (cosh_test_tonearest): Likewise.
32245         (cosh_test_towardzero): Likewise.
32246         (cosh_test_downward): Likewise.
32247         (cosh_test_upward): Likewise.
32248         (cpow_test): Likewise.
32249         (csin_test): Likewise.
32250         (csinh_test): Likewise.
32251         (csqrt_test): Likewise.
32252         (ctan_test): Likewise.
32253         (ctan_test_tonearest): Likewise.
32254         (ctan_test_towardzero): Likewise.
32255         (ctan_test_downward): Likewise.
32256         (ctan_test_upward): Likewise.
32257         (ctanh_test): Likewise.
32258         (ctanh_test_tonearest): Likewise.
32259         (ctanh_test_towardzero): Likewise.
32260         (ctanh_test_downward): Likewise.
32261         (ctanh_test_upward): Likewise.
32262         (erf_test): Likewise.
32263         (erfc_test): Likewise.
32264         (exp_test): Likewise.
32265         (exp_test_tonearest): Likewise.
32266         (exp_test_towardzero): Likewise.
32267         (exp_test_downward): Likewise.
32268         (exp_test_upward): Likewise.
32269         (exp10_test): Likewise.
32270         (exp2_test): Likewise.
32271         (expm1_test): Likewise.
32272         (fmod_test): Likewise.
32273         (gamma_test): Likewise.
32274         (hypot_test): Likewise.
32275         (j0_test): Likewise.
32276         (j1_test): Likewise.
32277         (jn_test): Likewise.
32278         (lgamma_test): Likewise.
32279         (log_test): Likewise.
32280         (log10_test): Likewise.
32281         (log1p_test): Likewise.
32282         (log2_test): Likewise.
32283         (logb_test_downward): Likewise.
32284         (pow_test): Likewise.
32285         (pow_test_tonearest): Likewise.
32286         (pow_test_towardzero): Likewise.
32287         (pow_test_downward): Likewise.
32288         (pow_test_upward): Likewise.
32289         (remainder_test): Likewise.
32290         (remquo_test): Likewise.
32291         (sin_test): Likewise.
32292         (sin_test_tonearest): Likewise.
32293         (sin_test_towardzero): Likewise.
32294         (sin_test_downward): Likewise.
32295         (sin_test_upward): Likewise.
32296         (sincos_test): Likewise.
32297         (sinh_test): Likewise.
32298         (sinh_test_tonearest): Likewise.
32299         (sinh_test_towardzero): Likewise.
32300         (sinh_test_downward): Likewise.
32301         (sinh_test_upward): Likewise.
32302         (sqrt_test): Likewise.
32303         (tan_test): Likewise.
32304         (tan_test_tonearest): Likewise.
32305         (tan_test_towardzero): Likewise.
32306         (tan_test_downward): Likewise.
32307         (tan_test_upward): Likewise.
32308         (tanh_test): Likewise.
32309         (tgamma_test): Likewise.
32310         (y0_test): Likewise.
32311         (y1_test): Likewise.
32312         (yn_test): Likewise.
32314         * math/gen-libm-test.pl (adjust_arg): Remove function.
32315         (special_function): Remove argument $in_func.  Only handle
32316         generating output for tables of tests, not inside functions.
32317         (parse_args): Likewise.
32318         (generate_testfile): Remove variable $in_func.  Update call to
32319         parse_args.
32320         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
32321         (MINUS_ZERO_INIT): Rename macro to minus_zero.
32322         (PLUS_INFTY_INIT): Rename macro to plus_infty.
32323         (MINUS_INFTY_INIT): Rename macro to minus_infty.
32324         (QNAN_VALUE_INIT): Rename macro to qnan_value.
32325         (MAX_VALUE_INIT): Rename macro to max_value.
32326         (MIN_VALUE_INIT): Rename macro to min_value.
32327         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
32328         (plus_zero): Remove variable.
32329         (minus_zero): Likewise.
32330         (plus_infty): Likewise.
32331         (minus_infty): Likewise.
32332         (qnan_value): Likewise.
32333         (max_value): Likewise.
32334         (min_value): Likewise.
32335         (min_subnorm_value): Likewise.
32337 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32339         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
32340         uint64_t or uint32_t usage.
32341         * crypt/sha256-block.c: Likewise.
32342         * crypt/sha256-crypt.c: Likewise.
32343         * crypt/sha256.c: Likewise.
32344         * crypt/sha512-block.c: Likewise.
32345         * crypt/sha512-crypt.c: Likewise.
32346         * crypt/sha512.c: Likewise.
32347         * debug/backtrace-tst.c: Likewise.
32348         * debug/pcprofiledump.c: Likewise.
32349         * elf/cache.c: Likewise.
32350         * elf/dl-cache.c: Likewise.
32351         * elf/dl-misc.c: Likewise.
32352         * elf/dl-profile.c: Likewise.
32353         * elf/dl-support.c: Likewise.
32354         * elf/ldconfig.c: Likewise.
32355         * elf/sprof.c: Likewise.
32356         * iconv/dummy-repertoire.c: Likewise.
32357         * iconv/iconv_charmap.c: Likewise.
32358         * iconv/skeleton.c: Likewise.
32359         * iconvdata/8bit-generic.c: Likewise.
32360         * iconvdata/cp737.h: Likewise.
32361         * iconvdata/cp775.h: Likewise.
32362         * iconvdata/ibm1008.h: Likewise.
32363         * iconvdata/ibm1025.h: Likewise.
32364         * iconvdata/ibm1046.h: Likewise.
32365         * iconvdata/ibm1097.h: Likewise.
32366         * iconvdata/ibm1112.h: Likewise.
32367         * iconvdata/ibm1122.h: Likewise.
32368         * iconvdata/ibm1123.h: Likewise.
32369         * iconvdata/ibm1124.h: Likewise.
32370         * iconvdata/ibm1129.h: Likewise.
32371         * iconvdata/ibm1130.h: Likewise.
32372         * iconvdata/ibm1132.h: Likewise.
32373         * iconvdata/ibm1133.h: Likewise.
32374         * iconvdata/ibm1137.h: Likewise.
32375         * iconvdata/ibm1140.h: Likewise.
32376         * iconvdata/ibm1141.h: Likewise.
32377         * iconvdata/ibm1142.h: Likewise.
32378         * iconvdata/ibm1143.h: Likewise.
32379         * iconvdata/ibm1144.h: Likewise.
32380         * iconvdata/ibm1145.h: Likewise.
32381         * iconvdata/ibm1146.h: Likewise.
32382         * iconvdata/ibm1147.h: Likewise.
32383         * iconvdata/ibm1148.h: Likewise.
32384         * iconvdata/ibm1149.h: Likewise.
32385         * iconvdata/ibm1153.h: Likewise.
32386         * iconvdata/ibm1154.h: Likewise.
32387         * iconvdata/ibm1155.h: Likewise.
32388         * iconvdata/ibm1156.h: Likewise.
32389         * iconvdata/ibm1157.h: Likewise.
32390         * iconvdata/ibm1158.h: Likewise.
32391         * iconvdata/ibm1160.h: Likewise.
32392         * iconvdata/ibm1161.h: Likewise.
32393         * iconvdata/ibm1162.h: Likewise.
32394         * iconvdata/ibm1163.h: Likewise.
32395         * iconvdata/ibm1164.h: Likewise.
32396         * iconvdata/ibm1166.h: Likewise.
32397         * iconvdata/ibm1167.h: Likewise.
32398         * iconvdata/ibm12712.h: Likewise.
32399         * iconvdata/ibm1390.h: Likewise.
32400         * iconvdata/ibm1399.h: Likewise.
32401         * iconvdata/ibm16804.h: Likewise.
32402         * iconvdata/ibm4517.h: Likewise.
32403         * iconvdata/ibm4899.h: Likewise.
32404         * iconvdata/ibm4909.h: Likewise.
32405         * iconvdata/ibm4971.h: Likewise.
32406         * iconvdata/ibm5347.h: Likewise.
32407         * iconvdata/ibm803.h: Likewise.
32408         * iconvdata/ibm856.h: Likewise.
32409         * iconvdata/ibm901.h: Likewise.
32410         * iconvdata/ibm902.h: Likewise.
32411         * iconvdata/ibm9030.h: Likewise.
32412         * iconvdata/ibm9066.h: Likewise.
32413         * iconvdata/ibm921.h: Likewise.
32414         * iconvdata/ibm922.h: Likewise.
32415         * iconvdata/ibm9448.h: Likewise.
32416         * iconvdata/isiri-3342.h: Likewise.
32417         * iconvdata/jis0201.h: Likewise.
32418         * include/link.h: Likewise.
32419         * include/netdb.h: Likewise.
32420         * inet/check_native.c: Likewise.
32421         * inet/check_pf.c: Likewise.
32422         * inet/getipv4sourcefilter.c: Likewise.
32423         * inet/getnameinfo.c: Likewise.
32424         * inet/getsourcefilter.c: Likewise.
32425         * inet/htonl.c: Likewise.
32426         * inet/setipv4sourcefilter.c: Likewise.
32427         * inet/setsourcefilter.c: Likewise.
32428         * inet/test-inet6_opt.c: Likewise.
32429         * inet/tst-network.c: Likewise.
32430         * locale/C-collate.c: Likewise.
32431         * locale/C-ctype.c: Likewise.
32432         * locale/C-time.c: Likewise.
32433         * locale/C-translit.h: Likewise.
32434         * locale/loadarchive.c: Likewise.
32435         * locale/programs/3level.h: Likewise.
32436         * locale/programs/charmap.c: Likewise.
32437         * locale/programs/charmap.h: Likewise.
32438         * locale/programs/ld-address.c: Likewise.
32439         * locale/programs/ld-collate.c: Likewise.
32440         * locale/programs/ld-ctype.c: Likewise.
32441         * locale/programs/ld-identification.c: Likewise.
32442         * locale/programs/ld-measurement.c: Likewise.
32443         * locale/programs/ld-messages.c: Likewise.
32444         * locale/programs/ld-monetary.c: Likewise.
32445         * locale/programs/ld-name.c: Likewise.
32446         * locale/programs/ld-numeric.c: Likewise.
32447         * locale/programs/ld-paper.c: Likewise.
32448         * locale/programs/ld-telephone.c: Likewise.
32449         * locale/programs/ld-time.c: Likewise.
32450         * locale/programs/linereader.c: Likewise.
32451         * locale/programs/locale.c: Likewise.
32452         * locale/programs/locarchive.c: Likewise.
32453         * locale/programs/locfile.h: Likewise.
32454         * locale/programs/repertoire.c: Likewise.
32455         * locale/programs/simple-hash.c: Likewise.
32456         * locale/programs/simple-hash.h: Likewise.
32457         * malloc/memusage.c: Likewise.
32458         * malloc/memusagestat.c: Likewise.
32459         * nis/nis_defaults.c: Likewise.
32460         * nis/nis_hash.c: Likewise.
32461         * nis/nis_print.c: Likewise.
32462         * nis/nis_xdr.c: Likewise.
32463         * nscd/connections.c: Likewise.
32464         * nscd/hstcache.c: Likewise.
32465         * nscd/nscd_gethst_r.c: Likewise.
32466         * nscd/nscd_getserv_r.c: Likewise.
32467         * nscd/nscd_helper.c: Likewise.
32468         * nscd/servicescache.c: Likewise.
32469         * nss/makedb.c: Likewise.
32470         * nss/nss_db/db-XXX.c: Likewise.
32471         * nss/nss_db/db-initgroups.c: Likewise.
32472         * nss/nss_db/db-netgrp.c: Likewise.
32473         * nss/nss_files/files-network.c: Likewise.
32474         * nss/nss_files/files-parse.c: Likewise.
32475         * posix/bug-regex5.c: Likewise.
32476         * posix/fnmatch_loop.c: Likewise.
32477         * posix/regcomp.c: Likewise.
32478         * posix/regexec.c: Likewise.
32479         * posix/tst-rfc3484-2.c: Likewise.
32480         * posix/tst-rfc3484-3.c: Likewise.
32481         * posix/tst-rfc3484.c: Likewise.
32482         * resolv/nss_dns/dns-canon.c: Likewise.
32483         * resolv/nss_dns/dns-network.c: Likewise.
32484         * resolv/res_init.c: Likewise.
32485         * resolv/res_mkquery.c: Likewise.
32486         * resolv/tst-aton.c: Likewise.
32487         * stdlib/cxa_atexit.c: Likewise.
32488         * stdlib/cxa_finalize.c: Likewise.
32489         * stdlib/gen-fpioconst.c: Likewise.
32490         * stdlib/strtol_l.c: Likewise.
32491         * string/tst-endian.c: Likewise.
32492         * sunrpc/auth_des.c: Likewise.
32493         * sunrpc/clnt_udp.c: Likewise.
32494         * sunrpc/rtime.c: Likewise.
32495         * sunrpc/svcauth_des.c: Likewise.
32496         * sunrpc/xdr.c: Likewise.
32497         * sunrpc/xdr_intXX_t.c: Likewise.
32498         * sunrpc/xdr_rec.c: Likewise.
32499         * sysdeps/generic/ldconfig.h: Likewise.
32500         * sysdeps/generic/ldsodefs.h: Likewise.
32501         * sysdeps/generic/memusage.h: Likewise.
32502         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
32503         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
32504         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
32505         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
32506         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32507         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32508         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
32509         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
32510         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32511         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32512         * sysdeps/posix/getaddrinfo.c: Likewise.
32513         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32514         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32515         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32516         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32517         * sysdeps/powerpc/test-gettimebase.c: Likewise.
32518         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
32519         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
32520         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
32521         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
32522         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
32523         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
32524         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
32525         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
32526         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
32527         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
32528         * sysdeps/x86_64/dl-tls.h: Likewise.
32529         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
32530         * time/alt_digit.c: Likewise.
32531         * time/era.c: Likewise.
32532         * wcsmbs/tst-c16c32-1.c: Likewise.
32534 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
32536         * math/libm-test.inc (struct test_sincos_data): New type.
32537         (RUN_TEST_LOOP_sincos): New macro.
32538         (sincos_test_data): New variable.
32539         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
32541 2013-05-16  Richard Henderson  <rth@redhat.com>
32543         * math/atest-exp2.c (LIMB64): New macro.
32544         (CONSTSZ): New macro.
32545         (mp_exp1, mp_exp_m1, mp_log2): New variables.
32546         (hexdig): Move ...
32547         (print_mpn_fp): ... to function scope.
32548         (read_mpn_hex): Remove.
32549         (get_log2): Remove.
32550         (exp2_mpn): Use mp_log2.
32551         (main): Use mp_exp1.
32553 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
32555         * math/libm-test.inc: Remove comment about not testing "inexact"
32556         exceptions.
32557         (INEXACT_EXCEPTION): New macro.
32558         (NO_INEXACT_EXCEPTION): Likewise.
32559         (INVALID_EXCEPTION_OK): Update value.
32560         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32561         (OVERFLOW_EXCEPTION_OK): Likewise.
32562         (UNDERFLOW_EXCEPTION_OK): Likewise.
32563         (IGNORE_ZERO_INF_SIGN): Likewise.
32564         (ERRNO_UNCHANGED): Likewise.
32565         (ERRNO_EDOM): Likewise.
32566         (ERRNO_ERANGE): Likewise.
32567         (test_exceptions): Handle testing "inexact" exceptions.
32568         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
32569         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
32570         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
32571         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
32572         INEXACT_EXCEPTION.
32573         (rint_towardzero_test_data): Likewise.
32574         (rint_downward_test_data): Likewise.
32575         (rint_upward_test_data): Likewise.
32577         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
32578         with OVERFLOW_EXCEPTION.
32579         (exp10_test_data): Likewise.
32580         (exp2_test_data): Likewise.
32581         (expm1_test_data): Likewise.
32582         (lgamma_test_data): Likewise.
32583         (pow_test_data): Likewise.
32584         (tgamma_test_data): Likewise.
32585         (yn_test_data): Remove duplicate test of overflow.
32587         * math/libm-test.inc (struct test_cc_c_data): New type.
32588         (RUN_TEST_LOOP_cc_c): New macro.
32589         (cpow_test_data): New variable.
32590         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
32592         * math/libm-test.inc (struct test_f_L_data): New type.
32593         (RUN_TEST_LOOP_f_L): New macro.
32594         (llrint_test_data): New variable.
32595         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
32596         (llrint_tonearest_test_data): New variable.
32597         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
32598         (llrint_towardzero_test_data): New variable.
32599         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
32600         (llrint_downward_test_data): New variable.
32601         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
32602         (llrint_upward_test_data): New variable.
32603         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
32604         (llround_test_data): New variable.
32605         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
32607 2013-05-13  Peter Collingbourne  <pcc@google.com>
32609         * math/atest-exp2.c (get_log2): Remove const attribute.
32611 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
32613         * math/libm-test.inc (struct test_f_l_data): New type.
32614         (RUN_TEST_LOOP_f_l): New macro.
32615         (lrint_test_data): New variable.
32616         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
32617         (lrint_tonearest_test_data): New variable.
32618         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
32619         (lrint_towardzero_test_data): New variable.
32620         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
32621         (lrint_downward_test_data): New variable.
32622         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
32623         (lrint_upward_test_data): New variable.
32624         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
32625         (lround_test_data): New variable.
32626         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
32628 2013-05-15  Peter Collingbourne  <pcc@google.com>
32630         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
32631         (EXTRACT_WORDS64) Use where appropriate.
32632         (INSERT_WORDS64) Likewise.
32634         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
32635         constraints with x constraints.
32636         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
32638         * malloc/obstack.c (_obstack_compat): Add initializer.
32640 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
32642         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
32643         si_trapno and add si_addr_lsb to _sifields.sigfault.
32644         (si_trapno): Remove macro.
32645         (si_addr_lsb): Define new macro.
32646         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
32648 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
32650         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
32651         instead of TEST_f_l.
32652         (llrint_test_tonearest): Likewise.
32653         (llrint_test_towardzero): Likewise.
32654         (llrint_test_downward): Likewise.
32655         (llrint_test_upward): Likewise.
32656         (llround_test): Likewise.
32658         * math/libm-test.inc (struct test_f_i_data): Add comment.
32659         (RUN_TEST_LOOP_f_b): New macro.
32660         (RUN_TEST_LOOP_f_b_tg): Likewise.
32661         (finite_test_data): New variable.
32662         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
32663         (isfinite_test_data): New variable.
32664         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32665         (isinf_test_data): New variable.
32666         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32667         (isnan_test_data): New variable.
32668         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32669         (isnormal_test_data): New variable.
32670         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32671         (issignaling_test_data): New variable.
32672         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32673         (signbit_test_data): New variable.
32674         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32676         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
32677         with INVALID_EXCEPTION.
32678         (acosh_test_data): Likewise.
32679         (asin_test_data): Likewise.
32680         (atanh_test_data): Likewise.
32681         (fmod_test_data): Likewise.
32682         (log_test_data): Likewise.
32683         (log10_test_data): Likewise.
32684         (log2_test_data): Likewise.
32685         (pow_test_data): Likewise.
32686         (sqrt_test_data): Likewise.
32687         (y0_test_data): Likewise.
32688         (y1_test_data): Likewise.
32689         (yn_test_data): Likewise.
32691         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
32692         function contents.
32694         * math/libm-test.inc (struct test_ff_i_data): New type.
32695         (RUN_TEST_LOOP_ff_i_tg): New macro.
32696         (isgreater_test_data): New variable.
32697         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32698         (isgreaterequal_test_data): New variable.
32699         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32700         (isless_test_data): New variable.
32701         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32702         (islessequal_test_data): New variable.
32703         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32704         (islessgreater_test_data): New variable.
32705         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32706         (isunordered_test_data): New variable.
32707         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32709 2013-05-14  David S. Miller  <davem@davemloft.net>
32711         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32713 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
32715         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
32717         * math/libm-test.inc (struct test_fF_f1_data): Change type of
32718         extra_test to int.
32719         (struct test_f_i_data): Change type of max_ulp to int.
32721         * math/libm-test.inc (test_ffI_f1_data): New type.
32722         (RUN_TEST_LOOP_ffI_f1): New macro.
32723         (remquo_test_data): New variable.
32724         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
32726         * setjmp/tst-setjmp-fp.c: New file.
32727         * setjmp/Makefile (tests): Add tst-setjmp-fp.
32728         (link-libm): New variable.
32729         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
32731         * math/libm-test.inc (struct test_f_i_data): New type.
32732         (RUN_TEST_LOOP_f_i): New macro.
32733         (RUN_TEST_LOOP_f_i_tg): Likewise.
32734         (fpclassify_test_data): New variable.
32735         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
32736         (ilogb_test_data): New variable.
32737         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
32739         * math/libm-test.inc (scalbln_test): Correct function name in END
32740         call.
32742         * math/libm-test.inc (struct test_f_f1_data): Add comment.
32743         (RUN_TEST_LOOP_fI_f1): New macro.
32744         (frexp_test_data): New variable.
32745         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
32747         * math/libm-test.inc (struct test_fF_f1_data): New type.
32748         (RUN_TEST_LOOP_fF_f1): New macro.
32749         (modf_test_data): New variable.
32750         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
32752         * math/libm-test.inc (struct test_f_f1_data): New type.
32753         (RUN_TEST_LOOP_f_f1): New macro.
32754         (gamma_test_data): New variable.
32755         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
32756         (lgamma_test_data): New variable.
32757         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
32759 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
32761         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
32762         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
32763         (main): Comment "tls" pseudo-hwcap.
32765 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
32767         * math/libm-test.inc (struct test_fl_f_data): New type.
32768         (RUN_TEST_LOOP_fl_f): New variable.
32769         (scalbln_test_data): New variable.
32770         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
32772         * math/libm-test.inc (struct test_fi_f_data): New type.
32773         (RUN_TEST_LOOP_fi_f): New macro.
32774         (ldexp_test_data): New variable.
32775         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
32776         (scalbn_test_data): New variable.
32777         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
32779         * math/libm-test.inc (struct test_c_f_data): New type.
32780         (RUN_TEST_LOOP_c_f): New macro.
32781         (cabs_test_data): New variable.
32782         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
32783         (carg_test_data): New variable.
32784         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
32785         (cimag_test_data): New variable.
32786         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
32787         (creal_test_data): New variable.
32788         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
32790         * math/libm-test.inc (struct test_if_f_data): New type.
32791         (RUN_TEST_LOOP_if_f): New macro.
32792         (jn_test_data): New variable.
32793         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
32794         (yn_test_data): New variable.
32795         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
32797         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
32799 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32801         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
32802         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
32804 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32806         * benchtests/Makefile (CPPFLAGS-nonlib): Add
32807         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
32808         (bench-deps): Add bench-timing.h.
32809         * benchtests-bench-skeleton.c: Include bench-timing.h.
32810         (main): Use TIMING_* macros instead of clock_gettime.
32811         * benchtests/bench-timing.h: New file.
32813         [BZ #14582]
32814         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
32815         Renamed from _LIB_VERSION.
32816         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
32818 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
32820         * math/libm-test.inc (struct test_fff_f_data): New type.
32821         (RUN_TEST_LOOP_fff_f): New macro.
32822         (fma_test_data): New variable.
32823         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
32824         (fma_towardzero_test_data): New variable.
32825         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
32826         (fma_downward_test_data): New variable.
32827         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
32828         (fma_upward_test_data): New variable.
32829         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
32831         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
32832         (struct test_c_c_data): New type.
32833         (RUN_TEST_LOOP_c_c): New macro.
32834         (cacos_test_data): New variable.
32835         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
32836         (cacosh_test_data): New variable.
32837         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
32838         (casin_test_data): New variable.
32839         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
32840         (casinh_test_data): New variable.
32841         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
32842         (catan_test_data): New variable.
32843         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
32844         (catanh_test_data): New variable.
32845         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
32846         (ccos_test_data): New variable.
32847         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
32848         (ccosh_test_data): New variable.
32849         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
32850         (cexp_test_data): New variable.
32851         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
32852         (clog_test_data): New variable.
32853         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
32854         (clog10_test_data): New variable.
32855         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
32856         (conj_test_data): New variable.
32857         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
32858         (cproj_test_data): New variable.
32859         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
32860         (csin_test_data): New variable.
32861         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
32862         (csinh_test_data): New variable.
32863         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
32864         (csqrt_test_data): New variable.
32865         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
32866         (ctan_test_data): New variable.
32867         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
32868         (ctan_tonearest_test_data): New variable.
32869         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
32870         (ctan_towardzero_test_data): New variable.
32871         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
32872         (ctan_downward_test_data): New variable.
32873         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
32874         (ctan_upward_test_data): New variable.
32875         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
32876         (ctanh_test_data): New variable.
32877         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
32878         (ctanh_tonearest_test_data): New variable.
32879         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
32880         (ctanh_towardzero_test_data): New variable.
32881         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
32882         (ctanh_downward_test_data): New variable.
32883         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
32884         (ctanh_upward_test_data): New variable.
32885         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
32886         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
32887         of BUILD_COMPLEX.
32889         * math/libm-test.inc (struct test_ff_f_data): New type.
32890         (struct test_ff_f_data_nexttoward): Likewise.
32891         (RUN_TEST_LOOP_2_f): New macro.
32892         (RUN_TEST_LOOP_ff_f): Likewise.
32893         (atan2_test_data): New variable.
32894         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
32895         (copysign_test_data): New variable.
32896         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
32897         (fdim_test_data): New variable.
32898         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
32899         (fmax_test_data): New variable.
32900         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
32901         (fmin_test_data): New variable.
32902         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
32903         (fmod_test_data): New variable.
32904         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
32905         (hypot_test_data): New variable.
32906         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
32907         (nextafter_test_data): New variable.
32908         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
32909         (nexttoward_test_data): New variable.
32910         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
32911         (pow_test_data): New variable.
32912         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
32913         (pow_tonearest_test_data): New variable.
32914         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
32915         (pow_towardzero_test_data): New variable.
32916         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
32917         (pow_downward_test_data): New variable.
32918         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
32919         (pow_upward_test_data): New variable.
32920         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
32921         (remainder_test_data): New variable.
32922         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
32923         (scalb_test_data): New variable.
32924         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
32925         * sysdeps/i386/fpu/libm-test-ulps: Update.
32927 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
32929         * math/libm-test.inc (fma_test): Use max_value instead of local
32930         variable fltmax.
32931         (nextafter_test): Likewise.
32933         * math/libm-test.inc (acos_towardzero_test_data): New variable.
32934         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32935         (acos_downward_test_data): New variable.
32936         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32937         (acos_upward_test_data): New variable.
32938         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32939         (acosh_test_data): New variable.
32940         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
32941         (asin_test_data): New variable.
32942         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
32943         (asin_tonearest_test_data): New variable.
32944         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32945         (asin_towardzero_test_data): New variable.
32946         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32947         (asin_downward_test_data): New variable.
32948         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32949         (asin_upward_test_data): New variable.
32950         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32951         (asinh_test_data): New variable.
32952         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
32953         (atan_test_data): New variable.
32954         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
32955         (atanh_test_data): New variable.
32956         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
32957         (cbrt_test_data): New variable.
32958         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
32959         (ceil_test_data): New variable.
32960         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
32961         (cos_test_data): New variable.
32962         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
32963         (cos_tonearest_test_data): New variable.
32964         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32965         (cos_towardzero_test_data): New variable.
32966         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32967         (cos_downward_test_data): New variable.
32968         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32969         (cos_upward_test_data): New variable.
32970         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32971         (cosh_test_data): New variable.
32972         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
32973         (cosh_tonearest_test_data): New variable.
32974         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32975         (cosh_towardzero_test_data): New variable.
32976         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32977         (cosh_downward_test_data): New variable.
32978         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32979         (cosh_upward_test_data): New variable.
32980         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32981         (erf_test_data): New variable.
32982         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
32983         (erfc_test_data): New variable.
32984         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
32985         (exp_test_data): New variable.
32986         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
32987         (exp_tonearest_test_data): New variable.
32988         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32989         (exp_towardzero_test_data): New variable.
32990         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32991         (exp_downward_test_data): New variable.
32992         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32993         (exp_upward_test_data): New variable.
32994         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32995         (exp10_test_data): New variable.
32996         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
32997         (exp2_test_data): New variable.
32998         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
32999         (expm1_test_data): New variable.
33000         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
33001         (fabs_test_data): New variable.
33002         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
33003         (floor_test_data): New variable.
33004         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
33005         (j0_test_data): New variable.
33006         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
33007         (j1_test_data): New variable.
33008         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
33009         (log_test_data): New variable.
33010         (log_test): Run tests with RUN_TEST_LOOP_f_f.
33011         (log10_test_data): New variable.
33012         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
33013         (log1p_test_data): New variable.
33014         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
33015         (log2_test_data): New variable.
33016         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
33017         (logb_test_data): New variable.
33018         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
33019         (logb_downward_test_data): New variable.
33020         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33021         (nearbyint_test_data): New variable.
33022         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
33023         (rint_test_data): New variable.
33024         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
33025         (rint_tonearest_test_data): New variable.
33026         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33027         (rint_towardzero_test_data): New variable.
33028         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33029         (rint_downward_test_data): New variable.
33030         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33031         (rint_upward_test_data): New variable.
33032         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33033         (round_test_data): New variable.
33034         (round_test): Run tests with RUN_TEST_LOOP_f_f.
33035         (sin_test_data): New variable.
33036         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
33037         (sin_tonearest_test_data): New variable.
33038         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33039         (sin_towardzero_test_data): New variable.
33040         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33041         (sin_downward_test_data): New variable.
33042         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33043         (sin_upward_test_data): New variable.
33044         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33045         (sinh_test_data): New variable.
33046         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
33047         (sinh_tonearest_test_data): New variable.
33048         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33049         (sinh_towardzero_test_data): New variable.
33050         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33051         (sinh_downward_test_data): New variable.
33052         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33053         (sinh_upward_test_data): New variable.
33054         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33055         (sqrt_test_data): New variable.
33056         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
33057         (tan_test_data): New variable.
33058         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
33059         (tan_tonearest_test_data): New variable.
33060         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33061         (tan_towardzero_test_data): New variable.
33062         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33063         (tan_downward_test_data): New variable.
33064         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33065         (tan_upward_test_data): New variable.
33066         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33067         (tanh_test_data): New variable.
33068         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
33069         (tgamma_test_data): New variable.
33070         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
33071         (trunc_test_data): New variable.
33072         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
33073         (y0_test_data): New variable.
33074         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
33075         (y1_test_data): New variable.
33076         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
33077         (significand_test_data): New variable.
33078         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
33080 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
33082         [BZ #12387]
33083         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
33085 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
33087         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
33089 2013-05-10  Andreas Jaeger  <aj@suse.de>
33091         [BZ #15448]
33092         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
33093         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
33095 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
33097         * math/gen-libm-test.pl (adjust_arg): New function.
33098         (special_functions): Handle generating output in both functions
33099         and arrays.
33100         (parse_args): Likewise.
33101         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
33102         $in_func argument to parse_args.
33103         * math/libm-test.inc (struct test_f_f_data): New type.
33104         (IF_ROUND_INIT_): New macro.
33105         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
33106         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
33107         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
33108         (IF_ROUND_INIT_FE_UPWARD): Likewise.
33109         (ROUND_RESTORE_): Likewise.
33110         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
33111         (ROUND_RESTORE_FE_TONEAREST): Likewise.
33112         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
33113         (ROUND_RESTORE_FE_UPWARD): Likewise.
33114         (RUN_TEST_LOOP_f_f): New macro.
33115         (acos_test_data): New variable.
33116         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
33117         (acos_tonearest_test_data): New variable.
33118         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33120 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33122         * benchtests/bench-skeleton.c (startup): Fix coding style.
33124 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
33126         [BZ #6809]
33127         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
33128         negative infinity argument.
33129         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
33130         negative infinity argument.
33131         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
33132         negative infinity argument.
33133         * math/libm-test.inc (tgamma_test): Expect errno to be set for
33134         domain errors.
33136 2013-05-10  Florian Weimer  <fweimer@redhat.com>
33138         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
33139         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
33140         * iconv/iconv_prog.c (main): Likewise.
33141         * locale/programs/charmap-dir.c (charmap_readdir)
33142         (fopen_uncompressed): Likewise.
33143         * locale/programs/locfile.c (siblings_uncached)
33144         (write_locale_data): Use lstat64 instead of lstat.
33145         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
33146         stat.
33148 2013-05-10  Andreas Jaeger  <aj@suse.de>
33150         [BZ #15395]
33151         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
33152         localization.
33153         Include <locale.h>.
33155 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
33157         * elf/dl-close.c (_dl_close_worker): Add comments.
33159 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
33161         [BZ #15359]
33162         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
33163         high part of pi/2.
33164         (__ieee754_rem_pio2l): Update comments.
33166         [BZ #15429]
33167         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
33168         high part of pi/2.
33169         (__ieee754_rem_pio2l): Update comments.
33171         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
33172         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
33174         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
33175         M_PI_4l.
33177         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
33178         (M_PI_34_LOG10El): Likewise.
33179         (M_PI2_LOG10El): Likewise.
33180         (M_PI4_LOG10El): Likewise.
33181         (M_PI_LOG10El): Likewise.
33183 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33185         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33187 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
33189         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
33190         (MINUS_ZERO_INIT): Likewise.
33191         (PLUS_INFTY_INIT): Likewise.
33192         (MINUS_INFTY_INIT): Likewise.
33193         (QNAN_VALUE_INIT): Likewise.
33194         (MAX_VALUE_INIT): Likewise.
33195         (MIN_VALUE_INIT): Likewise.
33196         (MIN_SUBNORM_VALUE_INIT): Likewise.
33197         (plus_zero): Initialize with PLUS_ZERO_INIT.
33198         (minus_zero): Initialize with MINUS_ZERO_INIT.
33199         (plus_infty): Initialize with PLUS_INFTY_INIT.
33200         (minus_infty): Initialize with MINUS_INFTY_INIT.
33201         (qnan_value): Initialize with QNAN_VALUE_INIT.
33202         (max_value): Initialize with MAX_VALUE_INIT.
33203         (min_value): Initialize with MIN_VALUE_INIT.
33204         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
33206         * math/libm-test.inc (RUN_TEST_if_f): New macro.
33207         (jn_test): Use TEST_if_f instead of TEST_ff_f.
33208         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
33209         (yn_test): Use TEST_if_f instead of TEST_ff_f.
33211         * math/libm-test.inc (RUN_TEST_f_f): New macro.
33212         (RUN_TEST_2_f): Likewise.
33213         (RUN_TEST_ff_f): Likewise.
33214         (RUN_TEST_fi_f): Likewise.
33215         (RUN_TEST_fl_f): Likewise.
33216         (RUN_TEST_fff_f): Likewise.
33217         (RUN_TEST_c_f): Likewise.
33218         (RUN_TEST_f_f1): Likewise.
33219         (RUN_TEST_fF_f1): Likewise.
33220         (RUN_TEST_fI_f1): Likewise.
33221         (RUN_TEST_ffI_f1): Likewise.
33222         (RUN_TEST_c_c): Likewise.
33223         (RUN_TEST_cc_c): Likewise.
33224         (RUN_TEST_f_i): Likewise.
33225         (RUN_TEST_f_i_tg): Likewise.
33226         (RUN_TEST_ff_i_tg): Likewise.
33227         (RUN_TEST_f_b): Likewise.
33228         (RUN_TEST_f_b_tg): Likewise.
33229         (RUN_TEST_f_l): Likewise.
33230         (RUN_TEST_f_L): Likewise.
33231         (RUN_TEST_sincos): Likewise.
33232         * math/gen-libm-test.pl (new_test): Take new argument to indicate
33233         whether to show exceptions.  Do not include ");\n" in return
33234         value.
33235         (special_functions): Output call to RUN_TEST_sincos instead of
33236         check_float calls.  Update calls to new_test.
33237         (parse_args): Output call to single RUN_TEST_* macro instead of
33238         check_* calls and other assignments.  Update calls to new_test.
33240         [BZ #2546]
33241         [BZ #2560]
33242         [BZ #5159]
33243         [BZ #15426]
33244         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
33245         input to result for tgamma overflow.
33246         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
33247         (gamma_coeff): New variable.
33248         (NCOEFF): New macro.
33249         (gamma_positive): New function.
33250         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
33251         underflow here.  Use gamma_positive instead of exp (lgamma) for
33252         other arguments.
33253         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
33254         (gamma_coeff): New variable.
33255         (NCOEFF): New macro.
33256         (gammaf_positive): New function.
33257         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
33258         underflow here.  Use gamma_positive instead of exp (lgamma) for
33259         other arguments.
33260         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
33261         (gamma_coeff): New variable.
33262         (NCOEFF): New macro.
33263         (gammal_positive): New function.
33264         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
33265         underflow here.  Use gamma_positive instead of exp (lgamma) for
33266         other arguments.
33267         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
33268         (gamma_coeff): New variable.
33269         (NCOEFF): New macro.
33270         (gammal_positive): New function.
33271         (__ieee754_gammal_r): Handle positive infinity, overflow and
33272         underflow here.  Handle NaN the same as positive infinity.  Remove
33273         check x < 0xffffffff for negative integers.  Use gamma_positive
33274         instead of exp (lgamma) for other arguments.
33275         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
33276         (gamma_coeff): New variable.
33277         (NCOEFF): New macro.
33278         (gammal_positive): New function.
33279         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
33280         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
33281         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
33282         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
33283         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
33284         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
33285         * sysdeps/generic/math_private.h (__gamma_productf): New
33286         prototype.
33287         (__gamma_product): Likewise.
33288         (__gamma_productl): Likewise.
33289         * math/Makefile (libm-calls): Add gamma_product.
33290         * math/libm-test.inc (tgamma_test): Add more tests.
33291         * sysdeps/i386/fpu/libm-test-ulps: Update.
33292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33294 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
33296         * benchtests/bench-skeleton.c (main): Preheat CPU.
33298 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
33300         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
33302 2013-05-07  Roland McGrath  <roland@hack.frob.com>
33304         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
33305         and _dl_skip_args_internal.
33307 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
33309         * manual/message.texi (Message Translation): Talk about users.
33310         Message to key mapping impacts design.
33312 2013-05-06  Roland McGrath  <roland@hack.frob.com>
33314         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
33316         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
33318         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
33319         * sysdeps/wordsize-64/glob64.c: ... here.
33321         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
33322         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
33323         New macros.
33325         * debug/getlogin_r_chk.c: Moved to ...
33326         * login/getlogin_r_chk.c: ... here.
33327         * debug/Makefile (routines): Move getlogin_r_chk to ...
33328         * login/Makefile (routines): ... here.
33329         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
33330         * login/Versions (libc: GLIBC_2.4): ... here.
33332         * io/poll.c (__poll): Renamed from poll.
33333         Add libc_hidden_def.
33334         (poll): Define as weak alias.
33336         * debug/ptsname_r_chk.c: Moved to ...
33337         * login/ptsname_r_chk.c: ... here.
33338         * debug/Makefile (routines): Move ptsname_r_chk to ...
33339         * login/Makefile (routines): ... here.
33340         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
33341         * login/Versions (libc: GLIBC_2.4): ... here.
33343         * posix/getlogin.c: Moved to ...
33344         * login/getlogin.c: ... here.
33345         * posix/getlogin_r.c: Moved to ...
33346         * login/getlogin_r.c: ... here.
33347         * posix/getlogin_r.c: Moved to ...
33348         * login/getlogin_r.c: ... here.
33349         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
33350         * login/Makefile (routines): ... here.
33351         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
33352         * login/Versions (libc: GLIBC_2.0): ... here.
33354         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
33355         (setrlimit): Define as weak alias.
33357         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
33358         Call __ names for open, ftruncate, and close.
33359         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
33360         (truncate): Define as weak alias.
33362 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
33364         * math/gen-libm-test.pl (parse_args): Initialize x before each
33365         test of frexp, modf and remquo.
33367         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
33368         test signgam value.
33370 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33372         [BZ #15418]
33373         [BZ #15419]
33374         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
33375         internal tests.
33376         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33378 2013-05-06  Roland McGrath  <roland@hack.frob.com>
33380         * elf/dl-writev.h: New file.
33381         * elf/dl-misc.c: Include it.
33382         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
33383         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
33385 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
33387         * math/libm-test.inc (noXFails): Remove variable.
33388         (noXPasses): Likewise.
33389         (BUILD_COMPLEX_INT): Remove macro.
33390         (print_screen): Remove xfail argument.
33391         (print_screen_max_error): Likewise.
33392         (update_stats): Likewise.
33393         (print_max_error): Likewise.  Update calls to other affected
33394         functions.
33395         (print_complex_max_error): Likewise.
33396         (test_single_exception): Update calls to print_screen.
33397         (test_single_errno): Likewise.
33398         (check_float_internal): Remove xfail argument.  Update calls to
33399         other affected functions.
33400         (check_float): Likewise.
33401         (check_complex): Likewise.
33402         (check_int): Likewise.
33403         (check_long): Likewise.
33404         (check_bool): Likewise.
33405         (check_longlong): Likewise.
33406         (main): Don't print noXFails and noXPasses.
33407         * math/gen-libm-test.pl (top level): Don't mention expected
33408         failure handling in comment.
33409         (new_test): Don't handle expected failures.
33410         (parse_args): Don't mention expected failure handling in comment.
33411         (generate_testfile): Don't handle expected failures.
33412         (parse_ulps): Likewise.
33413         (print_ulps_file): Likewise.
33414         (get_failure): Remove function.
33415         (output_test): Don't handle expected failures.
33416         * make/README.libm-test: Don't mention expected failure handling.
33418         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
33419         (minus_zero): Likewise.
33420         (plus_infty): Likewise.
33421         (minus_infty): Likewise.
33422         (qnan_value): Likewise.
33423         (max_value): Likewise.
33424         (min_value): Likewise.
33425         (min_subnorm_value): Likewise.
33426         (initialize): Do not initialize those variables dynamically.
33428 2013-05-03  Roland McGrath  <roland@hack.frob.com>
33430         * io/open.c (__open_2): Moved to ...
33431         * io/open_2.c: ... this new file.
33432         * io/open64.c (__open64_2): Moved to ...
33433         * io/open64_2.c: ... this new file.
33434         * io/openat.c (__openat_2): Moved to ...
33435         * io/openat_2.c: ... this new file.
33436         * io/openat64.c (__openat64_2): Moved to ...
33437         * io/openat64_2.c: ... this new file.
33438         * io/Makefile (routines): Add them.
33439         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
33440         * sysdeps/unix/sysv/linux/open_2.c: File removed.
33441         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
33442         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
33443         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
33444         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
33445         (__openat64): Add hidden_ver.
33446         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
33447         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
33449         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
33450         Separately conditionalize setting of GLRO(dl_sysinfo) so
33451         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
33452         as well, but the actual setting is only under [NEED_DL_SYSINFO].
33454 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33456         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
33457         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
33458         definition.
33459         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
33460         * sysdeps/unix/sysv/linux/powerpc/init-first.c
33461         (_libc_vdso_platform_setup): Add __vdso_time initialization.
33462         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
33463         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
33465 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
33467         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
33468         test signgam value.
33470         * math/libm-test.inc (hypot_test): Do not use
33471         IGNORE_ZERO_INF_SIGN.
33473 2013-05-03  Andreas Jaeger  <aj@suse.de>
33475         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
33476         Linux 3.9.
33477         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
33478         (PF_MAX): Adjust for VSOCK change.
33480 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33482         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33484 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
33486         [BZ #15264]
33487         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
33488         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
33489         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
33491 2013-05-02  David S. Miller  <davem@davemloft.net>
33493         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33495 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
33497         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
33499 2013-05-01  Roland McGrath  <roland@hack.frob.com>
33501         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
33503 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
33505         [BZ #14952]
33506         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
33507         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
33508         Use __attribute__ ((__gnu_inline__)).
33509         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
33510         Don't use __attribute__ ((__gnu_inline__)).
33512 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
33514         [BZ #15423]
33515         * math/s_catan.c (__catan): Handle small real or imaginary part of
33516         input specially to avoid spurious underflow.
33517         * math/s_catanf.c (__catanf): Likewise.
33518         * math/s_catanh.c (__catanh): Likewise.
33519         * math/s_catanhf.c (__catanhf): Likewise.
33520         * math/s_catanhl.c (__catanhl): Likewise.
33521         * math/s_catanl.c (__catanl): Likewise.
33522         * math/libm-test.inc (catan_test): Add more tests.
33523         (catanh_test): Likewise.
33524         * sysdeps/i386/fpu/libm-test-ulps: Update.
33525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33527 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33529         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33531 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
33533         [BZ #15416]
33534         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
33535         accurately for denominator in atan2.
33536         * math/s_catanf.c (__catanf): Likewise.
33537         * math/s_catanh.c (__catanh): Likewise.
33538         * math/s_catanhf.c (__catanhf): Likewise.
33539         * math/s_catanhl.c (__catanhl): Likewise.
33540         * math/s_catanl.c (__catanl): Likewise.
33541         * math/libm-test.inc (catan_test): Add more tests.
33542         (catanh_test): Likewise.
33543         * sysdeps/i386/fpu/libm-test-ulps: Update.
33544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33546 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33548         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
33550         * benchtests/Makefile (bench): Remove slow benchmarks.
33551         * benchtests/atan-inputs: Add slow benchmark inputs.
33552         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
33553         (BENCH_FUNC): Accept variant offset.
33554         (VARIANT): Define.
33555         * benchtests/bench-skeleton.c (main): Run benchmark for each
33556         variant.
33557         * benchtests/cos-inputs: Add slow benchmark inputs.
33558         * benchtests/exp-inputs: Likewise.
33559         * benchtests/pow-inputs: Likewise.
33560         * benchtests/sin-inputs: Likewise.
33561         * benchtests/slowatan-inputs: Remove.
33562         * benchtests/slowatan.c: Remove.
33563         * benchtests/slowcos-inputs: Remove.
33564         * benchtests/slowcos.c: Remove.
33565         * benchtests/slowexp-inputs: Remove.
33566         * benchtests/slowexp.c: Remove.
33567         * benchtests/slowpow-inputs: Remove.
33568         * benchtests/slowpow.c: Remove.
33569         * benchtests/slowsin-inputs: Remove.
33570         * benchtests/slowsin.c: Remove.
33571         * benchtests/slowtan-inputs: Remove.
33572         * benchtests/slowtan.c: Remove.
33573         * benchtests/tan-inputs: Add slow benchmark inputs.
33574         * scripts/bench.pl: Parse comments and directives.
33576         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
33577         in CPPFLAGS.
33578         ($(objpfx)bench-%.c): Remove *-ITER.
33579         * benchtests/bench-modf.c: Remove definition of ITER.
33580         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
33581         (main): Loop for DURATION seconds instead of fixed number of
33582         iterations.
33583         * scripts/bench.pl: Don't expect iterations in parameters.
33585 2013-04-29  Roland McGrath  <roland@hack.frob.com>
33587         * io/fchdir.c (__fchdir): Renamed from fchdir.
33588         (fchdir): Define as weak alias.
33590 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
33592         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
33593         (ERRNO_EDOM): Likewise.
33594         (ERRNO_ERANGE): Likewise.
33595         (noErrnoTests): New variable.
33596         (init_max_error): Set errno to 0.
33597         (test_single_errno): New function.
33598         (test_errno): Likewise.
33599         (check_float_internal): Call test_errno.  Set errno to 0.
33600         (check_complex): Refer to errno tests in comment.
33601         (check_int): Call test_errno.  Set errno to 0.
33602         (check_long): Likewise.
33603         (check_bool): Likewise.
33604         (check_longlong): Likewise.
33605         (cos_test): Use ERRNO_* flags for errno tests instead of
33606         check_int.
33607         (expm1_test): Likewise.
33608         (fmod_test): Likewise.
33609         (ilogb_test): Likewise.
33610         (lgamma_test): Likewise.
33611         (pow_test): Likewise.
33612         (remainder_test): Likewise.
33613         (sin_test): Likewise.
33614         (tan_test): Likewise.
33615         (yn_test): Likewise.
33616         (initialize): Set errno to 0.
33617         (main): Print number of errno tests.
33618         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
33620 2013-04-29  Andreas Jaeger  <aj@suse.de>
33622         [BZ #15084]
33623         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
33624         and RES_USEVC.
33626         [BZ #15085]
33627         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
33628         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
33629         unimplemented.
33631         [BZ #15380]
33632         * stdlib/random.c (__initstate): Return NULL if
33633         __initstate fails.
33635         [BZ #15086]
33636         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
33637         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
33638         RES_SNGLKUPREOP.
33640 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33642         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33644 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
33646         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
33647         of individual tests.
33648         (casin_test): Likewise.
33649         (casinh_test): Likewise.
33651 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
33653         [BZ #15409]
33654         * math/s_catan.c (__catan): Handle arguments with large real or
33655         imaginary part separately without squaring.
33656         * math/s_catanf.c (__catanf): Likewise.
33657         * math/s_catanh.c (__catanh): Likewise.
33658         * math/s_catanhf.c (__catanhf): Likewise.
33659         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33660         and redefine.
33661         (__catanhl): Handle arguments with large real or imaginary part
33662         separately without squaring.
33663         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33664         and redefine.
33665         (__catanl): Handle arguments with large real or imaginary part
33666         separately without squaring.
33667         * math/libm-test.inc (catan_test): Add more tests.
33668         (catanh_test): Likewise.
33669         * sysdeps/i386/fpu/libm-test-ulps: Update.
33670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33672 2013-04-27  Andreas Jaeger  <aj@suse.de>
33674         [BZ #15007]
33675         * stdlib/stdlib.h: Update guards for qecvt.
33676         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
33677         <stdlib.h>.
33679 2013-04-27  Allan McRae  <allan@archlinux.org>
33681         * sysdeps/i386/fpu/libm-test-ulps: Update.
33683 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
33685         [BZ #15406]
33686         * math/s_catan.c: Include <float.h>.
33687         (__catan): Ensure underflow exception occurs for underflowed
33688         result.
33689         * math/s_catanf.c: Include <float.h>.
33690         (__catanf): Ensure underflow exception occurs for underflowed
33691         result.
33692         * math/s_catanh.c: Include <float.h>.
33693         (__catanh): Ensure underflow exception occurs for underflowed
33694         result.
33695         * math/s_catanhf.c: Include <float.h>.
33696         (__catanhf): Ensure underflow exception occurs for underflowed
33697         result.
33698         * math/s_catanhl.c: Include <float.h>.
33699         (__catanhl): Ensure underflow exception occurs for underflowed
33700         result.
33701         * math/s_catanl.c: Include <float.h>.
33702         (__catanl): Ensure underflow exception occurs for underflowed
33703         result.
33704         * math/libm-test.inc (catan_test): Add more tests.
33705         (catanh_test): Likewise.
33707         [BZ #15405]
33708         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
33709         underflowed result.
33710         * math/s_ccoshf.c (__ccoshf): Likewise.
33711         * math/s_ccoshl.c (__ccoshl): Likewise.
33712         * math/s_csin.c (__csin): Likewise.
33713         * math/s_csinf.c (__csinf): Likewise.
33714         * math/s_csinh.c (__csinh): Likewise.
33715         * math/s_csinhf.c (__csinhf): Likewise.
33716         * math/s_csinhl.c (__csinhl): Likewise.
33717         * math/s_csinl.c (__csinl): Likewise.
33718         * math/libm-test.inc (ccos_test): Add more tests.
33719         (ccosh_test): Likewise.
33720         (csin_test): Likewise.
33721         (csinh_test): Likewise.
33723 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33725         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
33726         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
33727         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
33728         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
33729         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
33730         powerpc/power5+/fpu folders.
33731         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
33734 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
33736         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33738 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
33740         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
33741         additions to variable.
33742         [$(config-machine) = x86_64] (modules-names): Likewise.
33743         ($(objpfx)tst-audit3): Remove dependency.
33744         ($(objpfx)tst-audit3.out): Likewise.
33745         ($(objpfx)tst-audit4): Likewise.
33746         ($(objpfx)tst-audit4.out): Likewise.
33747         ($(objpfx)tst-audit5): Likewise.
33748         ($(objpfx)tst-audit5.out): Likewise.
33749         ($(objpfx)tst-audit6): Likewise.
33750         ($(objpfx)tst-audit6.out): Likewise.
33751         ($(objpfx)tst-audit7): Likewise.
33752         ($(objpfx)tst-audit7.out): Likewise.
33753         (tst-audit3-ENV): Remove variable.
33754         (tst-audit4-ENV): Likewise.
33755         (tst-audit5-ENV): Likewise.
33756         (tst-audit6-ENV): Likewise.
33757         (tst-audit7-ENV): Likewise.
33758         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
33759         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
33760         addition to variable.
33761         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
33762         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
33763         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
33764         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
33765         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
33766         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
33767         tst-audit3, tst-audit4 and tst-audit5.
33768         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
33769         tst-audit6 and tst-audit7.
33770         [$(subdir) = elf] (modules-names): Add audit modules for those
33771         tests.
33772         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
33773         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
33774         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
33775         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
33776         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
33777         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
33778         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
33779         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
33780         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
33781         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
33782         [$(subdir) = elf] (tst-audit3-ENV): New variable.
33783         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
33784         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
33785         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
33786         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
33787         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
33788         Likewise.
33789         [$(subdir) = elf && $(config-cflags-avx) = yes]
33790         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
33791         [$(subdir) = elf && $(config-cflags-avx) = yes]
33792         (CFLAGS-tst-auditmod4a.c): Likewise.
33793         [$(subdir) = elf && $(config-cflags-avx) = yes]
33794         (CFLAGS-tst-auditmod4b.c): Likewise.
33795         [$(subdir) = elf && $(config-cflags-avx) = yes]
33796         (CFLAGS-tst-auditmod6b.c): Likewise.
33797         [$(subdir) = elf && $(config-cflags-avx) = yes]
33798         (CFLAGS-tst-auditmod6c.c): Likewise.
33799         [$(subdir) = elf && $(config-cflags-avx) = yes]
33800         (CFLAGS-tst-auditmod7b.c): Likewise.
33801         * elf/tst-audit3.c: Move to ...
33802         * sysdeps/x86_64/tst-audit3.c: ... here.
33803         * elf/tst-audit4.c: Move to ...
33804         * sysdeps/x86_64/tst-audit4.c: ... here.
33805         * elf/tst-audit5.c: Move to ...
33806         * sysdeps/x86_64/tst-audit5.c: ... here.
33807         * elf/tst-audit6.c: Move to ...
33808         * sysdeps/x86_64/tst-audit6.c: ... here.
33809         * elf/tst-audit7.c: Move to ...
33810         * sysdeps/x86_64/tst-audit7.c: ... here.
33811         * elf/tst-auditmod3a.c: Move to ...
33812         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
33813         * elf/tst-auditmod3b.c: Move to ...
33814         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
33815         * elf/tst-auditmod4a.c: Move to ...
33816         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
33817         * elf/tst-auditmod4b.c: Move to ...
33818         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
33819         * elf/tst-auditmod5a.c: Move to ...
33820         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
33821         * elf/tst-auditmod5b.c: Move to ...
33822         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
33823         * elf/tst-auditmod6a.c: Move to ...
33824         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
33825         * elf/tst-auditmod6b.c: Move to ...
33826         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
33827         * elf/tst-auditmod6c.c: Move to ...
33828         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
33829         * elf/tst-auditmod7a.c: Move to ...
33830         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
33831         * elf/tst-auditmod7b.c: Move to ...
33832         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
33834 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
33836         [BZ #15366]
33837         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
33838         define unconditionally.
33839         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
33840         define unconditionally.
33841         (INT8_C, INT16_C, etc.): Likewise.
33843 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
33845         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
33846         __ehdr_start with hidden visibility.
33848         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
33850 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
33852         * math/libm-test.inc (cos_test): Use accurate hex constants.
33853         (sincost_test): Likewise.
33855 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
33857         * math/libm-test.inc (catan_test): Add more tests.
33858         (catanh_test): Likewise.
33860         * math/s_catanf.c (__catanf): Use suffixed floating-point
33861         constants.
33862         * math/s_catanhf.c (__catanhf): Likewise.
33863         * math/s_catanhl.c (__catanhl): Likewise.
33864         * math/s_catanl.c (__catanl): Likewise.
33866         [BZ #15394]
33867         * math/s_catan.c (__catan): Calculate imaginary part of result
33868         with log1p not log unless computing log of number close to 0.
33869         * math/s_catanf.c (__catanf): Likewise.
33870         * math/s_catanl.c (__catanl): Likewise.
33871         * math/s_catanh.c (__catanh): Calculate real part of result with
33872         log1p not log unless computing log of number close to 0.
33873         * math/s_catanhf.c (__catanhf): Likewise.
33874         * math/s_catanhl.c (__catanhl): Likewise.
33875         * math/libm-test.inc (catan_test): Add more tests.
33876         (catanh_test): Likewise.
33877         * sysdeps/i386/fpu/libm-test-ulps: Update.
33878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33880 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33882         * benchtests/Makefile: Mention files in which fast and slow
33883         paths of math functions are implemented.
33885 2013-04-23  Roland McGrath  <roland@hack.frob.com>
33887         * sysdeps/posix/timespec_get.c: New file.
33889 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33891         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
33892         POWER.
33893         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
33894         for POWER.
33895         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
33896         powerpc/power5/fpu folders.
33897         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
33898         * benchtests/Makefile: Add modf testcase.
33899         * benchtests/bench-modf.c: New file: Benchmark test for mo
33901 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
33903         [BZ #14888]
33904         * time/Makefile (tests): Add tst-strptime-whitespace.
33905         * time/strptime_l.c (get_number): Use ISSPACE.
33906         (__strptime_internal): Likewise.
33907         * time/tst-strptime-whitespace.c: New test case.
33909 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
33911         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
33912         member.
33913         (_nss_files_init): Set it here.
33915 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
33917         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
33918         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
33919         unsigned.
33921 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
33923         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
33925 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33927         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
33928         size just once.
33930 2013-04-21  David S. Miller  <davem@davemloft.net>
33932         * po/ru.po: Update Russion translation from translation project.
33934 2013-04-17  Adam Conrad  <adconrad@0c3.net>
33936         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
33937         and setfsgid.
33939 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
33941         * configure.in: Remove i386 configure warning. Remove i386 case.
33942         * configure: Regenerate.
33943         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
33944         Add example to error message.
33945         * sysdeps/i386/configure: Regenerate.
33947 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
33949         * benchtests/Makefile (bench): Add cos, tan, slowcos and
33950         slowtan.
33951         * benchtests/cos-inputs: New file.
33952         * benchtests/slowcos-inputs: New file.
33953         * benchtests/slowcos.c: New file.
33954         * benchtests/slowtan-inputs: New file.
33955         * benchtests/slowtan.c: New file.
33956         * benchtests/tan-inputs: New file.
33958 2013-04-16  Roland McGrath  <roland@hack.frob.com>
33960         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
33961         considered kosher.
33963 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33965         * benchtests/Makefile: Include cppflags-iterator.mk to add
33966         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
33968         * Makefile.in (bench-clean): New target.
33969         * benchtests/Makefile (bench-clean): Likewise.
33971 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
33973         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
33975 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
33977         * stdio-common/tstdiomisc.c: Fix coding-style violation.
33979 2013-04-15  Andreas Schwab  <schwab@suse.de>
33981         * nscd/grpcache.c (cache_addgr): Properly check for short write.
33982         * nscd/initgrcache.c (addinitgroupsX): Likewise.
33983         * nscd/pwdcache.c (cache_addpw): Likewise.
33984         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
33985         more than recsize.
33987 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33989         * benchtests/Makefile (bench): Write all output to
33990         bench-out.tmp together.
33992 2013-04-15  Andreas Schwab  <schwab@suse.de>
33994         * nscd/nscd.c (main): Don't fork again after closing files.
33996 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33998         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
34000         * benchtests/Rules (bench-deps): Collect dependencies into a
34001         single variable.  Add Makefile to dependencies.
34002         ($(objpfx)bench-%.c): Depend on bench-deps.
34004 2013-04-12  Roland McGrath  <roland@hack.frob.com>
34005             Xavier Roche  <roche+kml2@exalead.com>
34007         [BZ #15361]
34008         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
34009         just that it's a file descriptor.
34010         * manual/llio.texi (Synchronizing AIO Operations): Update description
34011         for EBADF error from aio_fsync.
34013 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
34015         * Rules (bench): Move target definition...
34016         * benchtests/Makefile: ... here.
34018 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
34020         * math/libm-test.inc (cos_test): Fix PI/2 test.
34021         (sincos_test): Likewise.
34022         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
34023         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
34025 2013-04-11  Andreas Schwab  <schwab@suse.de>
34027         [BZ #13988]
34028         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
34029         accept exponent character only when digits were seen.
34030         * stdio-common/Makefile (tests): Add bug26.
34031         * stdio-common/bug26.c: New file.
34033         [BZ #14293]
34034         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
34035         non-freeable.
34037 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34039         * Makeconfig (rtld-prefix): Define built linker prefix.
34040         * Rules (run-bench): Use it.
34041         * math/Makefile (run-regen-ulps): Likewise.
34043         * Rules (bench): Remove eval.
34045 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34046             Roland McGrath  <roland@hack.frob.com>
34047             Ondrej Bilka  <neleai@seznam.cz>
34049         [BZ #15346]
34050         * time/getdate.c: Include ctype.h and alloca.h.
34051         (__getdate_r): Trim leading and trailing spaces of input.
34052         * time/tst-getdate.c (tests): Add tests with leading and
34053         trailing spaces.
34055 2013-04-08  Roland McGrath  <roland@hack.frob.com>
34057         [BZ #14280]
34058         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
34059         when computing value.
34061 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34063         * math/README.libm-test (How can I generate "libm-test-ulps"?):
34064         Use testrun.sh to run libm tests.
34066         [BZ #15309]
34067         * elf/dl-open.c (dl_open_worker): memset all of seen array.
34069 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
34071         [BZ #15264]
34072         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
34074 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34076         * Makefile.in (regen-ulps): New target.
34077         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
34078         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
34079         [ifneq (no,$(PERL)] (regen-ulps): New target.
34080         [ifeq (no,$(PERL)] (regen-ulps): New target.
34081         * math/libm-test.inc (ulps_file_name): Define.
34082         (output_dir): New variable.
34083         (options): Add "output-dir" option.
34084         (parse_opt): Handle 'o' case.
34085         (main): If output_dir is non-NULL use it as a prefix
34086         otherwise use "".
34087         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
34089 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34091         [BZ #10060, #10062]
34092         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
34093         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
34094         fail configure if __sync_val_compare_and_swap is not inlined.
34095         * sysdeps/i386/configure: Regenerate.
34096         * configure.in: Build for i686 when configured for i386.
34097         * configure: Regenerate.
34098         * README: Remove i386 reference.
34100 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34102         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
34103         * sysdeps/s390/s390-64/sysdep.h: Likewise.
34105 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
34107         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
34108         (lmsnanval): New variables.
34109         (F): Add conversion tests.
34110         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
34111         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
34113         * stdio-common/tstdiomisc.c (F): Properly collect individual
34114         tests' results.
34116         [BZ #14686, #15336]
34117         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
34118         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
34119         Instead, use input NaN values or generate a qNaN by arithmetic
34120         operation.  Also fix bugs to comply with the standard.
34121         * math/libm-test.inc (remainder_test): Add more tests.
34123         [BZ #15335, #15342]
34124         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
34125         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
34126         input NaN values or generate a qNaN by arithmetic operation.
34128         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
34129         unreachable code.
34131         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
34132         definitions.
34134 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
34136         [BZ #14478]
34137         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
34138         underflowed result.
34139         * math/s_cexpf.c (__cexpf): Likewise.
34140         * math/s_cexpl.c (__cexpl): Likewise.
34141         * math/libm-test.inc (cexp_test): Add more tests.
34143 2013-04-03  Andreas Schwab  <schwab@suse.de>
34145         [BZ #15330]
34146         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
34147         order arrays from heap if bigger than alloca cutoff.
34149 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
34151         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
34152         (SNAN_TESTS_double): Refer to GCC PR56831.
34153         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
34154         GCC PR56828.
34156 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
34158         * Rules (bench): Move bench.out after the run is complete.
34160         * Rules (bench): Echo currently running benchmark.
34162         * benchtests/Makefile (bench): Add atan and slowatan.
34163         * benchtests/atan-inputs: New file.
34164         * benchtests/slowatan-inputs: New file.
34165         * benchtests/slowatan.c: New file.
34167         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
34168         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
34169         its value.
34171         [BZ #15305]
34172         * sysdeps/unix/sysv/linux/kernel-features.h
34173         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
34174         __ASSUME_XFS_RESTRICTED_CHOWN.
34175         * sysdeps/unix/sysv/linux/pathconf.c
34176         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
34177         Save and restore errno.
34179 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
34181         [BZ #15327]
34182         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
34183         arguments using __kernel_casinh.
34184         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
34185         arguments using __kernel_casinhf.
34186         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
34187         arguments using __kernel_casinhl.
34188         * math/libm-test.inc (cacosh_test): Add more tests.
34189         * sysdeps/i386/fpu/libm-test-ulps: Update.
34190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34192 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34194         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
34195         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
34197         * bench/Makefile (bench): Add sin and slowsin.
34198         * benchtests/sin-inputs: New file.
34199         * benchtests/slowsin-inputs: New file.
34200         * benchtests/slowsin.c: New file.
34202         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
34203         (bench): Add slowexp and slowpow.
34204         (exp-ITER): Increase iterations.
34205         (pow-ITER): Likewise.
34206         * benchtests/exp-inputs: Change input.
34207         * benchtests/pow-inputs: Likewise.
34208         * benchtests/slowexp-inputs: New file.
34209         * benchtests/slowexp.c: New file.
34210         * benchtests/slowpow-inputs: New file.
34211         * benchtests/slowpow.c: New file.
34213 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34215         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
34216         instructions.
34217         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
34218         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
34219         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
34220         * benchtests/Makefile: Add rint benchtest.
34221         * benchtests/rint-inputs: Input for rint benchtest.
34223 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
34225         * Versions.def (libm): Add GLIBC_2.18.
34226         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
34227         hidden libm prototypes.
34228         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
34229         * math/Makefile (libm-calls): Add s_issignaling.
34230         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
34231         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
34232         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
34233         declaration.
34234         * math/math.h [__USE_GNU] (issignaling): New macro.
34235         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
34236         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
34237         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
34238         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
34239         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
34240         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
34241         * manual/arith.texi (issignaling): New section.
34242         * manual/libm-err-tab.pl (@all_functions): Update comment.
34243         * math/gen-libm-test.pl (parse_args): Apply special handling for
34244         issignaling.
34245         * math/libm-test.inc (print_float, issignaling_test): New
34246         functions.
34247         (check_float_internal): Add issignaling checks.
34248         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
34249         default definition.
34250         * sysdeps/powerpc/math-tests.h: New file.
34251         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
34252         tests.
34253         * math/test-snan.c (TEST_FUNC): Likewise.
34255 2013-03-30  David S. Miller  <davem@davemloft.net>
34257         * po/de.po: Update from translation team.
34259 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
34261         [BZ #10357]
34262         * math/k_casinh.c (__kernel_casinh): Handle arguments with
34263         imaginary part less than 1.0 and real part less than 0.5
34264         specially.
34265         * math/k_casinhf.c (__kernel_casinhf): Likewise.
34266         * math/k_casinhl.c (__kernel_casinhl): Likewise.
34267         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
34268         (cacos_test): Add more tests.
34269         (casin_test): Likewise.
34270         (casinh_test): Likewise.
34271         * sysdeps/i386/fpu/libm-test-ulps: Update.
34272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34274 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34276         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
34277         ONE with its value.
34279         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
34280         (__pow_mp): Replace ONE and MONE with their values.
34281         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34282         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
34283         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34284         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
34285         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34286         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34288         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
34290         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
34291         (__pow_mp): Replace ZERO and MZERO with their values.
34292         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
34293         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34294         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34295         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34296         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34297         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
34298         (__sqr): Likewise.
34300         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
34302         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
34304 2013-03-28  Roland McGrath  <roland@hack.frob.com>
34306         * include/stdlib.h [!SHARED] (__call_tls_dtors):
34307         Declare with __attribute__ ((weak)).
34308         * stdlib/exit.c (__libc_atexit) [!SHARED]:
34309         Call __call_tls_dtors only if it's not NULL.
34311 2013-03-28  Roland McGrath  <roland@hack.frob.com>
34313         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
34314         didn't do it already, then set _dl_phdr and _dl_phnum based on the
34315         magic __ehdr_start linker symbol if it's defined.
34316         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
34317         them up here if it was already done.
34319         * elf/dl-support.c (_dl_phdr): Make pointer to const.
34320         (_dl_aux_init): Use const in cast when setting it.
34321         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
34322         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
34323         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
34325         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
34326         Declare them here.
34327         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
34328         * csu/libc-tls.c: Nor here.
34329         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
34331         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
34332         (__libc_message): Never call vsyslog.
34334 2013-03-28  Alan Modra  <amodra@gmail.com>
34336         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
34337         Define as empty.
34338         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
34339         Likewise.
34341 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34343         [BZ #15214]
34344         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
34345         underflow.
34346         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34348 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34350         [BZ #15304]
34351         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
34352         Don't add gid passed as argument.
34354         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
34356 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
34358         [BZ #15307]
34359         * math/k_casinh.c (__kernel_casinh): Handle arguments with
34360         imaginary part between 1.0 and 1.5 and real part less than 0.5
34361         specially.
34362         * math/k_casinhf.c (__kernel_casinhf): Likewise.
34363         * math/k_casinhl.c (__kernel_casinhl): Likewise.
34364         * math/libm-test.inc (cacos_test): Add more tests.
34365         (casin_test): Likewise.
34366         (casinh_test): Likewise.
34367         * sysdeps/i386/fpu/libm-test-ulps: Update.
34368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34370 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34372         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
34373         constants.
34374         (norm): Likewise.
34375         (denorm): Likewise.
34376         (__dbl_mp): Likewise.
34377         (add_magnitudes): Likewise.
34378         (sub_magnitudes): Likewise.
34379         (__add): Likewise.
34380         (__sub): Likewise.
34381         (__mul): Likewise.
34382         (__sqr): Likewise.
34383         (__inv): Likewise.
34384         (__dvd): Likewise.
34386         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
34387         commented code.
34388         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
34389         (__dubcos): Likewise.
34390         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
34391         (__ieee754_acos): Likewise.
34392         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
34393         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
34394         (__exp1): Likewise.
34395         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34396         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34397         (log1): Likewise.
34398         (my_log2): Likewise.
34399         (checkint): Likewise.
34400         * sysdeps/ieee754/dbl-64/e_remainder.c
34401         (__ieee754_remainder): Likewise.
34402         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34403         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
34404         (bsloww): Likewise.
34405         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34407         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
34408         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
34409         MANTISSA_STORE_T to store computations on mantissa.  Use
34410         macros for rounding and division.
34411         (denorm): Likewise.
34412         (__dbl_mp): Likewise.
34413         (add_magnitudes): Likewise.
34414         (sub_magnitudes): Likewise.
34415         (__mul): Likewise.
34416         (__sqr): Likewise.
34417         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
34418         powers of two in terms of TWOPOW macro.
34419         (mp_no): Make type of mantissa as MANTISSA_T.
34420         [!RADIXI]: Define RADIXI.
34421         [!TWO52]: Define TWO52.
34422         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
34424 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34426         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
34427         llroundl symbol when building for PPC32.
34429 2013-03-24  Mark H Weaver  <mhw@netris.org>
34431         * manual/arith.texi (Normalization Functions): Fix prototypes for
34432         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
34434 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34436         [BZ #13889]
34437         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
34438         high value to check if expl overflow.
34439         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
34440         to check for underflow and overflow.
34441         * math/libm-test.inc: Add exp test.
34443 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
34445         [BZ #11120]
34446         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
34447         with NOT_IN_libc.
34449 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34451         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
34452         symbol.
34454 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
34456         * math/gen-libm-test.pl (parse_args, special_functions): Properly
34457         wrap blocks consisting of several statements.
34459         * sysdeps/generic/math-tests.h: New file.
34460         * sysdeps/i386/fpu/math-tests.h: Likewise.
34461         * math/test-snan.c: Include it.
34462         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
34464 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
34466         [BZ #15285]
34467         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
34468         (__ieee754_j0l): Do not improve calculations using cos of twice
34469         input for inputs above LDBL_MAX / 2.0L.
34470         (__ieee754_y0l): Likewise.
34471         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
34472         (__ieee754_j1l): Do not improve calculations using cos of twice
34473         input for inputs above LDBL_MAX / 2.0L.
34474         (__ieee754_y1l): Likewise.
34475         * math/libm-test.inc (j0_test): Add another test.
34476         (j1_test): Likewise.
34477         (y0_test): Likewise.
34478         (y1_test): Likewise.
34479         * sysdeps/i386/fpu/libm-test-ulps: Update.
34481 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34483         * Rules ($(objpfx)bench-%.c): Include code from a C source
34484         file.
34486 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
34488         [BZ #15287]
34489         * math/k_casinh.c (__kernel_casinh): Handle arguments with
34490         imaginary part 1.0 and real part less than 0.5 specially.
34491         * math/k_casinhf.c (__kernel_casinhf): Likewise.
34492         * math/k_casinhl.c (__kernel_casinhl): Likewise.
34493         * math/libm-test.inc (cacos_test): Add more tests.
34494         (casin_test): Likewise.
34495         (casinh_test): Likewise.
34496         * sysdeps/i386/fpu/libm-test-ulps: Update.
34497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34499 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34501         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
34502         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
34504 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
34506         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
34507         * config.make.in (config-cflags-sse4): Remove variable.
34508         (config-cflags-avx): Likewise.
34509         (config-cflags-sse2avx): Likewise.
34510         (config-cflags-novzeroupper): Likewise.
34511         (config-asflags-i686): Likewise.
34512         (have-mfma4): Likewise.
34513         (have-as-vis3): Likewise.
34514         (MIG): Likewise.
34515         * configure.in (MIG): Do not AC_SUBST.
34516         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
34517         (libc_cv_cc_sse4): Do not AC_SUBST.
34518         (libc_cv_cc_avx): Likewise.
34519         (libc_cv_cc_sse2avx): Likewise.
34520         (libc_cv_cc_novzeroupper): Likewise.
34521         (libc_cv_cc_fma4): Likewise.
34522         (libc_cv_as_i686): Likewise.
34523         (libc_cv_sparc_as_vis3): Likewise.
34524         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
34525         LIBC_CONFIG_VAR.
34526         (config-asflags-i686): Likewise.
34527         (config-cflags-avx): Likewise.
34528         (config-cflags-sse2avx): Likewise.
34529         (have-mfma4): Likewise.
34530         (config-cflags-novzeroupper): Likewise.
34531         * sysdeps/mach/configure.in (MIG): Likewise.
34532         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
34533         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
34534         LIBC_CONFIG_VAR.
34535         (config-cflags-avx): Likewise.
34536         (config-cflags-sse2avx): Likewise.
34537         (have-mfma4): Likewise.
34538         (config-cflags-novzeroupper): Likewise.
34539         * configure: Regenerated.
34540         * sysdeps/i386/configure: Likewise.
34541         * sysdeps/mach/configure: Likewise.
34542         * sysdeps/sparc/configure: Likewise.
34543         * sysdeps/x86_64/configure: Likewise.
34545 2013-03-20  Roland McGrath  <roland@hack.frob.com>
34547         [BZ #14812]
34548         * locale/programs/localedef.c (options): Put N_ translation marker
34549         on argument names, not just descriptions.
34551 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34553         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
34555 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
34557         [BZ #14176]
34558         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
34560 2013-03-19  Roland McGrath  <roland@hack.frob.com>
34562         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
34563         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
34564         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
34565         [!BEFORE_ABORT] (before_abort): New function.
34566         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
34567         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
34568         (writev_for_fatal): New function.
34569         (WRITEV_FOR_FATAL): New macro; call that.
34570         (backtrace_and_maps): New function.
34571         (BEFORE_ABORT): New macro; call that.
34572         (struct str_list): Type removed.
34573         (__libc_message, __libc_fatal): Functions removed.
34574         Include <sysdeps/posix/libc_fatal.c> instead.
34576 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
34578         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
34579         constants.
34580         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
34581         double constants.
34583 2013-03-19  Andreas Schwab  <schwab@suse.de>
34585         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
34586         * sysdeps/gnu/configure: Regenerate.
34588         * configure.in: Substitute libc_cv_rtlddir.
34589         * configure: Regenerate.
34590         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
34591         * Makeconfig (rtlddir, inst_rtlddir): New variables.
34592         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
34593         * elf/Makefile (install-others, CFLAGS-interp.c)
34594         (ldso_install, common-ldd-rewrite): Likewise.
34595         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
34596         $(inst_slibdir)/$(rtld-installed-name).
34597         * scripts/rellns-sh: Add -p option.
34598         * Makerules (make-shlib-link): Use rellns-sh to get relative name
34599         for source.
34601 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34603         * manual/nptl.texi: Renamed to ...
34604         * manual/threads.texi: ... this.
34605         * manual/Makefile (chapters): Update.
34607 2013-03-18  Roland McGrath  <roland@hack.frob.com>
34609         [BZ #14812]
34610         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
34611         on argument names, not just descriptions.
34612         * malloc/memusagestat.c (options): Likewise.
34613         * nss/getent.c (options): Likewise.
34615 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
34617         [BZ #14812]
34618         * iconv/iconv_prog.c (options): Put N_ translation marker
34619         on argument names, not just descriptions.
34620         * iconv/iconvconfig.c (options): Likewise.
34622 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
34624         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
34625         implementation which is faster on all x86_64 architectures.
34626         Tested on AMD, Intel Nehalem, SNB, IVB.
34627         * sysdeps/x86_64/strnlen.S: Likewise.
34629         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
34630         Remove all multiarch strlen and strnlen versions.
34631         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
34632         Remove strlen and strnlen related parts.
34634         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
34635         Inline strlen part.
34636         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
34638         * sysdeps/x86_64/multiarch/strlen.S: Remove.
34639         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
34640         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
34641         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
34642         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
34643         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
34645 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
34647         * manual/memory.texi (Malloc Tunable Parameters):
34648         Sort parameters alphabetically. Add comments for missing entries.
34650 2013-03-17  David S. Miller  <davem@davemloft.net>
34652         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34654 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
34656         [BZ #15283]
34657         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
34658         for arguments at most half maximum finite value.
34659         * math/libm-test.inc (j0_test): Add more tests.
34660         (j1_test): Likewise.
34661         (y0_test): Likewise.
34662         (y1_test): Likewise.
34663         * sysdeps/i386/fpu/libm-test-ulps: Update.
34664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34666         [BZ #14155]
34667         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
34668         1 / x and functions P and Q for arguments above 0x1p256L.
34669         (__ieee754_y0l): Likewise.
34670         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
34671         (__ieee754_y1l): Likewise.
34672         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
34673         (j1_test): Likewise.
34674         (y0_test): Likewise.
34675         (y1_test): Likewise.
34677 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
34679         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
34680         variable.
34682 2013-03-15  Roland McGrath  <roland@hack.frob.com>
34684         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
34685         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
34686         zero since it's initialized to EXEC_PAGESIZE.
34688         * sysdeps/unix/sysv/linux/ldsodefs.h
34689         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
34690         * sysdeps/generic/ldsodefs.h: ... here.
34692 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
34694         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
34696         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
34697         math/test-snan.c.
34698         * math/test-snan.c: Renamed from
34699         sysdeps/powerpc/fpu/test-powerpc-snan.c.
34700         * math/Makefile (tests): Add test-snan.
34701         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
34702         test-powerpc-snan.
34704         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
34705         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
34706         functions.
34707         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
34708         __builtin_nan family of functions.
34709         * math/libm-test.inc (initialize): Initialize qnan_value with
34710         __builtin_nan family of functions.
34711         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
34712         Remove variables.
34713         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
34714         Remove functions.
34715         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
34716         storage class.  Initialize qNaN_var and sNaN_var with
34717         __builtin_nan and __builtin_nans families of functions,
34718         respectively.
34720         * math/libm-test.inc (acosh_test): Also test with qNaN input.
34721         (sqrt_test): Remove duplicate test with qNaN input.
34722         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
34723         (round_test, signbit_test, significand_test): Note missing +/-Inf
34724         as well as qNaN tests.
34726         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
34727         qNaN_var.  Fix a few strings, too.
34728         * math/libm-test.inc (nan_value): Rename to qnan_value.
34729         * math/gen-libm-test.pl (%beautify): Adjust to that.
34730         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
34731         * math/test-misc.c (main): Likewise.
34732         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
34733         to __qnan_bytes, and __qnan_union, respectively.
34734         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
34735         Likewise.
34736         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
34737         and lqnanval, respectively.
34738         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
34739         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
34740         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
34741         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
34743         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
34744         * math/test-misc.c (main) [__x86_64__]: Enable test for long
34745         doubles.
34747         * math/test-misc.c (main): Fix copy'n'pastos.
34748         * misc/tst-efgcvt.c (special): Likewise.
34750         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
34751         Remove declarations.
34753 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34755         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
34756         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
34757         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
34758         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
34760 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34762         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
34763         macro to return vdso values correctly in IFUNC implementations.
34764         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
34765         Optimization by using IFUNC.
34767 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34768             Richard Henderson  <rth@redhat.com>
34769             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34771         * Makefile.in (bench): New target.
34772         * NEWS: Mention the benchmark framework.
34773         * Rules (bench): Likewise.
34774         (binaries-bench): Generate binaries for functions to
34775         benchmark.
34776         * benchtests/Makefile: New makefile for benchmark tests.
34777         * benchtests/bench-skeleton.c: New skeleton file for benchmark
34778         programs.
34779         * benchtests/exp-inputs: New input file for EXP function.
34780         * benchtests/pow-inputs: New input file for POW function.
34781         * scripts/bench.pl: New script to generate source files for
34782         benchmark programs.
34784 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34786         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
34787         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
34788         computations on mantissa.  Use macros for rounding and
34789         division.
34790         (denorm): Likewise.
34791         (__dbl_mp): Likewise.
34792         (add_magnitudes): Likewise.
34793         (sub_magnitudes): Likewise.
34794         (__mul): Likewise.
34795         (__sqr): Likewise.
34796         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
34797         powers of two in terms of TWOPOW macro.
34798         (mp_no): Make type of mantissa as MANTISSA_T.
34799         [!RADIXI]: Define RADIXI.
34800         [!TWO52]: Define TWO52.
34801         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
34803         * manual/nptl.texi (cindex): Modify threads to pthreads.
34805 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
34807         * sysdeps/x86_64/preconfigure: Regenerated.
34809 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
34811         [BZ #14155]
34812         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
34813         0x1p28 and above.
34814         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
34815         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
34816         0x1p28 and above.
34817         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
34818         * math/libm-test.inc (j0_test): Do not allow one spurious
34819         underflow exception.
34820         (y1_test): Likewise.
34822 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
34824         * manual/Makefile (chapters): Add nptl.
34825         * manual/debug.texi (Debugging Support): Add link to Threads
34826         chapter.
34827         * manual/nptl.texi: New file.
34829         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
34831 2013-03-14  Petr Baudis  <pasky@ucw.cz>
34833         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
34834         for non-NULL pointer before the memory validity test. Pointed
34835         out by Holger Brunck <holger.brunck@keymile.com>.
34837 2013-03-13  Andreas Schwab  <schwab@suse.de>
34839         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
34840         instead of .os.
34842 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
34844         * timezone/zic.c: Update from tzcode 2013b.
34846 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
34848         * manual/install.texi (Configuring and compiling):
34849         Mention i686 and i586.
34850         * INSTALL: Regenerate.
34852 2013-03-12  Roland McGrath  <roland@hack.frob.com>
34854         * sysdeps/init_array/elf-init.c: New file.
34855         * csu/elf-init.c
34856         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
34857         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
34859         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
34860         __gmon_start__ as global, but as static with a .preinit_array pointer.
34861         * sysdeps/init_array/gmon-start.c: New file.  Use that.
34862         * sysdeps/init_array/crti.S: New file, empty except for comments.
34863         * sysdeps/init_array/crtn.S: Likewise.
34865 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
34867         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
34868         definining bcopy.
34869         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34870         Remove Prefer_SSE_for_memop.
34871         * sysdeps/x86_64/multiarch/init-arch.h: Remove
34872         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
34873         HAS_PREFER_SSE_FOR_MEMOP.
34874         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
34875         memset-x86-64.
34876         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34877         Remove bzero, memset ifunc support.
34878         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
34879         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
34880         * sysdeps/x86_64/multiarch/memset.S: Likewise.
34881         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34883 2013-03-11  Andreas Schwab  <schwab@suse.de>
34885         [BZ #15234]
34886         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
34887         by SHLIB_COMPAT.
34888         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
34889         (GLIBC_2.16): Remove pthread_atfork.
34891 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
34893         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
34894         (ptestcases.h): Likewise.
34896 2013-03-08  Roland McGrath  <roland@hack.frob.com>
34898         * Makeconfig ($(common-objpfx)config.status): Depend on
34899         sysdeps/*/preconfigure{,.in} too.
34901 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
34903         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
34904         (__free_hook): Use void * instead of __malloc_ptr_t.
34905         (__malloc_hook): Likewise.
34906         (__realloc_hook): Likewise.
34907         (__memalign_hook): Likewise.
34908         (__after_morecore_hook): Likewise.
34909         * malloc/arena.c (save_malloc_hook): Likewise.
34910         (save_free_hook): Likewise.
34911         * malloc/hooks.c (malloc_hook_ini): Likewise.
34912         (realloc_hook_ini): Likewise.
34913         (memalign_hook_ini): Likewise.
34914         * malloc/malloc.c (malloc_hook_ini): Likewise.
34915         (realloc_hook_ini): Likewise.
34916         (memalign_hook_ini): Likewise.
34917         (__free_hook): Likewise.
34918         (__malloc_hook): Likewise.
34919         (__realloc_hook): Likewise.
34920         (__memalign_hook): Likewise.
34921         (__libc_malloc): Likewise.
34922         (__libc_free): Likewise.
34923         (__libc_realloc): Likewise.
34924         (__libc_memalign): Likewise.
34925         (__libc_valloc): Likewise.
34926         (__libc_pvalloc): Likewise.
34927         (__libc_calloc): Likewise.
34928         (__posix_memalign): Likewise.
34929         * malloc/morecore.c (__sbrk): Likewise.
34930         (__default_morecore): Likewise.
34932         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
34934         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
34935         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
34936         __malloc_ptrdiff_t.
34938         * malloc/malloc.h (__malloc_size_t): Remove macro.
34939         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
34940         __malloc_size_t.
34941         (old_memalign_hook): Likewise.
34942         (old_realloc_hook): Likewise.
34943         (struct hdr): Likewise.
34944         (flood): Likewise.
34945         (mallochook): Likewise.
34946         (memalignhook): Likewise.
34947         (reallochook): Likewise.
34948         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
34949         (tr_old_realloc_hook): Likewise.
34950         (tr_old_memalign_hook): Likewise.
34951         (tr_mallochook): Likewise.
34952         (tr_reallochook): Likewise.
34953         (tr_memalignhook): Likewise.
34955 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34957         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
34958         default_ldbl_pack and using as default implementation.
34959         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
34960         implementation.
34961         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
34962         redundant definition.
34963         (ldbl_insert_mantissa): Likewise.
34964         (ldbl_canonicalize): Likewise.
34965         (ldbl_nearbyint): Likewise.
34966         (ldbl_pack): Rename to ldbl_pack_ppc.
34967         (ldbl_unpack): Rename to ldbl_unpack_ppc.
34968         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
34969         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
34971 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
34973         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
34974         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
34975         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
34976         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
34977         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
34978         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
34979         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
34980         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
34982 2013-03-07  Andreas Jaeger  <aj@suse.de>
34984         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34985         bits/mman-linux.h.
34987 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
34989         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
34990         Include mpa.h and declare __MPEXP.
34991         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
34992         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
34993         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
34994         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
34995         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
34996         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
34997         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
34999         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
35000         (__slowpow): Use long double EXPL and LOGL functions to
35001         compute POW.
35002         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
35003         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
35004         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
35005         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
35006         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
35007         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
35009         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
35010         intermediate variable to calculate exponent.
35011         (__sqr): Likewise.
35012         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
35013         Likewise.
35014         (__sqr): Likewise.
35016         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
35017         [!NO__SQR]: Define __sqr.
35018         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
35019         and NO__SQR.  Remove all code except __mul and __sqr.  Include
35020         sysdeps/ieee754/dbl-64/mpa.c.
35021         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35023         [BZ #12723]
35024         * posix/Makefile (tests): Add tst-pathconf.
35025         * posix/tst-pathconf.c: New test case.
35026         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
35027         _PC_PIPE_BUF.
35028         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
35030 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
35032         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
35034 2013-03-06  Andreas Jaeger  <aj@suse.de>
35036         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
35037         definition via __MAP_ANONYMOUS.
35039         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
35040         it's not part of Linux headers.
35042         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
35043         (MAP_HUGE_MASK): Define.
35045         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35046         Define.
35047         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35048         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35049         Define.
35050         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35051         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35052         Define.
35053         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35054         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
35055         Define.
35056         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35058         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
35059         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
35060         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
35061         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
35062         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
35063         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
35065         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
35066         Handle f2fs.
35068         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35069         Handle f2fs and efivarfs.
35071         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
35072         f2fs.
35074         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
35075         (EFIVARFS_MAGIC): Add.
35076         (F2FS_LINK_MAX): Add.
35078 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
35080         * stdio-common/vfprintf.c: Replace __builtin_expect with
35081         __glibc_unlikely.
35083 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
35085         [BZ #13550]
35086         * sysdeps/generic/bp-sym.h: Remove file.
35087         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
35088         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
35089         <bp-sym.h> and <bp-asm.h>.
35090         (__longjmp): Don't use BP_SYM.
35091         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
35092         and <bp-asm.h>.
35093         (memcpy): Don't use BP_SYM.
35094         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
35095         <bp-sym.h> and <bp-asm.h>.
35096         (memcpy): Don't use BP_SYM.
35097         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
35098         <bp-asm.h>.
35099         (memcpy): Don't use BP_SYM.
35100         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
35101         <bp-asm.h>.
35102         (memset): Don't use BP_SYM.
35103         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35104         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35105         (__bzero): Don't use BP_SYM.
35106         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35107         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35108         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
35109         <bp-sym.h> and <bp-asm.h>.
35110         (memcmp): Don't use BP_SYM.  Remove comment about bounded
35111         pointers.
35112         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
35113         <bp-sym.h> and <bp-asm.h>.
35114         (memcpy): Don't use BP_SYM.
35115         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
35116         <bp-sym.h> and <bp-asm.h>.
35117         (memset): Don't use BP_SYM.
35118         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35119         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35120         (__bzero): Don't use BP_SYM.
35121         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35122         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35123         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
35124         <bp-sym.h> and <bp-asm.h>.
35125         (strncmp): Don't use BP_SYM.  Remove comment about bounded
35126         pointers.
35127         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
35128         <bp-sym.h> and <bp-asm.h>.
35129         (memcpy): Don't use BP_SYM.
35130         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
35131         <bp-sym.h> and <bp-asm.h>.
35132         (memset): Don't use BP_SYM.
35133         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35134         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35135         (__bzero): Don't use BP_SYM.
35136         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35137         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35138         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
35139         <bp-sym.h> and <bp-asm.h>.
35140         (__memchr): Don't use BP_SYM.
35141         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
35142         <bp-sym.h> and <bp-asm.h>.
35143         (memcmp): Don't use BP_SYM.  Remove comment about bounded
35144         pointers.
35145         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
35146         <bp-sym.h> and <bp-asm.h>.
35147         (memcpy): Don't use BP_SYM.
35148         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
35149         <bp-sym.h> and <bp-asm.h>.
35150         (__mempcpy): Don't use BP_SYM.
35151         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
35152         <bp-sym.h> and <bp-asm.h>.
35153         (__memrchr): Don't use BP_SYM.
35154         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
35155         <bp-sym.h> and <bp-asm.h>.
35156         (memset): Don't use BP_SYM.
35157         (__bzero): Likewise.
35158         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
35159         <bp-sym.h> and <bp-asm.h>.
35160         (__rawmemchr): Don't use BP_SYM.
35161         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
35162         <bp-sym.h> and <bp-asm.h>.
35163         (__STRCMP): Don't use BP_SYM.
35164         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
35165         <bp-sym.h> and <bp-asm.h>.
35166         (strchr): Don't use BP_SYM.
35167         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
35168         <bp-sym.h> and <bp-asm.h>.
35169         (__strchrnul): Don't use BP_SYM.
35170         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
35171         <bp-sym.h> and <bp-asm.h>.
35172         (strlen): Don't use BP_SYM.
35173         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
35174         <bp-sym.h> and <bp-asm.h>.
35175         (strncmp): Don't use BP_SYM.  Remove comment about bounded
35176         pointers.
35177         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
35178         <bp-sym.h> and <bp-asm.h>.
35179         (__strnlen): Don't use BP_SYM.
35180         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
35181         <bp-sym.h> and <bp-asm.h>.
35182         (__GI__setjmp): Don't use BP_SYM.
35183         (_setjmp): Likewise.
35184         (__sigsetjmp): Likewise.
35185         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
35186         (L(start_addresses)): Don't use BP_SYM.
35187         (_start): Likewise.
35188         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
35189         <bp-asm.h>.
35190         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
35191         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
35192         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35193         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35194         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
35195         <bp-asm.h>.
35196         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
35197         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
35198         about bounded pointers.
35199         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35200         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35201         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
35202         <bp-asm.h>.
35203         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
35204         about bounded pointers.  Remove GKM FIXME comments.
35205         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35206         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
35207         <bp-asm.h>.
35208         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
35209         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
35210         Remove GKM FIXME comments.
35211         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35212         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35213         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
35214         <bp-asm.h>.
35215         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
35216         about bounded pointers.  Remove GKM FIXME comment.
35217         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
35218         and <bp-asm.h>.
35219         (strncmp): Don't use BP_SYM.  Remove comment about bounded
35220         pointers.
35221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
35222         <bp-sym.h> and <bp-asm.h>.
35223         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
35224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
35225         <bp-sym.h> and <bp-asm.h>.
35226         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
35227         comment.
35229 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
35231         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
35232         call free(NULL).
35234 2013-03-05  David S. Miller  <davem@davemloft.net>
35236         * po/es.po: Update from translation team.
35238 2013-03-05  Andreas Jaeger  <aj@suse.de>
35240         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
35241         <bits/mman-linux.h>.
35242         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35243         is fine.
35244         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
35245         <bits/mman-linux.h> to end of file.
35246         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35247         is fine.
35248         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
35249         <bits/mman-linux.h> to end of file.
35250         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35251         is fine.
35252         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
35253         <bits/mman-linux.h> to end of file.
35255         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
35256         (MCL_CURRENT, MCL_FUTURE): Define here.
35258 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35260         [BZ #15232]
35261         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
35262         attribute_hidden.
35263         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35265 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35267         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
35268         fourth parameter needed for rt_sigprocmask syscall.
35269         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
35270         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
35271         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
35272         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
35273         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
35274         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
35276 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
35278         [BZ #13550]
35279         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
35280         comment about bounded pointers.
35281         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
35282         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
35284 2013-03-04  Andreas Jaeger  <aj@suse.de>
35286         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
35287         common definitions.
35289         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
35290         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
35291         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
35292         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35293         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
35294         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35296 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35298         [BZ #15055]
35299         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
35300         __ieee754_sqrl instead of __sqrl.
35302 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
35304         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
35305         * sysdeps/powerpc/fpu_control.h: ... here.
35306         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
35307         * sysdeps/powerpc/bits/fenvinline.h: ... here.
35308         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
35309         * sysdeps/powerpc/bits/mathinline.h: ... here.
35311 2013-03-01  Roland McGrath  <roland@hack.frob.com>
35313         * elf/dl-hwcaps.c (_dl_important_hwcaps):
35314         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
35315         to just [NEED_DL_SYSINFO_DSO].
35316         * elf/dl-support.c: Likewise.
35317         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
35318         * elf/rtld.c (dl_main): Likewise.
35319         * elf/setup-vdso.h (setup_vdso): Likewise.
35320         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
35321         * sysdeps/unix/sysv/linux/dl-sysdep.c
35322         (_dl_discover_osversion): Likewise.
35324 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
35326         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
35327         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
35329 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
35331         * NEWS: Mention libm performance improvements and non-x86 PI
35332         futex support.
35334         * csu/libc-start.c (__pthread_initialize_minimal): Change
35335         function arguments.
35336         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
35338 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
35340         [BZ #13550]
35341         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
35342         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
35343         <bp-sym.h> and <bp-asm.h>.
35344         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35345         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
35346         and <bp-asm.h>.
35347         (memcpy): Don't use BP_SYM.
35348         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
35349         <bp-asm.h>.
35350         (__mpn_add_n): Don't use BP_SYM.
35351         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
35352         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
35353         and <bp-asm.h>.
35354         (__mpn_addmul_1): Don't use BP_SYM.
35355         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35356         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
35357         <bp-sym.h>.
35358         (_setjmp): Don't use BP_SYM.
35359         (__novmx_setjmp): Likewise.
35360         (__GI__setjmp): Likewise.
35361         (__vmx_setjmp): Likewise.
35362         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
35363         <bp-sym.h>.
35364         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
35365         (__bzero): Don't use BP_SYM.
35366         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35367         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35368         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
35369         <bp-sym.h> and <bp-asm.h>.
35370         (memcpy): Don't use BP_SYM.
35371         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
35372         <bp-sym.h> and <bp-asm.h>.
35373         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35374         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
35375         <bp-sym.h> and <bp-asm.h>.
35376         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35377         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
35378         <bp-asm.h>.
35379         (__mpn_lshift): Don't use BP_SYM.
35380         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35381         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
35382         <bp-asm.h>.
35383         (memset): Don't use BP_SYM.
35384         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35385         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35386         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
35387         <bp-asm.h>.
35388         (__mpn_mul_1): Don't use BP_SYM.
35389         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35390         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
35391         <bp-sym.h> and <bp-asm.h>.
35392         (memcmp): Don't use BP_SYM.
35393         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
35394         <bp-sym.h> and <bp-asm.h>.
35395         (memcpy): Don't use BP_SYM.
35396         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
35397         <bp-sym.h> and <bp-asm.h>.
35398         (memset): Don't use BP_SYM.
35399         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
35400         <bp-sym.h> and <bp-asm.h>.
35401         (strncmp): Don't use BP_SYM.
35402         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
35403         <bp-sym.h> and <bp-asm.h>.
35404         (memcpy): Don't use BP_SYM.
35405         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
35406         <bp-sym.h> and <bp-asm.h>.
35407         (memset): Don't use BP_SYM.
35408         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
35409         <bp-sym.h> and <bp-asm.h>.
35410         (__memchr): Don't use BP_SYM.
35411         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
35412         <bp-sym.h> and <bp-asm.h>.
35413         (memcmp): Don't use BP_SYM.
35414         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
35415         <bp-sym.h> and <bp-asm.h>.
35416         (memcpy): Don't use BP_SYM.
35417         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
35418         <bp-sym.h> and <bp-asm.h>.
35419         (__mempcpy): Don't use BP_SYM.
35420         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
35421         <bp-sym.h> and <bp-asm.h>.
35422         (__memrchr): Don't use BP_SYM.
35423         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
35424         <bp-sym.h> and <bp-asm.h>.
35425         (memset): Don't use BP_SYM.
35426         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
35427         <bp-sym.h> and <bp-asm.h>.
35428         (__rawmemchr): Don't use BP_SYM.
35429         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
35430         <bp-sym.h> and <bp-asm.h>.
35431         (__STRCMP): Don't use BP_SYM.
35432         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
35433         <bp-sym.h> and <bp-asm.h>.
35434         (strchr): Don't use BP_SYM.
35435         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
35436         <bp-sym.h> and <bp-asm.h>.
35437         (__strchrnul): Don't use BP_SYM.
35438         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
35439         <bp-sym.h> and <bp-asm.h>.
35440         (strlen): Don't use BP_SYM.
35441         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
35442         <bp-sym.h> and <bp-asm.h>.
35443         (strncmp): Don't use BP_SYM.
35444         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
35445         <bp-sym.h> and <bp-asm.h>.
35446         (__strnlen): Don't use BP_SYM.
35447         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
35448         <bp-asm.h>.
35449         (__mpn_rshift): Don't use BP_SYM.
35450         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35451         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
35452         <bp-sym.h> and <bp-asm.h>.
35453         (__sigsetjmp): Don't use BP_SYM.
35454         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
35455         (L(start_addresses)): Don't use BP_SYM.
35456         (_start): Likewise.
35457         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
35458         <bp-asm.h>.
35459         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
35460         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35461         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35462         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
35463         <bp-asm.h>.
35464         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
35465         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35466         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35467         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
35468         <bp-asm.h>.
35469         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
35470         comments.
35471         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35472         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
35473         <bp-asm.h>.
35474         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
35475         FIXME comments.
35476         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35477         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35478         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
35479         <bp-asm.h>.
35480         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
35481         comment.
35482         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
35483         and <bp-asm.h>.
35484         (strncmp): Don't use BP_SYM,
35485         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
35486         <bp-asm.h>.
35487         (__mpn_sub_n): Don't use BP_SYM.
35488         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35489         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
35490         and <bp-asm.h>.
35491         (__mpn_submul_1): Don't use BP_SYM.
35492         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
35494         <bp-sym.h> and <bp-asm.h>.
35495         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
35496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
35497         <bp-sym.h> and <bp-asm.h>.
35498         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
35499         comment.
35501 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35503         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
35504         Use ZK to minimize writes to Z.
35505         (sub_magnitudes): Simplify code a bit.
35506         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
35507         Use ZK to minimize writes to Z.
35508         (sub_magnitudes): Simplify code a bit.
35510 2013-02-27  Roland McGrath  <roland@hack.frob.com>
35512         * csu/gmon-start.c: Add special exception to license text.
35514 2013-02-27  Richard Henderson  <rth@redhat.com>
35516         * scripts/config.guess: Update from config.git.
35517         * scripts/config.sub: Likewise.
35519 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35521         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
35523         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
35525         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
35527         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
35529         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
35531 2013-02-26  Roland McGrath  <roland@hack.frob.com>
35533         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
35534         [$(build-shared = yes].
35536 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35538         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
35539         (__mul): Reduce iterations for calculating mantissa.
35541         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
35542         MPTWO.
35543         (__mpranred): Likewise.
35545         [BZ #15160]
35546         * malloc/memusagestat.c (main): Draw graphs for heap and stack
35547         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
35549 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
35551         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
35552         Define __attribute__.
35554 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35556         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
35557         unused.
35558         * posix/regex_internal.h (__attribute): Remove.
35559         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
35560         (re_string_context_at): Likewise.
35561         (bitset_not): Use __attribute__ and mark function as possibly
35562         unused.
35563         (bitset_merge): Likewise.
35564         (bitset_mask): Likewise.
35565         (re_string_char_size_at): Likewise.
35566         (re_string_wchar_at): Likewise.
35567         (re_string_elem_size_at): Likewise.
35569 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35571         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
35572         code.
35573         (cc32): Likewise.
35575         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
35576         (__acr): Likewise.
35577         (__cpy): Likewise.
35578         (norm): Likewise.
35579         (denorm): Likewise.
35580         (__dbl_mp): Likewise.
35581         (add_magnitudes): Likewise.
35582         (sub_magnitudes): Likewise.
35583         (__mul): Likewise.
35584         (__inv): Likewise.
35586         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
35587         style.
35589         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
35590         style.
35592         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
35593         code.
35595         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
35596         up changes with default code.
35597         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
35598         Likewise.
35600 2013-02-24  Allan McRae  <allan@archlinux.org>
35602         * manual/socket.texi (The Internet Namespace): Order menu items
35603         to match that in the file.
35605         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
35606         node listing of the info page menu.
35608 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
35610         [BZ #13550]
35611         * sysdeps/i386/bp-asm.h: Remove file.
35612         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
35613         (PARMS): Do not use macros from bp-asm.h.
35614         (S1): Likewise.
35615         (S2): Likewise.
35616         (SIZE): Likewise.
35617         (__mpn_add_n): Do not use BP_SYM
35618         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
35619         "bp-asm.h".
35620         (PARMS): Do not use macros from bp-asm.h.
35621         (S1): Likewise.
35622         (SIZE): Likewise.
35623         (__mpn_addmul_1): Do not use BP_SYM
35624         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
35625         "bp-asm.h".
35626         (PARMS): Do not use macros from bp-asm.h.
35627         (SIGMSK): Likewise.
35628         (_setjmp): Likewise.  Do not use BP_SYM.
35629         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
35630         "bp-asm.h".
35631         (PARMS): Do not use macros from bp-asm.h.
35632         (SIGMSK): Likewise.
35633         (setjmp): Likewise.  Do not use BP_SYM.
35634         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
35635         "bp-asm.h".
35636         (PARMS): Do not use macros from bp-asm.h.
35637         (__frexp): Do not use BP_SYM.
35638         (frexp): Likewise.
35639         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
35640         "bp-asm.h".
35641         (PARMS): Do not use macros from bp-asm.h.
35642         (__frexpf): Do not use BP_SYM.
35643         (frexpf): Likewise.
35644         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
35645         "bp-asm.h".
35646         (PARMS): Do not use macros from bp-asm.h.
35647         (__frexpl): Do not use BP_SYM.
35648         (frexpl): Likewise.
35649         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
35650         "bp-asm.h".
35651         (PARMS): Do not use macros from bp-asm.h.
35652         (__remquo): Do not use BP_SYM.
35653         (remquo): Likewise.
35654         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
35655         "bp-asm.h".
35656         (PARMS): Do not use macros from bp-asm.h.
35657         (__remquof): Do not use BP_SYM.
35658         (remquof): Likewise.
35659         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
35660         "bp-asm.h".
35661         (PARMS): Do not use macros from bp-asm.h.
35662         (__remquol): Do not use BP_SYM.
35663         (remquol): Likewise.
35664         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
35665         "bp-asm.h".
35666         (PARMS): Do not use macros from bp-asm.h.
35667         (DEST): Likewise.
35668         (SRC): Likewise.
35669         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
35670         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
35671         "bp-asm.h".
35672         (PARMS): Do not use macros from bp-asm.h.
35673         (strlen): Do not use BP_SYM.
35674         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
35675         "bp-asm.h".
35676         (PARMS): Do not use macros from bp-asm.h.
35677         (S1): Likewise.
35678         (S2): Likewise.
35679         (SIZE): Likewise.
35680         (__mpn_add_n): Do not use BP_SYM.
35681         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
35682         "bp-asm.h".
35683         (PARMS): Do not use macros from bp-asm.h.
35684         (S1): Likewise.
35685         (SIZE): Likewise.
35686         (__mpn_addmul_1): Do not use BP_SYM.
35687         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
35688         weak_alias.
35689         (bzero): Likewise.
35690         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
35691         "bp-asm.h".
35692         (PARMS): Do not use macros from bp-asm.h.
35693         (S): Likewise.
35694         (SIZE): Likewise.
35695         (__mpn_lshift): Do not use BP_SYM.
35696         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
35697         "bp-asm.h".
35698         (PARMS): Do not use macros from bp-asm.h.
35699         (DEST): Likewise.
35700         (SRC): Likewise.
35701         (LEN): Likewise.
35702         (memcpy): Likewise.  Do not use BP_SYM.
35703         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
35704         libc_hidden_def and weak_alias.
35705         (mempcpy): Do not use BP_SYM in weak_alias.
35706         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
35707         "bp-asm.h".
35708         (PARMS): Do not use macros from bp-asm.h.
35709         (DEST): Likewise.
35710         (LEN): Likewise.
35711         [!BZERO_P] (CHR): Likewise.
35712         (memset): Likewise.  Do not use BP_SYM.
35713         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
35714         "bp-asm.h".
35715         (PARMS): Do not use macros from bp-asm.h.
35716         (S1): Likewise.
35717         (SIZE): Likewise.
35718         (__mpn_mul_1): Do not use BP_SYM.
35719         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
35720         "bp-asm.h".
35721         (PARMS): Do not use macros from bp-asm.h.
35722         (S): Likewise.
35723         (SIZE): Likewise.
35724         (__mpn_rshift): Do not use BP_SYM.
35725         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
35726         "bp-asm.h".
35727         (PARMS): Do not use macros from bp-asm.h.
35728         (STR): Likewise.
35729         (CHR): Likewise.
35730         (strchr): Likewise.  Do not use BP_SYM.
35731         (index): Do not use BP_SYM in weak_alias.
35732         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
35733         "bp-asm.h".
35734         (PARMS): Do not use macros from bp-asm.h.
35735         (DEST): Likewise.
35736         (SRC): Likewise.
35737         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
35738         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
35739         "bp-asm.h".
35740         (PARMS): Do not use macros from bp-asm.h.
35741         (strlen): Do not use BP_SYM.
35742         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
35743         "bp-asm.h".
35744         (PARMS): Do not use macros from bp-asm.h.
35745         (S1): Likewise.
35746         (S2): Likewise.
35747         (SIZE): Likewise.
35748         (__mpn_sub_n): Do not use BP_SYM.
35749         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
35750         "bp-asm.h".
35751         (PARMS): Do not use macros from bp-asm.h.
35752         (S1): Likewise.
35753         (SIZE): Likewise.
35754         (__mpn_submul_1): Do not use BP_SYM.
35755         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
35756         "bp-asm.h".
35757         (PARMS): Do not use macros from bp-asm.h.
35758         (S1): Likewise.
35759         (S2): Likewise.
35760         (SIZE): Likewise.
35761         (__mpn_add_n): Do not use BP_SYM.
35762         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
35763         weak_alias.
35764         (bzero): Likewise.
35765         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
35766         "bp-asm.h".
35767         (PARMS): Do not use macros from bp-asm.h.
35768         (BLK2): Likewise.
35769         (LEN): Likewise.
35770         (memcmp): Do not use BP_SYM.
35771         (bcmp): Do not use BP_SYM in weak_alias.
35772         * sysdeps/i386/i686/memcpy.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         (memcpy): Likewise.  Do not use BP_SYM.
35779         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
35780         "bp-asm.h".
35781         (PARMS): Do not use macros from bp-asm.h.
35782         (DEST): Likewise.
35783         (SRC): Likewise.
35784         (LEN): Likewise.
35785         (memmove): Likewise.  Do not use BP_SYM.
35786         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
35787         "bp-asm.h".
35788         (PARMS): Do not use macros from bp-asm.h.
35789         (DEST): Likewise.
35790         (SRC): Likewise.
35791         (LEN): Likewise.
35792         (__mempcpy): Likewise.  Do not use BP_SYM.
35793         (mempcpy): Do not use BP_SYM in weak_alias.
35794         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
35795         "bp-asm.h".
35796         (PARMS): Do not use macros from bp-asm.h.
35797         (DEST): Likewise.
35798         (LEN): Likewise.
35799         [!BZERO_P] (CHR): Likewise.
35800         (memset): Likewise.  Do not use BP_SYM.
35801         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
35802         "bp-asm.h".
35803         (PARMS): Do not use macros from bp-asm.h.
35804         (STR2): Likewise.
35805         (strcmp): Do not use BP_SYM.
35806         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
35807         "bp-asm.h".
35808         (PARMS): Do not use macros from bp-asm.h.
35809         (STR): Likewise.
35810         (DELIM): Likewise.
35811         [USE_AS_STRTOK_R] (SAVE): Likewise.
35812         (FUNCTION): Likewise.  Do not use BP_SYM.
35813         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
35814         aliases.
35815         (strtok_r): Likewise.
35816         (__GI___strtok_r): Likewise.
35817         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
35818         (PARMS): Do not use macros from bp-asm.h.
35819         (S): Likewise.
35820         (SIZE): Likewise.
35821         (__mpn_lshift): Do not use BP_SYM.
35822         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
35823         (PARMS): Do not use macros from bp-asm.h.
35824         (STR): Likewise.
35825         (CHR): Likewise.
35826         (__memchr): Do not use BP_SYM.
35827         (memchr): Do not use BP_SYM in weak_alias.
35828         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
35829         (PARMS): Do not use macros from bp-asm.h.
35830         (BLK2): Likewise.
35831         (LEN): Likewise.
35832         (memcmp): Do not use BP_SYM.
35833         (bcmp): Do not use BP_SYM in weak_alias.
35834         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
35835         (PARMS): Do not use macros from bp-asm.h.
35836         (S1): Likewise.
35837         (SIZE): Likewise.
35838         (__mpn_mul_1): Do not use BP_SYM.
35839         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
35840         "bp-asm.h".
35841         (PARMS): Do not use macros from bp-asm.h.
35842         (STR): Likewise.
35843         (CHR): Likewise.
35844         (__rawmemchr): Do not use BP_SYM.
35845         (rawmemchr): Do not use BP_SYM in weak_alias.
35846         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
35847         (PARMS): Do not use macros from bp-asm.h.
35848         (S): Likewise.
35849         (SIZE): Likewise.
35850         (__mpn_rshift): Do not use BP_SYM.
35851         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
35852         (PARMS): Do not use macros from bp-asm.h.
35853         (SIGMSK): Likewise.
35854         (__sigsetjmp): Likewise.  Do not use BP_SYM.
35855         * sysdeps/i386/start.S: Do not include "bp-sym.h".
35856         (_start): Do not use BP_SYM.
35857         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
35858         (PARMS): Do not use macros from bp-asm.h.
35859         (DEST): Likewise.
35860         (SRC): Likewise.
35861         (__stpcpy): Likewise.  Do not use BP_SYM.
35862         (stpcpy): Do not use BP_SYM in weak_alias.
35863         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
35864         "bp-asm.h".
35865         (PARMS): Do not use macros from bp-asm.h.
35866         (DEST): Likewise.
35867         (SRC): Likewise.
35868         (LEN): Likewise.
35869         (__stpncpy): Likewise.  Do not use BP_SYM.
35870         (stpncpy): Do not use BP_SYM in weak_alias.
35871         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
35872         (PARMS): Do not use macros from bp-asm.h.
35873         (STR): Likewise.
35874         (CHR): Likewise.
35875         (strchr): Likewise.  Do not use BP_SYM.
35876         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
35877         "bp-asm.h".
35878         (PARMS): Do not use macros from bp-asm.h.
35879         (STR): Likewise.
35880         (CHR): Likewise.
35881         (__strchrnul): Likewise.  Do not use BP_SYM.
35882         (strchrnul): Do not use BP_SYM in weak_alias.
35883         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
35884         "bp-asm.h".
35885         (PARMS): Do not use macros from bp-asm.h.
35886         (STOP): Likewise.
35887         (strcspn): Do not use BP_SYM.
35888         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
35889         "bp-asm.h".
35890         (PARMS): Do not use macros from bp-asm.h.
35891         (STR): Likewise.
35892         (STOP): Likewise.
35893         (strpbrk): Likewise.  Do not use BP_SYM.
35894         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
35895         "bp-asm.h".
35896         (PARMS): Do not use macros from bp-asm.h.
35897         (STR): Likewise.
35898         (CHR): Likewise.
35899         (strrchr): Likewise.  Do not use BP_SYM.
35900         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
35901         (PARMS): Do not use macros from bp-asm.h.
35902         (SKIP): Likewise.
35903         (strspn): Do not use BP_SYM.
35904         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
35905         (PARMS): Do not use macros from bp-asm.h.
35906         (STR): Likewise.
35907         (DELIM): Likewise.
35908         (SAVE): Likewise.
35909         (FUNCTION): Likewise.  Do not use BP_SYM.
35910         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
35911         aliases.
35912         (strtok_r): Likewise.
35913         (__GI___strtok_r): Likewise.
35914         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
35915         (PARMS): Do not use macros from bp-asm.h.
35916         (S1): Likewise.
35917         (S2): Likewise.
35918         (SIZE): Likewise.
35919         (__mpn_sub_n): Do not use BP_SYM.
35920         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
35921         "bp-asm.h".
35922         (PARMS): Do not use macros from bp-asm.h.
35923         (S1): Likewise.
35924         (SIZE): Likewise.
35925         (__mpn_submul_1): Do not use BP_SYM.
35926         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
35927         <bp-sym.h>.
35928         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
35929         and <bp-asm.h>.
35930         (PARMS): Do not use macros from bp-asm.h.
35931         (FLAGS): Likewise.
35932         (PTID): Likewise.
35933         (TLS): Likewise.
35934         (CTID): Likewise.
35935         (__clone): Do not use BP_SYM.
35936         (clone): Do not use BP_SYM in weak_alias.
35937         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
35938         and <bp-asm.h>.
35939         (PARMS): Do not use macros from bp-asm.h.
35940         (LEN): Likewise.
35941         (__mmap64): Do not use BP_SYM.
35942         (mmap64): Do not use BP_SYM in weak_alias.
35943         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
35944         <bp-sym.h> and <bp-asm.h>.
35945         (PARMS): Do not use macros from bp-asm.h.
35946         (__posix_fadvise64_l64): Do not use BP_SYM.
35947         * sysdeps/unix/sysv/linux/i386/semtimedop.S
35948         (PARMS): Do not use macros from bp-asm.h.
35949         (NSOPS): Likewise.
35950         (semtimedop): Do not use BP_SYM.
35951         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
35952         and <bp-asm.h>.
35954 2013-02-21  Allan McRae  <allan@archlinux.org>
35956         * manual/message.texi (Charset conversion in gettext):
35957         Move @end statement to beginning of line.
35959 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35961         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
35962         static.
35963         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
35964         Likewise.
35966         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
35967         (denorm): Likewise.
35968         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
35969         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
35971 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35973         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
35974         tail-call to the resolved function if pltexit isn't needed.
35976 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35978         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
35979         or Y being zero as being unlikely.
35980         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
35981         Likewise.
35983 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
35985         * manual/nss.texi (System Databases and Name Service Switch):
35986         Remove frobnicate @pxref.
35988 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
35990         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
35991         __attribute__ ((unused)) to __attribute__ ((__unused__)).
35993 2013-02-20  Petr Machata  <pmachata@redhat.com>
35995         * elf/elf.h (R_ARM_TARGET1): New macro.
35996         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
35997         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
35998         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
35999         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
36000         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
36001         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
36002         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
36003         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
36004         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
36005         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
36006         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
36007         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
36008         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
36009         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
36010         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
36011         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
36012         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
36013         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
36014         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
36015         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
36016         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
36017         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
36018         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
36019         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
36020         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
36021         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
36022         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
36023         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
36024         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
36025         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
36026         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
36027         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
36028         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
36029         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
36030         (R_ARM_THM_GOT_BREL12): Likewise.
36031         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
36032         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
36033         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
36034         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
36035         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
36036         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
36037         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
36038         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
36039         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
36041 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
36043         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36044         __attribute_used__ to __attribute__ ((unused)).
36046 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
36048         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
36049         powerpc mpa.c.
36050         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
36051         comment formatting.
36052         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
36054 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
36056         [BZ #13550]
36057         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
36058         Remove macro.
36059         (ENTER): Remove both macro definitions.
36060         (LEAVE): Likewise.
36061         (CHECK_BOUNDS_LOW): Likewise.
36062         (CHECK_BOUNDS_HIGH): Likewise.
36063         (CHECK_BOUNDS_BOTH): Likewise.
36064         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
36065         (RETURN_BOUNDED_POINTER): Likewise.
36066         (RETURN_NULL_BOUNDED_POINTER): Likewise.
36067         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
36068         (POP_ERRNO_LOCATION_RETURN): Likewise.
36069         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
36070         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36071         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
36072         macros.
36073         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36074         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
36075         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
36076         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
36077         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
36078         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
36079         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
36080         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
36081         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
36082         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
36083         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
36084         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
36085         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36086         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
36087         removed macros.
36088         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36089         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
36090         macros.
36091         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36092         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
36093         * sysdeps/i386/i586/memset.S (memset): Likewise.
36094         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
36095         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36096         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
36097         macros.
36098         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36099         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
36100         Change uses of L(2) to L(out).
36101         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
36102         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
36103         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
36104         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36105         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
36106         removed macros.
36107         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36108         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
36109         macros.
36110         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36111         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
36112         (RETURN): Do not use macro LEAVE.
36113         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
36114         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
36115         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
36116         * sysdeps/i386/i686/memset.S (memset): Likewise.
36117         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
36118         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
36119         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36120         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
36121         Likewise.
36122         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36123         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
36124         L(1_2) and L(1_3) into L(1).
36125         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
36126         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
36127         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36128         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
36129         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36130         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
36131         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
36132         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36133         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
36134         macros.
36135         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
36136         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36137         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
36138         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
36139         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
36140         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36141         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
36142         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
36143         * sysdeps/i386/strcspn.S (strcspn): Likewise.
36144         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
36145         * sysdeps/i386/strrchr.S (strrchr): Likewise.
36146         * sysdeps/i386/strspn.S (strspn): Likewise.
36147         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
36148         conditional code.
36149         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36150         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
36151         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
36152         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
36153         L(1_3) into L(1_1).
36154         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
36155         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36156         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
36157         macros.
36158         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36160 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
36162         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
36163         macro.
36165 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36167         * math/atest-exp.c (exp_mpn): Remove ROUND.
36168         * math/atest-exp2.c (exp_mpn): Likewise.
36169         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
36171         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
36172         * stdlib/tst-tls-atexit-lib.c: Likewise.
36173         * stdlib/tst-tls-atexit.c: Likewise.
36175 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
36177         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
36178         and __attribute_alloc_size__.
36180 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
36182         * include/programs/xmalloc.h: Change __attribute_alloc_size to
36183         __attribute_alloc_size__.
36184         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
36185         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
36187 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
36189         * include/programs/xmalloc.h: New file.
36190         * catgets/gencat.c: Include it.
36191         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
36192         * elf/pldd.c: Likewise.
36193         * iconv/iconv_charmap.c: Likewise.
36194         * iconv/iconvconfig.c: Likewise.
36195         * iconv/strtab.c: Likewise.
36196         * locale/programs/locale.c: Likewise.
36197         * locale/programs/localedef.h: Likewise.
36198         * locale/programs/simple-hash.c: Likewise.
36199         * nscd/nscd.h: Likewise.
36200         * nss/makedb.c: Likewise.
36201         * sysdeps/generic/ldconfig.h: Likewise.
36203 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36205         * Versions.def: Add GLIBC_2.18.
36206         * include/link.h (struct link_map): New member l_tls_dtor_count.
36207         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
36208         (__call_tls_dtors): Likewise.
36209         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
36210         __cxa_thread_atexit_impl.
36211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36212         Likewise.
36213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36214         Likewise.
36215         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
36216         Likewise.
36217         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
36218         Likewise.
36219         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36220         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
36221         Likewise.
36222         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
36223         Likewise.
36224         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36225         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36226         Likewise.
36227         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
36228         (tests): Add test case tst-tls-atexit.
36229         (modules-names): Add shared library for tst-tls-atexit.
36230         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
36231         (GLIBC_PRIVATE): Add __call_tls_dtors.
36232         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
36233         for libstdc++.
36234         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
36235         * stdlib/tst-tls-atexit.c: New test case.
36236         * stdlib/tst-tls-atexit-lib.c: New test case.
36238         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
36240         * elf/Versions (ld): Add _dl_find_dso_for_object.
36241         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
36242         * elf/dl-open.c (_dl_find_dso_for_object): New function.
36243         (dl_open_worker): Use _dl_find_dso_for_object.
36244         * elf/dl-sym.c (do_sym): Likewise.
36245         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
36247 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36249         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
36250         Syntactic changes only.
36251         (_dl_runtime_profile): Do a tail-call to the resolved function.
36253 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
36255         [BZ #13550]
36256         * sysdeps/x86_64/bp-asm.h: Remove file.
36257         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
36258         <bp-sym.h> and <bp-asm.h>.
36259         (__clone): Do not use BP_SYM.
36260         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
36261         <bp-sym.h> and <bp-asm.h>.
36262         * sysdeps/unix/x86_64/sysdep.S: Likewise.
36263         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
36264         "bp-asm.h".
36265         (_setjmp): Do not use BP_SYM.
36266         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
36267         "bp-asm.h".
36268         (setjmp): Do not use BP_SYM.
36269         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
36270         libc_hidden_def.
36271         (mempcpy): Do not use BP_SYM in weak_alias.
36272         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
36273         "bp-asm.h".
36274         (strchr): Do not use BP_SYM.
36275         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
36276         "bp-asm.h".
36277         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
36278         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
36279         (_start): Do not use BP_SYM.
36280         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
36281         "bp-asm.h".
36282         (strcat): Do not use BP_SYM.
36283         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
36284         "bp-asm.h".
36285         (STRCMP): Do not use BP_SYM.
36286         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
36287         "bp-asm.h".
36288         (STRCPY): Do not use BP_SYM.
36289         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
36290         "bp-asm.h".
36291         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
36292         "bp-asm.h".
36293         (FUNCTION): Do not use BP_SYM.
36294         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
36295         weak_alias.
36296         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
36298 2013-02-17  Andreas Jaeger  <aj@suse.de>
36300         * time/Versions: Sort entries.
36301         * string/Versions: Likewise.
36302         * resolv/Versions: Likewise.
36303         * posix/Versions: Likewise.
36304         * iconv/Versions: Likewise.
36305         * elf/Versions: Likewise.
36306         * wcsmbs/Versions: Likewise.
36308 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36310         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
36311         loop termination condition.
36313         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
36314         variable to calculate EZ.
36315         (__sqr): Likewise.
36317         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
36318         the lower precision input.
36320 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
36322         [BZ #13550]
36323         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
36324         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
36325         (run-via-rtld-prefix): Do not handle %-bp tests.
36326         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
36327         (all-object-suffixes): Remove .ob.
36328         (bppfx): Remove variable.
36329         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
36330         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
36331         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
36332         [$(build-bounded) = yes] (libtype.ob): Likewise.
36333         * Makerules (elide-routines.ob): Remove variable.
36334         (do-tests-clean): Do not handle *-bp.out.
36335         (common-mostlyclean): Do not handle *-bp and *-bp.out.
36336         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
36337         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
36338         (tests): Do not include $(tests-bp.out).
36339         (xtests): Do not include $(xtests-bp.out).
36340         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
36341         [$(build-bounded) = yes] ($(addprefix
36342         $(objpfx),$(binaries-bounded))): Remove rule.
36343         ($(objpfx)%-bp.out): Remove rule.
36344         * config.make.in (build-bounded): Remove variable.
36345         * crypt/Makefile [$(build-bounded) = yes]
36346         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
36347         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
36348         append to variable.
36349         [$(build-bounded) = yes] (install-lib): Likewise.
36350         [$(build-bounded) = yes] (generated): Likewise.
36351         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
36352         Remove rule.
36353         * intl/Makefile [$(build-bounded) = yes]
36354         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
36355         * math/Makefile [$(build-bounded) = yes]
36356         ($(tests:%=$(objpfx)%-bp): Likewise.
36357         * misc/Makefile [$(build-bounded) = yes]
36358         ($(objpfx)tst-tsearch-bp): Likewise.
36359         * nptl/Makeconfig (bounded-thread-library): Remove variable.
36360         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
36361         Remove dependency.
36362         * string/Makefile (o-objects.ob): Remove variable.
36363         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
36364         (CFLAGS-.ob): Remove variable.
36365         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
36366         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
36367         both definitions of variable.
36368         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
36369         (ASFLAGS-.ob): Remove variable.
36371 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
36373         [BZ #13550]
36374         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
36375         Remove __BOUNDED_POINTERS__ from condition.
36376         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
36377         * string/bits/string2.h [!__NO_STRING_INLINES &&
36378         !__BOUNDED_POINTERS__]: Likewise.
36379         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
36380         Likewise.
36381         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
36382         Remove conditional code.
36383         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
36384         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
36385         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
36386         condition.
36388         [BZ #13550]
36389         * csu/libc-start.c: Do not include <bp-sym.h>.
36390         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
36391         * elf/dl-open.c: Do not include <bp-sym.h>.
36392         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
36393         * math/fegetenv.c: Do not include <bp-sym.h>.
36394         (fegetenv): Do not use BP_SYM in versioned symbols.
36395         * nptl/sysdeps/pthread/bits/libc-lockP.h
36396         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
36397         <bp-sym.h>.
36398         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36399         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
36400         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36401         (__pthread_mutex_destroy): Likewise.
36402         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36403         (__pthread_mutex_lock): Likewise.
36404         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36405         (__pthread_mutex_trylock): Likewise.
36406         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36407         (__pthread_mutex_unlock): Likewise.
36408         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36409         (__pthread_mutexattr_init): Likewise.
36410         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36411         (__pthread_mutexattr_destroy): Likewise.
36412         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36413         (__pthread_mutexattr_settype): Likewise.
36414         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36415         (__pthread_rwlock_init): Likewise.
36416         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36417         (__pthread_rwlock_destroy): Likewise.
36418         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36419         (__pthread_rwlock_rdlock): Likewise.
36420         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36421         (__pthread_rwlock_tryrdlock): Likewise.
36422         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36423         (__pthread_rwlock_wrlock): Likewise.
36424         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36425         (__pthread_rwlock_trywrlock): Likewise.
36426         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36427         (__pthread_rwlock_unlock): Likewise.
36428         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36429         (__pthread_key_create): Likewise.
36430         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36431         (__pthread_setspecific): Likewise.
36432         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36433         (__pthread_getspecific): Likewise.
36434         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
36435         Likewise.
36436         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36437         (_pthread_cleanup_push_defer): Likewise.
36438         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36439         (_pthread_cleanup_pop_restore): Likewise.
36440         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36441         (pthread_setcancelstate): Likewise.
36442         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
36443         <bp-sym.h>.
36444         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
36445         (memchr): Do not use BP_SYM in weak_alias.
36446         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
36447         (fegetenv): Do not use BP_SYM in versioned symbols.
36448         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
36449         (fesetenv): Do not use BP_SYM in versioned symbols.
36450         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
36451         (feupdateenv): Do not use BP_SYM in versioned symbols.
36452         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
36453         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
36454         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
36455         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
36456         (open64): Do not use BP_SYM in weak_alias.
36457         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
36458         (fegetenv): Do not use BP_SYM in versioned symbols.
36459         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
36460         (fesetenv): Do not use BP_SYM in versioned symbols.
36461         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
36462         (feupdateenv): Do not use BP_SYM in versioned symbols.
36463         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
36464         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
36465         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
36466         (feraiseexcept): Do not use BP_SYM in versioned symbols.
36467         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
36468         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
36469         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
36470         <bp-sym.h>.
36471         (__libc_start_main): Do not use BP_SYM.
36473 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
36475         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
36476         redundant return line.
36477         (norm): Likewise.
36478         (denorm): Likewise.
36479         (dbl_mp): Likewise.
36480         (sub_magnitudes): Likewise.
36481         (__add): Likewise.
36482         (__sub): Likewise.
36483         (__mul): Likewise.
36484         (__inv): Likewise.
36485         (__dvd): Likewise.
36486         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
36487         (norm): Likewise.
36488         (denorm): Likewise.
36489         (dbl_mp): Likewise.
36490         (sub_magnitudes): Likewise.
36491         (__add): Likewise.
36492         (__sub): Likewise.
36493         (__mul): Likewise.
36494         (__inv): Likewise.
36495         (__dvd): Likewise.
36497         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
36498         instead of __mul.
36499         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36500         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
36501         (cc32): Likewise.
36503         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
36504         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
36505         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
36506         of __mul for squares.
36507         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
36508         function
36509         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
36510         Likewise.
36511         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
36512         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36514 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
36516         [BZ #13550]
36517         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
36518         code.
36519         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
36520         prototype or function definition.  Rename ubp_* variables and
36521         parameters.  Remove argv definitions conditional on
36522         [__BOUNDED_POINTERS__].
36523         * debug/backtrace.c (__backtrace): Do not use __unbounded.
36524         * elf/dl-runtime.c (_dl_fixup): Likewise.
36525         * include/set-hooks.h (RUN_HOOK): Likewise.
36526         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
36527         definition.
36528         * string/strcpy.c (strcpy): Do not use __unbounded.
36529         * sysdeps/generic/frame.h (struct layout): Likewise.
36530         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
36531         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
36532         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
36533         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
36534         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
36535         (__backtrace): Likewise.
36536         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
36537         use __ptrvalue.
36538         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
36539         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
36540         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
36541         Likewise.
36542         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
36543         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
36544         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
36545         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
36546         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
36547         Do not use __unbounded.
36548         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
36549         Rename __unboundedrlimits parameter to rlimits in prototype.
36550         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
36551         Do not use __unbounded.
36552         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
36553         not use __ptrvalue.
36554         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
36555         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
36556         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
36557         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
36558         __ptrvalue or __unbounded.
36559         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
36560         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
36561         use __unbounded.
36562         (__new_msgctl): Do not use __ptrvalue.
36563         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
36564         __unbounded.
36565         (__libc_msgrcv): Do not use __ptrvalue.
36566         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
36567         startup_info): Do not use __unbounded.
36568         (__libc_start_main): Likewise.  Rename ubp_* variables and
36569         parameters.  Remove argv definitions conditional on
36570         [__BOUNDED_POINTERS__].
36571         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
36572         __ptrvalue.
36573         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
36574         use __unbounded.
36575         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
36576         or __ptrvalue.
36577         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
36578         use __unbounded.
36579         (__new_shmctl): Do not use __ptrvalue.
36580         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
36581         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
36582         Likewise.
36583         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
36584         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
36585         (__libc_sigaction): Likewise.
36586         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
36587         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
36588         Likewise.
36589         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
36591 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
36593         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
36595         * string/mempcpy.c: Implement by calling memcpy.
36597 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
36599         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
36601         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
36602         evaluation.
36604         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
36605         values in the mantissa.
36607         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
36608         minimize writes to Z.
36609         (sub_magnitudes): Simplify code a bit.
36611 2013-02-12  Roland McGrath  <roland@hack.frob.com>
36613         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
36614         from the message.  The linker prefixes all warnings with that already.
36616 2013-02-12  Andreas Schwab  <schwab@suse.de>
36618         [BZ #15078]
36619         * posix/regexec.c (extend_buffers): Add parameter min_len.
36620         (check_matching): Pass minimum needed length.
36621         (clean_state_log_if_needed): Likewise.
36622         (get_subexp): Likewise.
36623         * posix/Makefile (tests): Add bug-regex34.
36624         (bug-regex34-ENV): Define.
36625         * posix/bug-regex34.c: New file.
36627         [BZ #11561]
36628         * posix/regcomp.c (parse_bracket_exp): When looking up collating
36629         elements compare against the byte sequence of it, not its name.
36630         * posix/Makefile (tests): Add bug-regex35.
36631         (bug-regex35-ENV): Define.
36632         * posix/bug-regex35.c: New file.
36634 2013-02-11  Tom de Vries  <tom@codesourcery.com>
36636         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
36637         comment.
36638         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
36639         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
36640         (CHECK_EOL): Add undef.
36642 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
36644         * bits/stdlib-bsearch.h: New file.
36645         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
36646         * stdlib/stdlib.h: Likewise.
36648 2013-02-11  Roland McGrath  <roland@hack.frob.com>
36650         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
36651         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
36652         declaration.
36653         * manual/search.texi (Array Search Function): Add missing const in
36654         lfind prototype.
36655         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
36656         declaration to use rlim_t.
36657         (Basic Scheduling Functions): Remove erroneous const from
36658         sched_getparam prototype.  Remove erroneous * from
36659         sched_get_priority_max and sched_get_priority_min prototypes.
36660         (Resource Usage): Fix summary @comment on vtimes to refer to
36661         sys/vtimes.h rather than vtimes.h.
36662         Add missing *s in vtimes prototype.
36663         (Limits on Resources): Fix ulimit prototype to return long int.
36664         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
36665         prototypes to use long int rather than double.
36666         (BSD Random): Fix initstate and setstate to use char *, not void *.
36667         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
36668         prototype to make second argument 'struct aiocb64 *const[]'.
36669         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
36670         (Status of AIO Operations): Remove erroneous const in aio_return and
36671         aio_return64 prototypes.
36672         (Synchronizing I/O): Fix sync prototype to return void.
36673         * manual/startup.texi (Suboptions): Remove an erroneous const in
36674         getsubopt prototype.
36675         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
36676         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
36677         use size_t rather than int.
36678         (Scanning All Users): Likewise for getpwent_r.
36679         (Setting Groups): Add missing const to setgroups prototype.
36680         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
36681         * manual/socket.texi (Host Names): Fix gethostbyaddr and
36682         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
36683         'const void *' rather than 'const char *'.
36684         (Host Address Functions): Likewise for inet_ntop.
36685         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
36686         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
36687         ssize_t for return value.
36688         (Sending Data): Likewise for send, sendto, sendmsg.
36689         (Socket Option Functions): Add a missing const in setsockopt prototype.
36690         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
36691         use wchar_t for the argument.
36692         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
36693         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
36694         take no arguments.
36695         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
36696         double/float/long double for second argument.
36697         Fix return types of significand, significandf, significandl.
36698         * manual/filesys.texi (Setting Permissions): Use mode_t for second
36699         argument in fchmod prototype.
36700         (File Owner): Use uid_t and gid_t in fchown prototype.
36701         (File Times): Add const to utimes, futimes, and lutimes prototypes.
36702         (Making Special Files): Use mode_t and dev_t in mknod prototype.
36703         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
36704         use 'const struct dirent **' as argument types to CMP function pointer
36705         argument.
36706         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
36707         (File Times): Fix summary magic @comment for struct utimbuf and utime
36708         to refer to utime.h, not time.h.
36709         * manual/string.texi (Argz Functions): Add missing const in
36710         argz_extract and argz_next prototypes.
36711         (Finding Tokens in a String): Likewise for basename.
36712         (String/Array Comparison): Fix typo in wcscasecmp prototype.
36713         (Copying and Concatenation): Fix typo in wmemmove prototype.
36714         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
36715         (Signal Stack): Remove erroneous const in sigstack prototype.
36716         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
36717         prototype.
36718         (Simple Calendar Time): Likewise for stime.
36719         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
36720         prototype.
36721         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
36722         say sys/sysctl.h instead.
36723         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
36724         and vsyslog prototypes.
36726 2013-02-11  Tom de Vries  <tom@codesourcery.com>
36728         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
36729         Remove.
36731 2013-02-11  Roland McGrath  <roland@hack.frob.com>
36733         * misc/sys/mman.h: Fix typo in mremap comment.
36735 2013-02-08  Roland McGrath  <roland@hack.frob.com>
36737         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
36738         the '\0' terminator.
36740 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
36742         [BZ #13550]
36743         * debug/segfault.c: Don't include <bp-checks.h>.
36744         * sysdeps/generic/bp-checks.h: Remove file.
36745         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
36746         (__GETDENTS): Don't use CHECK_N.
36747         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
36748         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
36749         (__getgroups): Don't use CHECK_N.
36750         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
36751         (setgroups): Don't use CHECK_N.
36752         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
36753         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
36754         (__libc_msgrcv): Don't use CHECK_N.
36755         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
36756         (__libc_msgsnd): Don't use CHECK_N.
36757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
36758         <bp-checks.h>.
36759         (__libc_pread): Don't use CHECK_N.
36760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
36761         include <bp-checks.h>.
36762         (__libc_pread64): Don't use CHECK_N.
36763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
36764         include <bp-checks.h>.
36765         (__libc_pwrite): Don't use CHECK_N.
36766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
36767         include <bp-checks.h>.
36768         (__libc_pwrite64): Don't use CHECK_N.
36769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
36770         <bp-checks.h>.
36771         (__libc_pread): Don't use CHECK_N.
36772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
36773         include <bp-checks.h>.
36774         (__libc_pread64): Don't use CHECK_N.
36775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
36776         include <bp-checks.h>.
36777         (__libc_pwrite): Don't use CHECK_N.
36778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
36779         include <bp-checks.h>.
36780         (__libc_pwrite64): Don't use CHECK_N.
36781         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
36782         (do_pread): Don't use CHECK_N.
36783         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
36784         (do_pread64): Don't use CHECK_N.
36785         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
36786         (do_pwrite): Don't use CHECK_N.
36787         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
36788         (do_pwrite64): Don't use CHECK_N.
36789         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
36790         (__libc_readv): Don't use CHECK_N.
36791         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
36792         (semop): Don't use CHECK_N.
36793         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
36794         <bp-checks.h>.
36795         (semtimedop): Don't use CHECK_N.
36796         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
36797         (__libc_pread): Don't use CHECK_N.
36798         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
36799         <bp-checks.h>.
36800         (__libc_pread64): Don't use CHECK_N.
36801         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
36802         <bp-checks.h>.
36803         (__libc_pwrite): Don't use CHECK_N.
36804         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
36805         <bp-checks.h>.
36806         (__libc_pwrite64): Don't use CHECK_N.
36807         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
36808         <bp-checks.h>.
36809         (__libc_msgrcv): Don't use CHECK_N.
36810         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
36811         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
36812         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
36813         (__libc_writev): Don't use CHECK_N.
36815 2013-02-08  Roland McGrath  <roland@hack.frob.com>
36817         * string/strcpy.c: Removed unused variable.
36819         * Makeconfig (+sysdep-includes): Define with := rather than =.
36820         Use an existing include/ subdir of each sysdeps dir before it.
36822 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
36824         * nscd/connection.c (register_traced_file): Comment function.
36825         [HAVE_INOTIFY] (union __inev): Define.
36826         [HAVE_INOTIFY] (inotify_check_files): New function.
36827         [HAVE_INOTIFY] (clear_db_cache): Likewise.
36828         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
36829         clear_db_cache.
36830         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
36832 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
36834         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
36835         loaded if not already and that a failure is permanent.
36837 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
36839         [BZ #15006]
36840         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
36841         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
36843 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
36845         [BZ #13550]
36846         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
36847         (CHECK_1_NULL_OK): Likewise.
36848         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
36849         (__fxstat): Do not use CHECK_1.
36850         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
36851         <bp-checks.h>.
36852         (___fxstat64): Do not use CHECK_1.
36853         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
36854         <bp-checks.h>.
36855         (__fxstatat): Do not use CHECK_1.
36856         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
36857         <bp-checks.h>.
36858         (__fxstatat64): Do not use CHECK_1.
36859         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
36860         <bp-checks.h>.
36861         (__fxstat): Do not use CHECK_1.
36862         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
36863         <bp-checks.h>.
36864         (__fxstatat): Do not use CHECK_1.
36865         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36866         <bp-checks.h>.
36867         (__getresgid): Do not use CHECK_1.
36868         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36869         <bp-checks.h>.
36870         (__getresuid): Do not use CHECK_1.
36871         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
36872         <bp-checks.h>.
36873         (__lxstat): Do not use CHECK_1.
36874         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36875         <bp-checks.h>.
36876         (__old_msgctl): Do not use CHECK_1.
36877         (__new_msgctl): Likewise.
36878         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
36879         <bp-checks.h>.
36880         (__new_setrlimit): Do not use CHECK_1.
36881         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
36882         <bp-checks.h>.
36883         (__old_shmctl): Do not use CHECK_1.
36884         (__new_shmctl): Likewise.
36885         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
36886         <bp-checks.h>.
36887         (__xstat): Do not use CHECK_1.
36888         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
36889         (__lxstat): Do not use CHECK_1.
36890         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
36891         <bp-checks.h>.
36892         (___lxstat64): Do not use CHECK_1.
36893         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
36894         (__old_msgctl): Do not use CHECK_1.
36895         (__new_msgctl): Likewise.
36896         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
36897         <bp-checks.h>.
36898         (__gettimeofday): Do not use CHECK_1.
36899         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
36900         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
36901         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
36902         <bp-checks.h>.
36903         (__gettimeofday): Do not use CHECK_1.
36904         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
36905         (__old_shmctl): Do not use CHECK_1_NULL_OK.
36906         (__new_shmctl): Do not use CHECK_1.
36907         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
36908         <bp-checks.h>.
36909         (do_sigtimedwait): Do not use CHECK_1.
36910         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
36911         <bp-checks.h>.
36912         (do_sigwaitinfo): Do not use CHECK_1.
36913         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
36914         <bp-checks.h>.
36915         (msgctl): Do not use CHECK_1.
36916         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
36917         <bp-checks.h>.
36918         (shmctl): Do not use CHECK_1.
36919         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
36920         (ustat): Do not use CHECK_1.
36921         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
36922         <bp-checks.h>.
36923         (__fxstat): Do not use CHECK_1.
36924         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
36925         <bp-checks.h>.
36926         (__fxstatat): Do not use CHECK_1.
36927         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
36928         <bp-checks.h>.
36929         (__lxstat): Do not use CHECK_1.
36930         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
36931         <bp-checks.h>.
36932         (__xstat): Do not use CHECK_1.
36933         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
36934         (__xstat): Do not use CHECK_1.
36935         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
36936         (___xstat64): Do not use CHECK_1.
36938         [BZ #13550]
36939         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
36940         definitions.
36941         (CHECK_BOUNDS_HIGH): Likewise.
36942         * string/strcpy.c: Do not include <bp-checks.h>.
36943         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
36945 2013-02-07  Roland McGrath  <roland@hack.frob.com>
36947         * nscd/nscd-client.h (__nscd_drop_map_ref):
36948         Add __attribute__ ((unused)).
36949         * nis/nss-nisplus.h (niserr2nss): Likewise.
36951         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
36952         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
36954         * csu/libc-tls.c (init_static_tls, init_slotinfo):
36955         Remove inline keyword.
36956         * include/rounding-mode.h (round_away): Likewise.
36957         * libio/wfileops.c (adjust_wide_data): Likewise.
36958         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
36959         (__m128i_strloadu_tolower): Likewise.
36960         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
36961         (__m128i_strloadu_tolower): Likewise.
36962         * time/mktime.c (ydhms_diff): Likewise.
36963         * locale/elem-hash.h (elem_hash): Likewise.
36964         * locale/setlocale.c (setdata): Likewise.
36965         * posix/regex_internal.h (re_string_char_size_at): Likewise.
36966         (re_string_wchar_at): Likewise.
36967         (bitset_not, bitset_merge, bitset_mask): Likewise.
36968         [!(__GNUC__ > 3)] (inline): Remove macro.
36969         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
36970         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
36971         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
36972         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
36973         * string/memcmp.c (memcmp_bytes): Likewise.
36974         * locale/programs/locarchive.c (compute_hashval): Likewise.
36975         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
36976         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
36977         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
36978         * nss/getent.c (print_rpc, print_protocols): Likewise.
36979         (print_passwd, print_group, print_aliases): Likewise.
36980         * nis/nss-nisplus.h (niserr2nss): Likewise.
36981         * nscd/connections.c (restart_p): Likewise.
36982         Change return type to bool.
36984 2013-02-05  Roland McGrath  <roland@hack.frob.com>
36986         * Makeconfig (all-Depend-files): Add existing
36987         $(sorted-subdirs:=/Depend) files.
36988         (all-subdirs): Remove nss.
36989         * sysdeps/unix/inet/Subdirs: Add it here instead.
36990         * hesiod/Depend: New file.
36992         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
36993         instead of calling alloca.
36995         * io/lseek.c (__lseek): Rename to __libc_lseek.
36996         Define __lseek as an alias.
36998         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
37000 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
37002         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
37003         else clause and remove check for non-standard endianness.
37005 2013-02-04  David S. Miller  <davem@davemloft.net>
37007         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37009 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
37011         [BZ #13550]
37012         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
37013         (__ubp_memchr): Remove prototype.
37014         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
37015         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37016         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
37017         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37018         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
37019         Remove alias.
37020         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
37021         (__ubp_memchr): Likewise.
37022         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
37023         (__ubp_memchr): Likewise.
37024         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
37025         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
37026         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
37027         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
37028         CHECK_STRING.
37029         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
37030         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
37031         (__getcwd): Do not use CHECK_STRING.
37032         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
37033         <bp-checks.h>.
37034         (__real_chown): Do not use CHECK_STRING.
37035         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
37036         <bp-checks.h>.
37037         (fchownat): Do not use CHECK_STRING.
37038         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
37039         CHECK_STRING.
37040         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
37041         <bp-checks.h>.
37042         (__lchown): Do not use CHECK_STRING.
37043         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
37044         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
37045         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
37046         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
37047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
37048         include <bp-checks.h>.
37049         (truncate64): Do not use CHECK_STRING.
37050         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
37051         <bp-checks.h>.
37052         (__real_chown): Do not use CHECK_STRING.
37053         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
37054         <bp-checks.h>.
37055         (__lchown): Do not use CHECK_STRING.
37056         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
37057         <bp-checks.h>.
37058         (__chown): Do not use CHECK_STRING.
37059         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
37060         <bp-checks.h>.
37061         (truncate64): Do not use CHECK_STRING.
37062         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
37063         Likewise.
37064         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
37065         (__xmknod): Do not use CHECK_STRING.
37066         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
37067         <bp-checks.h>.
37068         (__xmknodat): Do not use CHECK_STRING.
37069         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
37070         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
37072 2013-02-04  Andreas Schwab  <schwab@suse.de>
37074         [BZ #14142]
37075         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
37076         * include/netdb.h: Likewise for h_errno.
37077         * elf/tst-stackguard1.c: Include <tls.h>.
37079 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
37081         * elf/link.h (struct link_map): Extend the l_addr comment.
37082         * include/link.h (struct link_map): Likewise.
37084 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
37086         [BZ #13550]
37087         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
37088         (BOUNDED_1): Remove macro.
37089         * debug/backtrace.c: Don't include <bp-checks.h>.
37090         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
37091         (__backtrace): Likewise.
37092         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
37093         <bp-checks.h>.
37094         (__backtrace): Don't use BOUNDED_1.
37095         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
37096         <bp-checks.h>.
37097         (__backtrace): Don't use BOUNDED_1.
37098         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
37099         (__backtrace): Don't use BOUNDED_1.
37100         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
37101         (shmat): Don't use BOUNDED_N.
37103 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
37105         [BZ #13550]
37106         * sysdeps/generic/bp-start.h: Remove file.
37107         * csu/libc-start.c: Don't include <bp-start.h>.
37108         (LIBC_START_MAIN): Set up __environ directly instead of using
37109         INIT_ARGV_and_ENVIRON.
37110         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
37111         <bp-start.h>.
37113         [BZ #13550]
37114         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
37115         definitions.
37116         (CHECK_FCNTL): Likewise.
37117         (CHECK_N_PAGES): Likewise.
37119         [BZ #13550]
37120         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
37121         definitions.
37122         (CHECK_SIGSET_NULL_OK): Likewise.
37123         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
37124         <bp-checks.h>.
37125         (sigpending): Don't use CHECK_SIGSET.
37126         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
37127         <bp-checks.h>.
37128         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37129         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
37130         <bp-checks.h>.
37131         (do_sigsuspend): Don't use CHECK_SIGSET.
37132         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
37133         use CHECK_SIGSET.
37134         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
37135         (do_sigwait): Don't use CHECK_SIGSET.
37136         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
37137         use CHECK_SIGSET.
37138         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
37139         include <bp-checks.h>.
37140         (sigpending): Don't use CHECK_SIGSET.
37141         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
37142         include <bp-checks.h>.
37143         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37144         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
37145         <bp-checks.h>.
37146         (sigpending): Don't use CHECK_SIGSET.
37147         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
37148         <bp-checks.h>.
37149         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37151         [BZ #13550]
37152         * sysdeps/generic/bp-semctl.h: Remove file.
37153         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
37154         <bp-checks.h> and <bp-semctl.h>.
37155         (__old_semctl): Don't use CHECK_SEMCTL.
37156         (__new_semctl): Likewise.
37157         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
37158         and <bp-semctl.h>.
37159         (__old_semctl): Don't use CHECK_SEMCTL.
37160         (__new_semctl): Likewise.
37161         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
37162         <bp-checks.h> and <bp-semctl.h>.
37163         (__old_semctl): Don't use CHECK_SEMCTL.
37164         (__new_semctl): Likewise.
37165         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
37166         <bp-checks.h> and <bp-semctl.h>.
37167         (semctl): Don't use CHECK_SEMCTL.
37169         [BZ #13550]
37170         * Makerules (elide-bp-thunks): Remove variable.
37171         (elide-routines.oS): Don't use $(elide-bp-thunks).
37172         (elide-routines.os): Likewise.
37173         (elide-routines.o): Likewise.
37174         (elide-routines.op): Likewise.
37175         (elide-routines.og): Likewise.
37176         (objects): Don't use $(bp-thunks).
37177         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
37178         include.
37179         (common-generated): Do not add s-proto-bp.d.
37180         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
37181         (int): Likewise.
37182         (typ): Likewise.
37183         Do not generate makefile rules for bounded-pointer thunks.
37184         * sysdeps/generic/bp-thunks.h: Remove file.
37185         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
37186         * sysdeps/unix/s-proto-bp.S: Likewise.
37188         [BZ #15062]
37189         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
37190         parts of result separately when argument is not close to line from
37191         -i to i and one part of argument is small.
37192         * math/k_casinhf.c (__kernel_casinhf): Likewise.
37193         * math/k_casinhl.c (__kernel_casinhl): Likewise.
37194         * math/libm-test.inc (cacos_test): Add more tests.
37195         (casin_test): Likewise.
37196         (casinh_test): Likewise.
37197         * sysdeps/i386/fpu/libm-test-ulps: Update.
37198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37200 2013-01-31  David S. Miller  <davem@davemloft.net>
37202         * po/de.po: Update from translation team.
37204 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
37206         * time/tzfile.c: Include stdint.h for SIZE_MAX.
37208 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
37210         * configure.in (_AC_PROG_CC_C89): New definition.
37211         * configure: Regenerate.
37213         * configure.in (AC_PROG_CPP): New definition.
37214         * configure: Regenerate.
37216 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
37218         * debug/tst-backtrace.h: New file.
37219         * debug/tst-backtrace2.c: Include tst-backtrace.h.
37220         (ret): Remove variable.
37221         (x): Likewise.
37222         (FAIL): Remove macro.
37223         (NO_INLINE): Likewise.
37224         (fn1): Use match function instead of strstr.
37225         * debug/tst-backtrace3.c: Include tst-backtrace.h.
37226         (ret): Remove variable.
37227         (x): Likewise.
37228         (FAIL): Remove macro.
37229         (NO_INLINE): Likewise.
37230         (fn): Use match function instead of strstr.
37231         * debug/tst-backtrace4.c: Include tst-backtrace.h.
37232         (ret): Remove variable.
37233         (x): Likewise.
37234         (FAIL): Remove macro.
37235         (NO_INLINE): Likewise.
37236         (handle_signal): Use match function instead of strstr.
37237         * debug/tst-backtrace5.c: Include tst-backtrace.h.
37238         (ret): Remove variable.
37239         (x): Likewise.
37240         (FAIL): Remove macro.
37241         (NO_INLINE): Likewise.
37242         (handle_signal): Use match function instead of strstr.
37244 2013-01-23  Roland McGrath  <roland@hack.frob.com>
37246         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
37248 2013-01-23  David S. Miller  <davem@davemloft.net>
37250         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
37251         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
37252         argument of CAS if possible.
37253         * sysdeps/sparc/sparc64/bits/atomic.h
37254         (__arch_compare_and_exchange_val_32_acq): Likewise.
37255         (__arch_compare_and_exchange_val_64_acq): Likewise.
37257 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
37259         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
37260         * sysdeps/posix/ulimit.c: ... this.
37261         Include <limits.h>.
37262         * sysdeps/unix/bsd/ulimit.c: Remove file.
37264 2013-01-23  Adam Conrad  <adconrad@0c3.net>
37266         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
37267         (LDFLAGS-tst-array5): Likewise.
37269 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
37271         [BZ #15036]
37272         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
37273         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
37274         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
37275         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
37277 2013-01-21  David S. Miller  <davem@davemloft.net>
37279         * sysdeps/sparc/backtrace.c: New file.
37280         * sysdeps/sparc/sparc32/backtrace.h: New file.
37281         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
37282         * sysdeps/sparc/sparc64/backtrace.h: New file.
37283         * sysdeps/sparc/sparc64/backtrace.c: Delete.
37284         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
37285         -funwind-tables.
37287 2013-01-21  Andreas Schwab  <schwab@suse.de>
37289         [BZ #15020]
37290         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
37291         closed its stdout.
37293 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
37295         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
37296         "mpa2.h".
37297         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37299 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
37300             Mark Mitchell  <mark@codesourcery.com>
37301             Tom de Vries  <tom@codesourcery.com>
37302             Paul Pluzhnikov  <ppluzhnikov@google.com>
37304         * debug/tst-backtrace2.c: New file.
37305         * debug/tst-backtrace3.c: Likewise.
37306         * debug/tst-backtrace4.c: Likewise.
37307         * debug/tst-backtrace5.c: Likewise.
37308         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
37309         (CFLAGS-tst-backtrace3.c): Likewise.
37310         (CFLAGS-tst-backtrace4.c): Likewise.
37311         (CFLAGS-tst-backtrace5.c): Likewise.
37312         (LDFLAGS-tst-backtrace2): Likewise.
37313         (LDFLAGS-tst-backtrace3): Likewise.
37314         (LDFLAGS-tst-backtrace4): Likewise.
37315         (LDFLAGS-tst-backtrace5): Likewise.
37316         (tests): Add new tests tst-backtrace2, tst-backtrace3,
37317         tst-backtrace4 and tst-backtrace5.
37319 2013-01-18  Anton Blanchard  <anton@samba.org>
37320             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37322         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
37323         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
37324         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
37325         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
37326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37327         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
37328         "+r" and remove output regs list as redundant.  Add explicit inline
37329         asm to specify register of return val to work around compiler codegen
37330         bug.  Remove (int) cast on return value.  Add return type parameter to
37331         use in macro so that this macro does not truncate return value for
37332         64-bit values.
37333         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
37334         pass to INTERNAL_VSYSCALL_NCS.
37335         (INLINE_VSYSCALL): Add 'long int' as return type to
37336         INTERNAL_VSYSCALL_NCS macro invocation.
37337         (INTERNAL_VSYSCALL): Add 'long int' as return type to
37338         INTERNAL_VSYSCALL_NCS macro invocation.
37339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37341 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37343         [BZ #14496]
37344         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
37345         Fix application of SIMD FP exception mask.
37347         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
37348         mp_no from a power of two.
37349         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
37350         __mpexp_twomm1.  Use __pow_mp.
37352         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
37353         multiplication.
37355 2013-01-17  David S. Miller  <davem@davemloft.net>
37357         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37359 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
37361         [BZ #15023]
37362         * include/complex.h: Condition contents on [!_COMPLEX_H].
37363         (__kernel_casinhf): New prototype.
37364         (__kernel_casinh): Likewise.
37365         (__kernel_casinhl): Likewise.
37366         * math/Makefile (libm_calls): Add k_casinh.
37367         * math/k_casinh.c: New file.
37368         * math/k_casinhf.c: Likewise.
37369         * math/k_casinhl.c: Likewise.
37370         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
37371         finite nonzero arguments.
37372         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
37373         finite nonzero arguments.
37374         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
37375         finite nonzero arguments.
37376         * math/s_casinh.c: Do not include <float.h>.
37377         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
37378         * math/s_casinhf.c: Do not include <float.h>.
37379         (__casinhf): Move code for finite nonzero arguments to
37380         k_casinhf.c.
37381         * math/s_casinhl.c: Do not include <float.h>.
37382         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
37383         redefine.
37384         (__casinhl): Move code for finite nonzero arguments to
37385         k_casinhl.c.
37386         * math/libm-test.inc (cacos_test): Add more tests.
37387         * sysdeps/i386/fpu/libm-test-ulps: Update.
37388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37390 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
37392         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
37393         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
37394         [!HAVE_MREMAP]: Remove [defined linux] case.
37395         * malloc/arena.c: Do not include <malloc-sysdep.h>.
37397 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
37399         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
37401 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
37403         * elf/elf.h (R_386_SIZE32): New relocation.
37404         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
37405         R_386_SIZE32.
37406         (elf_machine_rela): Likewise.
37407         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
37408         R_X86_64_SIZE64 and R_X86_64_SIZE32.
37410 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
37412         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
37413         (FP_FAST_FMA): Do not define.
37414         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
37415         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
37416         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
37417         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
37418         !_SOFT_FLOAT]: Likewise.
37419         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
37420         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
37421         value.
37422         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
37423         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
37424         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
37425         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
37426         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
37427         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
37428         file.
37430 2013-01-16  Andreas Schwab  <schwab@suse.de>
37432         [BZ #14327]
37433         * include/stdlib.h (__mktemp): Add declaration.
37434         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
37435         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
37437 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37439         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
37440         definitions.
37441         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
37442         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
37443         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
37444         definitions here.
37445         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
37446         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
37447         definitions.
37448         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
37449         and ONE.
37450         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
37451         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
37452         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
37453         definitions.
37454         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
37455         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
37456         definitions.
37457         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
37459         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
37461 2013-01-15  David S. Miller  <davem@davemloft.net>
37463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37464         trunc{,f} to libm-sysdep_routes.
37465         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
37467         file.
37468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
37469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
37470         file.
37471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
37472         file.
37473         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
37474         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
37475         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
37476         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
37477         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
37478         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
37479         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
37480         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
37482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37483         nearbyint{,f} to libm-sysdep_routes.
37484         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
37486         New file.
37487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
37488         file.
37489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
37490         New file.
37491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
37492         file.
37493         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
37494         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
37495         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
37496         file.
37497         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
37498         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
37499         file.
37500         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
37501         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
37502         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
37504         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
37505         libc_feholdexcept and libc_fesetenv.
37507 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
37509         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
37511 2013-01-14  David S. Miller  <davem@davemloft.net>
37513         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
37514         (SPARC_ASM_VIS2_IFUNC): Likewise.
37515         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
37516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
37517         use of 'siam' instruction.
37518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
37519         Likewise.
37520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
37521         Likewise.
37522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
37523         Likewise.
37524         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
37525         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
37526         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
37527         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
37528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
37529         file.
37530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
37531         file.
37532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
37533         file.
37534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
37535         file.
37536         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
37537         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
37538         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
37539         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
37540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
37541         new VIS2 routines.
37542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37545         Likewise.
37546         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37547         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37548         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37549         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
37551         routines to libm-sysdep_routines.
37552         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37555         fdim/fdimf to libm-sysdep_routines.
37556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
37557         file.
37558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
37559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
37560         file.
37561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
37562         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
37563         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
37564         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
37565         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
37566         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
37567         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
37569 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37571         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
37572         to optimize copies.
37574         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
37575         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37576         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37578         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
37579         local variable MPTWO.
37580         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
37581         Likewise.
37583 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
37585         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
37586         GLOB_NOESCAPE.
37588 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
37590         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
37592 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
37594         * manual/pattern.texi (glob_t): Document gl_flags.
37595         (glob64_t): Likewise.
37597 2013-01-11  David S. Miller  <davem@davemloft.net>
37599         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
37600         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
37601         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
37602         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
37603         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
37604         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
37605         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
37606         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
37607         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
37608         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
37609         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
37610         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
37611         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
37613         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
37614         sparc V9 rather than using V8 code.
37615         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37616         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37618         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
37619         Move to...
37620         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
37621         Here.
37623 2013-01-11  Roland McGrath  <roland@hack.frob.com>
37625         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
37626         not in the main loop.
37627         * configure: Regenerated.
37629 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
37631         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
37632         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
37633         to just #else.
37634         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
37635         [!__GLIBC_HAVE_LONG_LONG] case.
37636         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
37637         condition to just #else.
37638         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
37639         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
37640         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
37641         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
37642         unconditional.
37643         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
37644         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
37645         #elif condition to just #else.
37646         * sysdeps/unix/sysv/linux/sys/sysmacros.h
37647         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
37648         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
37649         #elif condition to just #else.
37651 2013-01-11  Steve Ellcey  <sellcey@mips.com>
37653         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
37654         (EF_MIPS_ARCH_64): Fix value.
37655         (EF_MIPS_ARCH_32R2): New.
37656         (EF_MIPS_ARCH_64R2): New.
37658 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
37660         * Makeconfig (+link-pie-before-libc): New.
37661         (+link-pie-after-libc): Likewise.
37662         (+link-pie-tests): Likewise.
37663         (+link-pie): Rewritten.
37664         (link-before-libc): Remove $(config-LDFLAGS).
37665         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
37666         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
37667         (config-LDFLAGS): Renamed to ...
37668         (rtld-LDFLAGS): This.
37669         (rtld-tests-LDFLAGS): New macro.
37670         (link-libc-rpath-link): Likewise.
37671         (link-libc-tests-rpath-link): Likewise.
37672         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
37673         (link-libc): Prepand $(link-libc-rpath-link).
37674         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
37675         (test-program-prefix): New macro.
37676         (test-via-rtld-prefix): Likewise.
37677         (test-program-cmd): Likewise.
37678         (host-test-program-cmd): Likewise.
37679         * Makefile ($(common-objpfx)testrun.sh): Replace
37680         $(run-program-prefix) with $(test-program-prefix).
37681         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
37682         $(rtld-LDFLAGS).
37683         ($(common-objpfx)shlib.lds): Likewise.
37684         (build-module-helper): Likewise.
37685         ($(common-objpfx)format.lds): Likewise.
37686         * Rules (binaries-pie-tests): New.
37687         (binaries-pie-notests): Likewise.
37688         (binaries-pie): Rewritten.
37689         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
37690         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
37691         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
37692         (make-test-out): Replace $(host-built-program-cmd) with
37693         $(host-test-program-cmd).
37694         * config.make.in (build-hardcoded-path-in-tests): New variable.
37695         * configure.in (--enable-hardcoded-path-in-tests): New configure
37696         option.
37697         (hardcoded_path_in_tests): New AC_SUBST.
37698         * configure: Regenerated.
37699         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
37700         $(built-program-cmd) with $(test-program-cmd).
37701         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
37702         (test_program_cmd): This.
37703         * elf/Makefile ($(objpfx)order.out): Run test with
37704         $(test-program-prefix).
37705         ($(objpfx)order2.out): Likewise.
37706         ($(objpfx)tst-initorder.out): Likewise.
37707         ($(objpfx)tst-initorder2.out): Likewise.
37708         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
37709         $(test-program-cmd).
37710         ($(objpfx)tst-array1-static.out): Likewise.
37711         ($(objpfx)tst-array2.out): Likewise.
37712         ($(objpfx)tst-array3.out): Likewise.
37713         ($(objpfx)tst-array4.out): Likewise.
37714         ($(objpfx)tst-array5.out): Likewise.
37715         ($(objpfx)tst-array5-static.out): Likewise.
37716         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
37717         $(test-program-cmd).
37718         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
37719         $(run-program-prefix) with $(test-program-prefix).
37720         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
37721         (test_program_prefix): This.
37722         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
37723         $(run-program-prefix) with $(test-program-prefix).
37724         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
37725         (test_program_prefix): This.
37726         * iconvdata/tst-tables.sh: Likewise.
37727         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
37728         $(run-program-prefix) with $(test-program-prefix).
37729         ($(objpfx)tst-translit.out): Likewise.
37730         ($(objpfx)tst-gettext2.out): Likewise.
37731         ($(objpfx)tst-gettext4.out): Likewise.
37732         ($(objpfx)tst-gettext6.out): Likewise.
37733         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
37734         (test_program_prefix): This.
37735         * intl/tst-gettext2.sh: Likewise.
37736         * intl/tst-gettext4.sh  Likewise.
37737         * intl/tst-gettext6.sh: Likewise.
37738         * intl/tst-translit.sh: Likewise.
37739         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
37740         with $(test-program-cmd).
37741         * libio/Makefile ($(objpfx)test-freopen.out): Replace
37742         $(run-program-prefix) with $(test-program-prefix).
37743         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
37744         (test_program_prefix): This.
37745         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
37746         $(run-program-prefix) with $(test-program-prefix).
37747         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
37748         (test_program_prefix): This.
37749         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
37750         * posix/Makefile ($(objpfx)globtest.out): Replace
37751         $(run-via-rtld-prefix) and $(test-wrapper) with
37752         $(test-program-prefix) and $(test-via-rtld-prefix).
37753         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
37754         $(test-program-prefix).
37755         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
37756         $(host-test-program-cmd).
37757         (tst-spawn-ARGS): Likewise.
37758         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
37759         $(test-program-prefix).
37760         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
37761         (test_via_rtld_prefix): This.
37762         (test_wrapper): Renamed to ...
37763         (test_program_prefix): This.
37764         (run_program_prefix): Replaced by test_program_prefix.
37765         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
37766         (test_program_prefix): This.
37767         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
37768         with $(host-test-program-cmd).
37769         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
37770         $(run-program-prefix) with $(test-program-prefix).
37771         ($(objpfx)tst-printf.out): Likewise.
37772         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
37773         $(test-program-cmd).
37774         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
37775         (test_program_prefix): This.
37776         * stdio-common/tst-unbputc.sh: Likewise.
37777         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
37778         $(run-program-prefix) with $(test-program-prefix).
37779         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
37780         (test_program_prefix): This.
37781         * string/Makefile ($(objpfx)tst-svc.out):  Replace
37782         $(built-program-cmd) with $(test-program-cmd).
37784 2013-01-11  Andreas Jaeger  <aj@suse.de>
37786         [BZ #15003]
37787         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
37788         value. Sync with Linux 3.7.
37790 2013-01-10  David S. Miller  <davem@davemloft.net>
37792         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
37793         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37794         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37796 2013-01-10  Roland McGrath  <roland@hack.frob.com>
37798         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
37799         never set.
37800         * configure: Regenerated.
37802 2013-01-10  David S. Miller  <davem@davemloft.net>
37804         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
37805         sparc V9 rather than using V8 code.
37806         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37807         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37809 2013-01-10  Roland McGrath  <roland@hack.frob.com>
37811         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
37812         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
37813         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
37814         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
37815         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
37816         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
37817         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
37818         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
37819         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
37820         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
37821         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
37822         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
37823         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
37824         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
37825         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
37826         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
37827         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
37828         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
37829         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
37830         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
37831         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
37832         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
37833         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
37834         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
37835         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
37836         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
37837         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
37839 2013-01-10  David S. Miller  <davem@davemloft.net>
37841         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37843 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
37845         * posix/Makefile (tests-static): New variable.
37846         (tests): Add $(tests-static).
37847         (tst-exec-static-ARGS): New variable.
37848         (tst-spawn-static-ARGS): Likewise.
37849         * posix/tst-exec-static.c: New file.
37850         * posix/tst-spawn-static.c: Likewise.
37851         * posix/tst-exec.c: Support run directly.
37852         * posix/tst-spawn.c: Likewise.
37854 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
37856         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
37857         long.
37858         * math/bits/mathcalls.h (llrint): Likewise.
37859         (llround): Likewise.
37860         * stdlib/stdlib.h (struct drand48_data): Likewise.
37861         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
37862         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
37863         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
37864         Likewise.
37865         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
37866         Likewise.
37867         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
37868         (elf_greg_t): Likewise.
37869         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
37870         (__jmp_buf): Likewise.
37871         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
37872         definitions.
37873         (llrint): Likewise, for all definitions.
37874         (llrintl): Likewise.
37876         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
37877         Remove [__GNUC__] condition.
37878         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
37879         condition to just [__USE_ISOC99].
37880         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
37882 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
37884         [BZ #14200]
37885         * sysdeps/unix/sysv/linux/x86/bits/environments.h
37886         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
37887         defined.
37888         (_POSIX_V6_ILP32_OFF32): Likewise.
37889         (_XBS5_ILP32_OFF32): Likewise.
37890         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
37891         (__ILP32_OFFBIG_LDFLAGS): Likewise.
37893 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37895         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
37897         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
37898         doubles __mpexp_twomm1.  Adjust usage.
37899         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
37900         Remove.
37902 2013-01-10  Andreas Schwab  <schwab@suse.de>
37904         [BZ #14964]
37905         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
37906         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
37908 2013-01-09  David S. Miller  <davem@davemloft.net>
37910         [BZ #15003]
37911         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
37912         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
37913         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
37914         (TCP_FASTOPEN): Define.
37915         (tcp_repair_opt): New structure.
37916         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
37917         enum values.
37918         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
37919         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
37920         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
37921         (tcp_cookie_transactions): New structure.
37923 2013-01-09  Anton Blanchard  <anton@samba.org>
37925         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
37926         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
37927         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
37928         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
37930 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
37932         * include/features.h (__USE_ANSI): Remove.
37934 2013-01-09  Roland McGrath  <roland@hack.frob.com>
37936         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
37938         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
37940 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
37942         * sysdeps/s390/fpu/libm-test-ulps: Update.
37944         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37946         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
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/powerpc32/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.
37974         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
37975         (__acr): Likewise.
37976         (__cpy): Likewise.
37977         (norm): Likewise.
37978         (denorm): Likewise.
37979         (__mp_dbl): Likewise.
37980         (__dbl_mp): Likewise.
37981         (add_magnitudes): Likewise.
37982         (sub_magnitudes): Likewise.
37983         (__add): Likewise.
37984         (__sub): Likewise.
37985         (__mul): Likewise.
37986         (__inv): Likewise.
37987         (__dvd): Likewise.
37989 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
37991         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
37992         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
37993         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
37994         2 && __USE_EXTERN_INLINES]: Likewise.
37996 2013-01-08  Andreas Jaeger  <aj@suse.de>
37998         [BZ# 14985]
37999         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
38000         Remove.
38001         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
38002         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
38004 2013-01-07  Anton Blanchard  <anton@samba.org>
38006         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
38007         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
38008         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
38009         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
38010         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
38011         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38012         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
38013         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
38014         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38015         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38016         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38017         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38018         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38019         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38020         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
38021         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38022         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38023         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38024         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
38025         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
38026         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
38027         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
38028         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38029         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
38030         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
38031         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
38032         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38033         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
38034         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
38035         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38036         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
38037         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38038         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38039         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
38040         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
38041         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38042         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38043         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38044         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
38045         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
38046         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
38047         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38048         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
38050 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
38052         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
38053         (__MALLOC_PMT): Likewise.
38054         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
38055         [__GNUC__], only on [_LIBC].
38056         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38057         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
38058         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38059         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
38060         forward declaration.
38061         (realloc_hook_ini): Likewise.
38062         (memalign_hook_ini): Likewise.
38063         (__libc_memalign): Do not use __MALLOC_PMT in variable
38064         declaration.
38065         (__libc_valloc): Likewise.
38066         (__libc_pvalloc): Likewise.
38067         (__libc_calloc): Likewise.
38068         (__posix_memalign): Likewise.
38070         [BZ #14996]
38071         * math/s_casinh.c: Include <float.h>.
38072         (__casinh): Do not do computation with squaring and square root
38073         for large arguments.
38074         * math/s_casinhf.c: Include <float.h>.
38075         (__casinhf): Do not do computation with squaring and square root
38076         for large arguments.
38077         * math/s_casinhl.c: Include <float.h>.
38078         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
38079         (__casinhl): Do not do computation with squaring and square root
38080         for large arguments.
38081         * math/libm-test.inc (casin_test): Add more tests.
38082         (casinh_test): Likewise.
38083         * sysdeps/i386/fpu/libm-test-ulps: Update.
38084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38086 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
38088         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
38089         (__x86_64_raw_data_cache_size): Likewise.
38090         (__x86_64_data_cache_size_half): Likewise.
38091         (__x86_64_raw_data_cache_size_half): Likewise.
38092         (__x86_64_shared_cache_size): Likewise.
38093         (__x86_64_raw_shared_cache_size): Likewise.
38094         (__x86_64_shared_cache_size_half): Likewise.
38095         (__x86_64_raw_shared_cache_size_half): Likewise.
38096         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
38097         to ...
38098         (__x86_data_cache_size): This.
38099         (__x86_64_raw_data_cache_size): Renamed to ...
38100         (__x86_raw_data_cache_size): This.
38101         (__x86_64_data_cache_size_half): Renamed to ...
38102         (__x86_data_cache_size_half): This.
38103         (__x86_64_raw_data_cache_size_half): Renamed to ...
38104         (__x86_raw_data_cache_size_half): This.
38105         (__x86_64_shared_cache_size): Renamed to ...
38106         (__x86_shared_cache_size): This.
38107         (__x86_64_raw_shared_cache_size): Renamed to ...
38108         (__x86_raw_shared_cache_size): This.
38109         (__x86_64_shared_cache_size_half): Renamed to ...
38110         (__x86_shared_cache_size_half): This.
38111         (__x86_64_raw_shared_cache_size_half): Renamed to ...
38112         (__x86_raw_shared_cache_size_half): This.
38113         * sysdeps/x86_64/memcpy.S: Updated.
38114         * sysdeps/x86_64/memset.S: Likewise.
38115         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
38116         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38117         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38119 2013-01-04  David S. Miller  <davem@davemloft.net>
38121         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38123 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
38125         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
38126         1 to avoid redefinition warning.
38127         (__USE_GNU): Don't define.
38128         (init_signaling_nan): Protoize.
38130         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38132 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38134         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
38135         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
38136         (__cpymn): Likewise.
38137         (norm): Remove commented code.
38138         (denorm): Likewise.
38139         (__mp_dbl): Likewise.
38140         (__inv): Likewise.
38141         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
38142         (__cpymn): Likewise.
38143         (norm): Remove commented code.
38144         (denorm): Likewise.
38145         (__mp_dbl): Likewise.
38146         (__inv): Likewise.
38148         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
38149         mp_no value for 1.0 and 2.0.
38150         (norm): Use RADIXI instead of radixi.d.
38151         (denorm): Likewise.
38152         (__mul): Use 0.0 instead of zero.d.
38153         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
38154         mp_no value for 1.0 and 2.0.
38155         (norm): Use RADIXI instead of radixi.d.
38156         (denorm): Likewise.
38157         (__mul): Use 0.0 instead of zero.d.
38159 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
38161         [BZ #14994]
38162         * math/s_casinh.c (__casinh): Reduce finite argument to first
38163         quadrant then set signs of results at the end.
38164         * math/s_casinhf.c (__casinhf): Likewise.
38165         * math/s_casinhl.c (__casinhl): Likewise.
38166         * math/libm-test.inc (casin_test): Add more tests.
38167         (casinh_test): Likewise.
38168         * sysdeps/i386/fpu/libm-test-ulps: Update.
38169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38171 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38173         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
38175         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
38177         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
38178         declarations.
38179         (denorm): Likewise.
38180         (__mp_dbl): Likewise.
38181         (__inv): Likewise.
38183         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
38184         and adjust the header comment.
38186         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
38187         variable name from declaration.
38189 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
38191         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38192         Initialize COMMON_CPUID_INDEX_7 element.
38193         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
38194         (CPUID_RTM): Likewise.
38195         (HAS_RTM): Likewise.
38196         (COMMON_CPUID_INDEX_7): New enum.
38198 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
38200         [BZ #14981]
38201         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
38202         size is zero, record memory as freed.
38204 2013-01-03  Andreas Jaeger  <aj@suse.de>
38206         * po/ia.po: Add new Interlingua translation.
38208 2012-01-03  Allan McRae  <allan@archlinux.org>
38210         * locale/programs/localedef.c: Fix description of '--posix' flag.
38212 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
38214         * NEWS: Update dates in second copyright notice.
38215         * README: Update copyright dates in example.
38216         * manual/libc.texinfo: Update copyright dates.
38217         * scripts/test-installation.pl: Update copyright date in --version
38218         output.
38220         * hurd/ctty-input.c: Fix copyright notice formatting.
38221         * hurd/ctty-output.c: Likewise.
38222         * hurd/dtable.c: Likewise.
38223         * hurd/hurd-raise.c: Likewise.
38224         * hurd/hurdprio.c: Likewise.
38225         * hurd/msgportdemux.c: Likewise.
38226         * misc/sys/file.h: Likewise.
38227         * misc/sys/ioctl.h: Likewise.
38228         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
38229         * sysdeps/mach/hurd/chdir.c: Likewise.
38230         * sysdeps/mach/hurd/fchdir.c: Likewise.
38231         * sysdeps/mach/hurd/rename.c: Likewise.
38232         * sysdeps/mach/hurd/rmdir.c: Likewise.
38233         * sysdeps/mach/hurd/seekdir.c: Likewise.
38234         * sysdeps/mach/hurd/setsid.c: Likewise.
38235         * sysdeps/posix/wait3.c: Likewise.
38237         * All files with FSF copyright notices: Update copyright dates
38238         using scripts/update-copyrights.
38239         * intl/plural.c: Regenerated.
38240         * locale/programs/charmap-kw.h: Likewise.
38241         * locale/programs/locfile-kw.h: Likewise.
38243 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38245         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
38246         four values.
38248         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
38249         calculation loop and add branch prediction.
38251         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
38252         check access beyond bounds of m1np.
38254         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
38255         MPTWO.
38256         (__inv): Remove local variable MPTWO to use the global
38257         constant.
38258         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
38259         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
38260         variable MPTWO.
38261         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
38262         MP3HALFS static const.
38264 2013-01-01  David S. Miller  <davem@davemloft.net>
38266         * po/ca.po: Update from translation team.
38268 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
38270         * scripts/update-copyrights: New file.
38271         * Makeconfig: Reformat copyright notice.
38272         * ctype/ctype.h: Likewise.
38273         * debug/swprintf_chk.c: Likewise.
38274         * elf/dl-cache.c: Likewise.
38275         * elf/dl-debug.c: Likewise.
38276         * elf/dl-object.c: Likewise.
38277         * grp/initgroups.c: Likewise.
38278         * hurd/Makefile: Likewise.
38279         * hurd/hurd/signal.h: Likewise.
38280         * hurd/hurdfault.c: Likewise.
38281         * hurd/hurdioctl.c: Likewise.
38282         * hurd/hurdlookup.c: Likewise.
38283         * hurd/intr-msg.c: Likewise.
38284         * iconv/gconv_open.c: Likewise.
38285         * libio/swprintf.c: Likewise.
38286         * locale/lc-ctype.c: Likewise.
38287         * locale/nl_langinfo.c: Likewise.
38288         * mach/Machrules: Likewise.
38289         * mach/Makefile: Likewise.
38290         * malloc/obstack.h: Likewise.
38291         * manual/Makefile: Likewise.
38292         * manual/tsort.awk: Likewise.
38293         * misc/bits/stab.def: Likewise.
38294         * nis/nis_print_group_entry.c: Likewise.
38295         * nis/nis_table.c: Likewise.
38296         * nis/nss_compat/compat-pwd.c: Likewise.
38297         * nis/nss_compat/compat-spwd.c: Likewise.
38298         * po/Makefile: Likewise.
38299         * posix/fnmatch.c: Likewise.
38300         * posix/regex.h: Likewise.
38301         * resolv/Makefile: Likewise.
38302         * resolv/nss_dns/dns-network.c: Likewise.
38303         * resolv/res_hconf.c: Likewise.
38304         * scripts/gen-sorted.awk: Likewise.
38305         * soft-fp/soft-fp.h: Likewise.
38306         * stdio-common/printf.h: Likewise.
38307         * stdlib/monetary.h: Likewise.
38308         * stdlib/random.c: Likewise.
38309         * stdlib/random_r.c: Likewise.
38310         * sysdeps/generic/Makefile: Likewise.
38311         * sysdeps/gnu/Makefile: Likewise.
38312         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38313         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38314         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38315         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38316         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38317         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38318         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38319         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38320         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38321         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38322         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38323         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38324         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38325         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38326         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
38327         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38328         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38329         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38330         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38331         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38332         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38333         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38334         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38335         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
38336         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
38337         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38338         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
38339         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
38340         * sysdeps/mach/hurd/errnos.awk: Likewise.
38341         * sysdeps/mach/hurd/fork.c: Likewise.
38342         * sysdeps/mach/hurd/getcwd.c: Likewise.
38343         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
38344         * sysdeps/mach/hurd/mmap.c: Likewise.
38345         * sysdeps/mach/hurd/utimes.c: Likewise.
38346         * sysdeps/mach/hurd/xmknod.c: Likewise.
38347         * sysdeps/posix/profil.c: Likewise.
38348         * sysdeps/posix/readdir_r.c: Likewise.
38349         * sysdeps/powerpc/bits/mathdef.h: Likewise.
38350         * sysdeps/powerpc/bits/setjmp.h: Likewise.
38351         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
38352         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
38353         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38354         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38355         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38356         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38357         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38358         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38359         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38360         * sysdeps/pthread/lio_listio.c: Likewise.
38361         * sysdeps/sparc/dl-procinfo.h: Likewise.
38362         * sysdeps/unix/i386/sysdep.S: Likewise.
38363         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
38364         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
38365         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
38366         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
38367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38368         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
38369         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
38370         * sysdeps/unix/sysv/linux/speed.c: Likewise.
38371         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
38372         * sysdeps/wordsize-32/divdi3.c: Likewise.
38373         * time/sys/time.h: Likewise.
38374         * wcsmbs/Makefile: Likewise.
38376 2013-01-01  David S. Miller  <davem@davemloft.net>
38378         * po/fr.po: Update from translation team.
38380         * catgets/gencat.c: Update copyright year.
38381         * csu/version.c: Likewise.
38382         * debug/catchsegv.sh: Likewise.
38383         * debug/pcprofiledump.c: Likewise.
38384         * debug/xtrace.sh: Likewise.
38385         * elf/ldconfig.c: Likewise.
38386         * elf/ldd.bash.in: Likewise.
38387         * elf/pldd.c: Likewise.
38388         * elf/sotruss.ksh: Likewise.
38389         * elf/sprof.c: Likewise.
38390         * iconv/iconv_prog.c: Likewise.
38391         * iconv/iconvconfig.c: Likewise.
38392         * locale/programs/locale.c: Likewise.
38393         * locale/programs/localedef.c: Likewise.
38394         * login/programs/pt_chown.c: Likewise.
38395         * malloc/memusage.sh: Likewise.
38396         * malloc/memusagestat.c: Likewise.
38397         * malloc/mtrace.pl: Likewise.
38398         * nscd/nscd.c: Likewise.
38399         * nss/getent.c: Likewise.
38400         * nss/makedb.c: Likewise.
38401         * posix/getconf.c: Likewise.
38403 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
38405         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
38406         numbers.
38408 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
38410         * math/bits/mathcalls.h (modf): Use __nonnull.
38412 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38414         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
38415         (split): Use macro CN instead of the bare value.
38416         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
38417         could be used.
38418         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
38419         instead of the bare value.
38420         (power1): Likewise.
38422 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38424         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
38425         __ATAN_TWOM.
38426         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38428         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
38429         their values.
38430         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
38431         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
38432         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
38433         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
38435 2012-12-28  Andreas Jaeger  <aj@suse.de>
38437         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
38438         values are from Linux 3.7.
38440         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
38441         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
38443 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38445         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
38446         TRUE case.
38448         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
38449         (norm): Likewise.
38450         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
38451         variables with preprocessor constants.
38452         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38453         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
38454         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
38456 2012-12-27  Bruno Haible  <bruno@clisp.org>
38458         [BZ #14317]
38459         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
38460         only if needed.
38462 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38464         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
38465         and use variable directly.
38466         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
38468         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
38469         MPONE.
38470         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
38471         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
38472         variable MPONE.
38473         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
38474         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
38475         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
38476         include directive.  Remove local variable MPONE.
38477         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
38478         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
38479         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38481 2012-12-25  David S. Miller  <davem@davemloft.net>
38483         * version.h (RELEASE): Set to "development".
38484         (VERSION): Set to "2.17.90".
38485         * NEWS: Add 2.18 section.
38487 2012-12-21  David S. Miller  <davem@davemloft.net>
38489         * po/hr.po: Update from translation team.
38491 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38493         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
38495 2012-12-19  Steve Ellcey  <sellcey@mips.com>
38497         * NEWS:  Mention new memcpy for MIPS.
38499 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38501         * manual/contrib.texi (Contributors): Spelling correction.
38503 2012-12-15  David S. Miller  <davem@davemloft.net>
38505         * po/ru.po: Update from translation team.
38507 2012-12-13  David S. Miller  <davem@davemloft.net>
38509         * NEWS: Mention IFUNC testsuite enhancements.
38511         * po/pl.po: Update from translation team.
38512         * po/bg.po: Likewise.
38514         * manual/contrib.texi (Contributors): Update entries for Hongjiu
38515         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
38517 2012-12-11  David S. Miller  <davem@davemloft.net>
38519         * po/sv.po: Update from translation team.
38521         * po/vi.po: Update from translation team.
38523         * po/cs.po: Update from translation team.
38525         * po/de.po: Update from translation team.
38526         * po/eo.po: Likewise.
38527         * po/nl.po: Likewise.
38529 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38531         [BZ #14246]
38532         * manual/argp.texi (Argp Helper Functions): Move node to follow
38533         Argp Parsing State.
38535         [BZ #14872]
38536         * manual/conf.texi (Limits on File System Capacity): Mention if
38537         terminating null is included in the max size.
38539 2012-12-10  Andreas Jaeger  <aj@suse.de>
38541         * po/cs.po: Update from translation team.
38543 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
38545         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
38546         void pointer and cast to uintptr_t.
38547         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
38548         path.
38549         * sysdeps/s390/s390-64/memcpy.S: Likewise.
38550         * sysdeps/s390/s390-64/memset.S: Likewise.
38552 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
38554         [BZ #14833]
38555         * menual/message.texi (Message Translation): Fix typos.
38556         (Helper programs for gettext): Likewise.
38558 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
38560         [BZ #14898]
38561         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
38562         Change to -1.
38564 2012-12-07  David S. Miller  <davem@davemloft.net>
38566         * po/libc.pot: Update.
38568 2012-12-07  Richard Henderson  <rth@redhat.com>
38570         [BZ #10114]
38571         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
38572         normal/normal case to before the switch.
38573         (_FP_DIV): Likewise.
38575 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
38576             Mike Frysinger  <vapier@gentoo.org>
38578         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
38579         check for __NR_fadvise64_64.
38581 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
38583         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
38584         0, not just to plain "0" as a statement.
38585         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
38586         with cw.
38588 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
38590         * NEWS: Use sourceware.org in Bugzilla URL.
38592 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
38594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
38595         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
38597         * stdio-common/tst-put-error.c (do_test): Add newline to the
38598         padded test to ensure flush.
38600 2012-12-05  Jeff Law  <law@redhat.com>
38602         * sunrpc/etc.rpc (fedfs_admin): Add entry.
38604 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
38606         * README: Don't refer to ports add-on as distributed separately.
38607         Mention AArch64 in list of systems supported in the ports add-on.
38609         * LICENSES: Add more non-FSF copyright and license notices.
38611         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
38612         ((unused)).
38614         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
38616         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
38617         10000 as width of padded output.
38619 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
38621         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
38623         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
38624         variable LX with __attribute__ ((unused)).
38625         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
38626         Likewise.
38627         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
38628         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38629         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
38630         with __attribute__ ((unused)).
38632 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
38634         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
38636 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
38638         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
38639         (CFLAGS-nldbl-acos.c): New variable.
38640         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
38641         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
38642         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
38643         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
38644         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
38645         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
38646         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
38647         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
38648         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
38649         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
38650         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
38651         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
38652         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
38653         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
38654         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
38655         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
38656         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
38657         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
38658         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
38659         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
38660         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
38661         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
38662         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
38663         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
38664         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
38665         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
38666         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
38667         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
38668         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
38669         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
38670         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
38671         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
38672         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
38673         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
38674         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
38675         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
38676         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
38677         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
38678         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
38679         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
38680         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
38681         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
38682         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
38683         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
38684         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
38685         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
38686         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
38687         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
38688         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
38689         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
38690         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
38691         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
38692         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
38693         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
38694         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
38695         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
38696         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
38697         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
38698         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
38699         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
38700         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
38701         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
38702         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
38703         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
38704         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
38705         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
38706         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
38707         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
38708         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
38709         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
38710         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
38711         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
38712         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
38713         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
38714         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
38715         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
38716         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
38717         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
38718         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
38719         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
38720         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
38721         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
38722         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
38723         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
38724         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
38725         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
38726         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
38727         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
38728         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
38729         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
38730         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
38731         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
38732         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
38733         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
38734         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
38735         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
38736         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
38738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
38739         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
38741         [BZ #14914]
38742         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
38743         whole low double instead of just low 47 bits when splitting values
38744         into two parts.
38746 2012-12-03  Allan McRae  <allan@archlinux.org>
38748         * manual/stdio.texi (Predefined Printf Handlers): Remove
38749         @hsep and @vsep usage.
38751 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
38753         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
38754         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
38756 2012-12-03  Jeff Law  <law@redhat.com>
38758         * time/sys/time.h (settimeofday): Do not mark TV argument
38759         as __nonnull.
38761 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
38763         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
38764         when currently writing and seek to current position when not.
38765         * libio/Makefile (tests): Remove bug-fclose1.
38766         * libio/bug-fclose1.c: Delete.
38768 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
38770         * manual/arith.texi (feenableexcept): Fix typo.
38771         (fedisableexcept): Likewise.
38773 2012-11-30  Roland McGrath  <roland@hack.frob.com>
38775         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
38776         second, differently-typed declaration, rather than a cast.
38778 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38780         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
38781         * include/rpc/svc.h: ... here.
38783 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
38785         [BZ #13013]
38786         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
38787         depending n and resplen2 to catch cases where answer
38788         equals answerp2.
38790 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
38792         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
38793         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
38795 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
38797         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
38799 2012-11-29  Roland McGrath  <roland@hack.frob.com>
38801         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
38803 2012-11-28  Jeff Law  <law@redhat.com>
38805         [BZ #13761]
38806         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
38807         dataset_temporary.  Track alloca usage into alloca_used.
38808         If dataset is large allocate and release it via malloc/free.
38810 2012-06-04  Florian Weimer  <fweimer@redhat.com>
38812         [BZ #14197]
38813         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
38815 2012-11-28  David S. Miller  <davem@davemloft.net>
38817         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38819 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
38821         [BZ #14803]
38822         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
38823         of pi/2 rounded to nearest to 64 bits.
38824         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
38825         nearest to 64 bits.
38826         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
38827         bits.
38829 2012-11-28  Jeff Law <law@redhat.com>
38830             Martin Osvald <mosvald@redhat.com>
38832         [BZ #14889]
38833         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
38834         * sunrpc/svc.c: Include time.h.
38835         (__svc_accept_failed): New function.
38836         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
38837         any reason other than EINTR, call __svc_accept_failed.
38838         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
38839         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
38841 2012-11-28  Andreas Schwab  <schwab@suse.de>
38843         * scripts/abilist.awk: Also handle indirect functions in .opd
38844         section.
38846 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
38848         [BZ #13881]
38849         * sysdeps/x86/fpu/powl_helper.c: New file.
38850         * sysdeps/x86/fpu/Makefile: Likewise.
38851         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
38852         (p3): New object.
38853         (__ieee754_powl): Use __powl_helper for finite arguments except
38854         integer exponents below 8.
38855         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
38856         (p3): New object.
38857         (__ieee754_powl): Use __powl_helper for finite arguments except
38858         integer exponents below 8.
38859         * math/libm-test.inc (pow_test): Add more tests and enable some
38860         previously disabled tests.
38861         * sysdeps/i386/fpu/libm-test-ulps: Update.
38862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38864 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38865             Carlos O'Donell  <carlos_odonell@mentor.com>
38867         * nss/makedb.c (is_prime): Assert that input is odd and greater
38868         than 4.  Note that fact in a comment too.
38869         (next_prime): Add 4 to input.
38871 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38873         [BZ #11741]
38874         * libio/Makefile (tests): Add test case tst-fwrite-error.
38875         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
38876         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
38877         * libio/tst-fwrite-error.c: New test case.
38879 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
38881         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
38882         before casting to void *.
38883         * include/libc-internal.h (__pointer_type): New macro.
38884         (__integer_if_pointer_type_sub): Likewise.
38885         (__integer_if_pointer_type): Likewise.
38886         (cast_to_integer): Likewise.
38887         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
38888         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
38889         before casting to atomic64_t.
38890         (atomic_exchange_acq): Likewise.
38891         (__arch_exchange_and_add_body): Likewise.
38892         (__arch_add_body): Likewise.
38893         (atomic_add_negative): Likewise.
38894         (atomic_add_zero): Likewise.
38896 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
38898         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
38899         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
38900         (add_fdes): Likewise.
38901         (linear_search_fdes): Likewise.
38902         (binary_search_unencoded_fdes): Likewise.
38904 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
38906         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
38908 2012-11-24  Adam Conrad  <adconrad@0c3.net>
38910         * configure.in: Autodetect C++ header directories.
38911         * configure: Regenerated.
38913 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
38915         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
38917 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
38919         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38921 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
38923         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
38924         LDBL_MANT_DIG == 106]: Disable some tests.
38925         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
38926         Likewise.
38927         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
38928         Likewise.
38930         [BZ #14871]
38931         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
38932         input for small inputs.  Return +/- pi/2 for large inputs.
38933         * math/libm-test.inc (atan_test): Add more tests.
38935         * sysdeps/generic/unwind-dw2-fde-glibc.c
38936         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
38937         __attribute__ ((unused)).
38939         [BZ #14645]
38940         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
38941         x * y if x and y are nonzero and z is zero.
38943         [BZ #14811]
38944         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
38945         nonzero exponents with absolute value below 0x1p-117 to +/-
38946         0x1p-117.
38948         [BZ #14869]
38949         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
38950         up arguments below 2**-450, not just those below 2**-500.
38951         * math/libm-test.inc (hypot_test): Add another test.
38953         [BZ #14868]
38954         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
38955         Return a+b for ratio over 2**120, not 2**60.
38956         * math/libm-test.inc (hypot_test): Add another test.
38958         * math/libm-test.inc (clog_test): Use
38959         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
38960         (clog10_test): Likewise.
38962         [BZ #6778]
38963         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
38965 2012-11-22  Andreas Schwab  <schwab@suse.de>
38967         * sysdeps/i386/fpu/libm-test-ulps: Update.
38969 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
38971         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
38972         printf output with newline.
38974 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
38976         [BZ #14865]
38977         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
38978         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
38979         -z nodlopen, -z initfirst and -z execstack support.
38980         * configure: Regenerated.
38982         * elf/elf.h (DF_1_NODIRECT): New macro.
38983         (DF_1_IGNMULDEF): Likewise.
38984         (DF_1_NOKSYMS): Likewise.
38985         (DF_1_NOHDR): Likewise.
38986         (DF_1_EDITED): Likewise.
38987         (DF_1_NORELOC): Likewise.
38988         (DF_1_SYMINTPOSE): Likewise.
38989         (DF_1_GLOBAUDIT): Likewise.
38990         (DF_1_SINGLETON): Likewise.
38991         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
38992         DT_1_SUPPORTED_MASK bits.
38993         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
38995 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
38997         * sysdeps/unix/make-syscalls.sh: Document prefixes.
38999 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
39001         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
39002         macro.
39004         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
39005         (sendmmsg): Move declarations...
39006         * socket/sys/socket.h: ... here.
39007         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
39008         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
39009         include it from...
39010         * socket/recvmmsg.c: ... this new file.
39011         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
39012         (sendmmsg): Rename to __sendmmsg, create weak alias and make
39013         definition of __sendmmsg hidden.
39014         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
39015         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
39016         Move ENOSYS stub into and include it from...
39017         * socket/sendmmsg.c: ... this new file.
39018         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
39019         (sysdep_routines): Move recvmmsg and sendmmsg...
39020         * socket/Makefile (routines): ... here.
39021         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
39022         (GLIBC_PRIVATE): Add __sendmmsg.
39023         * include/sys/socket.h (__sendmmsg): Add declarations.
39024         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
39025         sendmmsg.
39027 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
39029         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
39030         variable I1 with __attribute__ ((unused)).
39031         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39033 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
39035         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
39036         DUMMY variables with __attribute__ ((unused)).
39038         * bits/byteswap.h: Include <bits/types.h>.
39039         (__bswap_64): Use __uint64_t instead of unsigned long long int.
39041 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
39043         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
39044         string_t.  Do not manually set errno.
39045         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
39046         length with __strnlen.  Make sure to both set errno and return it on
39047         failure.
39049 2012-11-19  David S. Miller  <davem@davemloft.net>
39051         With help from Joseph Myers.
39052         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
39053         very large arguments properly.
39054         * math/libm-test.inc (atan_test): New tests.
39055         (atan2_test): New tests.
39056         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39057         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39059 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
39061         [BZ #14856]
39062         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
39063         Define to 3.
39065         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
39066         [POSIX] (EADDRNOTAVAIL): Likewise.
39067         [POSIX] (EAFNOSUPPORT): Likewise.
39068         [POSIX] (EALREADY): Likewise.
39069         [POSIX] (ECONNABORTED): Likewise.
39070         [POSIX] (ECONNREFUSED): Likewise.
39071         [POSIX] (ECONNRESET): Likewise.
39072         [POSIX] (EDESTADDRREQ): Likewise.
39073         [POSIX] (EDQUOT): Likewise.
39074         [POSIX] (EHOSTUNREACH): Likewise.
39075         [POSIX] (EIDRM): Likewise.
39076         [POSIX] (EISCONN): Likewise.
39077         [POSIX] (ELOOP): Likewise.
39078         [POSIX] (EMULTIHOP): Likewise.
39079         [POSIX] (ENETDOWN): Likewise.
39080         [POSIX] (ENETUNREACH): Likewise.
39081         [POSIX] (ENOBUFS): Likewise.
39082         [POSIX] (ENODATA): Likewise.
39083         [POSIX] (ENOLINK): Likewise.
39084         [POSIX] (ENOMSG): Likewise.
39085         [POSIX] (ENOPROTOOPT): Likewise.
39086         [POSIX] (ENOSR): Likewise.
39087         [POSIX] (ENOSTR): Likewise.
39088         [POSIX] (ENOTCONN): Likewise.
39089         [POSIX] (ENOTSOCK): Likewise.
39090         [POSIX] (EOPNOTSUPP): Likewise.
39091         [POSIX] (EOVERFLOW): Likewise.
39092         [POSIX] (EPROTO): Likewise.
39093         [POSIX] (EPROTONOSUPPORT): Likewise.
39094         [POSIX] (EPROTOTYPE): Likewise.
39095         [POSIX] (ESTALE): Likewise.
39096         [POSIX] (ETIME): Likewise.
39097         [POSIX] (ETXTBSY): Likewise.
39098         [POSIX] (EWOULDBLOCK): Likewise.
39099         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
39100         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
39101         [POSIX] (SEEK_CUR): Likewise.
39102         [POSIX] (SEEK_END): Likewise.
39103         [POSIX || UNIX98] (mode_t): Do not require.
39104         [POSIX] (off_t): Likewise.
39105         [POSIX] (pid_t): Likewise.
39106         [POSIX] (sys/stat.h): Do not allow header.
39107         [POSIX] (unistd.h): Likewise.
39108         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
39109         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
39110         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
39111         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
39112         require.
39113         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
39114         sigevent): Specify elements.
39115         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
39116         entry.
39117         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
39118         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
39120         * conform/data/cpio.h-data [POSIX]: Disable whole file.
39121         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
39122         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
39123         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
39124         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
39125         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
39126         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
39127         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
39128         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
39129         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
39130         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
39131         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
39132         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
39133         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
39134         Likewise.
39135         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
39136         Likewise.
39137         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
39138         Likewise.
39139         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
39140         Likewise.
39141         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
39142         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
39143         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
39144         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
39145         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
39146         Specify lower bound on value.
39147         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
39148         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
39149         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
39150         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
39151         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
39152         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
39153         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
39154         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
39155         value.
39156         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
39157         as optional.
39158         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
39159         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
39160         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
39161         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
39162         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
39163         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
39164         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
39165         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
39166         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
39167         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
39168         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
39169         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
39170         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
39171         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
39172         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
39173         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
39174         entry.
39175         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
39176         optional.
39177         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
39178         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
39179         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
39180         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
39181         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
39182         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
39183         Likewise.
39184         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
39185         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
39186         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
39187         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
39188         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
39189         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
39190         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
39191         as optional.
39192         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
39193         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
39194         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
39195         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
39196         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
39197         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
39198         specify as optional.
39199         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
39200         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
39201         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
39202         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
39203         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
39204         [XPG3] (NL_LANGMAX): Likewise.
39205         [POSIX || XPG3] (NL_MSGMAX): Likewise.
39206         [POSIX || XPG3] (NL_NMAX): Likewise.
39207         [POSIX || XPG3] (NL_SETMAX): Likewise.
39208         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
39209         [XPG3] (NZERO): Likewise.
39210         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
39211         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
39212         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
39213         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
39214         (REG_ERANGE): Expect.
39215         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
39216         optional-constant.
39217         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
39218         Use (void) in prototype.
39219         [POSIX] (*_t): Allow.
39220         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
39221         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
39222         (WRDE_BADVAL): Expect.
39224         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
39225         expect.
39226         [XPG3 || XPG4] (O_RSYNC): Likewise.
39227         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
39228         Likewise.
39229         [XPG3 || XPG4] (pthread_sigmask): Likewise.
39230         [XPG3 || XPG4] (sigqueue): Likewise.
39231         [XPG3 || XPG4] (sigtimedwait): Likewise.
39232         [XPG3 || XPG4] (sigwaitinfo): Likewise.
39233         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
39234         [XPG3 || XPG4] (vsnprintf): Likewise.
39235         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
39236         Likewise.
39237         [XPG3 || XPG4] (blksize_t): Likewise.
39238         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
39239         Likewise.
39240         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
39241         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
39242         [XPG3 || XPG4] (struct itimerspec): Likewise.
39243         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
39244         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
39245         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
39246         [XPG3 || XPG4] (clockid_t): Likewise.
39247         [XPG3 || XPG4] (timer_t): Likewise.
39248         [XPG3 || XPG4] (clock_getres): Likewise.
39249         [XPG3 || XPG4] (clock_gettime): Likewise.
39250         [XPG3 || XPG4] (clock_settime): Likewise.
39251         [XPG3 || XPG4] (nanosleep): Likewise.
39252         [XPG3 || XPG4] (timer_create): Likewise.
39253         [XPG3 || XPG4] (timer_delete): Likewise.
39254         [XPG3 || XPG4] (timer_gettime): Likewise.
39255         [XPG3 || XPG4] (timer_getoverrun): Likewise.
39256         [XPG3 || XPG4] (timer_settime): Likewise.
39257         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
39258         [XPG3 || XPG4] (getlogin_r): Likewise.
39259         [XPG3 || XPG4] (pread): Likewise.
39260         [XPG3 || XPG4] (pthread_atfork): Likewise.
39261         [XPG3 || XPG4] (pwrite): Likewise.
39263         [BZ #14835]
39264         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
39265         <bits/siginfo.h>.
39267 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
39269         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
39270         finalizing MALLSTREAM.
39272         * sysdeps/mach/hurd/syncfs.c: New file.
39274 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
39276         [BZ #14719]
39277         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
39278         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
39279         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
39280         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
39281         (_nss_dns_gethostbyname4_r): Likewise.
39282         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
39283         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
39285 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
39287         [BZ #13763]
39288         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
39290 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
39292         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
39293         * elf/cache.c (print_entry): Print ",AArch64" for
39294         FLAG_AARCH64_LIB64
39296         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
39297         * elf/cache.c (print_entry): Print ",hard-float" for
39298         FLAG_ARM_LIBHF.
39300 2012-11-18  David S. Miller  <davem@davemloft.net>
39302         With help from Joseph Myers.
39303         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
39304         cutoff to 2**-13.
39305         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
39306         cutoff to 2**-25.
39307         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
39308         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
39309         small.
39310         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
39311         * math/libm-test.inc (y0_test): New tests.
39312         (y1_test): New tests.
39313         * sysdeps/i386/fpu/libm-test-ulps: Update.
39314         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39315         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39317 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
39319         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
39320         64-bit targets.
39321         * configure: Regenerated.
39323 2012-11-17  David S. Miller  <davem@davemloft.net>
39325         [BZ #14811]
39326         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
39327         nonzero exponents with absolute value below 0x1p-128 to +/-
39328         0x1p-128.
39330 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
39332         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
39334         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
39336         * posix/getconf-speclist.c: New file.
39337         * posix/posix-envs.def: Likewise.
39338         * posix/confstr.c (START_ENV_GROUP): New macro.
39339         (END_ENV_GROUP): Likewise.
39340         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
39341         (KNOWN_PRESENT_ENV_STRING): Likewise.
39342         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
39343         (UNKNOWN_ENVIRONMENT): Likewise.
39344         (confstr): Include posix-envs.def instead of handling
39345         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
39346         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
39347         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
39348         (END_ENV_GROUP): Likewise.
39349         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
39350         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
39351         (UNKNOWN_ENVIRONMENT): Likewise.
39352         (__sysconf): Include posix-envs.def instead of handling associated
39353         cases directly here.
39354         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
39355         preprocessing getconf-speclist.c rather than running getconf or
39356         generating empty file.
39358 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
39360         * scripts/check-local-headers.sh: Ignore 'mach' headers.
39362 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
39364         [BZ #14672]
39365         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
39367 2012-11-16  David S. Miller  <davem@davemloft.net>
39369         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
39370         smaller than LDBL_EPSILON/2.0L, just return xm1.
39372 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
39374         * elf/tst-array1.c (init): Set constructor priority to 1000.
39375         (fini): Set destructor priority to 1000.
39376         * elf/tst-array2dep.c: Likewise.
39378 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39380         [BZ #11741]
39381         * libio/fileops.c (_IO_new_file_write): Correctly return error.
39382         (_IO_new_file_xsputn): Also return EOF if none of the input
39383         data was written when overflow failed.
39384         * libio/iopadn.c (_IO_padn): Likewise.
39385         * libio/iowpadn.c (_IO_wpadn): Likewise.
39386         * stdio-common/tst-put-error.c: Add copyright notice.
39387         (do_test): Add case for printing padded string.
39388         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
39389         _IO_padn returned error.
39390         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
39391         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
39392         return EOF.
39394 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39396         * libio/libioP.h: Add comment note that the references to C++
39397         bits are now obsolete.
39399 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39401         * math/libm-test.inc (check_complex): Use asprintf.
39403 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
39405         * debug/pcprofiledump.c (print_version): Update copyright year.
39406         * malloc/memusagestat.c (print_version): Likewise.
39408 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
39410         [BZ #14831]
39411         * elf/Makefile (tests): Add tst-audit8.
39412         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
39413         ($(objpfx)tst-audit8.out): New target.
39414         (tst-audit8-ENV): New variable.
39415         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
39416         audit if l_reloc_result is NULL.
39417         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
39418         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
39419         * elf/tst-audit8.c: New file.
39421 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39423         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
39424         * misc/Makefile (CFLAGS-select.c): Define.
39425         * posix/Makefile (CFLAGS-pause.c): Define.
39427 2012-11-13  David S. Miller  <davem@davemloft.net>
39429         * crypt/Makefile: Move test targets after toplevel Rules
39430         inclusion.  Grab any necessary sysdep routines when linking.
39431         * crypt/md5.c (md5_process_block): Remove define, we will always
39432         name it __md5_process_block.
39433         (md5_finish_ctx): Update md5_process_block call.
39434         (md5_stream): Likewise.
39435         (md5_process_bytes): Likewise.
39436         (md5_process_block): Rename to __md5_process_block and move to ...
39437         * crypt/md5-block.c: ... here.
39438         * crypt/sha256.c (sha256_process_block): Move to ...
39439         * crypt/sha256-block.c: ... here.
39440         * crypt/sha512.c (sha512_process_block): Move to ...
39441         * crypt/sha512-block.c: ... here.
39442         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
39443         path.
39444         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
39445         * sysdeps/sparc/sparc64/multiarch/Makefile
39446         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
39447         crypt subdir.
39448         (localedef-aux): Add md5 crypto assembler when in locale subdir.
39449         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
39450         multiarch changes.
39451         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
39452         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
39453         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
39454         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
39455         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
39456         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
39457         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
39458         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
39459         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
39460         file.
39461         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
39462         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
39463         file.
39464         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
39466 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
39468         * timezone/tzselect.ksh: Update from tzcode git revision
39469         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
39470         * timezone/zdump.c: Likewise.
39471         * timezone/zic.c: Likewise.
39472         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
39473         in TZVERSION setting, not $(PKGVERSION).
39474         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
39475         REPORT_BUGS_TO settings.
39477         [BZ #14838]
39478         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
39479         macro.
39481 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39483         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
39484         detection to immediately after _FP_ROUND().
39485         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
39486         bits are 0.
39488 2012-11-11  David S. Miller  <davem@davemloft.net>
39490         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
39491         inttypes.h
39492         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
39493         __close rather than their public counterparts.
39495 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
39497         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
39498         file.
39499         [UNIX98] (sem_timedwait): Do not expect.
39500         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
39501         [XPG4 || UNIX98] (sockatmark): Do not expect.
39502         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
39503         (clock_getcpuclockid): Do not expect.
39504         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
39505         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
39506         Do not expect.
39507         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
39508         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
39509         [UNIX98] (vwscanf): Likewise.
39510         [UNIX98] (vswscanf): Likewise.
39512 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
39514         * timezone/version.h: Remove file.
39515         * timezone/README: Do not refer to version.h.
39516         * timezone/Makefile ($(objpfx)zic.o): New dependency on
39517         $(objpfx)version.h.
39518         ($(objpfx)zdump.o): Likewise.
39519         ($(objpfx)version.h): New target.
39521         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
39522         2012i.
39523         * timezone/README: Don't mention modification to tzselect.ksh.
39524         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
39525         work on unmodified tzselect.ksh.  Substitute version numbers in
39526         tzselect.ksh.
39528         * Makefile (format-me): Remove.
39529         (INSTALL): Adjust indentation.  Use commands directly instead of
39530         using $(format-me).
39532         * aclocal.m4 (ACX_PKGVERSION): New macro.
39533         (ACX_BUGURL): Likewise.
39534         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
39535         (PKGVERSION): New AC_DEFINE_UNQUOTED.
39536         (REPORT_BUGS_TO): Likewise.
39537         * configure: Regenerated.
39538         * config.h.in (PKGVERSION): New macro.
39539         (REPORT_BUGS_TO): Likewise.
39540         * config.make.in (PKGVERSION): New variable.
39541         (PKGVERSION_TEXI): Likewise.
39542         (REPORT_BUGS_TO): Likewise.
39543         (REPORT_BUGS_TEXI): Likewise.
39544         * Makefile (format-me): Use -I$(common-objpfx)manual.
39545         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
39546         ($(common-objpfx)manual/%): New target.
39547         (manual/%): Remove target.
39548         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
39549         (print_version): Use PKGVERSION.
39550         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
39551         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
39552         and REPORT_BUGS_TO.
39553         ($(objpfx)xtrace): Likewise.
39554         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
39555         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
39556         (print_version): Use PKGVERSION.
39557         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
39558         (do_version): Use PKGVERSION.
39559         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
39560         REPORT_BUGS_TO.
39561         (common-ldd-rewrite): Likewise.
39562         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
39563         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
39564         (print_version): Use PKGVERSION.
39565         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
39566         * elf/pldd.c (argp_program_bug_address): Remove variable.
39567         (more_help): New function.
39568         (argp): Use more_help.
39569         (print_version): Use PKGVERSION.
39570         * elf/sln.c (main): Use PKGVERSION.
39571         (usage): Use REPORT_BUGS_TO.
39572         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
39573         (top level): Use PKGVERSION.
39574         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
39575         (print_version): Use PKGVERSION.
39576         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
39577         (print_version): Use PKGVERSION.
39578         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
39579         (print_version): Use PKGVERSION.
39580         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
39581         (print_version): Use PKGVERSION.
39582         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
39583         (print_version): Use PKGVERSION.
39584         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
39585         (print_version): Use PKGVERSION.
39586         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
39587         and BUGURL.
39588         ($(objpfx)memusage): Likewise.
39589         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
39590         (do_version): Use PKGVERSION.
39591         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
39592         (print_version): Use PKGVERSION.
39593         * malloc/mtrace.pl ($PACKAGE): Remove variable.
39594         ($PKGVERSION): New variable.
39595         ($REPORT_BUGS_TO): Likewise.
39596         (usage): Use $REPORT_BUGS_TO.
39597         (top level): Use $PKGVERSION.
39598         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
39599         ($(objpfx)pkgvers.texi): New rule.
39600         ($(objpfx)stamp-pkgvers): Likewise.
39601         * manual/install.texi: Include pkgvers.texi.
39602         (--with-pkgversion): Document new configure option.
39603         (--with-bugurl): Likewise.
39604         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
39605         than necessarily for this particular distribution.  Use
39606         REPORT_BUGS_TO for where to report bugs.
39607         * INSTALL: Regenerated.
39608         * manual/libc.texinfo: Include pkgvers.texi.
39609         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
39610         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
39611         (print_version): Use PKGVERSION.
39612         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
39613         (print_version): Use PKGVERSION.
39614         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
39615         (print_version): Use PKGVERSION.
39616         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
39617         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
39618         macro.
39619         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
39620         (print_version): Use PKGVERSION.
39621         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
39622         (print_version): Use PKGVERSION.
39623         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
39624         and PKGVERSION.
39626         * timezone/checktab.awk: Update from tzcode 2012i.
39627         * timezone/ialloc.c: Likewise.
39628         * timezone/private.h: Likewise.
39629         * timezone/scheck.c: Likewise.
39630         * timezone/tzfile.h: Likewise.
39631         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
39632         (TZVERSION): Hardcode tzcode version number.
39633         * timezone/zdump.c: Update from tzcode 2012i.
39634         * timezone/zic.c: Likewise.
39635         * timezone/version.h: New file.
39636         * timezone/README: Describe version.h.  Update upstream location.
39638         [BZ #14824]
39639         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
39640         (mktemp): Enable declaration.
39641         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
39642         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
39643         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
39644         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
39645         Likewise.
39646         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
39647         Likewise.
39648         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
39649         Likewise.
39650         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
39651         Likewise.
39652         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
39653         Likewise.
39654         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
39655         Likewise.
39657         [BZ #14821]
39658         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
39659         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
39660         for copies of such integer values.
39661         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
39662         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
39664 2012-11-09  Andreas Jaeger  <aj@suse.de>
39666         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
39667         definitions and declarations that are provided by
39668         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
39670 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39672         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
39673         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
39674         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
39675         definition.
39677 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39679         * elf/elf.h: Update comment before AArch64 relocations.
39681 2012-11-07  David S. Miller  <davem@davemloft.net>
39683         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
39684         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39685         (__start_context): Declare.
39686         (__makecontext_ret): Delete.
39687         (__makecontext): Hook up __start_context instead of
39688         __makecontext_ret.
39689         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
39690         (sysdep_routines): Add __start_context when in stdlib.
39692 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
39694         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
39695         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
39696         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
39697         hardcoded "nm".
39698         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
39699         (READELF): New variable.  Use it instead of hardcoded "readelf".
39701 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
39703         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
39704         * sysdeps/x86/Makefile: Here.
39705         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
39706         * sysdeps/x86/tst-xmmymm.sh: This.
39708 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
39710         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
39711         expectations.
39712         [UNIX98] (pthread_barrier_t): Do not expect.
39713         [UNIX98] (pthread_barrierattr_t): Likewise.
39714         [UNIX98] (pthread_spinlock_t): Likewise.
39715         [UNIX98] (pthread_barrier_destroy): Likewise.
39716         [UNIX98] (pthread_barrier_init): Likewise.
39717         [UNIX98] (pthread_barrier_wait): Likewise.
39718         [UNIX98] (pthread_barrierattr_destroy): Likewise.
39719         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
39720         [UNIX98] (pthread_barrierattr_init): Likewise.
39721         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
39722         [UNIX98] (pthread_getcpuclockid): Likewise.
39723         [UNIX98] (pthread_mutex_timedlock): Likewise.
39724         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
39725         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
39726         [UNIX98] (pthread_sigmask): Likewise.
39727         [UNIX98] (pthread_spin_destroy): Likewise.
39728         [UNIX98] (pthread_spin_init): Likewise.
39729         [UNIX98] (pthread_spin_lock): Likewise.
39730         [UNIX98] (pthread_spin_trylock): Likewise.
39731         [UNIX98] (pthread_spin_unlock): Likewise.
39732         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
39733         Do not expect.
39734         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
39735         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
39736         [XPG3 || XPG4] (pthread_cond_t): Likewise.
39737         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
39738         [XPG3 || XPG4] (pthread_key_t): Likewise.
39739         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
39740         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
39741         [XPG3 || XPG4] (pthread_once_t): Likewise.
39742         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
39743         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
39744         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
39745         [XPG3 || XPG4] (pthread_t): Likewise.
39747         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
39748         not expect.
39749         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
39751         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
39752         Change function return type to int.
39754         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
39755         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
39756         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
39757         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
39758         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
39759         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
39760         [!POSIX] (posix_madvise): Likewise.
39761         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
39762         && !UNIX98].
39763         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
39764         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
39765         (mode_t): Likewise.
39766         (posix_mem_offset): Likewise.
39767         (posix_typed_mem_get_info): Likewise.
39768         (posix_typed_mem_open): Likewise.
39770         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
39771         Change condition to [XOPEN2K8].
39773         * conform/conformtest.pl: Preprocess allow-header data with -x c
39774         instead of from stdin.
39775         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
39776         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
39777         [C99-based standards] (cerfc): Likewise.
39778         [C99-based standards] (cexp2): Likewise.
39779         [C99-based standards] (cexpm1): Likewise.
39780         [C99-based standards] (clog10): Likewise.
39781         [C99-based standards] (clog1p): Likewise.
39782         [C99-based standards] (clog2): Likewise.
39783         [C99-based standards] (clgamma): Likewise.
39784         [C99-based standards] (ctgamma): Likewise.
39785         [C99-based standards] (cerff): Likewise.
39786         [C99-based standards] (cerfcf): Likewise.
39787         [C99-based standards] (cexp2f): Likewise.
39788         [C99-based standards] (cexpm1f): Likewise.
39789         [C99-based standards] (clog10f): Likewise.
39790         [C99-based standards] (clog1pf): Likewise.
39791         [C99-based standards] (clog2f): Likewise.
39792         [C99-based standards] (clgammaf): Likewise.
39793         [C99-based standards] (ctgammaf): Likewise.
39794         [C99-based standards] (cerfl): Likewise.
39795         [C99-based standards] (cerfcl): Likewise.
39796         [C99-based standards] (cexp2l): Likewise.
39797         [C99-based standards] (cexpm1l): Likewise.
39798         [C99-based standards] (clog10l): Likewise.
39799         [C99-based standards] (clog1pl): Likewise.
39800         [C99-based standards] (clog2l): Likewise.
39801         [C99-based standards] (clgammal): Likewise.
39802         [C99-based standards] (ctgammal): Likewise.
39803         * conform/data/inttypes.h-data [C99-based standards]: Include
39804         stdint.h-data.  Remove all expectations for stdint.h contents.
39805         [C99-based standards] (PRI*): Do not allow.
39806         [C99-based standards] (SCN*): Likewise.
39807         [C99-based standards] (*_t): Likewise.
39808         [C99-based-standards] (PRId8): Expect macro.
39809         [C99-based-standards] (PRIi8): Likewise.
39810         [C99-based-standards] (PRIo8): Likewise.
39811         [C99-based-standards] (PRIu8): Likewise.
39812         [C99-based-standards] (PRIx8): Likewise.
39813         [C99-based-standards] (PRIX8): Likewise.
39814         [C99-based-standards] (SCNd8): Likewise.
39815         [C99-based-standards] (SCNi8): Likewise.
39816         [C99-based-standards] (SCNo8): Likewise.
39817         [C99-based-standards] (SCNu8): Likewise.
39818         [C99-based-standards] (SCNx8): Likewise.
39819         [C99-based-standards] (PRIdLEAST8): Likewise.
39820         [C99-based-standards] (PRIiLEAST8): Likewise.
39821         [C99-based-standards] (PRIoLEAST8): Likewise.
39822         [C99-based-standards] (PRIuLEAST8): Likewise.
39823         [C99-based-standards] (PRIxLEAST8): Likewise.
39824         [C99-based-standards] (PRIXLEAST8): Likewise.
39825         [C99-based-standards] (SCNdLEAST8): Likewise.
39826         [C99-based-standards] (SCNiLEAST8): Likewise.
39827         [C99-based-standards] (SCNoLEAST8): Likewise.
39828         [C99-based-standards] (SCNuLEAST8): Likewise.
39829         [C99-based-standards] (SCNxLEAST8): Likewise.
39830         [C99-based-standards] (PRIdFAST8): Likewise.
39831         [C99-based-standards] (PRIiFAST8): Likewise.
39832         [C99-based-standards] (PRIoFAST8): Likewise.
39833         [C99-based-standards] (PRIuFAST8): Likewise.
39834         [C99-based-standards] (PRIxFAST8): Likewise.
39835         [C99-based-standards] (PRIXFAST8): Likewise.
39836         [C99-based-standards] (SCNdFAST8): Likewise.
39837         [C99-based-standards] (SCNiFAST8): Likewise.
39838         [C99-based-standards] (SCNoFAST8): Likewise.
39839         [C99-based-standards] (SCNuFAST8): Likewise.
39840         [C99-based-standards] (SCNxFAST8): Likewise.
39841         [C99-based-standards] (PRId16): Likewise.
39842         [C99-based-standards] (PRIi16): Likewise.
39843         [C99-based-standards] (PRIo16): Likewise.
39844         [C99-based-standards] (PRIu16): Likewise.
39845         [C99-based-standards] (PRIx16): Likewise.
39846         [C99-based-standards] (PRIX16): Likewise.
39847         [C99-based-standards] (SCNd16): Likewise.
39848         [C99-based-standards] (SCNi16): Likewise.
39849         [C99-based-standards] (SCNo16): Likewise.
39850         [C99-based-standards] (SCNu16): Likewise.
39851         [C99-based-standards] (SCNx16): Likewise.
39852         [C99-based-standards] (PRIdLEAST16): Likewise.
39853         [C99-based-standards] (PRIiLEAST16): Likewise.
39854         [C99-based-standards] (PRIoLEAST16): Likewise.
39855         [C99-based-standards] (PRIuLEAST16): Likewise.
39856         [C99-based-standards] (PRIxLEAST16): Likewise.
39857         [C99-based-standards] (PRIXLEAST16): Likewise.
39858         [C99-based-standards] (SCNdLEAST16): Likewise.
39859         [C99-based-standards] (SCNiLEAST16): Likewise.
39860         [C99-based-standards] (SCNoLEAST16): Likewise.
39861         [C99-based-standards] (SCNuLEAST16): Likewise.
39862         [C99-based-standards] (SCNxLEAST16): Likewise.
39863         [C99-based-standards] (PRIdFAST16): Likewise.
39864         [C99-based-standards] (PRIiFAST16): Likewise.
39865         [C99-based-standards] (PRIoFAST16): Likewise.
39866         [C99-based-standards] (PRIuFAST16): Likewise.
39867         [C99-based-standards] (PRIxFAST16): Likewise.
39868         [C99-based-standards] (PRIXFAST16): Likewise.
39869         [C99-based-standards] (SCNdFAST16): Likewise.
39870         [C99-based-standards] (SCNiFAST16): Likewise.
39871         [C99-based-standards] (SCNoFAST16): Likewise.
39872         [C99-based-standards] (SCNuFAST16): Likewise.
39873         [C99-based-standards] (SCNxFAST16): Likewise.
39874         [C99-based-standards] (PRId32): Likewise.
39875         [C99-based-standards] (PRIi32): Likewise.
39876         [C99-based-standards] (PRIo32): Likewise.
39877         [C99-based-standards] (PRIu32): Likewise.
39878         [C99-based-standards] (PRIx32): Likewise.
39879         [C99-based-standards] (PRIX32): Likewise.
39880         [C99-based-standards] (SCNd32): Likewise.
39881         [C99-based-standards] (SCNi32): Likewise.
39882         [C99-based-standards] (SCNo32): Likewise.
39883         [C99-based-standards] (SCNu32): Likewise.
39884         [C99-based-standards] (SCNx32): Likewise.
39885         [C99-based-standards] (PRIdLEAST32): Likewise.
39886         [C99-based-standards] (PRIiLEAST32): Likewise.
39887         [C99-based-standards] (PRIoLEAST32): Likewise.
39888         [C99-based-standards] (PRIuLEAST32): Likewise.
39889         [C99-based-standards] (PRIxLEAST32): Likewise.
39890         [C99-based-standards] (PRIXLEAST32): Likewise.
39891         [C99-based-standards] (SCNdLEAST32): Likewise.
39892         [C99-based-standards] (SCNiLEAST32): Likewise.
39893         [C99-based-standards] (SCNoLEAST32): Likewise.
39894         [C99-based-standards] (SCNuLEAST32): Likewise.
39895         [C99-based-standards] (SCNxLEAST32): Likewise.
39896         [C99-based-standards] (PRIdFAST32): Likewise.
39897         [C99-based-standards] (PRIiFAST32): Likewise.
39898         [C99-based-standards] (PRIoFAST32): Likewise.
39899         [C99-based-standards] (PRIuFAST32): Likewise.
39900         [C99-based-standards] (PRIxFAST32): Likewise.
39901         [C99-based-standards] (PRIXFAST32): Likewise.
39902         [C99-based-standards] (SCNdFAST32): Likewise.
39903         [C99-based-standards] (SCNiFAST32): Likewise.
39904         [C99-based-standards] (SCNoFAST32): Likewise.
39905         [C99-based-standards] (SCNuFAST32): Likewise.
39906         [C99-based-standards] (SCNxFAST32): Likewise.
39907         [C99-based-standards] (PRId64): Likewise.
39908         [C99-based-standards] (PRIi64): Likewise.
39909         [C99-based-standards] (PRIo64): Likewise.
39910         [C99-based-standards] (PRIu64): Likewise.
39911         [C99-based-standards] (PRIx64): Likewise.
39912         [C99-based-standards] (PRIX64): Likewise.
39913         [C99-based-standards] (SCNd64): Likewise.
39914         [C99-based-standards] (SCNi64): Likewise.
39915         [C99-based-standards] (SCNo64): Likewise.
39916         [C99-based-standards] (SCNu64): Likewise.
39917         [C99-based-standards] (SCNx64): Likewise.
39918         [C99-based-standards] (PRIdLEAST64): Likewise.
39919         [C99-based-standards] (PRIiLEAST64): Likewise.
39920         [C99-based-standards] (PRIoLEAST64): Likewise.
39921         [C99-based-standards] (PRIuLEAST64): Likewise.
39922         [C99-based-standards] (PRIxLEAST64): Likewise.
39923         [C99-based-standards] (PRIXLEAST64): Likewise.
39924         [C99-based-standards] (SCNdLEAST64): Likewise.
39925         [C99-based-standards] (SCNiLEAST64): Likewise.
39926         [C99-based-standards] (SCNoLEAST64): Likewise.
39927         [C99-based-standards] (SCNuLEAST64): Likewise.
39928         [C99-based-standards] (SCNxLEAST64): Likewise.
39929         [C99-based-standards] (PRIdFAST64): Likewise.
39930         [C99-based-standards] (PRIiFAST64): Likewise.
39931         [C99-based-standards] (PRIoFAST64): Likewise.
39932         [C99-based-standards] (PRIuFAST64): Likewise.
39933         [C99-based-standards] (PRIxFAST64): Likewise.
39934         [C99-based-standards] (PRIXFAST64): Likewise.
39935         [C99-based-standards] (SCNdFAST64): Likewise.
39936         [C99-based-standards] (SCNiFAST64): Likewise.
39937         [C99-based-standards] (SCNoFAST64): Likewise.
39938         [C99-based-standards] (SCNuFAST64): Likewise.
39939         [C99-based-standards] (SCNxFAST64): Likewise.
39940         [C99-based-standards] (PRIdMAX): Likewise.
39941         [C99-based-standards] (PRIiMAX): Likewise.
39942         [C99-based-standards] (PRIoMAX): Likewise.
39943         [C99-based-standards] (PRIuMAX): Likewise.
39944         [C99-based-standards] (PRIxMAX): Likewise.
39945         [C99-based-standards] (PRIXMAX): Likewise.
39946         [C99-based-standards] (SCNdMAX): Likewise.
39947         [C99-based-standards] (SCNiMAX): Likewise.
39948         [C99-based-standards] (SCNoMAX): Likewise.
39949         [C99-based-standards] (SCNuMAX): Likewise.
39950         [C99-based-standards] (SCNxMAX): Likewise.
39951         [C99-based-standards] (PRIdPTR): Likewise.
39952         [C99-based-standards] (PRIiPTR): Likewise.
39953         [C99-based-standards] (PRIoPTR): Likewise.
39954         [C99-based-standards] (PRIuPTR): Likewise.
39955         [C99-based-standards] (PRIxPTR): Likewise.
39956         [C99-based-standards] (PRIXPTR): Likewise.
39957         [C99-based-standards] (SCNdPTR): Likewise.
39958         [C99-based-standards] (SCNiPTR): Likewise.
39959         [C99-based-standards] (SCNoPTR): Likewise.
39960         [C99-based-standards] (SCNuPTR): Likewise.
39961         [C99-based-standards] (SCNxPTR): Likewise.
39962         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
39963         allow.
39964         * conform/data/stdint.h-data: Update comments to clarify
39965         requirements.
39966         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
39967         type.
39968         [C99-based standards] (INT8_MAX): Likewise.
39969         [C99-based standards] (INT16_MIN): Likewise.
39970         [C99-based standards] (INT16_MAX): Likewise.
39971         [C99-based standards] (INT32_MIN): Likewise.
39972         [C99-based standards] (INT32_MAX): Likewise.
39973         [C99-based standards] (INT64_MIN): Likewise.
39974         [C99-based standards] (INT64_MAX): Likewise.
39975         [C99-based standards] (UINT8_MAX): Likewise.
39976         [C99-based standards] (UINT16_MAX): Likewise.
39977         [C99-based standards] (UINT32_MAX): Likewise.
39978         [C99-based standards] (UINT64_MAX): Likewise.
39979         [C99-based standards] (INT_LEAST8_MIN): Likewise.
39980         [C99-based standards] (INT_LEAST8_MAX): Likewise.
39981         [C99-based standards] (INT_LEAST16_MIN): Likewise.
39982         [C99-based standards] (INT_LEAST16_MAX): Likewise.
39983         [C99-based standards] (INT_LEAST32_MIN): Likewise.
39984         [C99-based standards] (INT_LEAST32_MAX): Likewise.
39985         [C99-based standards] (INT_LEAST64_MIN): Likewise.
39986         [C99-based standards] (INT_LEAST64_MAX): Likewise.
39987         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
39988         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
39989         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
39990         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
39991         [C99-based standards] (INT_FAST8_MIN): Likewise.
39992         [C99-based standards] (INT_FAST8_MAX): Likewise.
39993         [C99-based standards] (INT_FAST16_MIN): Likewise.
39994         [C99-based standards] (INT_FAST16_MAX): Likewise.
39995         [C99-based standards] (INT_FAST32_MIN): Likewise.
39996         [C99-based standards] (INT_FAST32_MAX): Likewise.
39997         [C99-based standards] (INT_FAST64_MIN): Likewise.
39998         [C99-based standards] (INT_FAST64_MAX): Likewise.
39999         [C99-based standards] (UINT_FAST8_MAX): Likewise.
40000         [C99-based standards] (UINT_FAST16_MAX): Likewise.
40001         [C99-based standards] (UINT_FAST32_MAX): Likewise.
40002         [C99-based standards] (UINT_FAST64_MAX): Likewise.
40003         [C99-based standards] (INTPTR_MIN): Likewise.
40004         [C99-based standards] (INTPTR_MAX): Likewise.
40005         [C99-based standards] (UINTPTR_MAX): Likewise.
40006         [C99-based standards] (INTMAX_MIN): Likewise.
40007         [C99-based standards] (INTMAX_MAX): Likewise.
40008         [C99-based standards] (UINTMAX_MAX): Likewise.
40009         [C99-based standards] (PTRDIFF_MIN): Likewise.
40010         [C99-based standards] (PTRDIFF_MAX): Likewise.
40011         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
40012         [C99-based standards] (SIZE_MAX): Likewise.
40013         [C99-based standards] (WCHAR_MAX): Likewise.
40014         [C99-based standards] (WINT_MAX): Likewise.
40015         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
40016         constraint on value.
40017         [C99-based standards] (WCHAR_MIN): Likewise.
40018         [C99-based standards] (WINT_MIN): Likewise.
40019         [C99-based standards] (*_t): Allow.
40020         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
40021         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
40022         Include math.h-data and complex.h-data.  Remove all expectations
40023         of math.h and complex.h contents.
40024         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
40025         at end of line.
40026         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
40027         (struct tm): Expect tag.
40028         [C99-based-standards] (wcstof): Expect function.
40029         [C99-based-standards] (wcstold): Likewise.
40030         [C99-based-standards] (wcstoll): Likewise.
40031         [C99-based-standards] (wcstoull): Likewise.
40032         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
40033         macro-int-constant.  Specify type.
40034         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
40035         constraint on value.
40036         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40037         Specify type.
40038         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
40039         Specify value.
40040         [ISO C standards]: Do not allow headers.
40041         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
40042         wcs[abcdefghijklmnopqrstuvwxyz]*.
40043         [ISO C standards] (*_t): Do not allow.
40044         * conform/data/wctype.h-data [C99-based standards] (iswblank):
40045         Expect function.
40046         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
40047         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40048         Specify type.
40049         [ISO C standards]: Do not allow headers.
40050         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
40051         is[abcdefghijklmnopqrstuvwxyz]*.
40052         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
40053         to[abcdefghijklmnopqrstuvwxyz]*.
40054         [ISO C standards] (*_t): Do not allow.
40055         * conform/data/stdalign.h-data: New file.
40056         * conform/data/stdbool.h-data: Likewise.
40057         * conform/data/stdnoreturn.h-data: Likewise.
40059 2012-11-07  Roland McGrath  <roland@hack.frob.com>
40061         [BZ #14815]
40062         * manual/filesys.texi (Directory Entries): Typo fix.
40063         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
40065 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40067         * elf/elf.h (EM_AARCH64): New macro.
40068         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
40069         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
40070         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
40071         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
40072         (R_AARCH64_TLSDESC): Likewise.
40073         (NT_ARM_TLS): Likewise.
40074         (NT_ARM_HW_BREAK): Likewise.
40075         (NT_ARM_HW_WATCH): Likewise.
40077 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40079         [BZ #14811]
40080         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
40081         (__ieee754_powl): Saturate nonzero exponents with absolute value
40082         below 0x1p-79 to +/- 0x1p-79.
40083         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
40084         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
40085         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
40086         nonzero exponents with absolute value below 0x1p-32 to +/-
40087         0x1p-32.
40088         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
40089         (__ieee754_powl): Saturate nonzero exponents with absolute value
40090         below 0x1p-79 to +/- 0x1p-79.
40091         * math/libm-test.inc (pow_test): Add more tests.
40093 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40095         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
40096         _dl_s390_cap_flags with kernel. Increase string length.
40097         (_dl_s390_platforms): Add z196 and zEC12.
40099 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40101         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
40102         Change XOPEN21K to XOPEN2K.
40104 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
40106         * string/memmove.c: Use memcpy when possible.
40108 2012-11-06  Andreas Jaeger  <aj@suse.de>
40110         * po/eo.po: Update from translation team.
40112 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
40114         [BZ #14793]
40115         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
40116         exponent and small x and y exponents, scale x or y up.  Increase
40117         by 2 the exponent used in scaling up.
40118         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40119         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40120         * math/libm-test.inc (fma_test): Add more tests.
40121         (fma_test_towardzero): Likewise.
40122         (fma_test_downward): Likewise.
40123         (fma_test_upward): Likewise.
40125 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
40127         [BZ #14805]
40128         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
40129         fenv_t *.
40131         [BZ #14801]
40132         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
40133         namespace for names of struct fields.
40134         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
40135         fenv_t fields.
40136         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
40137         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
40139 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40141         [BZ #3665]
40142         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
40144 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
40146         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
40147         PTR_DEMANGLE.
40149         [BZ #5246]
40150         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
40151         PTR_DEMANGLE.
40153 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
40155         [BZ #14797]
40156         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
40157         definitely overflow as x * y not x * y + z.
40158         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40159         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40160         * math/libm-test.inc (fma_test): Add more tests.
40161         (fma_test_towardzero): Likewise.
40162         (fma_test_downward): Likewise.
40163         (fma_test_upward): Likewise.
40165 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
40167         [BZ #157]
40169         * include/stub-tag.h: Remove file.
40170         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
40171         '#include' of it.
40172         * manual/maint.texi (Porting): Don't reference it.
40173         * Makerules ($(objpfx)stubs): Likewise.
40174         * dirent/closedir.c: Don't include <stub-tag.h>.
40175         * dirent/dirfd.c: Likewise.
40176         * dirent/fdopendir.c: Likewise.
40177         * dirent/getdents.c: Likewise.
40178         * dirent/getdents64.c: Likewise.
40179         * dirent/opendir.c: Likewise.
40180         * dirent/readdir.c: Likewise.
40181         * dirent/readdir64.c: Likewise.
40182         * dirent/readdir64_r.c: Likewise.
40183         * dirent/readdir_r.c: Likewise.
40184         * dirent/rewinddir.c: Likewise.
40185         * dirent/seekdir.c: Likewise.
40186         * dirent/telldir.c: Likewise.
40187         * gmon/profil.c: Likewise.
40188         * grp/setgroups.c: Likewise.
40189         * inet/if_index.c: Likewise.
40190         * io/access.c: Likewise.
40191         * io/chdir.c: Likewise.
40192         * io/chmod.c: Likewise.
40193         * io/chown.c: Likewise.
40194         * io/close.c: Likewise.
40195         * io/dup.c: Likewise.
40196         * io/dup2.c: Likewise.
40197         * io/dup3.c: Likewise.
40198         * io/euidaccess.c: Likewise.
40199         * io/faccessat.c: Likewise.
40200         * io/fchdir.c: Likewise.
40201         * io/fchmod.c: Likewise.
40202         * io/fchmodat.c: Likewise.
40203         * io/fchown.c: Likewise.
40204         * io/fchownat.c: Likewise.
40205         * io/fcntl.c: Likewise.
40206         * io/flock.c: Likewise.
40207         * io/fstatfs.c: Likewise.
40208         * io/fstatfs64.c: Likewise.
40209         * io/fstatvfs.c: Likewise.
40210         * io/fstatvfs64.c: Likewise.
40211         * io/futimens.c: Likewise.
40212         * io/fxstat.c: Likewise.
40213         * io/fxstat64.c: Likewise.
40214         * io/fxstatat.c: Likewise.
40215         * io/fxstatat64.c: Likewise.
40216         * io/getcwd.c: Likewise.
40217         * io/isatty.c: Likewise.
40218         * io/lchmod.c: Likewise.
40219         * io/lchown.c: Likewise.
40220         * io/link.c: Likewise.
40221         * io/linkat.c: Likewise.
40222         * io/lseek.c: Likewise.
40223         * io/lseek64.c: Likewise.
40224         * io/lxstat64.c: Likewise.
40225         * io/mkdir.c: Likewise.
40226         * io/mkdirat.c: Likewise.
40227         * io/mkfifo.c: Likewise.
40228         * io/mkfifoat.c: Likewise.
40229         * io/open.c: Likewise.
40230         * io/open64.c: Likewise.
40231         * io/openat.c: Likewise.
40232         * io/openat64.c: Likewise.
40233         * io/pipe.c: Likewise.
40234         * io/pipe2.c: Likewise.
40235         * io/poll.c: Likewise.
40236         * io/posix_fadvise.c: Likewise.
40237         * io/posix_fadvise64.c: Likewise.
40238         * io/posix_fallocate.c: Likewise.
40239         * io/posix_fallocate64.c: Likewise.
40240         * io/read.c: Likewise.
40241         * io/readlink.c: Likewise.
40242         * io/readlinkat.c: Likewise.
40243         * io/rmdir.c: Likewise.
40244         * io/sendfile.c: Likewise.
40245         * io/sendfile64.c: Likewise.
40246         * io/statfs.c: Likewise.
40247         * io/statfs64.c: Likewise.
40248         * io/statvfs.c: Likewise.
40249         * io/statvfs64.c: Likewise.
40250         * io/symlink.c: Likewise.
40251         * io/symlinkat.c: Likewise.
40252         * io/ttyname.c: Likewise.
40253         * io/ttyname_r.c: Likewise.
40254         * io/umask.c: Likewise.
40255         * io/unlink.c: Likewise.
40256         * io/unlinkat.c: Likewise.
40257         * io/utime.c: Likewise.
40258         * io/utimensat.c: Likewise.
40259         * io/write.c: Likewise.
40260         * io/xmknod.c: Likewise.
40261         * io/xmknodat.c: Likewise.
40262         * io/xstat.c: Likewise.
40263         * io/xstat64.c: Likewise.
40264         * login/getpt.c: Likewise.
40265         * login/grantpt.c: Likewise.
40266         * login/unlockpt.c: Likewise.
40267         * math/e_acoshl.c: Likewise.
40268         * math/e_acosl.c: Likewise.
40269         * math/e_asinl.c: Likewise.
40270         * math/e_atan2l.c: Likewise.
40271         * math/e_atanhl.c: Likewise.
40272         * math/e_coshl.c: Likewise.
40273         * math/e_expl.c: Likewise.
40274         * math/e_fmodl.c: Likewise.
40275         * math/e_gammal_r.c: Likewise.
40276         * math/e_hypotl.c: Likewise.
40277         * math/e_j0l.c: Likewise.
40278         * math/e_j1l.c: Likewise.
40279         * math/e_jnl.c: Likewise.
40280         * math/e_lgammal_r.c: Likewise.
40281         * math/e_log10l.c: Likewise.
40282         * math/e_log2l.c: Likewise.
40283         * math/e_logl.c: Likewise.
40284         * math/e_powl.c: Likewise.
40285         * math/e_rem_pio2l.c: Likewise.
40286         * math/e_sinhl.c: Likewise.
40287         * math/e_sqrtl.c: Likewise.
40288         * math/fclrexcpt.c: Likewise.
40289         * math/fedisblxcpt.c: Likewise.
40290         * math/feenablxcpt.c: Likewise.
40291         * math/fegetenv.c: Likewise.
40292         * math/fegetexcept.c: Likewise.
40293         * math/fegetround.c: Likewise.
40294         * math/feholdexcpt.c: Likewise.
40295         * math/fesetenv.c: Likewise.
40296         * math/fesetround.c: Likewise.
40297         * math/feupdateenv.c: Likewise.
40298         * math/fgetexcptflg.c: Likewise.
40299         * math/fraiseexcpt.c: Likewise.
40300         * math/fsetexcptflg.c: Likewise.
40301         * math/ftestexcept.c: Likewise.
40302         * math/k_cosl.c: Likewise.
40303         * math/k_rem_pio2l.c: Likewise.
40304         * math/k_sinl.c: Likewise.
40305         * math/k_tanl.c: Likewise.
40306         * math/s_asinhl.c: Likewise.
40307         * math/s_atanl.c: Likewise.
40308         * math/s_cbrtl.c: Likewise.
40309         * math/s_erfl.c: Likewise.
40310         * math/s_expm1l.c: Likewise.
40311         * math/s_log1pl.c: Likewise.
40312         * math/s_tanhl.c: Likewise.
40313         * misc/acct.c: Likewise.
40314         * misc/brk.c: Likewise.
40315         * misc/chflags.c: Likewise.
40316         * misc/chroot.c: Likewise.
40317         * misc/fchflags.c: Likewise.
40318         * misc/fgetxattr.c: Likewise.
40319         * misc/flistxattr.c: Likewise.
40320         * misc/fremovexattr.c: Likewise.
40321         * misc/fsetxattr.c: Likewise.
40322         * misc/fsync.c: Likewise.
40323         * misc/ftruncate.c: Likewise.
40324         * misc/futimes.c: Likewise.
40325         * misc/futimesat.c: Likewise.
40326         * misc/getdomain.c: Likewise.
40327         * misc/getdtsz.c: Likewise.
40328         * misc/gethostid.c: Likewise.
40329         * misc/gethostname.c: Likewise.
40330         * misc/getloadavg.c: Likewise.
40331         * misc/getpagesize.c: Likewise.
40332         * misc/getsysstats.c: Likewise.
40333         * misc/getxattr.c: Likewise.
40334         * misc/gtty.c: Likewise.
40335         * misc/ioctl.c: Likewise.
40336         * misc/lgetxattr.c: Likewise.
40337         * misc/listxattr.c: Likewise.
40338         * misc/llistxattr.c: Likewise.
40339         * misc/lremovexattr.c: Likewise.
40340         * misc/lsetxattr.c: Likewise.
40341         * misc/lutimes.c: Likewise.
40342         * misc/madvise.c: Likewise.
40343         * misc/mincore.c: Likewise.
40344         * misc/mlock.c: Likewise.
40345         * misc/mlockall.c: Likewise.
40346         * misc/mmap.c: Likewise.
40347         * misc/mprotect.c: Likewise.
40348         * misc/msync.c: Likewise.
40349         * misc/munlock.c: Likewise.
40350         * misc/munlockall.c: Likewise.
40351         * misc/munmap.c: Likewise.
40352         * misc/preadv.c: Likewise.
40353         * misc/preadv64.c: Likewise.
40354         * misc/ptrace.c: Likewise.
40355         * misc/pwritev.c: Likewise.
40356         * misc/pwritev64.c: Likewise.
40357         * misc/readv.c: Likewise.
40358         * misc/reboot.c: Likewise.
40359         * misc/remap_file_pages.c: Likewise.
40360         * misc/removexattr.c: Likewise.
40361         * misc/revoke.c: Likewise.
40362         * misc/select.c: Likewise.
40363         * misc/setdomain.c: Likewise.
40364         * misc/setegid.c: Likewise.
40365         * misc/seteuid.c: Likewise.
40366         * misc/sethostid.c: Likewise.
40367         * misc/sethostname.c: Likewise.
40368         * misc/setregid.c: Likewise.
40369         * misc/setreuid.c: Likewise.
40370         * misc/setxattr.c: Likewise.
40371         * misc/sstk.c: Likewise.
40372         * misc/stty.c: Likewise.
40373         * misc/swapoff.c: Likewise.
40374         * misc/swapon.c: Likewise.
40375         * misc/sync.c: Likewise.
40376         * misc/syncfs.c: Likewise.
40377         * misc/syscall.c: Likewise.
40378         * misc/truncate.c: Likewise.
40379         * misc/ualarm.c: Likewise.
40380         * misc/usleep.c: Likewise.
40381         * misc/ustat.c: Likewise.
40382         * misc/utimes.c: Likewise.
40383         * misc/vhangup.c: Likewise.
40384         * misc/writev.c: Likewise.
40385         * posix/_exit.c: Likewise.
40386         * posix/alarm.c: Likewise.
40387         * posix/execve.c: Likewise.
40388         * posix/fexecve.c: Likewise.
40389         * posix/fork.c: Likewise.
40390         * posix/fpathconf.c: Likewise.
40391         * posix/getaddrinfo.c: Likewise.
40392         * posix/getegid.c: Likewise.
40393         * posix/geteuid.c: Likewise.
40394         * posix/getgid.c: Likewise.
40395         * posix/getgroups.c: Likewise.
40396         * posix/getlogin.c: Likewise.
40397         * posix/getlogin_r.c: Likewise.
40398         * posix/getpgid.c: Likewise.
40399         * posix/getpid.c: Likewise.
40400         * posix/getppid.c: Likewise.
40401         * posix/getresgid.c: Likewise.
40402         * posix/getresuid.c: Likewise.
40403         * posix/getsid.c: Likewise.
40404         * posix/getuid.c: Likewise.
40405         * posix/glob64.c: Likewise.
40406         * posix/nanosleep.c: Likewise.
40407         * posix/pathconf.c: Likewise.
40408         * posix/pause.c: Likewise.
40409         * posix/posix_madvise.c: Likewise.
40410         * posix/pread.c: Likewise.
40411         * posix/pread64.c: Likewise.
40412         * posix/pwrite.c: Likewise.
40413         * posix/pwrite64.c: Likewise.
40414         * posix/sched_getaffinity.c: Likewise.
40415         * posix/sched_getp.c: Likewise.
40416         * posix/sched_gets.c: Likewise.
40417         * posix/sched_primax.c: Likewise.
40418         * posix/sched_primin.c: Likewise.
40419         * posix/sched_rr_gi.c: Likewise.
40420         * posix/sched_setaffinity.c: Likewise.
40421         * posix/sched_setp.c: Likewise.
40422         * posix/sched_sets.c: Likewise.
40423         * posix/sched_yield.c: Likewise.
40424         * posix/setgid.c: Likewise.
40425         * posix/setlogin.c: Likewise.
40426         * posix/setpgid.c: Likewise.
40427         * posix/setresgid.c: Likewise.
40428         * posix/setresuid.c: Likewise.
40429         * posix/setsid.c: Likewise.
40430         * posix/setuid.c: Likewise.
40431         * posix/sleep.c: Likewise.
40432         * posix/spawni.c: Likewise.
40433         * posix/sysconf.c: Likewise.
40434         * posix/times.c: Likewise.
40435         * posix/wait.c: Likewise.
40436         * posix/wait3.c: Likewise.
40437         * posix/wait4.c: Likewise.
40438         * posix/waitpid.c: Likewise.
40439         * resolv/gai_sigqueue.c: Likewise.
40440         * resource/getpriority.c: Likewise.
40441         * resource/getrlimit.c: Likewise.
40442         * resource/getrusage.c: Likewise.
40443         * resource/nice.c: Likewise.
40444         * resource/setpriority.c: Likewise.
40445         * resource/setrlimit.c: Likewise.
40446         * resource/ulimit.c: Likewise.
40447         * rt/aio_cancel.c: Likewise.
40448         * rt/aio_fsync.c: Likewise.
40449         * rt/aio_read.c: Likewise.
40450         * rt/aio_sigqueue.c: Likewise.
40451         * rt/aio_suspend.c: Likewise.
40452         * rt/aio_write.c: Likewise.
40453         * rt/clock_getres.c: Likewise.
40454         * rt/clock_gettime.c: Likewise.
40455         * rt/clock_nanosleep.c: Likewise.
40456         * rt/clock_settime.c: Likewise.
40457         * rt/lio_listio.c: Likewise.
40458         * rt/mq_close.c: Likewise.
40459         * rt/mq_getattr.c: Likewise.
40460         * rt/mq_notify.c: Likewise.
40461         * rt/mq_open.c: Likewise.
40462         * rt/mq_receive.c: Likewise.
40463         * rt/mq_send.c: Likewise.
40464         * rt/mq_setattr.c: Likewise.
40465         * rt/mq_timedreceive.c: Likewise.
40466         * rt/mq_timedsend.c: Likewise.
40467         * rt/mq_unlink.c: Likewise.
40468         * rt/shm_open.c: Likewise.
40469         * rt/shm_unlink.c: Likewise.
40470         * rt/timer_create.c: Likewise.
40471         * rt/timer_delete.c: Likewise.
40472         * rt/timer_getoverr.c: Likewise.
40473         * rt/timer_gettime.c: Likewise.
40474         * rt/timer_settime.c: Likewise.
40475         * setjmp/__longjmp.c: Likewise.
40476         * setjmp/setjmp.c: Likewise.
40477         * signal/kill.c: Likewise.
40478         * signal/killpg.c: Likewise.
40479         * signal/raise.c: Likewise.
40480         * signal/sigaction.c: Likewise.
40481         * signal/sigaltstack.c: Likewise.
40482         * signal/sigblock.c: Likewise.
40483         * signal/sigignore.c: Likewise.
40484         * signal/sigintr.c: Likewise.
40485         * signal/signal.c: Likewise.
40486         * signal/sigpause.c: Likewise.
40487         * signal/sigpending.c: Likewise.
40488         * signal/sigqueue.c: Likewise.
40489         * signal/sigreturn.c: Likewise.
40490         * signal/sigset.c: Likewise.
40491         * signal/sigsetmask.c: Likewise.
40492         * signal/sigstack.c: Likewise.
40493         * signal/sigsuspend.c: Likewise.
40494         * signal/sigtimedwait.c: Likewise.
40495         * signal/sigvec.c: Likewise.
40496         * signal/sigwait.c: Likewise.
40497         * signal/sigwaitinfo.c: Likewise.
40498         * signal/sysv_signal.c: Likewise.
40499         * socket/accept.c: Likewise.
40500         * socket/accept4.c: Likewise.
40501         * socket/bind.c: Likewise.
40502         * socket/connect.c: Likewise.
40503         * socket/getpeername.c: Likewise.
40504         * socket/getsockname.c: Likewise.
40505         * socket/getsockopt.c: Likewise.
40506         * socket/isfdtype.c: Likewise.
40507         * socket/listen.c: Likewise.
40508         * socket/recv.c: Likewise.
40509         * socket/recvfrom.c: Likewise.
40510         * socket/recvmsg.c: Likewise.
40511         * socket/send.c: Likewise.
40512         * socket/sendmsg.c: Likewise.
40513         * socket/sendto.c: Likewise.
40514         * socket/setsockopt.c: Likewise.
40515         * socket/shutdown.c: Likewise.
40516         * socket/sockatmark.c: Likewise.
40517         * socket/socket.c: Likewise.
40518         * socket/socketpair.c: Likewise.
40519         * stdio-common/ctermid.c: Likewise.
40520         * stdio-common/cuserid.c: Likewise.
40521         * stdio-common/remove.c: Likewise.
40522         * stdio-common/rename.c: Likewise.
40523         * stdio-common/renameat.c: Likewise.
40524         * stdio-common/tempname.c: Likewise.
40525         * stdlib/getcontext.c: Likewise.
40526         * stdlib/makecontext.c: Likewise.
40527         * stdlib/setcontext.c: Likewise.
40528         * stdlib/swapcontext.c: Likewise.
40529         * stdlib/system.c: Likewise.
40530         * streams/fattach.c: Likewise.
40531         * streams/fdetach.c: Likewise.
40532         * streams/getmsg.c: Likewise.
40533         * streams/getpmsg.c: Likewise.
40534         * streams/putmsg.c: Likewise.
40535         * streams/putpmsg.c: Likewise.
40536         * sysdeps/unix/bsd/getpt.c: Likewise.
40537         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
40538         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
40539         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
40540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40541         Likewise.
40542         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
40543         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40544         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
40545         * sysvipc/msgctl.c: Likewise.
40546         * sysvipc/msgget.c: Likewise.
40547         * sysvipc/msgrcv.c: Likewise.
40548         * sysvipc/msgsnd.c: Likewise.
40549         * sysvipc/semctl.c: Likewise.
40550         * sysvipc/semget.c: Likewise.
40551         * sysvipc/semop.c: Likewise.
40552         * sysvipc/semtimedop.c: Likewise.
40553         * sysvipc/shmat.c: Likewise.
40554         * sysvipc/shmctl.c: Likewise.
40555         * sysvipc/shmdt.c: Likewise.
40556         * sysvipc/shmget.c: Likewise.
40557         * termios/tcdrain.c: Likewise.
40558         * termios/tcflow.c: Likewise.
40559         * termios/tcflush.c: Likewise.
40560         * termios/tcgetattr.c: Likewise.
40561         * termios/tcgetpgrp.c: Likewise.
40562         * termios/tcsendbrk.c: Likewise.
40563         * termios/tcsetattr.c: Likewise.
40564         * termios/tcsetpgrp.c: Likewise.
40565         * time/adjtime.c: Likewise.
40566         * time/clock.c: Likewise.
40567         * time/getitimer.c: Likewise.
40568         * time/gettimeofday.c: Likewise.
40569         * time/setitimer.c: Likewise.
40570         * time/settimeofday.c: Likewise.
40571         * time/stime.c: Likewise.
40572         * time/time.c: Likewise.
40574 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
40576         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
40577         /usr/old/bin.
40579         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
40580         instead of spaces.
40581         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
40583 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
40585         [BZ #14796]
40586         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
40587         FE_TONEAREST before applying Dekker multiplication and Knuth
40588         addition.  Clear inexact exceptions and check for exact zero
40589         results afterwards.
40590         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40591         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40592         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40593         * math/libm-test.inc (fma_test): Add more tests.
40594         (fma_test_towardzero): Likewise.
40595         (fma_test_downward): Likewise.
40596         (fma_test_upward): Likewise.
40597         * sysdeps/generic/math_private.h (default_libc_fesetround): New
40598         function.
40599         (libc_fesetround): New macro.
40600         (libc_fesetroundf): Likewise.
40601         (libc_fesetroundl): Likewise.
40602         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
40603         function.
40604         (libc_fesetround_387): Likewise.
40605         (libc_fesetroundf): New macro.
40606         (libc_fesetround): Likewise.
40607         (libc_fesetroundl): Likewise.
40608         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
40609         function.
40610         (libc_fesetroundf): New macro.
40611         (libc_fesetround): Likewise.
40612         (libc_fesetroundl): Likewise.
40613         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
40614         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
40615         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
40616         libm_hidden_ver.
40617         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
40618         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
40619         libm_hidden_def.
40620         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
40621         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
40622         libm_hidden_ver.
40623         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
40624         libm_hidden_def.
40626         [BZ #3439]
40627         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
40628         integer constant usable in #if and use that to give value to enum
40629         constant.
40630         (FE_DIVBYZERO): Likewise.
40631         (FE_UNDERFLOW): Likewise.
40632         (FE_OVERFLOW): Likewise.
40633         (FE_INVALID): Likewise.
40634         (FE_INVALID_SNAN): Likewise.
40635         (FE_INVALID_ISI): Likewise.
40636         (FE_INVALID_IDI): Likewise.
40637         (FE_INVALID_ZDZ): Likewise.
40638         (FE_INVALID_IMZ): Likewise.
40639         (FE_INVALID_COMPARE): Likewise.
40640         (FE_INVALID_SOFTWARE): Likewise.
40641         (FE_INVALID_SQRT): Likewise.
40642         (FE_INVALID_INTEGER_CONVERSION): Likewise.
40643         (FE_TONEAREST): Likewise.
40644         (FE_TOWARDZERO): Likewise.
40645         (FE_UPWARD): Likewise.
40646         (FE_DOWNWARD): Likewise.
40647         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
40648         (FE_DIVBYZERO): Likewise.
40649         (FE_OVERFLOW): Likewise.
40650         (FE_UNDERFLOW): Likewise.
40651         (FE_INEXACT): Likewise.
40652         (FE_TONEAREST): Likewise.
40653         (FE_DOWNWARD): Likewise.
40654         (FE_UPWARD): Likewise.
40655         (FE_TOWARDZERO): Likewise.
40656         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
40657         (FE_UNDERFLOW): Likewise.
40658         (FE_OVERFLOW): Likewise.
40659         (FE_DIVBYZERO): Likewise.
40660         (FE_INVALID): Likewise.
40661         (FE_TONEAREST): Likewise.
40662         (FE_TOWARDZERO): Likewise.
40663         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
40664         (FE_OVERFLOW): Likewise.
40665         (FE_UNDERFLOW): Likewise.
40666         (FE_DIVBYZERO): Likewise.
40667         (FE_INEXACT): Likewise.
40668         (FE_TONEAREST): Likewise.
40669         (FE_TOWARDZERO): Likewise.
40670         (FE_UPWARD): Likewise.
40671         (FE_DOWNWARD): Likewise.
40672         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
40673         (FE_DIVBYZERO): Likewise.
40674         (FE_OVERFLOW): Likewise.
40675         (FE_UNDERFLOW): Likewise.
40676         (FE_INEXACT): Likewise.
40677         (FE_TONEAREST): Likewise.
40678         (FE_DOWNWARD): Likewise.
40679         (FE_UPWARD): Likewise.
40680         (FE_TOWARDZERO): Likewise.
40682 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
40684         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
40686 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
40688         * scripts/cross-test-ssh.sh (command): Use newlines to separate
40689         commands.  Quote $PWD.
40690         (blacklist_exports): Don't use remove_newlines.  Replace "declare
40691         -x" by "export".
40692         (remove_newlines): Remove.
40694 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
40696         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
40697         * stdlib/stdlib.h (atof): Moved to ...
40698         * include/bits/stdlib-float.h: Here.  New file.
40699         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
40700         * stdlib/bits/stdlib-float.h: New file.
40701         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
40702         -mno-sse -mno-mmx.
40703         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
40704         <xmmintrin.h>.
40706 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
40708         * conform/conformtest.pl (@headers): Add fenv.h.
40709         * conform/data/fenv.h-data: New file.
40710         * include/fenv.h [_ISOMAC]: Disable all contents of file except
40711         include of <math/fenv.h>.
40713         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
40714         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
40715         && !UNIX98].  Enables tests for XOPEN2K8.
40716         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
40717         POSIX2008]: Likewise.
40719         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
40720         (struct rusage): Do not expect type or its members.
40722         [BZ #3439]
40723         * math/math.h (FP_NAN): Define macro to integer constant usable in
40724         #if and use that to give value to enum constant.
40725         (FP_INFINITE): Likewise.
40726         (FP_ZERO): Likewise.
40727         (FP_SUBNORMAL): Likewise.
40728         (FP_NORMAL): Likewise.
40730 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
40732         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
40733         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
40734         arguments.
40736 2012-11-02  Roland McGrath  <roland@hack.frob.com>
40738         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
40739         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
40740         autoconf-time if not.
40741         * configure.in: Remove AC_PREREQ.
40743 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40745         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
40746         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
40747         of the internal implementation.
40749 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
40751         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
40752         except include of <misc/sys/syslog.h>.
40754 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
40756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
40757         function returns with a NULL context exit with zero.
40759 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40761         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
40763 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
40765         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
40766         (run_program_cmd): This.
40767         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
40768         (tst_langinfo): New variable.  Use it.
40770 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
40772         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
40773         floating point opcodes.
40775 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
40777         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
40778         variable.
40780         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
40782         * sysdeps/mach/hurd/powerpc: Remove directory.
40783         * sysdeps/mach/powerpc: Likewise.
40785 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
40787         * scripts/check-local-headers.sh: Ignore c++ headers.
40789 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
40791         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
40792         __libc_cleanup_region_start argument.
40794 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
40796         [BZ #14784]
40797         [BZ #14785]
40798         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
40799         x * y using scaling, not as x * y + z.
40800         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40801         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40802         * math/libm-test.inc (fma_test): Add more tests.
40803         (fma_test_towardzero): Likewise.
40804         (fma_test_downward): Likewise.
40805         (fma_test_upward): Likewise.
40807 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
40809         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
40811 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
40813         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
40814         New variable.
40816 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
40818         * rt/tst-shm.c (worker): Correct checking for mmap failure.
40820 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
40822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40823         Fix sort order.
40824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40825         Likewise.
40827 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40830         Fix the order of the list for glibc 2.17.
40831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40832         Likewise.
40834 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
40836         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40838 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
40840         [BZ #14610]
40841         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
40842         for low part of x being zero before using __atanl (y).
40843         * math/libm-test.inc (atan2_test): Add another test.
40845         * manual/install.texi (Configuring and compiling): Document
40846         general use of test-wrapper and test-wrapper-env.
40847         * INSTALL: Regenerated.
40849         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
40850         (__fma): Do not extract and scale down low bits on after-rounding
40851         systems when result rounded to normal precision would have normal
40852         exponent.
40853         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
40854         (__fmal): Do not extract and scale down low bits on after-rounding
40855         systems when result rounded to normal precision would have normal
40856         exponent.
40857         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
40858         (__fmal): Do not extract and scale down low bits on after-rounding
40859         systems when result rounded to normal precision would have normal
40860         exponent.
40861         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
40862         macro.
40863         (fma_test): Add more tests.
40864         (fma_test_towardzero): Likewise.
40865         (fma_test_downward): Likewise.
40866         (fma_test_upward): Likewise.
40868 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
40870         * sysdeps/i386/tininess.h: Renamed to ...
40871         * sysdeps/x86/tininess.h: This.
40872         * sysdeps/x86_64/tininess.h: Removed.
40874 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
40876         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
40877         input.  Use $(build-program-cmd).
40878         ($(objpfx)tst-array1-static.out): Likewise.
40879         ($(objpfx)tst-array2.out): Likewise.
40880         ($(objpfx)tst-array3.out): Likewise.
40881         ($(objpfx)tst-array4.out): Likewise.
40882         ($(objpfx)tst-array5.out): Likewise.
40883         ($(objpfx)tst-array5-static.out): Likewise.
40885 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
40887         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
40888         if defined.
40890         * nss/nsswitch.h (nss_interface_function): Provide new
40891         macro for use with NSS functions.
40892         * grp/initgroups.c: Use new macro.
40893         * nss/getXXbyYY.c: Likewise.
40894         * nss/getXXbyYY_r.c: Likewise.
40895         * nss/getXXent.c: Likewise.
40896         * nss/getXXent_r.c: Likewise.
40897         * sysdeps/posix/getaddrinfo.c: Likewise.
40899 2012-10-30  Andreas Jaeger  <aj@suse.de>
40901         * po/ru.po: Update Russion translation from translation project.
40903 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
40905         [BZ #14152]
40906         [BZ #14783]
40907         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
40908         result and shift together with sticky bit instead of replicating
40909         round-to-nearest rounding.
40910         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40911         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40912         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
40913         missing underflow exceptions.
40914         (fma_test_towardzero): Add more tests.
40915         (fma_test_downward): Likewise.
40916         (fma_test_upward): Likewise.
40918         [BZ #14047]
40919         * sysdeps/generic/tininess.h: New file.
40920         * sysdeps/i386/tininess.h: Likewise.
40921         * sysdeps/sh/tininess.h: Likewise.
40922         * sysdeps/x86_64/tininess.h: Likewise.
40923         * stdlib/tst-strtod-underflow.c: Likewise.
40924         * stdlib/tst-tininess.c: Likewise.
40925         * stdlib/strtod_l.c: Include <tininess.h>.
40926         (round_and_return): Do not set errno for exact underflow cases.
40927         Force an underflow exception when setting errno for underflow.
40928         Determine underflow based on rounding to normal precision if
40929         TININESS_AFTER_ROUNDING.
40930         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
40931         ERANGE for exact underflow cases.
40932         * stdlib/Makefile (tests): Add tst-tininess and
40933         tst-strtod-underflow.
40934         ($(objpfx)tst-tininess): Use $(link-libm).
40935         ($(objpfx)tst-strtod-underflow): Likewise.
40937 2012-10-30  Andreas Jaeger  <aj@suse.de>
40939         [BZ#14767]
40940         * elf/Makefile (tests): Remove conditional for have-initfini-array
40941         since this is now always required and the variable does not exist
40942         anymore.
40943         (tests-static): Likewise.
40944         (modules-names): Likewise.
40946         * po/eo.po: Add Esperanto translation from translation project.
40948         * elf/tst-array1.c (fini_array): Make writeable so that it can be
40949         merged with constructor/destructor.
40950         (init_array): Likewise.
40951         * elf/tst-array2dep.c (fini_array): Likewise.
40952         (init_array): Likewise.
40954 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
40956         * manual/message.texi: Delete @cartouche tags.
40958 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
40960         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
40961         EOPNOTSUPP.
40962         * sysdeps/mach/hurd/fsync.c: Likewise.
40964         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
40965         [_POSIX_REALTIME_SIGNALS]: Change condition to
40966         [_POSIX_REALTIME_SIGNALS > 0].
40968 2012-10-27  Andreas Jaeger  <aj@suse.de>
40970         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
40971         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
40972         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
40973         [__WORDSIZE != 64]: Likewise.
40975 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
40977         *  iconvdata/tst-table.sh: Remove ${SHELL}.
40978         *  iconvdata/tst-tables.sh: Likewise.
40980 2012-10-25  David S. Miller  <davem@davemloft.net>
40982         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40983         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
40984         of strtoull.
40986         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
40987         ifunc-impl-list.c
40988         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40989         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
40990         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
40991         file.
40993 2012-10-25  Roland McGrath  <roland@hack.frob.com>
40995         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40996         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
40997         __getdirentries.
40999 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
41000             Jim Blandy  <jimb@codesourcery.com>
41002         * scripts/cross-test-ssh.sh: New file.
41003         * manual/install.texi (Configuring and compiling): Document use of
41004         cross-test-ssh.sh.
41005         * INSTALL: Regenerated.
41007 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
41009         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
41010         EOPNOTSUPP.
41012 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
41014         * Makeconfig (run-program-prefix): Fix comment.
41016 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
41017             Jim Blandy  <jimb@codesourcery.com>
41019         * Makeconfig (test-wrapper): New variable,
41020         (test-wrapper-env): Likewise.
41021         [$(cross-compiling) = yes && $(test-wrapper) != ""]
41022         (run-built-tests): Define to yes.
41023         (run-program-prefix): Use $(test-wrapper).
41024         (built-program-cmd): Likewise.
41025         * Rules (make-test-out): Use $(test-wrapper-env) and
41026         $(host-built-program-cmd).
41027         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
41028         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
41029         tst-pathopt.sh.
41030         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
41031         $(test-wrapper-env) to tst-rtld-load-self.sh.
41032         ($(objpfx)order2.out): Use $(test-wrapper).
41033         ($(objpfx)tst-initorder.out): Likewise.
41034         ($(objpfx)tst-initorder2.out): Likewise.
41035         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
41036         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
41037         (test_wrapper_env): New variable.  Use it to run ld.so.
41038         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
41039         Use it to run ld.so.
41040         (test_wrapper_env): Likewise.
41041         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
41042         $(test-wrapper) to run-iconv-test.sh.
41043         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
41044         (ICONV): Use $test_wrapper.
41045         * posix/Makefile ($(objpfx)globtest.out): Pass
41046         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
41047         globtest.sh, not $(run-program-prefix).
41048         * posix/globtest.sh (run_via_rtld_prefix): New variable.
41049         (test_wrapper): Likewise.
41050         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
41051         set together with run_via_rtld_prefix.
41052         (run_program_prefix): Define in terms of test_wrapper and
41053         run_via_rtld_prefix.
41055 2012-10-24  Roland McGrath  <roland@hack.frob.com>
41057         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
41058         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
41059         Targets removed.
41061         [BZ #14743]
41062         * include/time.h: Remove librt_hidden_proto (clock_gettime).
41063         Declare __clock_getres, __clock_gettime, __clock_settime,
41064         __clock_nanosleep, and __clock_getcpuclockid.
41065         * rt/clock_gettime.c: Define __clock_gettime as an alias.
41066         Remove librt_hidden_def (clock_gettime).
41067         * sysdeps/unix/clock_gettime.c: Likewise.
41068         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
41069         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
41070         * rt/clock_getres.c: Define __clock_getres as an alias.
41071         * sysdeps/posix/clock_getres.c: Likewise.
41072         * rt/clock_settime.c: Define __clock_settime as an alias.
41073         * sysdeps/unix/clock_settime.c: Likewise.
41074         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
41075         * sysdeps/unix/clock_nanosleep.c: Likewise.
41076         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
41077         * rt/clock-compat.c: New file.
41078         * rt/Makefile (librt-routines): Add clock-compat and move
41079         $(clock-routines) to ...
41080         (routines): ... here, new variable.
41081         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
41082         Don't add get_clockfreq here.
41083         * rt/Versions (libc: GLIBC_2.17): New version set.
41084         Add clock_* symbols here.
41085         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
41086         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
41087         (GLIBC_2.17): Add clock_* symbols.
41088         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
41089         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
41090         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
41091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41092         Likewise.
41093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41094         Likewise.
41095         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
41096         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
41097         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
41098         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
41099         * NEWS: Mention the move.
41101         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
41102         Use __open, __read, __close rather than their public counterparts.
41103         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41104         (__get_clockfreq_via_cpuinfo): Likewise.
41105         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
41106         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
41108         * config.h.in (HAVE_IFUNC): New #undef.
41109         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
41110         was successful.
41111         * configure: Regenerated.
41113 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
41115         * configure.in: Move READELF check to start of file.
41116         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
41117         libc_cv_asm_gnu_indirect_function in the process.
41118         * configure: Regenerated.
41120 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
41122         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
41123         send the output to /dev/null.
41124         (libc_cv_cc_with_libunwind): Likewise.
41125         (libc_cv_as_noexecstack): Likewise.
41126         * configure: Regenerate.
41128 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
41130         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
41132         * posix/globtest.sh (TMPDIR): Do not set.
41133         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
41134         (testout): Likewise.
41136 2012-10-24  Andreas Jaeger  <aj@suse.de>
41138         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
41139         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
41140         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
41141         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
41142         posix_fadvise64, posix_fallocate64.
41144         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
41145         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
41146         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
41147         Likewise.
41148         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
41149         Likewise.
41150         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
41152         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
41153         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
41154         <bits/fcntl-linux.h>.
41155         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
41157         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
41158         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
41159         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
41160         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
41161         [__WORDSIZE != 64]: Likewise.
41163 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
41165         * Makeconfig (run-built-tests): New variable.
41166         * Rules [$(cross-compiling) = yes]: Change condition to
41167         [$(run-built-tests) = no].
41168         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
41169         to [$(run-built-tests) = yes].
41170         * elf/Makefile [$(cross-compiling) = no]: Likewise
41171         * grp/Makefile [$(cross-compiling) = no]: Likewise.
41172         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
41173         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
41174         * intl/Makefile [$(cross-compiling) = no]: Likewise.
41175         * io/Makefile [$(cross-compiling) = no]: Likewise.
41176         * libio/Makefile [$(cross-compiling) = no]: Likewise.
41177         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
41178         * misc/Makefile [$(cross-compiling) = no]: Likewise.
41179         * posix/Makefile [$(cross-compiling) = no]: Likewise.
41180         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
41181         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
41182         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
41183         * string/Makefile [$(cross-compiling) = no]: Likewise.
41185         * posix/Makefile ($(objpfx)globtest.out): Pass
41186         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
41187         $(rtld-installed-name).
41188         * posix/globtest.sh (elf_objpfx): Remove variable.
41189         (rtld_installed_name): Likewise.
41190         (library_path): Likewise.
41191         (run_program_prefix): New variable.  Use for running globtest
41192         binary.
41194 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
41195             Joseph Myers  <joseph@codesourcery.com>
41197         * Makeconfig (host-built-program-cmd): New variable.
41198         * elf/Makefile (tst-stackguard1-ARGS): Use
41199         $(host-built-program-cmd).
41200         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
41201         (tst-spawn-ARGS): Likewise.
41202         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
41204 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
41205             Jim Blandy  <jimb@codesourcery.com>
41207         * Makeconfig (run-via-rtld-prefix): New variable.
41208         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
41209         (built-program-cmd): Likewise.
41211 2012-10-22  Andreas Jaeger  <aj@suse.de>
41213         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
41214         __O_RSYNC if it exists, otherwise to O_SYNC.
41216 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
41217             Joseph Myers  <joseph@codesourcery.com>
41219         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
41220         /dev/null.
41221         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
41222         from /dev/null
41223         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
41224         /dev/null.
41226 2012-10-22  Andreas Jaeger  <aj@suse.de>
41228         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
41229         Define always.
41230         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
41232         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41233         bits/fcntl-linux.h.
41235         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
41236         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
41238         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
41239         to __O_LARGEFILE.
41240         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
41241         to __O_LARGEFILE.
41243 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
41244             Joseph Myers  <joseph@codesourcery.com>
41246         * config.make.in (NM): New variable.
41248 2012-10-21  Andreas Jaeger  <aj@suse.de>
41250         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
41251         definitions and declarations that are provided by
41252         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
41254 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
41256         [BZ #14683]
41257         * elf/Makefile (tests-static): Add tst-leaks1-static.
41258         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
41259         ($(objpfx)tst-leaks1-static): New rule.
41260         ($(objpfx)tst-leaks1-static-mem): Likewise.
41261         (tst-leaks1-static-ENV): New macro.
41262         * elf/dl-open.c (dl_open_worker): Check the main application
41263         only if SHARED is defined.
41264         * elf/tst-leaks1-static.c: New file.
41266 2012-10-20  Andreas Jaeger  <aj@suse.de>
41268         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
41269         generic values for Linux.
41270         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
41271         and declarations that are provided by <bits/fcntl-linux.h> and
41272         include <bits/fcntl-linux.h>.
41273         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41274         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41276 2012-10-20  Roland McGrath  <roland@hack.frob.com>
41278         * io/fcntl.h: Move include of <bits/types.h> to the top and
41279         include it unconditionally.
41281 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
41283         * wcsmbs/Makefile (tests-ifunc): New variable.
41284         (tests): Add $(tests-ifunc).
41285         * wcsmbs/test-wcschr-ifunc.c: New file.
41286         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
41287         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
41288         * wcsmbs/test-wcslen-ifunc.c: Likewise.
41289         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
41290         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
41292         * string/Makefile (tests-ifunc): New variable.
41293         (tests): Add $(tests-ifunc).
41294         * string/test-memccpy.c (TEST_NAME): New macro.
41295         * string/test-memchr.c (TEST_NAME): Likewise.
41296         * string/test-memcmp.c (TEST_NAME): Likewise.
41297         * string/test-memcpy.c (TEST_NAME): Likewise.
41298         * string/test-memmem.c (TEST_NAME): Likewise.
41299         * string/test-memmove.c (TEST_NAME): Likewise.
41300         * string/test-memset.c (TEST_NAME): Likewise.
41301         * string/test-rawmemchr.c (TEST_NAME): Likewise.
41302         * string/test-stpcpy.c (TEST_NAME): Likewise.
41303         * string/test-stpncpy.c (TEST_NAME): Likewise.
41304         * string/test-strcasecmp.c (TEST_NAME): Likewise.
41305         * string/test-strcasestr.c (TEST_NAME): Likewise.
41306         * string/test-strcat.c (TEST_NAME): Likewise.
41307         * string/test-strchr.c (TEST_NAME): Likewise.
41308         * string/test-strcmp.c(TEST_NAME): Likewise.
41309         * string/test-strcpy.c (TEST_NAME): Likewise.
41310         * string/test-strcspn.c (TEST_NAME): Likewise.
41311         * string/test-strlen.c (TEST_NAME): Likewise.
41312         * string/test-strncasecmp.c (TEST_NAME): Likewise.
41313         * string/test-strncmp.c (TEST_NAME): Likewise.
41314         * string/test-strncpy.c (TEST_NAME): Likewise.
41315         * string/test-strnlen.c (TEST_NAME): Likewise.
41316         * string/test-strpbrk.c (TEST_NAME): Likewise.
41317         * string/test-strrchr.c (TEST_NAME): Likewise.
41318         * string/test-strspn.c (TEST_NAME): Likewise.
41319         * string/test-strstr.c (TEST_NAME): Likewise.
41320         * string/test-bcopy-ifunc.c: New file.
41321         * string/test-bzero-ifunc.c: Likewise.
41322         * string/test-memccpy-ifunc.c: Likewise.
41323         * string/test-memchr-ifunc.c: Likewise.
41324         * string/test-memcmp-ifunc.c: Likewise.
41325         * string/test-memcpy-ifunc.c: Likewise.
41326         * string/test-memmem-ifunc.c: Likewise.
41327         * string/test-memmove-ifunc.c: Likewise.
41328         * string/test-mempcpy-ifunc.c: Likewise.
41329         * string/test-memset-ifunc.c: Likewise.
41330         * string/test-rawmemchr-ifunc.c: Likewise.
41331         * string/test-stpcpy-ifunc.c: Likewise.
41332         * string/test-stpncpy-ifunc.c: Likewise.
41333         * string/test-strcasecmp-ifunc.c: Likewise.
41334         * string/test-strcasestr-ifunc.c: Likewise.
41335         * string/test-strcat-ifunc.c: Likewise.
41336         * string/test-strchr-ifunc.c: Likewise.
41337         * string/test-strchrnul-ifunc.c: Likewise.
41338         * string/test-strcmp-ifunc.c: Likewise.
41339         * string/test-strcpy-ifunc.c: Likewise.
41340         * string/test-strcspn-ifunc.c: Likewise.
41341         * string/test-strlen-ifunc.c: Likewise.
41342         * string/test-strncasecmp-ifunc.c: Likewise.
41343         * string/test-strncat-ifunc.c: Likewise.
41344         * string/test-strncmp-ifunc.c: Likewise.
41345         * string/test-strncpy-ifunc.c: Likewise.
41346         * string/test-strnlen-ifunc.c: Likewise.
41347         * string/test-strpbrk-ifunc.c: Likewise.
41348         * string/test-strrchr-ifunc.c: Likewise.
41349         * string/test-strspn-ifunc.c: Likewise.
41350         * string/test-strstr-ifunc.c: Likewise.
41352         * debug/Makefile (tests-ifunc): New variable.
41353         (tests): Add $(tests-ifunc).
41354         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
41355         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
41356         * debug/test-stpcpy_chk-ifunc.c: New file.
41357         * debug/test-strcpy_chk-ifunc.c: Likewise.
41359 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
41361         [BZ #13601]
41362         * elf/dl-load.c (open_verify): Retry read if the entire ELF
41363         header is not read in.
41365 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
41367         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
41368         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
41369         directly.  Pass built executable to script as
41370         $(built-program-cmd).
41371         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
41372         $testprogram without using LD_LIBRARY_PATH and $ldso.
41374         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
41375         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
41376         $(rtld-installed-name).
41377         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
41378         (rtld_installed_name): Likewise.
41379         (library_path): Likewise.
41380         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
41381         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
41382         $(run-program-prefix) to tst-tables.sh.
41383         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
41384         it to run tst-table-from and tst-table-to.
41385         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
41386         Pass it to tst-table.sh.
41387         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
41388         $(run-program-prefix) to tst-gettext.sh.
41389         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
41390         tst-translit.sh.
41391         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
41392         tst-gettext2.sh.
41393         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
41394         to run tst-gettext.
41395         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
41396         to run tst-gettext2.
41397         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
41398         to run tst-translit.
41399         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
41400         $(run-program-prefix) to tst-mtrace.sh.
41401         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
41402         to run tst-mtrace.
41403         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
41404         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
41405         $(rtld-installed-name).
41406         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
41407         (rtld_installed_name): Likewise.
41408         (run_program_prefix): New variable.  Use it to run wordexp-test.
41410         * Makeconfig (ARCH): Remove all definitions.
41411         (machine): Likewise.
41412         [ARCH]: Remove conditional code.
41413         [!objdir]: Give error.
41414         [!objdir] (objpfx): Remove.
41415         [!objdir] (common-objpfx): Likewise.
41416         [!objdir] (common-objdir): Likewise.
41417         * configure.in (config_makefile): Remove.  Hardcode Makefile in
41418         AC_CONFIG_FILES call.
41419         * configure: Regenerated.
41421         [BZ #13888]
41422         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
41423         or TMPDIR.
41424         (testout): Likewise.
41426         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
41427         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
41428         $(rtld-installed-name).
41429         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
41430         (rtld_installed_name): Likwise.
41431         (runit): Remove function.
41432         (run_getconf): New variable,  Use it for running getconf binary.
41434 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
41436         [BZ #14716]
41437         * string/test-memmem.c (check_result): New function.
41438         (do_one_test): Use it.
41439         (check1): New function.
41440         (test_main): Use it.
41442 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
41444         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
41446 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
41448         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
41449         (_G_LSEEK64): Likewise.
41450         (_G_MMAP64): Likewise.
41451         (_G_FSTAT64): Likewise.
41452         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
41453         (_G_LSEEK64): Likewise.
41454         (_G_MMAP64): Likewise.
41455         (_G_FSTAT64): Likewise.
41456         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
41457         unconditional.  Call __mmap64 directly.
41458         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
41459         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
41460         __lseek64 directly.
41461         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
41462         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
41463         __mmap64 directly.
41464         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
41465         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
41466         __lseek64 directly.
41467         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
41468         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
41469         __lseek64 directly.
41470         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
41471         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
41472         __lseek64 directly.
41473         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
41474         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
41475         __fxstat64 directly.
41476         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
41477         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
41478         unconditional.
41479         (freopen64) [!_G_OPEN64]: Remove conditional code.
41480         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
41481         unconditional.
41482         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
41483         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
41484         unconditional.
41485         (ftello64) [!_G_LSEEK64]: Remove conditional code.
41486         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
41487         unconditional.
41488         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
41489         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
41490         unconditional.
41491         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
41492         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
41493         unconditional.
41494         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
41495         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
41496         unconditional.
41497         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
41498         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
41499         unconditional.
41500         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
41502 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
41504         [BZ #12140]
41505         * manual/memory.texi (Malloc Tunable Parameters): Add note
41506         about free list pointers overwriting some perturb bytes.
41507         Wording suggested by Roland McGrath.
41509 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
41511         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
41512         (lgamma_test): Likewise.
41513         (tgamma_test): Likewise.
41515 2012-10-16  Florian Weimer  <fweimer@redhat.com>
41517         [BZ #14700]
41518         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
41519         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
41521 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
41523         * NEWS: Mention BZ #14716.
41524         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
41525         when removing AVAILABLE1_USES_J macro.
41527 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
41529         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
41530         (__bswap_64): __uint64_t for unsigned 64-bit int.
41532 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
41534         * include/string.h (memmem): Declare libc hidden alias.
41535         * string/memmem.c (memmem): Define libc hidden alias.
41536         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
41537         __read, __close instead of open, read, close.
41539 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
41541         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
41542         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
41543         global and hidden.
41544         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
41545         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
41546         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
41547         Likewise.
41548         (__rawmemchr_sse2): Likewise.
41549         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
41550         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
41551         (__strchr_sse2): Likewise.
41552         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
41553         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
41554         (__strcasecmp_sse2): Likewise.
41555         (__strncasecmp_sse2): Likewise.
41556         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
41557         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
41558         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
41559         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
41560         (__strrchr_sse2): Likewise.
41561         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
41562         ifunc-impl-list.c.
41563         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
41564         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
41565         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
41566         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41567         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
41568         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
41569         * sysdeps/x86_64/multiarch/memset.S: Likewise.
41570         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41571         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
41572         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
41573         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
41574         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
41575         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
41576         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
41577         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
41578         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
41579         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
41580         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
41581         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
41582         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
41583         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
41584         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
41585         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
41586         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
41587         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
41588         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41589         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
41590         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
41591         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
41592         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
41594         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
41595         global and hidden.
41596         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
41597         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
41598         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
41599         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
41600         Likewise.
41601         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
41602         Likewise.
41603         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
41604         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
41605         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
41606         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
41607         ifunc-impl-list.c.
41608         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41609         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41610         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41611         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41612         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41613         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41614         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41615         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41616         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41617         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41618         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41619         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41620         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41621         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
41622         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
41623         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41624         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
41625         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
41626         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41627         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41628         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41629         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41630         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41631         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41632         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41633         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
41634         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
41635         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
41636         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
41637         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41638         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
41639         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41640         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41641         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
41642         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41643         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41644         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41645         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41646         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41647         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41648         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
41650         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
41651         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
41652         * include/ifunc-impl-list.h: New file.
41653         * misc/ifunc-impl-list.c: Likewise.
41654         * misc/Makefile (routines): Add ifunc-impl-list.
41655         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
41656         * string/test-string.h: Include <ifunc-impl-list.h>.
41657         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
41658         TEST_NAME]: New variables.
41659         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
41660         are defined.
41661         (test_init): Call __libc_ifunc_impl_list to initialize
41662         func_list if TEST_IFUNC and TEST_NAME are defined.
41664         * string/Makefile (strop-tests): Add bcopy and bzero.
41665         * string/test-bcopy.c: New file.
41666         * string/test-bzero.c: Likewise.
41667         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
41668         defined.
41669         * string/test-memset.c: Support bzero test if TEST_BZERO is
41670         defined.
41671         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
41672         __libc_memmove.
41673         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
41674         __libc_memset.
41675         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
41676         of memset.
41678 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
41680         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
41681         * configure: Regenerated.
41683         * Makeconfig (+link-static-before-libc): Don't include
41684         $(link-static-libc).
41686         * libio/libio.h (_IO_pos_t): Remove.
41688 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
41690         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
41691         McGrath.
41693 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
41695         * crypt/crypt-entry.c: Include fips-private.h.
41696         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
41697         * crypt/md5c-test.c (main): Tolerate disabled MD5.
41698         * sysdeps/unix/sysv/linux/fips-private.h: New file.
41699         * sysdeps/generic/fips-private.h: New file, dummy fallback.
41701 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
41703         * crypt/crypt-private.h: Include stdbool.h.
41704         (_ufc_setup_salt_r): Return bool.
41705         * crypt/crypt-entry.c: Include errno.h.
41706         (__crypt_r): Return NULL with EINVAL for bad salt.
41707         * crypt/crypt_util.c (bad_for_salt): New.
41708         (_ufc_setup_salt_r): Check that salt is long enough and within
41709         the specified alphabet.
41710         * crypt/badsalttest.c: New file.
41711         * crypt/Makefile (tests): Add it.
41712         ($(objpfx)badsalttest): New.
41714 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
41716         * NEWS: Add entry for BZ #14602.
41718 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
41720         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
41721         type-generic.
41722         * math/libm-test.inc: Update comment listing what functions and
41723         macros are tested.
41724         (isgreater_test): New function.
41725         (isgreaterequal_test): Likewise.
41726         (isless_test): Likewise.
41727         (islessequal_test): Likewise.
41728         (islessgreater_test): Likewise.
41729         (isunordered_test): Likewise.
41730         (main): Call the new functions.
41732 2012-10-09  Roland McGrath  <roland@hack.frob.com>
41734         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
41735         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
41736         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
41737         * sysdeps/i386/configure: Regenerated.
41738         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
41739         * sysdeps/mach/configure: Regenerated.
41740         * sysdeps/mach/hurd/configure: Regenerated.
41741         * sysdeps/powerpc/configure: Regenerated.
41742         * sysdeps/powerpc/powerpc32/configure: Regenerated.
41743         * sysdeps/powerpc/powerpc64/configure: Regenerated.
41744         * sysdeps/s390/s390-32/configure: Regenerated.
41745         * sysdeps/s390/s390-64/configure: Regenerated.
41746         * sysdeps/sh/configure: Regenerated.
41747         * sysdeps/sparc/configure: Regenerated.
41748         * sysdeps/unix/sysv/linux/configure: Regenerated.
41749         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
41750         * sysdeps/x86_64/configure: Regenerated.
41752         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
41753         defined.  Don't check if MAP is NULL.
41755 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
41757         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
41758         (_G_stat64): Likewise.
41759         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
41760         (_G_stat64): Likewise.
41761         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
41762         instead of struct _G_stat64.
41763         * libio/fileops.c (mmap_remap_check): Likewise.
41764         (decide_maybe_mmap): Likewise.
41765         (_IO_new_file_seekoff): Likewise.
41766         (_IO_file_stat): Likewise.
41767         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
41768         _G_off64_t.
41769         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
41770         instead of struct _G_stat64.
41771         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
41773 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
41775         [BZ #14602]
41776         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41777         Replace with ...
41778         (CHECK_EOL): New macro.
41779         (two_way_short_needle): Check beginning of haystack for EOL.  Use
41780         CHECK_EOL.
41781         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41782         Replace with CHECK_EOL.
41783         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41784         Replace with CHECK_EOL.
41786 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
41788         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
41789         type-generic.
41790         * math/libm-test.inc: Update comment listing what functions and
41791         macros are tested.
41792         (finite_test): New function.
41793         (isinf_test): Likewise.
41794         (isnan_test): Likewise.
41795         (fpclassify_test): Test subnormal input.
41796         (isfinite_test): Likewise.
41797         (isnormal_test): Likewise.
41798         (main): Call the new functions.
41800 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
41802         [BZ #14660]
41803         * Makerules (%.dynsym): Force C locale when running
41804         $(OBJDUMP) --dynamic-syms.
41806 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
41808         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
41809         <stdint.h>.
41811 2012-10-06  David S. Miller  <davem@davemloft.net>
41813         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
41814         upper 32-bits of the length value in %o2 since we use branch-on-register
41815         tests which consider the entire 64-bit register.
41817 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
41819         * string/test-strstr.c (check2): Add a test for page boundary.
41821 2012-10-05  David S. Miller  <davem@davemloft.net>
41823         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
41824         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
41825         file.
41826         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
41827         sysdep_routines.
41828         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
41829         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
41830         and bzero when HWCAP_SPARC_CRYPTO is present.
41832 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
41834         [BZ #14602]
41835         * string/test-strstr.c (check2): New function.
41836         (test_main): Call check2.
41838         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
41839         and bug-strchr1.
41840         * string/bug-strcasestr1.c (do_test): Moved to ...
41841         * string/test-strcasestr.c (check1): Here.  New function.
41842         (do_one_test): Break out result checking code into ...
41843         (check_result): This.  New function.
41844         (do_one_test): Call check_result.
41845         (test_main): Call check1.
41846         * string/bug-strchr1.c (do_test): Moved to ...
41847         * string/test-strchr.c (check1): Here.  New function.
41848         (do_one_test): Break out result checking code into ...
41849         (check_result): This.  New function.
41850         (do_one_test): Call check_result.
41851         (test_main): Call check1.
41852         * string/bug-strstr1.c (main): Moved to ...
41853         * string/test-strstr.c (check1): Here.  New function.
41854         (do_one_test): Break out result checking code into ...
41855         (check_result): This.  New function.
41856         (do_one_test): Call check_result.
41857         (test_main): Call check1.
41858         * string/bug-strcasestr1.c: Removed.
41859         * string/bug-strchr1.c: Likewise.
41860         * string/bug-strstr1.c: Likewise.
41862         * elf/Makefile (dl-routines): Add hwcaps.
41863         * elf/dl-support.c (_dl_important_hwcaps): Removed.
41864         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
41865         (_dl_important_hwcaps): Moved to ...
41866         * elf/dl-hwcaps.c: Here.  New file.
41867         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
41869         [BZ #14557]
41870         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
41871         if IS_IN_rtld isn't defined.
41873         * elf/dl-support.c (_dl_sysinfo_map): New.
41874         Include "get-dynamic-info.h" and "setup-vdso.h".
41875         (_dl_non_dynamic_init): Call setup_vdso.
41876         * elf/dynamic-link.h: Don't include <assert.h>.
41877         (elf_get_dynamic_info): Moved to ...
41878         * elf/get-dynamic-info.h: Here.  New file.
41879         * elf/dynamic-link.h: Include "get-dynamic-info.h".
41880         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
41881         * elf/setup-vdso.h: Here.  New file.
41882         * elf/rtld.c: Include "setup-vdso.h".
41883         (dl_main): Call setup_vdso.
41885 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
41887         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
41888         creal in comment listing functions tested.  List finite, isinf,
41889         isnan, isless, islessequal, isgreater, isgreaterequal,
41890         islessgreater, isunordered, lgamma_r and pow10 as functions and
41891         macros not tested.  Mention which functions not tested are aliases
41892         for other functions.  Fix typo.  Note that signs of NaNs are not
41893         tested.
41895         * scripts/config.guess: Update from config.git.
41896         * scripts/config.sub: Likewise.
41898 2012-10-04  Roland McGrath  <roland@hack.frob.com>
41900         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
41901         * misc/madvise.c (madvise): Renamed to __madvise.
41902         Make madvise a weak alias.
41903         * include/sys/mman.h: Declare __madvise.
41904         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
41905         * sysdeps/unix/syscalls.list
41906         (madvise): Make __madvise the strong name, and madvise a weak alias.
41907         * sysdeps/unix/sysv/linux/syscalls.list
41908         (madvise, mmap): Remove redundant entries.
41909         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
41910         * malloc/malloc.c (mtrim): Likewise.
41911         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
41913 2012-10-03  Roland McGrath  <roland@hack.frob.com>
41915         * sysdeps/mach/hurd/dl-cache.c: File removed.
41916         * config.h.in (USE_LDCONFIG): New #undef.
41917         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
41918         * configure: Regenerated.
41919         * elf/Makefile (dl-routines): Add dl-cache only under
41920         [$(use-ldconfig) = yes].
41921         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
41922         cache on [USE_LDCONFIG].
41923         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
41924         [USE_LDCONFIG].
41925         * elf/rtld.c (dl_main): Likewise.
41927 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
41929         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
41930         _SC_LEVEL4_CACHE_LINESIZE.
41932 2012-10-03  Roland McGrath  <roland@hack.frob.com>
41934         * sysdeps/unix/bsd/confstr.h: File removed.
41936 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
41938         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
41939         sys/sdt-config.h.
41941 2012-10-02  Roland McGrath  <roland@hack.frob.com>
41943         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
41944         Make 'mapoff' field ElfW(Off) rather than off_t.
41946 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
41948         * nscd/Makefile: Remove nscd-cflags and all its users.
41949         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
41950         (CFLAGS-nonlib): Add compiler flags for nscd modules.
41952         [BZ #10631]
41953         * malloc.c (malloc_printerr): Clarify error message.
41955 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
41957         [BZ #14648]
41958         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41959         Set bit_FMA_Usable if FMA is supported.
41960         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
41961         macro.
41962         (bit_FMA4_Usable): Updated.
41963         (index_FMA_Usable): New macro.
41964         (CPUID_FMA): Likewise
41965         (HAS_FMA): Defined with bit_FMA_Usable.
41967 2012-10-01  Roland McGrath  <roland@hack.frob.com>
41969         * bits/types.h (__swblk_t): Type removed.
41970         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
41971         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
41972         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41973         (__SWBLK_T_TYPE): Likewise.
41974         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
41975         (__SWBLK_T_TYPE): Likewise.
41976         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41977         (__SWBLK_T_TYPE): Likewise.
41978         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41979         (__SWBLK_T_TYPE): Likewise.
41981 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
41982             Honza Horak <hhorak@redhat.com>
41984         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
41985         (xdr_mapname): Use YPMAXMAP as maxsize.
41986         (xdr_peername): Use YPMAXPEER as maxsize.
41987         (xdr_keydat): Use YPAXRECORD as maxsize.
41988         (xdr_valdat): Use YPMAXRECORD as maxsize.
41990 2012-10-01  Roland McGrath  <roland@hack.frob.com>
41992         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
41994         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
41995         * csu/init-first.c: ... here.
41996         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
41997         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
41998         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
41999         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
42000         * sysdeps/i386/init-first.c: File removed.
42001         * sysdeps/sh/init-first.c: File removed.
42003 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
42005         [BZ #14645]
42006         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
42007         if x * y might underflow to zero and z is zero.
42008         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42009         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42010         * math/libm-test.inc (min_subnorm_value): New variable.
42011         (fma_test): Add more tests.
42012         (fma_test_towardzero): Likewise.
42013         (fma_test_downward): Likewise
42014         (fma_test_upward): Likewise.
42015         (initialize): Set min_subnorm_value.
42017 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
42019         [BZ #14638]
42020         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
42021         0 + 0.
42022         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
42023         mode for addition resulting in exact zero.
42024         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
42025         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
42026         exact 0 + 0.
42027         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42028         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42029         * math/libm-test.inc (fma_test): Add more tests.
42030         (fma_test_towardzero): New function.
42031         (fma_test_downward): Likewise.
42032         (fma_test_upward): Likewise.
42033         (main): Call the new functions.
42035 2012-09-28  David S. Miller  <davem@davemloft.net>
42037         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
42039 2012-09-28  Roland McGrath  <roland@hack.frob.com>
42041         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
42042         instead of SIGALRM.
42044         * sysdeps/gnu/_G_config.h: Moved to ...
42045         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
42046         * sysdeps/mach/hurd/_G_config.h: Moved to ...
42047         * sysdeps/generic/_G_config.h: ... here.
42049         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
42051         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
42053         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
42054         Conditionalize target on [libnss_test1.so-version].
42056         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
42058         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
42059         (elfobjdir): Move out of conditionals.
42061         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
42062         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
42063         (__nss_lookup_function): Conditionalize label remove_from_tree on
42064         [!DO_STATIC_NSS || SHARED], matching its only use.
42066 2012-09-28  David S. Miller  <davem@davemloft.net>
42068         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
42069         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
42070         file.
42071         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
42072         sysdep_routines.
42073         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
42074         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
42075         when HWCAP_SPARC_CRYPTO is present.
42077 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
42079         * io/tst-mknodat.c: Create a FIFO instead of a socket.
42081 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
42083         [BZ #6530]
42084         * stdio-common/vfprintf.c (process_string_arg): Revert
42085         2000-07-22 change.
42087 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
42089         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
42090         for testcase.
42091         * stdio-common/tst-sprintf.c: Include <locale.h>
42092         (main): Test sprintf's handling of incomplete multibyte
42093         characters.
42095 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
42097         * elf/dl-runtime.c (VERSYMIDX): Removed.
42098         * elf/dl-version.c (VERSYMIDX): Likewise.
42099         * elf/do-rel.h (VERSYMIDX): Likewise.
42100         (VALIDX): Likewise.
42101         * elf/dynamic-link.h (VERSYMIDX): Likewise.
42102         * elf/rtld.c (VALIDX): Likewise.
42103         (ADDRIDX): Likewise.
42104         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
42105         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
42106         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
42107         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
42108         (VALIDX): Likewise.
42109         (ADDRIDX): Likewise.
42111 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
42113         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
42115 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
42117         [BZ #11438]
42118         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
42119         to global scope.
42120         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
42121         addresses are in the same scope as 192.0.2/24.
42122         * posix/gai.conf: Document new scope table defaults.
42124 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42126         [BZ #5298]
42127         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
42128         for ftell.  Compute offsets from write pointers instead.
42129         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
42131 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42133         [BZ #14543]
42134         * libio/Makefile (tests): New test case tst-fseek.
42135         * libio/tst-fseek.c: New test case to verify that fseek/ftell
42136         combination works in wide mode.
42137         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
42138         state when the external buffer state changes.
42140 2012-09-27  David S. Miller  <davem@davemloft.net>
42142         [BZ #14376]
42143         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
42144         pass reloc->r_addend in as the 'high' argument to
42145         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
42147         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42149 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
42151         * rt/tst-aio2.c: Include <pthread.h>.
42152         * rt/tst-aio3.c: Likewise.
42154 2012-09-27  Steve Ellcey  <sellcey@mips.com>
42156         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
42158 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
42160         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
42161         contents on [SHARED].
42163 2012-09-26  Marek Polacek  <polacek@redhat.com>
42165         [BZ #14530]
42166         [BZ #13741]
42167         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
42168         for C++ and GCC <4.3 as well as for non GCC compilers.
42170 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
42172         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42174 2012-09-25  Roland McGrath  <roland@hack.frob.com>
42176         * Makefile.in (all, install): Declare with .PHONY.
42177         Reported by Michael Hope <michael.hope@linaro.org>.
42179 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42181         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
42182         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
42183         system header.
42184         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
42185         Likewise.
42186         (sydep_routines): Add the new and the internal functions.
42187         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
42188         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
42189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
42190         (GLIBC_2.17): Add the new function.
42191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
42192         (GLIBC_2.17): Likewise.
42193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
42194         (GLIBC_2.17): Likewise.
42195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
42196         (GLIBC_2.17): Likewise.
42197         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
42199 2012-09-25  Alan Modra  <amodra@gmail.com>
42201         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
42202         Add release barrier before setting once_control to say
42203         initialisation is done.  Add hints on lwarx.  Use macro in
42204         place of isync.
42205         (clear_once_control): Add release barrier.
42207 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
42209         [BZ #13629]
42210         * math/s_clog.c (__clog): Handle more values close to |z| = 1
42211         specially.
42212         * math/s_clog10.c (__clog10): Likewise.
42213         * math/s_clog10f.c (__clog10f): Likewise.
42214         * math/s_clog10l.c (__clog10l): Likewise.
42215         * math/s_clogf.c (__clogf): Likewise.
42216         * math/s_clogl.c (__clogl): Likewise.
42217         * math/Makefile (libm-calls): Add x2y2m1.
42218         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
42219         (__x2y2m1): Likewise.
42220         (__x2y2m1l): Likewise.
42221         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
42222         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
42223         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
42224         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
42225         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
42226         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
42227         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
42228         * sysdeps/i386/fpu/libm-test-ulps: Update.
42229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42231         [BZ #14621]
42232         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
42233         int as type of variable DEPTH.
42234         (glob): Use size_t instead of int as type of variables NEWCOUNT
42235         and OLD_PATHC.
42237 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42239         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
42240         Add s_sincosf-sse2.
42241         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
42242         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
42243         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
42244         macros for using routine as __sincosf_ia32.
42245         Use macro for function declaration and weak_alias.
42246         * sysdeps/i386/fpu/libm-test-ulps: Update.
42248         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
42249         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42251         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
42252         subnormal argument.
42253         * math/s_cexpf.c (__cexpf): Likewise.
42254         * math/s_csinf.c (__csinf): Likewise.
42255         * math/s_csinhf.c (__csinhf): Likewise.
42256         * math/s_ctanf.c (__ctanf): Likewise.
42257         * math/s_ctanhf.c (__ctanhf): Likewise.
42258         * math/s_ccosh.c (__ccoshf): Likewise.
42259         * math/s_cexp.c (__cexpl): Likewise.
42260         * math/s_csin.c (__csin): Likewise.
42261         * math/s_csinh.c (__csinh): Likewise.
42262         * math/s_ctan.c (__ctan): Likewise.
42263         * math/s_ctanh.c (ctanh): Likewise.
42264         * math/s_ccoshl.c (__ccoshl): Likewise.
42265         * math/s_cexpl.c (__cexpl): Likewise.
42266         * math/s_csinl.c (__csinl): Likewise.
42267         * math/s_csinhl.c (__csinhl): Likewise.
42268         * math/s_ctanl.c (__ctanl): Likewise.
42269         * math/s_ctanhl.c (__ctanhl): Likewise.
42271 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
42273         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
42274         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
42275         (_IO_off_t): Define to __off_t, not _G_off_t.
42276         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
42277         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
42278         (_IO_wint_t): Define to wint_t, not _G_wint_t.
42279         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
42280         type of __dummy and __dummy2 fields.
42281         * sysdeps/generic/_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.
42288         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
42289         (_G_ssize_t): Likewise.
42290         (_G_off_t): Likewise.
42291         (_G_pid_t): Likewise.
42292         (_G_uid_t): Likewise.
42293         (_G_wchar_t): Likewise.
42294         (_G_wint_t): Likewise.
42295         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
42296         (_G_ssize_t): Likewise.
42297         (_G_off_t): Likewise.
42298         (_G_pid_t): Likewise.
42299         (_G_uid_t): Likewise.
42300         (_G_wchar_t): Likewise.
42301         (_G_wint_t): Likewise.
42303 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42305         * malloc/arena.c: Include malloc-sysdep.h.
42306         (shrink_heap): Use check_may_shrink_heap to decide if madvise
42307         is sufficient to shrink the heap or an unmap is needed.
42308         * sysdeps/generic/malloc-sysdep.h: New file.  Define
42309         new function check_may_shrink_heap.
42310         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
42311         new function check_may_shrink_heap.
42313 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42315         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
42316         comments.
42318 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
42320         * catgets/test-gencat.sh: Add "set -e".
42321         * elf/tst-pathopt.sh: Likewise.
42322         * grp/tst_fgetgrent.sh: Likewise.
42323         * iconvdata/run-iconv-test.sh: Likewise.
42324         * intl/tst-gettext.sh: Likewise.
42325         * intl/tst-gettext2.sh: Likewise.
42326         * intl/tst-gettext4.sh: Likewise.
42327         * intl/tst-gettext6.sh: Likewise.
42328         * intl/tst-translit.sh: Likewise.
42329         * io/ftwtest-sh: Likewise.
42330         * libio/test-freopen.sh: Likewise.
42331         * malloc/tst-mtrace.sh: Likewise.
42332         * posix/globtest.sh: Likewise.
42333         * posix/tst-getconf.sh: Likewise.
42334         * posix/wordexp-tst.sh: Likewise.
42335         * stdio-common/tst-printf.sh: Likewise.
42336         * stdio-common/tst-unbputc.sh: Likewise.
42337         * stdlib/tst-fmtmsg.sh: Likewise.
42338         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
42339         * catgets/Makefile: Do not specify -e option when running
42340         testsuite shell scripts.
42341         * elf/Makefile: Likewise.
42342         * grp/Makefile: Likewise.
42343         * iconvdata/Makefile: Likewise.
42344         * intl/Makefile: Likewise.
42345         * io/Makefile: Likewise.
42346         * libio/Makefile: Likewise.
42347         * malloc/Makefile: Likewise.
42348         * posix/Makefile: Likewise.
42349         * stdio-common/Makefile: Likewise.
42350         * stdlib/Makefile: Likewise.
42351         * sysdeps/x86_64/Makefile: Likewise.
42353         * io/ftwtest-sh: Add copyright header.
42354         * posix/globtest.sh: Likewise.
42355         * posix/tst-getconf.sh: Likewise.
42356         * posix/wordexp-tst.sh: Likewise.
42357         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
42359 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
42361         [BZ #13679]
42362         * Makeconfig (+link): Defined as $(+link-static) if
42363         $(build-shared) isn't yes.
42364         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
42365         isn't yes.
42366         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
42368         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
42370         [BZ #14562]
42371         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
42372         new chunk size with MALLOC_ALIGN_MASK.
42374 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
42376         [BZ #5044]
42377         * stdio-common/printf_fphex.c: Include <stdbool.h> and
42378         <rounding-mode.h>.
42379         (__printf_fphex): Determine rounding using get_rounding_mode and
42380         round_away.
42381         * stdio-common/tst-printf-round.c (struct hex_test): New
42382         structure.
42383         (hex_tests): New variable.
42384         (test_hex_in_one_mode): New function.
42385         (do_test): Also run tests for hex float output.
42387 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
42389         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
42390         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
42391         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
42392         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
42393         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
42394         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
42395         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
42396         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
42398 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
42400         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
42401         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
42402         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
42403         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
42405 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
42407         [BZ #14579]
42408         * elf/rtld.c (dl_main): Limit the check for self loading to normal
42409         mode only.
42410         * elf/tst-rtld-load-self.sh: New test.
42411         * elf/Makefile: Run it.
42413 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
42415         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
42416         (tst-writev-ENV): Remove.
42417         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
42419 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
42421         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
42423 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
42425         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
42426         unconditional.
42427         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
42428         Likewise.
42429         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
42430         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
42431         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
42432         Likewise.
42434 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
42436         [BZ #14587]
42437         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
42438         * config.make.in (have-cpp-asm-debuginfo): Removed.
42439         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
42440         * configure: Regenerated.
42442 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
42444         [BZ #5044]
42445         * stdio-common/printf_fp.c: Include <stdbool.h> and
42446         <rounding-mode.h>.
42447         (___printf_fp): Determine rounding using get_rounding_mode and
42448         round_away.
42449         * stdio-common/tst-printf-round.c: New file.
42450         * stdio-common/Makefile (tests): Add tst-printf-round.
42451         (link-libm): New variable.
42452         ($(objpfx)tst-printf-round): Depend in $(link-libm).
42454 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
42456         [BZ #14576]
42457         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
42458         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
42459         Likewise.
42460         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
42461         Likewise.
42463 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
42465         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
42466         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42467         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42468         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42470 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
42472         [BZ #14518]
42473         * include/rounding-mode.h: New file.
42474         * sysdeps/generic/get-rounding-mode.h: Likewise.
42475         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
42476         * stdlib/strtod_l.c: Include <rounding-mode.h>.
42477         (MAX_VALUE): New macro.
42478         (MIN_VALUE): Likewise.
42479         (overflow_value): New function.
42480         (underflow_value): Likewise.
42481         (round_and_return): Use overflow_value and underflow_value to
42482         determine return values in overflow and underflow cases.  Use
42483         round_away to determine rounding depending on rounding mode.
42484         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
42485         determine return values in overflow and underflow cases.
42486         * stdlib/tst-strtod-round.c: Include <fenv.h>.
42487         (struct test_results): New structure.
42488         (struct test): Use struct test_results to store expected results
42489         for all rounding modes.
42490         (TEST): Include expected results for all rounding modes.
42491         (test_in_one_mode): New function.
42492         (do_test): Use test_in_one_mode to compute and check results.
42493         Check results for all rounding modes.
42494         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
42495         $(link-libm).
42497 2012-12-09  Allan McRae  <allan@archlinux.org>
42499         * sysdeps/i386/fpu/libm-test-ulps: Update
42501 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
42503         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
42504         (_G_int32_t): Likewise.
42505         (_G_uint16_t): Likewise.
42506         (_G_uint32_t): Likewise.
42507         (_G_HAVE_BOOL): Likewise.
42508         (_G_HAVE_ATEXIT): Likewise.
42509         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42510         (_G_HAVE_IO_FILE_OPEN): Likewise.
42511         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
42512         (_G_int32_t): Likewise.
42513         (_G_uint16_t): Likewise.
42514         (_G_uint32_t): Likewise.
42515         (_G_HAVE_BOOL): Likewise.
42516         (_G_HAVE_ATEXIT): Likewise.
42517         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42518         (_G_HAVE_IO_FILE_OPEN): Likewise.
42519         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
42520         (_G_int32_t): Likewise.
42521         (_G_uint16_t): Likewise.
42522         (_G_uint32_t): Likewise.
42523         (_G_HAVE_BOOL): Likewise.
42524         (_G_HAVE_ATEXIT): Likewise.
42525         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42526         (_G_HAVE_IO_FILE_OPEN): Likewise.
42528 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
42530         * csu/libc-tls.c: Update copyright years.
42532 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
42534         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
42535         [!_G_USING_THUNKS]: Remove conditional code.
42536         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
42537         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
42539         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
42540         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
42541         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42542         (_G_VTABLE_LABEL_PREFIX): Likewise.
42543         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42544         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42545         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42546         (_G_VTABLE_LABEL_PREFIX): Likewise.
42547         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
42548         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42549         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42550         (_G_VTABLE_LABEL_PREFIX): Likewise.
42551         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
42553 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
42555         * libio/Makefile: Include ../Makeconfig before tests.
42556         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
42557         only if $(build-shared) is yes.
42559         * iconv/gconv_db.c: Update copyright years.
42561 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42563         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
42564         unwind info if defined PIC. Fix special cases description.
42565         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
42567         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
42568         DP_HI_MASK entry.
42569         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
42571 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
42573         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
42575         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
42576         is NULL.
42578         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
42579         (LDLIBS-tst-chk4): This.
42580         (LDFLAGS-tst-chk5): Renamed to ...
42581         (LDLIBS-tst-chk5): This.
42582         (LDFLAGS-tst-chk6): Renamed to ...
42583         (LDLIBS-tst-chk6): This.
42584         (LDFLAGS-tst-lfschk4): Renamed to ...
42585         (LDLIBS-tst-lfschk4): This.
42586         (LDFLAGS-tst-lfschk5): Renamed to ...
42587         (LDLIBS-tst-lfschk5): This.
42588         (LDFLAGS-tst-lfschk6): Renamed to ...
42589         (LDLIBS-tst-lfschk6): This.
42591         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
42592         on $(common-objpfx)soversions.mk.
42594 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
42596         [BZ #10014]
42597         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
42598         example host name.
42600 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
42602         * malloc/arena.c (arena_get_retry): New function that gets
42603         another arena for the caller to try its request on.
42604         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
42605         current arena cannot fulfill the request.
42606         (__libc_memalign): Likewise.
42607         (__libc_memalign): Likewise.
42608         (__libc_pvalloc): Likewise.
42609         (__libc_calloc): Likewise.
42611 2012-09-05  John Tobey  <john.tobey@gmail.com>
42613         [BZ #13542]
42614         * manual/arith.texi (Operations on Complex): Fix description
42615         of carg branch cut.
42617 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
42619         [BZ #10014]
42620         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
42621         host name.
42623         [BZ #10038]
42624         * manual/memory.texi (Memory): Make order of menu items match
42625         order of sections.
42627 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
42629         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
42630         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
42631         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
42633 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
42635         * csu/libc-tls.c (static_dtv): Renamed to ...
42636         (_dl_static_dtv): This.  Make it global.
42637         (_dl_initial_dtv): Removed.
42638         (__libc_setup_tls): Updated.
42639         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
42640         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
42641         DL_INITIAL_DTV.
42643 2012-09-06  Petr Machata  <pmachata@redhat.com>
42645         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
42646         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
42647         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
42648         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
42650 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
42652         [BZ #14545]
42653         * csu/libc-tls.c (_dl_initial_dtv): New variable.
42654         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
42655         freeing dtv[-1].
42657 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
42659         [BZ #14544]
42660         * Makeconfig (link-static-before-libc): Replace $(+prector)
42661         with $(+prectorT).
42662         (link-static-after-libc): Replace $(+postctor) with
42663         $(+postctorT).
42664         (link-bounded): Replace $(+prector)/$(+postctor) with
42665         $(+prectorT)/$(+postctorT).
42666         (+prectorT): New macro.
42667         (+postctorT): Likewise.
42669 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
42671         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
42672         (round_str): Handle values above the maximum for IBM long double
42673         as inexact.
42674         * stdlib/tst-strtod-round.c (tests): Regenerated.
42676 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42678         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
42679         assembler flag.
42680         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
42681         zarch_nohighgprs around the zarch optimized routines.
42682         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
42683         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
42684         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
42685         for zarch.
42687 2012-09-05  David S. Miller  <davem@davemloft.net>
42689         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42691         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
42692         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
42693         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
42694         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42695         entries.
42697 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
42699         * malloc/arena.c: Fold copyright years.
42700         * malloc/mcheck.c, malloc/memusage.c: Likewise.
42702 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
42704         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
42706 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
42708         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
42710 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
42712         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
42713         change internal state upon failure.
42715 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
42717         * malloc/mcheck.c (mcheck_check_all): Fix typo.
42718         * malloc/memusage.c (mmap): Likewise.
42719         (mmap64, mremap): Likewise.  Adjust name in comment.
42721 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42723         * libio/fileops.c: Fix typos in comments.
42724         * libio/oldfileops.c: Likewise.
42725         * libio/wfileops.c: Likewise.
42727 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42729         [BZ #1349]
42730         * malloc/Makefile (tests): Add tst-malloc-usable test case.
42731         (tst-malloc-usable-ENV): Set environment for test case.
42732         * malloc/hooks.c (malloc_check_get_size): New function to get
42733         requested size.
42734         * malloc/malloc.c (musable): Use malloc_check_get_size.
42735         * malloc/tst-malloc-usable.c: New test case.
42737 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
42739         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
42741 2012-09-05  Allan McRae  <allan@archlinux.org>
42743         [BZ #13966]
42744         * configure.in (CXX_SYSINCLUDES): Use compiler output to
42745         determine header location.
42746         * configure: Regenerated.
42748 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
42750         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
42751         float format.
42752         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
42753         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
42754         format.
42755         (test): Regenerate.
42757 2012-09-04  David S. Miller  <davem@davemloft.net>
42759         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
42760         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
42761         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
42763 2012-09-04  Florian Weimer  <fweimer@redhat.com>
42765         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
42766         failures.
42768         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
42770 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
42772         [BZ #9914]
42773         * libio/iogetdelim.c: Include <limits.h>.
42774         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
42775         + len + 1 would overflow.
42777 2012-09-03  Andreas Jaeger  <aj@suse.de>
42779         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42780         * sysdeps/i386/fpu/libm-test-ulps: Update.
42782 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42784         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
42785         Add s_sinf-sse2, s_conf-sse2.
42787         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
42788         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
42789         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
42790         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
42792         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
42793         for using routine as __sinf_ia32.
42794         Use macro for function declaration and weak_alias.
42795         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
42796         for using routine as __cosf_ia32.
42797         Use macro for function declaration and weak_alias.
42799         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
42800         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
42802         * sysdeps/x86_64/fpu/s_sinf.S: New file.
42803         * sysdeps/x86_64/fpu/s_cosf.S: New file.
42804         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42806         * math/libm-test.inc (cos_test): Add more test cases.
42807         (sin_test): Likewise.
42808         (sincos_test): Likewise.
42810 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42812         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
42813         (IFUNC_RESOLVE): Make pointers to the specialized implementations
42814         hidden.
42815         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
42817 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
42819         [BZ #14538]
42820         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
42821         first element of the GOT.
42822         (elf_machine_load_address): Return the difference between
42823         the runtime address of _DYNAMIC and elf_machine_dynamic ().
42825 2012-09-01  Allan McRae  <allan@archlinux.org>
42827         [BZ #13412]
42828         * configure.in (AWK): Require gawk version 3.0 or later.
42829         * configure: Regenerated.
42831 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
42833         * sysdeps/unix/sysv/linux/kernel-features.h
42834         (__ASSUME_POSIX_CPU_TIMERS): Remove.
42835         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
42836         [__NR_clock_getres]: Make code unconditional.
42837         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
42838         (clock_getcpuclockid): Remove code left unreachable by removal of
42839         conditionals.
42840         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
42841         code unconditional.
42842         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
42843         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42844         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
42845         Make code unconditional.
42846         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
42847         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42848         * sysdeps/unix/sysv/linux/clock_settime.c
42849         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
42850         conditional code.
42851         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
42852         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42854 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
42856         [BZ #14476]
42857         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
42858         scripts/test-installation.pl.
42860         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
42861         and $ld_so_version if it is set.
42863 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
42865         [BZ #14516]
42866         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
42867         failure if reading from procfs failed.
42868         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
42870 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
42872         * sysdeps/unix/sysv/linux/kernel-features.h
42873         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
42874         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
42875         Remove conditional code.
42876         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42877         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
42878         Remove conditional code.
42879         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42880         * sysdeps/unix/sysv/linux/i386/fxstat.c
42881         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42882         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42883         * sysdeps/unix/sysv/linux/i386/fxstatat.c
42884         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42885         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42886         * sysdeps/unix/sysv/linux/i386/lxstat.c
42887         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42888         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42889         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
42890         Remove conditional code.
42891         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42892         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
42893         Remove conditional code.
42894         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42895         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
42896         <kernel-features.h>.
42897         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
42898         Remove.
42899         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
42900         Remove conditional code.
42901         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42902         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
42903         Remove conditional.
42905 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
42907         [BZ #5400]
42908         * NEWS: Add fixed bug number.
42910 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
42912         [BZ #14519]
42913         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
42914         underflowing exponent in case of negative sign.
42915         * stdlib/tst-strtod-round-data: Add more tests.
42916         * stdlib/tst-strtod-round.c (tests): Regenerated.
42918         [BZ #3479]
42919         * stdlib/strtod_l.c (NDIG): Remove.
42920         (HEXNDIG): Likewise.
42921         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
42922         smallest representable value.
42923         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
42924         lie within an exact representation of 1/2 ulp of the result.
42925         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
42926         unconditionally.
42927         (TENS_P9_IDX): Define unconditionally.
42928         (TENS_P9_SIZE): Likewise.
42929         (TENS_P10_IDX): Likewise.
42930         (TENS_P10_SIZE): Likewise.
42931         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
42932         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
42933         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
42934         entries for 10^2^13 and 10^2^14.
42935         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
42936         (TENS_P13_IDX): Define.
42937         (TENS_P13_SIZE): Likewise.
42938         (TENS_P14_IDX): Likewise.
42939         (TENS_P14_SIZE): Likewise.
42940         (_fpioconst_pow10): Change array size to
42941         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
42942         unconditional.
42943         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
42944         1024]: Add entries for 10^2^13 and 10^2^14.
42945         [LAST_POW10 > _LAST_POW10]: Remove #error.
42946         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
42947         (_fpioconst_pow10): Change array size to
42948         FPIOCONST_POW10_ARRAY_SIZE.
42949         * stdlib/gen-fpioconst.c: New file.
42950         * stdlib/gen-tst-strtod-round.c: Likewise.
42951         * stdlib/tst-strtod-round-data: Likewise.
42952         * stdlib/tst-strtod-round.c: Likewise.
42953         * stdlib/Makefile (tests): Add tst-strtod-round.
42955         [BZ #14459]
42956         * stdlib/strtod_l.c: Include <stdint.h>.
42957         (NDEBUG): Do not define.
42958         (round_and_return): Change EXPONENT parameter to type intmax_t.
42959         Rearrange calculations to avoid internal overflow possibilities.
42960         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
42961         Rearrange calculations to avoid internal overflow possibilities.
42962         Assert that number fits inside MPNSIZE limbs.
42963         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
42964         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
42965         calculations and add assertions to avoid internal overflow
42966         possibilities.  Add casts to avoid signed/unsigned operations.
42967         * stdlib/tst-strtod-overflow.c: New file.
42968         * stdlib/Makefile (tests): Add tst-strtod-overflow.
42970 2012-08-25  Marek Polacek  <polacek@redhat.com>
42972         * time/time.h: Fix some typos in comments.
42974 2012-08-23  Roland McGrath  <roland@hack.frob.com>
42976         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
42977         * posix/tst-rfc3484-2.c: Likewise.
42978         * posix/tst-rfc3484-3.c: Likewise.
42980 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
42982         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
42983         (EF_ARM_ABI_FLOAT_HARD): Likewise.
42985 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
42987         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
42988         #include of fxstatat64.c.
42990 2012-08-22  Roland McGrath  <roland@hack.frob.com>
42992         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
42993         * shadow/getspent_r.c: Likewise.
42994         * shadow/getspnam.c: Likewise.
42995         * shadow/getspnam_r.c: Likewise.
42996         * gshadow/getsgent.c: Likewise.
42997         * gshadow/getsgent_r.c: Likewise.
42998         * gshadow/getsgnam.c: Likewise.
42999         * gshadow/getsgnam_r.c: Likewise.
43000         * inet/getnetbyad.c: Likewise.
43001         * inet/getnetbyad_r.c: Likewise.
43002         * inet/getnetbynm.c: Likewise.
43003         * inet/getnetbynm_r.c: Likewise.
43004         * inet/getnetent.c: Likewise.
43005         * inet/getnetent_r.c: Likewise.
43006         * inet/getproto.c: Likewise.
43007         * inet/getproto_r.c: Likewise.
43008         * inet/getprtent.c: Likewise.
43009         * inet/getprtent_r.c: Likewise.
43010         * inet/getprtname.c: Likewise.
43011         * inet/getprtname_r.c: Likewise.
43012         * inet/getrpcbyname.c: Likewise.
43013         * inet/getrpcbyname_r.c: Likewise.
43014         * inet/getrpcbynumber.c: Likewise.
43015         * inet/getrpcbynumber_r.c: Likewise.
43016         * inet/getrpcent.c: Likewise.
43017         * inet/getrpcent_r.c: Likewise.
43018         * inet/getaliasent.c: Likewise.
43019         * inet/getaliasent_r.c: Likewise.
43020         * inet/getaliasname.c: Likewise.
43021         * inet/getaliasname_r.c: Likewise.
43022         * nscd/getgrgid_r.c: Likewise.
43023         * nscd/getgrnam_r.c: Likewise.
43024         * nscd/gethstbyad_r.c: Likewise.
43025         * nscd/gethstbynm3_r.c: Likewise.
43026         * nscd/getpwnam_r.c: Likewise.
43027         * nscd/getpwuid_r.c: Likewise.
43028         * nscd/getsrvbynm_r.c: Likewise.
43029         * nscd/getsrvbypt_r.c: Likewise.
43030         * nscd/gai.c: Likewise.
43032         * configure.in (build_nscd): New substituted variable, set
43033         by --disable-build-nscd and defaults to $use_nscd.
43034         * configure: Regenerated.
43035         * config.make.in (build-nscd): New substituted variable.
43036         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
43037         Change conditional to require [$(build-nscd) = yes] as well.
43038         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
43040         [BZ# 13696]
43041         * configure.in (use_nscd): New substituted variable, set by
43042         --disable-nscd.  If enabled, define USE_NSCD.
43043         * configure: Regenerated.
43044         * config.h.in: Add USE_NSCD.
43045         * config.make.in (use-nscd): New substituted variable.
43046         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
43047         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
43048         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
43049         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
43050         (CFLAGS-getgrnam_r.c): Likewise.
43051         (CFLAGS-initgroups.c): Likewise.
43052         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
43053         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
43054         Variables removed.
43055         * inet/getnetgrent_r.c
43056         (nscd_setnetgrent): New function, broken out of ...
43057         (setnetgrent): ... here.  Call it.
43058         (innetgr): Conditionalize nscd bits on [USE_NSCD].
43059         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
43060         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
43061         * nscd/Makefile (routines, aux): Move definitions after include of
43062         Makeconfig.  Conditionalize on [$(use-nscd) != no].
43063         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
43064         Conditionalize on [USE_NSCD].
43065         (is_nscd, nscd_init_cb): Likewise.
43066         (nss_load_library): Conditionalize init callback on [USE_NSCD].
43067         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
43068         * nss/nss_db/db-init.c: Likewise.
43069         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
43070         [USE_NSCD].
43071         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
43072         (make_request): Use it.
43073         (cache_valid_p): New function.
43074         (__check_pf): Use it.
43075         * NEWS: Add item for --disable-nscd.
43077 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
43079         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
43080         to support sed >= 4.2.1-20-ga9bf076.
43081         * configure: Regenerated.
43083 2012-08-22  Roland McGrath  <roland@hack.frob.com>
43085         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
43086         Conditionalize whole body on [IREL].
43088 2012-08-22  Jeff Law <law@redhat.com>
43090         [BZ #14505]
43091         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
43092         if the family is PF_UNSPEC.
43094 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
43096         * Makerules (lib-version): Rename from V.
43097         (install-lib-nosubdir): Change V to lib-version.
43099 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
43101         [BZ #14252]
43102         * powerpc32/power6/wcschr.c: New file.
43103         * powerpc32/power6/wcscpy.c: New file.
43104         * powerpc32/power6/wcsrchr.c: New file.
43105         * powerpc64/power6/wcschr.c: New file.
43106         * powerpc64/power6/wcscpy.c: New file.
43107         * powerpc64/power6/wcsrchr.c: New file.
43109 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
43111         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
43112         (two_way_short_needle): Use it.
43113         * string/strstr.c (AVAILABLE1_USES_J): Define.
43114         * string/strcasestr.c: Likewise.
43116         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
43117         array references.
43118         * string/strcasestr.c (TOLOWER): Make side-effect safe.
43120         [BZ #11607]
43121         * NEWS: Add an entry.
43122         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
43123         define their defaults.
43124         (two_way_short_needle): Detect end-of-string on-the-fly.
43125         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
43126         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
43127         * string/bug-strcasestr1.c: New test.
43128         * string/Makefile: Run it.
43130 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
43132         [BZ #11607]
43133         * string/str-two-way.h (two_way_short_needle): Optimize matching of
43134         the first character.
43136 2012-08-21  Roland McGrath  <roland@hack.frob.com>
43138         * csu/elf-init.c (__libc_csu_irel): Function removed.
43139         * csu/libc-start.c (apply_irel): New function.
43140         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
43142 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
43144         * sysdeps/unix/sysv/linux/kernel-features.h
43145         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
43146         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
43147         <kernel-features.h>.
43148         [__NR_fadvise64_64]: Make code unconditional.
43149         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
43150         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
43151         !__NR_fadvise64_64)]: Likewise.
43152         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
43153         !__NR_fadvise64_64))]: Likewise.
43154         [__NR_fadvise64]: Make code unconditional.
43155         [!__NR_fadvise64]: Remove conditional code.
43156         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
43157         <kernel-features.h>.
43158         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43159         unconditional.
43160         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43161         conditional code.
43162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
43163         not include <kernel-features.h>.
43164         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43165         unconditional.
43166         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43167         conditional code.
43168         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
43169         include <kernel-features.h>.
43170         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43171         unconditional.
43172         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43173         conditional code.
43175 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
43177         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
43178         slight instruction rearrangements per scrollpipe analysis.
43179         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
43181 2012-08-20  Roland McGrath  <roland@hack.frob.com>
43183         * manual/syslog.texi (syslog; vsyslog, closelog):
43184         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
43185         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
43187         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
43188         DSOCAPS to match condition on defining it.
43190 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
43192         * sysdeps/unix/sysv/linux/kernel-features.h
43193         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
43194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
43195         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43196         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
43198         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43199         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
43201         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43202         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43204         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
43205         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
43207         * sysdeps/unix/sysv/linux/kernel-features.h
43208         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
43209         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
43210         unconditional.
43211         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43212         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
43213         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43214         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43215         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
43216         Make code unconditional.
43217         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43218         (__mmap64) [!__NR_mmap2]: Likewise.
43219         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
43220         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43221         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43222         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
43223         [__NR_mmap2]: Make code unconditional.
43224         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43225         (__mmap64) [!__NR_mmap2]: Likewise.
43227 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43229         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
43231 2012-08-18  Andreas Jaeger  <aj@suse.de>
43233         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
43235 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
43237         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
43238         * include/unistd.h (__have_sock_cloexec): Likewise.
43239         (__have_pipe2): Likewise.
43240         (__have_dup3): Likewise.
43242 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
43244         [BZ #9685]
43245         * include/unistd.h (__have_pipe2): Change define into an extern int.
43246         (__have_dup3): Likewise.
43247         * socket/have_sock_cloexec.c: Include fcntl.h.
43248         (__have_pipe2): New variable.
43249         (__have_dup3): Likewise.
43251 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
43253         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
43255 2012-08-17  Marek Polacek  <polacek@redhat.com>
43257         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
43258         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
43260 2012-08-17  Roland McGrath  <roland@hack.frob.com>
43262         * configure.in: Add AC_SUBST for sysheaders.
43263         * configure: Regenerated.
43264         * config.make.in (sysheaders): New substituted variable.
43266         * sysdeps/unix/mkfifo.c: Moved ...
43267         * sysdeps/posix/mkfifo.c: ... here.
43268         * sysdeps/unix/mkfifoat.c: Moved ...
43269         * sysdeps/posix/mkfifoat.c: ... here.
43271         * sysdeps/unix/utime.c: Moved ...
43272         * sysdeps/posix/utime.c: ... here.
43274         * sysdeps/unix/time.c: Moved ...
43275         * sysdeps/posix/time.c: ... here.
43276         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
43277         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
43279         * sysdeps/unix/nice.c: Moved ...
43280         * sysdeps/posix/nice.c: ... here.
43282         * sysdeps/unix/alarm.c: Moved ...
43283         * sysdeps/posix/alarm.c: ... here.
43285         * intl/Makefile ($(codeset_mo)): Depend on the input file.
43287 2012-08-17  Jeff Law <law@redhat.com>
43289         * intl/Makefile (codeset_mo): New variable.
43290         ($(codeset_mo)): New target.
43291         (tst-codeset.out): Depend on that.  Remove explicit rule.
43292         (tst-gettext3.out, tst-gettext5.out): Likewise.
43293         (LOCPATH-ENV, tst-codeset-ENV): New variables.
43294         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
43295         * intl/tst-codeset.sh: Remove.
43296         * intl/tst-gettext3.sh: Likewise.
43297         * intl/tst-gettext5.sh: Likewise.
43299 2012-08-17  Roland McGrath  <roland@hack.frob.com>
43301         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
43302         * sysdeps/unix/syscalls.list: ... here.
43304         * sysdeps/posix/getaddrinfo.c
43305         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
43306         (gaiconf_init, gaiconf_reload): Use them.
43307         [!_STATBUF_ST_NSEC]
43308         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
43309         Define using time_t rather than struct timespec.
43311         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
43312         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
43313         Macros removed.
43314         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
43315         [!NO_THREADS].
43316         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
43317         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
43318         Likewise.
43320         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
43321         __libc_cleanup_push argument.
43323         * bits/param.h: New file.
43324         * misc/sys/param.h: New file.
43325         * include/sys/param.h: New file.
43326         * misc/Makefile (headers): Add bits/param.h.
43327         * sysdeps/generic/sys/param.h: File removed.
43328         * sysdeps/unix/sysv/linux/bits/param.h: New file.
43329         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
43330         * sysdeps/mach/hurd/bits/param.h: New file.
43331         * sysdeps/mach/hurd/sys/param.h: File removed.
43333         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
43334         last change.
43336         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
43337         [_IO_MTSAFE_IO].
43338         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
43339         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
43340         New macros.
43342         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
43343         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
43344         rather than -D_IO_MTSAFE_IO conditionally.
43345         * stdio-common/Makefile (CPPFLAGS): Likewise.
43346         * wcsmbs/Makefile (CPPFLAGS): Likewise.
43347         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
43348         Use $(libio-mtsafe).
43349         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
43350         of -D_IO_MTSAFE_IO.
43351         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
43352         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
43353         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
43354         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
43355         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
43356         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
43357         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
43358         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
43359         (CFLAGS-fread_u_chk.c): Likewise.
43360         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
43361         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
43362         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
43363         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
43364         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
43365         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
43366         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
43367         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
43368         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
43370         * libio/Makefile: Test [$(libc-reentrant) = yes]
43371         instead of [$(filter %REENTRANT, $(defines)) nonempty].
43373         * Makeconfig
43374         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
43375         * sysdeps/pthread/configure: File removed.
43376         * sysdeps/pthread/Makeconfig: New file.
43377         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
43378         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
43380 2012-08-16  Gary Benson  <gbenson@redhat.com>
43382         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
43383         unmapping the first object in a namespace.
43385 2012-08-16  Roland McGrath  <roland@hack.frob.com>
43387         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
43388         (__internal_setnetgrent): ... this.  Add internal_function to
43389         definition.  Add libc_hidden_def.
43390         (setnetgrent): Update caller.
43391         (internal_endnetgrent): Renamed to ...
43392         (__internal_endnetgrent): ... this.  Add internal_function to
43393         definition.  Add libc_hidden_def.
43394         (endnetgrent): Update caller.
43395         (internal_getnetgrent_r): Renamed to ...
43396         (__internal_getnetgrent_r): ... this.  Add internal_function to
43397         definition.  Add libc_hidden_def.
43398         (__getnetgrent_r): Update caller.
43399         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
43401 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
43403         * stdlib/longlong.h: Update from GCC.
43405 2012-08-16  Roland McGrath  <roland@hack.frob.com>
43407         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
43408         on _QL, which is set by umul_ppmm but never used.
43409         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
43410         variables, which are set by GMP macros but never used.
43411         * stdio-common/_itowa.c (_itowa): Likewise.
43412         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
43413         * stdlib/mod_1.c (mpn_mod_1): Likewise.
43415 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
43417         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
43418         struct La_sh_regs is not constant.
43419         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
43420         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
43421         and struct La_sparc64_regs are not constant.
43423 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
43425         * sysdeps/unix/sysv/linux/kernel-features.h
43426         (__ASSUME_POSIX_TIMERS): Remove.
43427         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43428         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43429         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
43430         Make code unconditional.
43431         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43432         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
43433         Make code unconditional.
43434         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43435         * sysdeps/unix/sysv/linux/clock_nanosleep.c
43436         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
43437         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43438         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
43439         Make code unconditional.
43440         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43441         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
43442         (__libc_missing_posix_timers): Remove.
43444 2012-08-15  Roland McGrath  <roland@hack.frob.com>
43446         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
43447         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
43449         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
43451         * elf/dl-sym.c: Include <stdlib.h>.
43453         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
43454         constants, which avoids warnings in 32-bit builds.
43456         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
43457         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
43459         * misc/lseek.c: File moved to ...
43460         * io/lseek.c: ... here.
43462         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
43464         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
43465         shifting LEN more than 31 bits at once.
43467 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43469         [BZ #14195]
43470         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
43471         segmentation fault for a case of two empty input strings.
43472         * string/test-strncasecmp.c (check1): Renamed to...
43473         (bz12205): ...this.
43474         (bz14195): Add new testcase for two empty input strings and N > 0.
43475         (test_main): Call new testcase, adapt for renamed function.
43477 2012-08-15  Andreas Jaeger  <aj@suse.de>
43479         [BZ #14090]
43480         * crypt/md5test2.c: New test, based on test supplied by Serge
43481         Belyshev <belyshev@depni.sinp.msu.ru>.
43482         * crypt/Makefile (xtests): Add md5test-giant..
43483         * crypt/Makefile ($(objpfx)md5test-giant): Add.
43485 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
43487         [BZ #14090]
43488         * crypt/md5.c (md5_process_block): Don't assume the buffer
43489         length is less than 2**32.
43490         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
43491         length is less than 2**64.
43493 2012-08-15  Roland McGrath  <roland@hack.frob.com>
43495         * string/str-two-way.h: Include <sys/param.h>.
43496         (MAX): Macro removed.
43498         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
43499         Move #define and #undef of memmove to just before and after
43500         including <string.h>.
43502         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
43503         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
43504         and after including <string.h>.  Move declarations of
43505         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
43506         to before #include "string/memmove.c".
43508         * include/dirent.h: Declare __getdirentries.
43510         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
43511         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
43513 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
43515         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
43516         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
43517         * sysdeps/i386/configure: Regenerated.
43518         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
43519         STABS_CURRENT_FILE, and STABS_FUN.
43520         (END): Remove call to STABS_FUN_END.
43521         (STABS_CURRENT_FILE1): Delete.
43522         (STABS_CURRENT_FILE): Likewise.
43523         (STABS_FUN): Likewise.
43524         (STABS_FUN_END): Likewise.
43525         (STABS_FUN2): Likewise.
43526         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
43527         * sysdeps/x86_64/configure: Regenerated.
43529 2012-08-14  Roland McGrath  <roland@hack.frob.com>
43531         * elf/dl-open.c: Include <atomic.h>.
43532         * elf/dl-lookup.c: Likewise.
43534 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
43536         * sysdeps/unix/sysv/linux/kernel-features.h
43537         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
43538         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
43539         unconditionally.
43540         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
43541         unconditionally.
43542         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
43543         condition on __ASSUME_CLONE_THREAD_FLAGS.
43545 2012-08-14  Andreas Jaeger  <aj@suse.de>
43547         * sysdeps/i386/fpu/libm-test-ulps: Update.
43549 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
43551         * include/atomic.h (atomic_exchange_and_add): Split into ...
43552         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
43553         New atomic macros.
43555 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
43557         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43559 2012-08-13  Jeff Law <law@redhat.com>
43561         * manual/stdio.texi (snprintf): Clarify handling of the trailing
43562         null byte in the output string.
43564 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
43566         * sysdeps/unix/sysv/linux/kernel-features.h
43567         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
43568         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
43569         (__ASSUME_ARG_MAX_STACK_BASED): Define.
43570         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
43571         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
43572         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
43573         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
43575 2012-08-09  Jeff Law <law@redhat.com>
43577         [BZ #13939]
43578         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
43579         When avoid_arena is set, don't retry in the that arena.  Pick the
43580         next one, whatever it might be.
43581         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
43582         (arena_lock): Pass in new parameter to arena_get2.
43583         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
43584         arena_get2.
43585         (__libc_malloc): Unify retrying after main arena failure with
43586         __libc_memalign version.
43587         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
43589 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
43591         [BZ #14166]
43592         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
43593         to __redirect_strstr.
43594         (__strstr_sse42): Use typeof __redirect_strstr.
43595         (__strstr_ia32): Likewise.
43596         (__libc_strstr): New prototype.
43597         (strstr): Renamed to ...
43598         (__libc_strstr): This.
43599         (strstr): New strong alias of __libc_strstr.
43600         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
43601         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
43602         __redirect_time.
43603         Include <time.h>.
43604         (__libc_time): New prototype.
43605         (time_ifunc): Replace time with __libc_time.
43606         (time): New strong alias and hidden definition of __libc_time.
43607         (__GI_time): Remove strong alias.
43608         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
43609         Include <stddef.h>.
43610         (memmove): Redefined to __redirect_memmove.
43611         (__memmove_sse2): Use typeof __redirect_memmove.
43612         (__memmove_ssse3): Likewise.
43613         (__memmove_ssse3_back): Likewise.
43614         (__libc_memmove): New prototype.
43615         (memmove): Renamed to ...
43616         (__libc_memmove): This.
43617         (memmove): New strong alias of __libc_memmove.
43619 2012-08-08  Mark Salter  <msalter@redhat.com>
43621         * elf/elf.h
43622         (R_MN10300_TLS_GD): Define.
43623         (R_MN10300_TLS_LD): Likewise.
43624         (R_MN10300_TLS_LDO): Likewise.
43625         (R_MN10300_TLS_GOTIE): Likewise.
43626         (R_MN10300_TLS_IE): Likewise.
43627         (R_MN10300_TLS_LE): Likewise.
43628         (R_MN10300_TLS_DTPMOD): Likewise.
43629         (R_MN10300_TLS_DTPOFF): Likewise.
43630         (R_MN10300_TLS_TPOFF): Likewise.
43631         (R_MN10300_SYM_DIFF): Likewise.
43632         (R_MN10300_ALIGN): Likewise.
43633         (R_MN10300_NUM): Update.
43635 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
43637         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
43638         Remove.
43640 2012-08-08  Roland McGrath  <roland@hack.frob.com>
43642         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
43644         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
43645         sysdeps/unix -> sysdeps/posix move.
43646         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
43648 2012-08-07      Allan McRae     <allan@archlinux.org>
43650         [BZ #14303]
43651         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
43652         (SUNOS_CPP): Likewise.
43653         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
43654         not found.
43655         (open_input): Call CPP using execvp.
43657 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
43659         * sysdeps/unix/sysv/linux/kernel-features.h
43660         (__ASSUME_PROT_GROWSUPDOWN): Remove.
43661         (__ASSUME_NO_CLONE_DETACHED): Likewise.
43662         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
43663         (__ASSUME_WAITID_SYSCALL): Likewise.
43664         * sysdeps/unix/sysv/linux/dl-execstack.c
43665         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
43666         code unconditional.
43667         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
43668         conditional code.
43669         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
43670         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
43671         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
43672         code.
43673         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
43674         unconditional.
43675         [__ASSUME_WAITID_SYSCALL]: Likewise.
43676         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
43678 2012-08-07  Roland McGrath  <roland@hack.frob.com>
43680         * sysdeps/unix/closedir.c: Renamed to ...
43681         * sysdeps/posix/closedir.c: ... here.
43682         * sysdeps/unix/dirfd.c: Renamed to ...
43683         * sysdeps/posix/dirfd.c: ... here.
43684         * sysdeps/unix/dirstream.h: Renamed to ...
43685         * sysdeps/posix/dirstream.h: ... here.
43686         * sysdeps/unix/fdopendir.c: Renamed to ...
43687         * sysdeps/posix/fdopendir.c: ... here.
43688         * sysdeps/unix/opendir.c: Renamed to ...
43689         * sysdeps/posix/opendir.c: ... here.
43690         * sysdeps/unix/readdir.c: Renamed to ...
43691         * sysdeps/posix/readdir.c: ... here.
43692         * sysdeps/unix/readdir_r.c: Renamed to ...
43693         * sysdeps/posix/readdir_r.c: ... here.
43694         * sysdeps/unix/rewinddir.c: Renamed to ...
43695         * sysdeps/posix/rewinddir.c: ... here.
43696         * sysdeps/unix/seekdir.c: Renamed to ...
43697         * sysdeps/posix/seekdir.c: ... here.
43698         * sysdeps/unix/telldir.c: Renamed to ...
43699         * sysdeps/posix/telldir.c: ... here.
43700         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
43701         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
43702         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
43703         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
43705         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
43706         * bits/fcntl.h: ... here.
43708         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
43709         not 0.
43710         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
43711         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
43712         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
43713         (struct flock): Move l_start, l_len to the beginning.
43714         Use __pid_t for l_pid.
43715         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
43716         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
43717         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
43718         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
43719         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
43720         [__USE_LARGEFILE64] (struct flock64): New type.
43721         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
43723         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
43724         * bits/dirent.h: ... here.
43726         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
43727         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
43729 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
43731         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43732         Change from 2.6.0 to 2.6.16.
43733         * sysdeps/unix/sysv/linux/configure: Regenerated.
43734         * sysdeps/unix/sysv/linux/kernel-features.h
43735         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
43736         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
43737         version.
43738         (__ASSUME_UTIMES): Likewise.
43739         (__ASSUME_CLONE_STOPPED): Remove.
43740         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
43741         architectures, not kernel version.
43742         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
43743         (__ASSUME_NO_CLONE_DETACHED): Likewise.
43744         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
43745         (__ASSUME_WAITID_SYSCALL): Likewise.
43746         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
43747         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
43748         * README: State 2.6.16 as minimum Linux kernel version.  Do not
43749         refer to older versions.
43751 2012-08-06  Roland McGrath  <roland@hack.frob.com>
43753         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
43754         Define alphasort64 as an alias.
43755         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
43756         Define versionsort64 as an alias.
43757         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
43758         Define scandir64 as an alias.
43759         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
43760         Define scandirat64 as an alias.
43761         * dirent/alphasort64.c (alphasort64):
43762         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
43763         * dirent/versionsort64.c: Likewise.
43764         * dirent/scandir64.c: Likewise.
43765         * dirent/scandirat64.c: Likewise.
43766         * sysdeps/wordsize-64/alphasort.c: File removed.
43767         * sysdeps/wordsize-64/alphasort64.c: File removed.
43768         * sysdeps/wordsize-64/scandir.c: File removed.
43769         * sysdeps/wordsize-64/scandir64.c: File removed.
43770         * sysdeps/wordsize-64/scandirat.c: File removed.
43771         * sysdeps/wordsize-64/scandirat64.c: File removed.
43772         * sysdeps/wordsize-64/versionsort.c: File removed.
43773         * sysdeps/wordsize-64/versionsort64.c: File removed.
43774         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
43775         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
43776         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
43777         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
43778         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
43779         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
43780         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
43781         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
43783         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
43784         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
43785         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
43786         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43787         [defined __arch64__ || defined __sparcv9]
43788         (__INO_T_MATCHES_INO64_T): New macro.
43789         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43790         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
43791         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
43792         * sysdeps/unix/sysv/linux/bits/dirent.h
43793         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
43794         (_DIRENT_MATCHES_DIRENT64): New macro.
43796         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
43797         Define lockf64 as an alias.
43798         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
43799         Define fseeko64 as an alias.
43800         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
43801         Define ftello64 as an alias.
43802         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
43803         Define _IO_fgetpos64 and fgetpos64 as aliases.
43804         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
43805         Define _IO_fsetpos64 and fsetpos64 as aliases.
43806         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
43807         Conditionalize body on this.
43808         * libio/fseeko64.c: Likewise.
43809         * libio/ftello64.c: Likewise.
43810         * libio/iofgetpos64.c: Likewise.
43811         * libio/iofsetpos64.c: Likewise.
43812         * sysdeps/wordsize-64/lockf.c: File removed.
43813         * sysdeps/wordsize-64/lockf64.c: File removed.
43814         * sysdeps/wordsize-64/fseeko.c: File removed.
43815         * sysdeps/wordsize-64/fseeko64.c: File removed.
43816         * sysdeps/wordsize-64/ftello.c: File removed.
43817         * sysdeps/wordsize-64/ftello64.c: File removed.
43818         * sysdeps/wordsize-64/iofgetpos.c: File removed.
43819         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
43820         * sysdeps/wordsize-64/iofsetpos.c: File removed.
43821         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
43822         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
43823         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
43824         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
43825         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
43826         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
43827         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
43828         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
43829         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
43830         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
43831         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
43833         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
43834         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
43835         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
43836         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43837         [defined __arch64__ || defined __sparcv9]
43838         (__OFF_T_MATCHES_OFF64_T): New macro.
43839         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43840         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
43841         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43842         (__OFF_T_MATCHES_OFF64_T): New macro.
43844 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
43846         * stdlib/secure-getenv.c (__secure_getenv): Replace
43847         GLIBC_2_16 with GLIBC_2_17.
43849 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
43851         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
43852         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43854 2012-08-03  David S. Miller  <davem@davemloft.net>
43856         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43858 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
43860         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
43861         Remove.
43862         (__ASSUME_CORRECT_SI_PID): Likewise.
43863         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
43864         (__ASSUME_TMPFS_NAME): Likewise.
43865         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
43866         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
43867         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
43868         (HAVE_AUX_SECURE): Make definition unconditional.
43869         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
43870         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
43872 2012-08-03  Roland McGrath  <roland@hack.frob.com>
43874         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
43875         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
43876         * sysdeps/mach/hurd/eloop-threshold.h: New file.
43877         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
43878         __eloop_threshold instead of SYMLOOP_MAX.
43880         * sysdeps/generic/eloop-threshold.h: New file.
43881         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
43882         of MAXSYMLINKS.
43883         * elf/chroot_canon.c (chroot_canon): Likewise.
43885 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
43887         [BZ #13717]
43888         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43889         Change to 2.6.0 everywhere.
43890         * sysdeps/unix/sysv/linux/configure: Regenerated.
43891         * sysdeps/unix/sysv/linux/kernel-features.h
43892         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
43893         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
43894         kernel versions.
43895         (__ASSUME_POSIX_TIMERS): Define unconditionally.
43896         (__ASSUME_FUTEX_REQUEUE): Remove.
43897         (__ASSUME_STATFS64): Define unconditionally.
43898         (__ASSUME_AT_SECURE): Likewise.
43899         (__ASSUME_CORRECT_SI_PID): Likewise.
43900         (__ASSUME_TGKILL): Define without depending on kernel version for
43901         i386.
43902         (__ASSUME_UTIMES): Likewise.
43903         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
43904         kernel version.
43905         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
43906         (__ASSUME_TMPFS_NAME): Likewise.
43907         * README: Update reference to Linux kernel versions.
43909 2012-08-02  Marek Polacek  <polacek@redhat.com>
43911         [BZ# 14150]
43912         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
43913         libc_cv_asm_type_prefix with %.
43914         * configure: Regenerated.
43915         * include/libc-symbols.h: Remove comment about
43916         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
43917         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
43918         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
43919         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
43920         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
43921         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
43922         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
43923         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
43924         * elf/tst-unique2mod1.c: Likewise.
43925         * elf/tst-unique1mod2.c: Likewise.
43926         * elf/tst-unique1mod1.c: Likewise.
43927         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
43928         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
43929         Replace ASM_TYPE_DIRECTIVE with .type.
43930         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43931         * sysdeps/i386/sysdep.h: Likewise.
43932         * sysdeps/x86_64/sysdep.h: Likewise.
43933         * sysdeps/sh/sysdep.h: Likewise.
43934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43935         Do not define ASM_TYPE_DIRECTIVE.
43936         * sysdeps/powerpc/sysdep.h: Likewise.
43937         * sysdeps/powerpc/powerpc32/sysdep.h:
43938         Replace ASM_TYPE_DIRECTIVE with .type.
43939         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
43940         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
43941         * sysdeps/i386/fpu/e_powf.S: Likewise.
43942         * sysdeps/i386/fpu/e_expl.S: Likewise.
43943         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43944         * sysdeps/i386/fpu/e_acosh.S: Likewise.
43945         * sysdeps/i386/fpu/e_pow.S: Likewise.
43946         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
43947         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43948         * sysdeps/i386/fpu/s_expm1.S: Likewise.
43949         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
43950         * sysdeps/i386/fpu/e_log2.S: Likewise.
43951         * sysdeps/i386/fpu/e_log2l.S: Likewise.
43952         * sysdeps/i386/fpu/e_scalb.S: Likewise.
43953         * sysdeps/i386/fpu/e_powl.S: Likewise.
43954         * sysdeps/i386/fpu/e_log10f.S: Likewise.
43955         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
43956         * sysdeps/i386/fpu/e_logl.S: Likewise.
43957         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
43958         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
43959         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
43960         * sysdeps/i386/fpu/e_log2f.S: Likewise.
43961         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43962         * sysdeps/i386/fpu/e_log.S: Likewise.
43963         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43964         * sysdeps/i386/fpu/e_logf.S: Likewise.
43965         * sysdeps/i386/fpu/e_log10l.S: Likewise.
43966         * sysdeps/i386/fpu/e_atanh.S: Likewise.
43967         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
43968         * sysdeps/i386/fpu/e_log10.S: Likewise.
43969         * sysdeps/i386/fpu/s_frexp.S: Likewise.
43970         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43971         * sysdeps/i386/fpu/s_asinh.S: Likewise.
43972         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
43973         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43974         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
43975         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
43976         * sysdeps/i386/i686/strtok.S: Likewise.
43977         * sysdeps/i386/i386-mcount.S: Likewise.
43978         * sysdeps/i386/strtok.S: Likewise.
43979         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
43980         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43981         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43982         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43983         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
43984         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43985         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
43986         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
43987         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43988         * sysdeps/x86_64/_mcount.S: Likewise.
43989         * sysdeps/x86_64/strtok.S: Likewise.
43990         * sysdeps/sh/_mcount.S: Likewise.
43992 2012-08-01  Roland McGrath  <roland@hack.frob.com>
43994         * libio/iofopen.c: Include <fcntl.h>.
43995         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
43996         (_IO_fopen64, fopen64): Define as aliases.
43997         * libio/iofopen64.c: Include <fcntl.h>.
43998         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
43999         Conditionalize body on this.
44000         * sysdeps/wordsize-64/iofopen.c: File removed.
44001         * sysdeps/wordsize-64/iofopen64.c: File removed.
44003 2012-08-01  Marek Polacek  <polacek@redhat.com>
44005         * libc/Makeconfig: Use elf in place of binfmt-subdir.
44006         Use dlfcn directly instead of a variable.
44007         (binfmt-subdir): Do not define.
44008         (dlfcn): Likewise.
44010 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
44012         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
44013         Remove all definitions.
44014         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
44015         <kernel-features.h>.
44016         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44017         (miss_F_GETOWN_EX): Remove all definitions.
44018         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
44019         macro definition.
44020         [!__ASSUME_FCNTL64]: Remove conditional code.
44021         [__ASSUME_FCNTL64]: Make code unconditional.
44022         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
44023         <kernel-features.h>.
44024         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44025         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
44026         (lockf64) [__NR_fcntl64]: Make code unconditional.
44027         (lockf64) [__ASSUME_FCNTL64]: Likewise.
44029         * sysdeps/unix/sysv/linux/kernel-features.h
44030         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
44031         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
44032         Make code unconditional.
44033         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44034         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
44036         [__NR_vfork]: Make code unconditional.
44037         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44038         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
44040         [__NR_vfork]: Make code unconditional.
44041         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44042         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44044 2012-08-01  Roland McGrath  <roland@hack.frob.com>
44046         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
44047         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
44049         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44050         Define mkstemp64 as an alias.
44051         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44052         Define mkstemps64 as an alias.
44053         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44054         Define mkostemp64 as an alias.
44055         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44056         Define mkostemps64 as an alias.
44057         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
44058         Conditionalize body on this.
44059         * misc/mkostemp64.c: Likewise.
44060         * misc/mkostemps64.c: Likewise.
44061         * misc/mkstemps64.c: Likewise.
44062         * sysdeps/wordsize-64/mkstemp64.c: File removed.
44063         * sysdeps/wordsize-64/mkostemp64.c: File removed.
44064         * sysdeps/wordsize-64/mkostemp.c: File removed.
44065         * sysdeps/wordsize-64/mkstemp.c: File removed.
44066         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
44067         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
44068         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
44069         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
44071         [BZ #14138]
44072         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
44073         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
44074         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
44075         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
44077         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
44078         compat_symbol macros from <shlib-compat.h> rather than the underlying
44079         default_symbol_version and symbol_version macros, so that DEFAULT
44080         lines in shlib-versions are respected.
44081         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
44083 2012-08-01  Florian Weimer  <fweimer@redhat.com>
44085         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
44086         Declare with warn_unused_result.
44087         (setgid, setregid, setegid, setresgid): Likewise.
44088         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
44089         Likewise.
44090         * WUR-REPORT: Remove set*id functions.
44092 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
44094         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
44096 2012-07-31  Roland McGrath  <roland@hack.frob.com>
44098         [BZ #10191]
44099         * include/sys/socket.h (__libc_accept, __libc_accept4):
44100         Add attribute_hidden.
44101         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
44103         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
44104         use of PTR_MANGLE.
44105         * inet/getnetgrent_r.c (setup): Likewise.
44107         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
44109 2012-07-31  David S. Miller  <davem@davemloft.net>
44111         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44113 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
44115         [BZ #13629]
44116         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
44117         value between 1.0 and 2.0 and smaller part has absolute value less
44118         than 1.0.
44119         * math/s_clog10.c (__clog10): Likewise.
44120         * math/s_clog10f.c (__clog10f): Likewise.
44121         * math/s_clog10l.c (__clog10l): Likewise.
44122         * math/s_clogf.c (__clogf): Likewise.
44123         * math/s_clogl.c (__clogl): Likewise.
44124         * math/libm-test.inc (clog_test): Add more tests.
44125         (clog10_test): Likewise.
44126         * sysdeps/i386/fpu/libm-test-ulps: Update.
44127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44129 2012-07-31  Florian Weimer  <fweimer@redhat.com>
44131         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
44132         Exit with zero in case no suitable GID is found, and write a
44133         message to standard error.
44135 2012-07-30  Roland McGrath  <roland@hack.frob.com>
44137         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
44138         rather than to 1.
44139         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
44140         (MAXPATHLEN): Removed.
44141         (NOGROUP, NODEV): New macros.
44142         (setbit, clrbit, isset, isclr): New macros.
44143         (howmany, roundup, powerof2): New macros.
44144         (DEV_BSIZE): New macro.
44146         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
44147         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
44149         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
44150         definition on [!__NO_LONG_DOUBLE_MATH].
44152         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
44153         PTR_MANGLE and PTR_DEMANGLE.
44155         * socket/accept4.c (accept4): Rename to __libc_accept4.
44156         Define accept4 as a weak alias.
44158         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
44159         on [_DIRENT_HAVE_D_TYPE].
44160         * io/ftw.c (ftw_dir): Likewise.
44162         * io/xmknod.c (__xmknod): Don't check PATH for being null.
44164         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
44166         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
44167         Use the BSD numbers rather than the arbitrary ones we had.
44168         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
44169         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
44170         (SIGXCPU, SIGXFSZ): New macros.
44171         (_NSIG): Now 32.
44173         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
44174         initializer on [_LIBC_REENTRANT].
44176         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
44177         definitions inside [_POSIX_MAPPED_FILES].
44179         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
44181         * dirent/opendir.c: Include <fcntl.h>.
44183         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
44184         (__libc_getspecific): Likewise.
44185         (__libc_key_create): Likewise.
44187         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
44188         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
44189         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
44190         (tmpfile64): Define as alias.
44191         * sysdeps/wordsize-64/tmpfile.c: File removed.
44192         * sysdeps/wordsize-64/tmpfile64.c: File removed.
44193         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
44194         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
44196         * stdio-common/vfscanf.c: Include <stdbool.h>.
44197         * nss/makedb.c: Likewise.
44198         * stdio-common/_i18n_number.h: Likewise.
44199         * argp/argp-help.c: Likewise.
44200         * posix/wordexp.c: Likewise.
44201         * sysdeps/posix/spawni.c: Likewise.
44202         * nss/nss_files/files-initgroups.c: Likewise.
44203         * stdio-common/reg-modifier.c: Include <stdlib.h>.
44204         * nss/nss_files/files-initgroups.c: Likewise.
44205         * nss/nss_db/db-netgrp.c: Likewise.
44206         * nss/nss_db/db-initgroups.c: Likewise.
44207         * io/fchmodat.c: Include <sys/stat.h>.
44209         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
44210         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
44212         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
44213         [HAVE_MMAP].
44215         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
44216         Add multiple inclusion protection.
44218 2012-07-27  David S. Miller  <davem@davemloft.net>
44220         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44222 2012-07-27  Gary Benson  <gbenson@redhat.com>
44224         [BZ #14298]
44225         * elf/rtld.c: Include <stap-probe.h>.
44226         (dl_main): Added static probes "init_start" and "init_complete".
44227         * elf/dl-load.c: Include <stap-probe.h>.
44228         (lose): Take new parameter "nsid".
44229         Added static probe "map_failed".
44230         (_dl_map_object_from_fd): Pass namespace id to lose.
44231         Added static probe "map_start".
44232         (open_verify): Pass namespace id to lose.
44233         * elf/dl-open.c: Include <stap-probe.h>.
44234         (dl_open_worker) Added static probes "map_complete", "reloc_start"
44235         and "reloc_complete".
44236         * elf/dl-close.c: Include <stap-probe.h>.
44237         (_dl_close_worker): Added static probes "unmap_start" and
44238         "unmap_complete".
44239         * elf/rtld-debugger-interface.txt: New file documenting the above.
44241 2012-07-26  Roland McGrath  <roland@hack.frob.com>
44243         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
44244         rather than a string variable.
44245         * sunrpc/rpc_main.c (h_output): Likewise.
44246         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
44248 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
44250         * inet/check_native.c: New file.
44252 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
44254         [BZ #13629]
44255         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
44256         if larger part has absolute value 1.0.
44257         * math/s_clog10.c (__clog10): Likewise.
44258         * math/s_clog10f.c (__clog10f): Likewise.
44259         * math/s_clog10l.c (__clog10l): Likewise.
44260         * math/s_clogf.c (__clogf): Likewise.
44261         * math/s_clogl.c (__clogl): Likewise.
44262         * math/libm-test.inc (clog_test): Add more tests.
44263         (clog10_test): Likewise.
44264         * sysdeps/i386/fpu/libm-test-ulps: Update.
44265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44267         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
44268         (pltexit): Likewise.
44269         (La_regs): Likewise.
44270         (La_retval): Likewise.
44271         (int_retval): Likewise.
44272         Update #error for removed macros to refer only to definitions in
44273         tst-audit.h.
44274         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
44275         macro.
44276         (pltexit): Likewise.
44277         (La_regs): Likewise.
44278         (La_retval): Likewise.
44279         (int_retval): Likewise.
44280         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
44281         macro.
44282         (pltexit): Likewise.
44283         (La_regs): Likewise.
44284         (La_retval): Likewise.
44285         (int_retval): Likewise.
44286         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
44287         macro.
44288         (pltexit): Likewise.
44289         (La_regs): Likewise.
44290         (La_retval): Likewise.
44291         (int_retval): Likewise.
44292         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
44293         macro.
44294         (pltexit): Likewise.
44295         (La_regs): Likewise.
44296         (La_retval): Likewise.
44297         (int_retval): Likewise.
44298         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
44299         macro.
44300         (pltexit): Likewise.
44301         (La_regs): Likewise.
44302         (La_retval): Likewise.
44303         (int_retval): Likewise.
44304         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
44305         macro.
44306         (pltexit): Likewise.
44307         (La_regs): Likewise.
44308         (La_retval): Likewise.
44309         (int_retval): Likewise.
44310         * sysdeps/generic/tst-audit.h: Update comment to refer only to
44311         macro definitions in tst-audit.h.
44312         * sysdeps/i386/tst-audit.h: New file.
44313         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
44314         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
44315         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
44316         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
44317         * sysdeps/sh/tst-audit.h: Likewise.
44318         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
44319         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
44320         * sysdeps/x86_64/tst-audit.h: Likewise.
44322 2012-07-26  Andreas Jaeger  <aj@suse.de>
44324         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
44325         ptrace.
44327         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
44328         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
44329         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
44330         PTRACE_O_MASK.
44331         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
44332         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
44333         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
44335         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
44336         value.
44338         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
44339         _sigsys.
44340         (si_call_addr, si_syscall, si_arch): Define new macro.
44341         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
44342         _sigsys.
44343         (si_call_addr, si_syscall, si_arch): Define new marcro.
44344         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
44345         _sigsys.
44346         (si_call_addr, si_syscall, si_arch): Define new macro.
44347         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
44348         _sigsys.
44349         (si_call_addr, si_syscall, si_arch): Define new macro.
44351 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
44353         [BZ #13717]
44354         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44355         Change to 2.4.21 where previously 2.4.1.
44356         * sysdeps/unix/sysv/linux/configure: Regenerated.
44357         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
44358         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
44359         Linux kernel version.
44360         (__ASSUME_STD_AUXV): Remove.
44361         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
44362         kernel version.
44363         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
44364         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
44365         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
44366         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
44367         (__ASSUME_NETLINK_SUPPORT): Likewise.
44368         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
44369         (__no_netlink_support): Remove conditional definition.
44370         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
44371         Remove.
44372         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
44373         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
44374         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
44375         (if_nameindex_ioctl): Remove.
44376         (if_nameindex_netlink): Do not handle __no_netlink_support.
44377         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
44378         code.
44379         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
44380         Remove conditional code.
44381         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
44382         code.
44383         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
44384         unconditional.
44385         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
44386         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
44387         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
44388         Remove.
44389         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
44390         [!__ASSUME_STD_AUXV]: Remove conditional code.
44391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
44392         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
44393         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
44394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
44395         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
44396         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
44397         code.
44398         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
44399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44400         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
44401         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
44402         conditional code.
44403         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
44404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
44405         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
44406         code.
44407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44408         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
44409         conditional code.
44410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
44411         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44412         code unconditional.
44413         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44414         conditional code.
44415         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44416         unconditional.
44417         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44418         conditional code.
44419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44420         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44421         unconditional.
44422         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44423         conditional code.
44424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
44425         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44426         code unconditional.
44427         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44428         conditional code.
44429         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44430         unconditional.
44431         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44432         conditional code.
44433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
44434         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44435         code unconditional.
44436         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44437         conditional code.
44438         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44439         unconditional.
44440         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44441         conditional code.
44443 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
44445         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
44446         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
44447         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
44448         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
44449         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
44450         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
44451         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
44452         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
44453         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
44454         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
44455         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
44456         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
44457         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
44458         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
44459         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
44460         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
44461         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
44462         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
44463         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
44464         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
44465         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
44466         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
44467         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
44469 2012-07-25  Florian Weimer  <fweimer@redhat.com>
44471         * Versions.def: Add GLIBC_2.17.
44472         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
44473         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
44474         Introduce __libc_secure_getenv.
44475         * stdlib/Versions (2.17): Add secure_getenv
44476         (GLIBC_PRIVATE): Add __libc_secure_getenv.
44477         * stdlib/secure-getenv.c: Rename __secure_getenv to
44478         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
44479         symbol __secure_getenv for GLIBC_2.0.
44480         * stdlib/tst-secure-getenv.c: New.
44481         * stdlib/Makefile (tests): Add testcase.
44482         * manual/startup.texi (Environment Access): Document
44483         secure_getenv.
44484         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
44485         __libc_secure_getenv.
44486         * inet/ruserpass.c (ruserpass): Likewise.
44487         * malloc/mtrace.c (mtrace): Likewise.
44488         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
44489         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
44490         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
44491         * sysdeps/posix/tempname.c: Likewise.  Evaluate
44492         HAVE_SECURE_GETENV.
44493         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
44494         __secure_getenv to __libc_secure_getenv.
44495         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
44496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44497         Likewise.
44498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44499         Likewise.
44500         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
44501         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
44502         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
44503         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
44504         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
44505         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
44506         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
44508 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
44510         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
44511         (struct La_i86_retval): Likewise.
44512         (struct La_x86_64_regs): Likewise.
44513         (struct La_x86_64_retval): Likewise.
44514         (struct La_x32_regs): Likewise.
44515         (struct La_x32_retval): Likewise.
44516         (struct La_ppc32_regs): Likewise.
44517         (struct La_ppc32_retval): Likewise.
44518         (struct La_ppc64_regs): Likewise.
44519         (struct La_ppc64_retval): Likewise.
44520         (struct La_sh_regs): Likewise.
44521         (struct La_sh_retval): Likewise.
44522         (struct La_s390_32_regs): Likewise.
44523         (struct La_s390_32_retval): Likewise.
44524         (struct La_s390_64_regs): Likewise.
44525         (struct La_s390_64_retval): Likewise.
44526         (struct La_sparc32_regs): Likewise.
44527         (struct La_sparc32_retval): Likewise.
44528         (struct La_sparc64_regs): Likewise.
44529         (struct La_sparc64_retval): Likewise.
44530         (struct audit_ifaces): Remove architecture-specific pltenter and
44531         pltexit members.
44532         * sysdeps/i386/ldsodefs.h: New file.
44533         * sysdeps/powerpc/ldsodefs.h: Likewise.
44534         * sysdeps/s390/ldsodefs.h: Likewise.
44535         * sysdeps/sh/ldsodefs.h: Likewise.
44536         * sysdeps/sparc/ldsodefs.h: Likewise.
44537         * sysdeps/x86_64/ldsodefs.h: Likewise.
44539 2012-07-25  Marek Polacek  <polacek@redhat.com>
44541         [BZ #6808]
44542         * math/libm-test.inc (yn_test): Add another test.
44543         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
44544         to ERANGE when the result is +-Inf.
44545         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
44546         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
44547         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
44548         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
44550 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
44552         * conform/data/time.h-data (NULL): Use macro-constant.  Require
44553         equal to 0.
44554         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
44555         clock_t.
44556         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
44558 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
44560         * configure.in <sysdeps resolving>: Correct printing
44561         Implies_before.
44562         * configure: Regenerate.
44564 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
44566         * math/w_ilogb.c: Include <limits.h>.
44567         * math/w_ilogbl.c: Likewise.
44569 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
44571         * manual/lang.texi (__va_copy): Document primarily as ISO C99
44572         va_copy.  Document allowing for unavailable va_copy only as
44573         pre-C99 compatibility.
44574         * manual/string.texi (Copying and Concatenation): Use va_copy
44575         instead of __va_copy in concat example.
44577 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
44579         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
44580         (__sendto): Use create_address_port.  Initialize APORT and deallocate
44581         it if not null.
44583         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
44584         with O_NOLINK passed to __file_name_lookup.
44586         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
44587         with O_NOLINK passed to __file_name_lookup.
44589         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
44590         negative N or less than NGIDS.
44592         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
44593         type to string_t.  Set ERANGE as errno and return it if NAME is not big
44594         enough.  Use memcpy instead of strncpy.
44596 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
44598         * elf/Makefile (check-data): Remove.
44599         (localplt.data): New vpath directive.
44600         ($(objpfx)check-localplt.out): Use localplt.data from vpath
44601         instead of $(check-data).
44602         * scripts/data/localplt-generic.data: Move to ...
44603         * sysdeps/generic/localplt.data: ... here.
44604         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
44605         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
44606         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
44607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
44608         ... here.
44609         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
44610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
44611         ... here.
44612         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
44613         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
44614         ... here.
44615         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
44616         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
44617         ... here.
44618         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
44619         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
44620         ... here.
44621         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
44622         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
44623         ... here.
44625 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44627         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
44628         PPC32 and PPC64 files.
44629         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
44630         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
44632 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44634         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
44635         __makecontext_ret to ...
44636         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
44637         ... here and call exit if uc_link is NULL.  New file.
44638         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
44639         __makecontext_ret.S.
44640         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
44641         __makecontext_ret to ...
44642         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
44643         ... here and call exit if uc_link is NULL.  New file.
44644         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
44645         __makecontext_ret.S.
44647 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44649         * elf/elf.h (R_390_IRELATIVE): New definition.
44650         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
44651         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
44652         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
44653         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
44654         (elf_machine_lazy_rel): Likewise.
44655         * sysdeps/s390/dl-irel.h: New file.
44656         * sysdeps/s390/s390-64/memcpy.S: New asm code.
44657         * sysdeps/s390/s390-64/memset.S: New asm code.
44658         * sysdeps/s390/s390-64/memcmp.S: New asm code.
44659         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
44660         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
44661         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
44662         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
44663         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
44664         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
44665         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
44666         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
44667         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
44668         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
44669         * sysdeps/s390/s390-32/memcpy.S: New asm code.
44670         * sysdeps/s390/s390-32/memset.S: New asm code.
44671         * sysdeps/s390/s390-32/memcmp.S: New asm code.
44673 2012-07-17  Marek Polacek  <polacek@redhat.com>
44675         [BZ #14349]
44676         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
44677         * sysdeps/s390/s390-64/configure.in: Likewise.
44678         * sysdeps/sparc/configure.in: Likewise.
44679         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
44680         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
44681         * sysdeps/i386/configure.in: Likewise.
44682         * sysdeps/x86_64/configure.in: Likewise.
44683         * sysdeps/sh/configure.in: Likewise.
44684         * sysdeps/s390/s390-32/configure: Regenerated.
44685         * sysdeps/s390/s390-64/configure: Likewise.
44686         * sysdeps/x86_64/configure: Likewise.
44687         * sysdeps/sh/configure: Likewise.
44688         * sysdeps/powerpc/powerpc64/configure: Likewise.
44689         * sysdeps/powerpc/powerpc32/configure: Likewise.
44690         * sysdeps/sparc/configure: Likwise.
44691         * sysdeps/i386/configure: Likewise.
44693         * elf/dl-open.c: Comment fixes.
44695 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
44697         * Makefile [CXX] (check-data): Remove.
44698         [CXX] (c++-types.data): New vpath directive.
44699         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
44700         vpath.  Do not allow for C++ type data being missing.
44701         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
44702         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
44703         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
44704         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
44705         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
44706         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
44707         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
44708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
44709         ... here.
44710         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
44711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
44712         ... here.
44713         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
44714         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
44715         ... here.
44716         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
44717         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
44718         ... here.
44719         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
44720         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
44721         ... here.
44722         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
44723         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
44724         ... here.
44725         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
44726         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
44727         ... here.
44728         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
44729         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
44731         * elf/tls-macros.h (TLS_LE): Move architecture-specific
44732         definitions to architecture-specific files.
44733         (TLS_IE): Likewise.
44734         (TLS_LD): Likewise.
44735         (TLS_GD): Likewise.
44736         * sysdeps/i386/tls-macros.h: New file.
44737         * sysdeps/powerpc/tls-macros.h: Likewise.
44738         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
44739         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
44740         * sysdeps/sh/tls-macros.h: Likewise.
44741         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
44742         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
44743         * sysdeps/x86_64/tls-macros.h: Likewise.
44745 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
44747         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
44748         zero value for regular exit case.
44750         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
44751         (__start_context): Preserve zero value for regular exit case.
44753 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
44754             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44756         * manual/setjmp.texi (setcontext): Clarify normal process
44757         termination when uc_link is the null pointer.
44758         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
44759         exit call.
44761 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
44763         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
44764         preprocessor.  Test for each exception mask separately.
44766 2012-07-16  Andreas Jaeger  <aj@suse.de>
44768         * po/ru.po: Update from translation team.
44770 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
44772         * conform/data/string.h-data (NULL): Use macro-constant.  Require
44773         equal to 0.
44774         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
44775         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
44776         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
44777         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
44778         [ISO || ISO99 || ISO11] (*_t): Do not allow.
44780 2012-07-13  Andreas Jaeger  <aj@suse.de>
44782         * po/fr.po: Update from translation team.
44784 2012-07-12  Marek Polacek  <polacek@redhat.com>
44786         [BZ #14173]
44787         * math/libm-test.inc (yn_test): Add test for BZ #14173.
44788         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
44789         loop condition.
44791 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
44793         [BZ #13717]
44794         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44795         Change to 2.4.1 where previously 2.4.0.
44796         * sysdeps/unix/sysv/linux/configure: Regenerated.
44797         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
44798         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
44799         version.
44800         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
44801         (__ASSUME_AT_CLKTCK): Remove.
44802         (__ASSUME_AT_PAGESIZE): Likewise.
44803         (__ASSUME_AT_XID): Likewise.
44804         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
44805         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
44806         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
44807         unconditionally.
44808         (HAVE_AUX_PAGESIZE): Likewise.
44809         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
44810         [__ASSUME_AT_CLKTCK]: Make code unconditional.
44811         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
44813 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
44815         [BZ #14307]
44816         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
44817         the temporary buffer used to invoke __gethostbyname2_r,
44818         __gethostbyaddr_r and gethostbyname4_r to make room for struct
44819         host_data / struct gaih_addrtuple.
44820         * resolv/nss_dns/dns-host.c (global scope): Move definition of
44821         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
44822         header file nss/nsswitch.h.
44823         * nss/nsswitch.h (global scope): Add definition of implementation
44824         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
44825         resolv/nss_dns/dns-host.c).
44827 2012-07-11  Andreas Jaeger  <aj@suse.de>
44829         * po/fr.po: Update from translation team.
44831         * po/sv.po: Update from translation team
44832         * po/fr.po: Another update from translation team.
44834 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44836         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
44837         for subnormals or multiply small sinh result by itself.
44838         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
44839         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44841 2012-07-11  David S. Miller  <davem@davemloft.net>
44843         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44845 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
44847         [BZ #14347]
44848         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
44849         (INTERNAL_MARK): Shift it here.
44851 2012-07-10  Marek Polacek  <polacek@redhat.com>
44853         [BZ #14151]
44854         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
44855         libc_cv_asm_global_directive with .globl.
44856         * configure: Regenerated.
44857         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
44858         with .globl.
44859         * sysdeps/i386/configure: Regenerated.
44860         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
44861         with .globl.
44862         * sysdeps/x86_64/configure: Regenerated.
44863         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
44864         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
44865         * elf/tst-unique2mod2.c: Likewise.
44866         * elf/tst-unique2mod1.c: Likewise.
44867         * elf/tst-unique1mod2.c: Likewise.
44868         * elf/tst-unique1mod1.c: Likewise.
44869         * sysdeps/s390/s390-32/sysdep.h: Likewise.
44870         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
44871         * sysdeps/s390/s390-64/sysdep.h: Likewise.
44872         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44873         * sysdeps/mach/sysdep.h: Likewise.
44874         * sysdeps/i386/sysdep.h: Likewise.
44875         * sysdeps/i386/i386-mcount.S: Likewise.
44876         * sysdeps/x86_64/_mcount.S: Likewise.
44877         * sysdeps/x86_64/sysdep.h: Likewise.
44878         * sysdeps/sh/_mcount.S: Likewise.
44879         * sysdeps/sh/sysdep.h: Likewise.
44880         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
44881         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
44882         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
44883         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44884         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
44885         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
44886         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
44887         * locale/localeinfo.h: Likewise.
44888         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
44889         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
44891 2012-07-09  Roland McGrath  <roland@hack.frob.com>
44893         [BZ #14336]
44894         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
44895         system".
44896         * manual/message.texi (The Uniforum approach): Likewise.
44897         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
44898         (glibc iconv Implementation): Likewise.
44900 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
44902         [BZ #14337]
44903         * math/s_clog.c (__clog): Avoid scaling a value down where that
44904         could result in underflow.
44905         * math/s_clog10.c (__clog10): Likewise.
44906         * math/s_clog10f.c (__clog10f): Likewise.
44907         * math/s_clog10l.c (__clog10l): Likewise.
44908         * math/s_clogf.c (__clogf): Likewise.
44909         * math/s_clogl.c (__clogl): Likewise.
44910         * math/libm-test.inc (clog_test): Add more tests.
44911         (clog10_test): Likewise.
44912         * sysdeps/i386/fpu/libm-test-ulps: Update.
44913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44915 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
44917         [BZ #14283]
44918         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
44919         by 7 not 8 to examine high bit of fractional part.
44921         [BZ #14042]
44922         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
44923         for call to __mcount_internal.
44924         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
44925         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
44926         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
44928 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
44930         [BZ #14154]
44931         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
44932         approximation for values within 0x1p-13f of an odd multiple of
44933         pi/4.
44934         * math/libm-test.inc (tan_test): Do not allow spurious underflow
44935         exception.  Add more tests.
44936         * sysdeps/i386/fpu/libm-test-ulps: Update.
44938         [BZ #6778]
44939         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
44940         inputs and return -1 for them.  Do not check for +Inf in case not
44941         reachable for +Inf.
44942         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
44943         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
44944         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
44945         and return -1 for them.  Do not check for +Inf in case not
44946         reachable for +Inf.
44947         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
44948         define.
44949         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
44950         and return -1 for them.  Do not check for +Inf in case not
44951         reachable for +Inf.
44952         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
44953         spurious underflow.
44954         * sysdeps/i386/fpu/libm-test-ulps: Update.
44955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44957 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
44959         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
44961 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
44963         [BZ #14157]
44964         [BZ #14331]
44965         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
44966         could result in spurious underflow.  Scale down values above
44967         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
44968         * math/s_csqrtf.c (__csqrtf): Likewise.
44969         * math/s_csqrtl.c (__csqrtl): Likewise.
44970         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
44971         spurious underflow.
44972         * sysdeps/i386/fpu/libm-test-ulps: Update.
44973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44975 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
44977         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
44978         xopen-msg.sed.
44979         * catgets/xopen-msg.awk: New file.
44980         * catgets/xopen-msg.sed: Removed.
44982         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
44983         po2text.sed.
44984         * intl/po2test.awk: New file.
44985         * intl/po2test.sed: Removed.
44987 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
44989         [BZ #14328]
44990         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
44991         or multiply small sinh result by itself.
44992         * math/s_ctanf.c (__ctanf): Likewise.
44993         * math/s_ctanh.c (__ctanh): Likewise.
44994         * math/s_ctanhf.c (__ctanhf): Likewise.
44995         * math/s_ctanhl.c (__ctanhl): Likewise.
44996         * math/s_ctanl.c (__ctanl): Likewise.
44997         * math/libm-test.inc (ctan_test_tonearest): New function.
44998         (ctan_test_towardzero): Likewise.
44999         (ctan_test_downward): Likewise.
45000         (ctan_test_upward): Likewise.
45001         (ctanh_test_tonearest): Likewise.
45002         (ctanh_test_towardzero): Likewise.
45003         (ctanh_test_downward): Likewise.
45004         (ctanh_test_upward): Likewise.
45005         (main): Call these new functions.
45006         * sysdeps/i386/fpu/libm-test-ulps: Update.
45007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45009 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
45011         * .gitignore: Delete /ports entry.
45013 2012-07-03  Andreas Jaeger  <aj@suse.de>
45015         * po/bg.po: Update from translation team.
45016         * po/cs.po: Likewise.
45017         * po/de.po: Likewise.
45018         * po/hr.po: Likewise.
45019         * po/nl.pl: Likewise.
45020         * po/pl.po: Likewise.
45021         * po/vi.po: Likewise.
45023 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
45025         * Makeconfig [!+link] (+link-before-libc): New variable.
45026         [!+link] (+link-after-libc): Likewise.
45027         [!+link] (+link-tests): Likewise.
45028         [!+link] (+link): Define in terms of $(+link-before-libc) and
45029         $(+link-after-libc).
45030         [!+link-static] (+link-static-before-libc): New variable.
45031         [!+link-static] (+link-static-after-libc): Likewise.
45032         [!+link-static] (+link-static-tests): Likewise.
45033         [!+link-static] (+link-static): Define in terms of
45034         $(+link-static-before-libc) and $(+link-static-after-libc).
45035         [build-shared] (link-libc-before-gnulib): New variable.
45036         [build-shared] (link-libc-tests): Likewise.
45037         [build-shared] (link-libc): Define in terms of
45038         $(link-libc-before-gnulib).
45039         [!build-shared] (link-libc-tests): New variable.
45040         (link-libc-static-tests): New variable.
45041         [!gnulib] (gnulib-arch): New variable.
45042         [!gnulib] (gnulib-tests): Likewise.
45043         [!gnulib] (static-gnulib-arch): Likewise.
45044         [!gnulib] (static-gnulib-tests): Likewise.
45045         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
45046         Define with "=" instead of ":=".
45047         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
45048         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
45049         * Rules (binaries-all-notests): New variable.
45050         (binaries-all-tests): Likewise.
45051         (binaries-static-notests): Likewise.
45052         (binaries-static-tests): Likewise.
45053         (binaries-all): Define using $(binaries-all-notests) and
45054         $(binaries-all-tests).
45055         (binaries-static): Define using $(binaries-static-notests) and
45056         $(binaries-static-tests).
45057         (binaries-shared-tests): New variable.
45058         (binaries-shared-notests): Likewise.
45059         (binaries-shared): Remove variable.
45060         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
45061         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
45062         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
45063         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
45064         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
45065         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
45066         * elf/Makefile (sln-modules): New variable.
45067         (extra-objs): Add $(sln-modules:=.o).
45068         (ldconfig-modules): Add static-stubs.
45069         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
45070         * elf/static-stubs.c: New file.
45072         [BZ #14283]
45073         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
45074         by 7 not 8 to examine high bit of fractional part.  Use volatile
45075         variables when splitting into final array of floats if
45076         __FLT_EVAL_METHOD__ != 0.
45077         * math/libm-test.inc (cos_test): Add another test.
45078         (sin_test): Likewise.
45079         * sysdeps/i386/fpu/libm-test-ulps: Update.
45081         [BZ #14273]
45082         * math/libm-test.inc (cosh_test): Add more tests.
45084         * version.h (RELEASE): Set to "development".
45085         (VERSION): Set to "2.16.90".
45087 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
45089         * NEWS: Update copyright. Remove last-updated date.
45090         Mention math library bug fixes and timezone data changes.
45091         * README: Mention GNU/Hurd, x32, and HPPA support status.
45093 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
45095         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
45097 2012-06-27  Andreas Jaeger  <aj@suse.de>
45099         * manual/contrib.texi (Contributors): Add Samuel Thibault.
45101 2012-06-25  Andreas Jaeger  <aj@suse.de>
45103         * sysdeps/s390/fpu/libm-test-ulps: Update.
45105 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
45106             Thomas Schwinge  <thomas@codesourcery.com>
45108         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
45109         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
45110         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
45111         fanotify_mark.
45113 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
45115         * sysdeps/mach/start.c: Remove file.
45116         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
45117         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
45118         * sysdeps/sh/init-first.c: Likewise.
45120         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
45121         registers for frame unwinding purposes, add CFI directives.
45122         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
45123         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
45124         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
45125         Likewise.
45127         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
45128         __fortify_fail returning.
45129         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
45131         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
45132         sysdeps/sh/____longjmp_chk.S.
45133         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
45134         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
45135         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
45136         (gen-as-const-headers): Append sigaltstack-offsets.sym.
45138         * sysdeps/sh/abort-instr.h: New file.
45139         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
45140         process in case exit returns.
45142         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
45143         initialize the GOT register before use.
45145         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
45146         calculation of ARGC > 4.
45148         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
45149         meaningful names to some local labels.
45151 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45152             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45154         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
45155         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
45156         (__arch_compare_and_exchange_val_16_acq): Likewise.
45157         (__arch_compare_and_exchange_val_32_acq): Likewise.
45158         (atomic_exchange_and_add): Fix gUSA sequence.
45159         (atomic_add): Likewise.
45160         (atomic_add_negative): Likewise.
45161         (atomic_add_zero): Likewise.
45162         (atomic_bit_test_set): Likewise.
45164 2012-06-22  Andreas Schwab  <schwab@redhat.com>
45166         [BZ #13579]
45167         * include/link.h (struct link_map): Add l_free_initfini.
45168         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
45169         l_initfini.
45170         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
45171         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
45172         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
45173         set.
45175 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
45177         * configure.in: Use AC_LANG_SOURCE.
45178         * configure: Regenerate.
45180 2012-06-22  Roland McGrath  <roland@hack.frob.com>
45182         * configure.in (libc_cv_localstatedir): New substituted variable.
45183         * configure: Regenerated.
45184         * config.make.in (localstatedir): New variable, substituted from
45185         libc_cv_localstatedir.
45186         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
45187         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
45188         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
45189         * sysdeps/gnu/configure: Regenerated.
45191 2012-06-21  Jeff Law  <law@redhat.com>
45193         [BZ #14277]
45194         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
45195         free.  Simplify list management for _LIBC case.
45197 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
45199         [BZ #14273]
45200         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
45201         Clear sign bit of 64-bit integer value before comparing against
45202         overflow value.
45204         * sysdeps/mach/configure: Regenerated.
45206 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
45208         [BZ #14278]
45209         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
45211 2012-06-21  Jeff Law  <law@redhat.com>
45213         [BZ #13882]
45214         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
45215         uint16_t for elements in the "seen" array to avoid char overflows.
45216         * elf/dl-fini.c (_dl_sort_fini): Likewise.
45217         * elf/dl-open.c (dl_open_worker): Likewise.
45219 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
45221         * scripts/list-sources.sh: Scan PORTS for translations.
45222         * po/libc.pot: Regenerated.
45224 2012-06-21  Andreas Jaeger  <aj@suse.de>
45226         [BZ #12194]
45227         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
45228         warning.
45229         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
45230         * bits/byteswap-16.h (__bswap_16): Likewise.
45231         * bits/byteswap.h (__bswap_constant_16): Likewise.
45233 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
45235         [BZ #14117]
45236         * sysdeps/i386/fpu_control.h: Removed.
45237         * sysdeps/x86_64/fpu_control.h: Moved to ...
45238         * sysdeps/x86/fpu_control.h: Here.
45240         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
45241         (_FPU_SETCW): Likewise.
45243 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
45245         [BZ #14117]
45246         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
45247         * sysdeps/x86/fpu/bits/mathinline.h: This.
45248         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
45250         [BZ #14050]
45251         [BZ #14117]
45252         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
45253         functions if __x86_64__ is defined.
45255 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
45257         * string/endian.h: Add !__ASSEMBLER__ condition for including
45258         conversion interfaces.
45260 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
45262         [BZ #14241]
45263         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
45264         of ABS(x) in calculating zero to negative powers other than odd
45265         integers.
45266         * math/libm-test.inc (pow_test): Add more tests.
45268 2012-06-15  Andreas Jaeger  <aj@suse.de>
45270         * manual/contrib.texi (Contributors): Update entry of Liubov
45271         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
45272         Machado Filho.
45274 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
45276         * string/string.h: Add __wur to GNU version of strerror_r.
45278 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
45280         [BZ #14229]
45281         * string/Makefile (tests): Add tst-strtok_r.
45282         * string/tst-strtok_r.c: New file.
45283         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
45284         RAX_LP/RDX_LP on SAVE_PTR.
45286 2012-06-14  Roland McGrath  <roland@hack.frob.com>
45288         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
45290 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
45292         * libm_test.inc (csqrt_test): Allow more spurious underflow
45293         exceptions.
45294         (j0_test): Likewise.
45295         (j1_test): Likewise.
45296         (y0_test): Likewise.
45297         (y1_test): Likewise.
45299 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
45301         * po/Makefile (libc.pot): Use UTF-8 charset.
45303 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
45305         [BZ #14210]
45306         Suppress sign-conversion warning from FD_SET.
45307         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
45308         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
45309         not unsigned long int.
45310         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
45312 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
45314         [BZ #14050]
45315         [BZ #14117]
45316         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
45317         __extern_always_inline instead of __extern_inline.
45318         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
45319         (__signbit): Likewise.
45320         (__signbitl): Support C++ namespace.
45321         (lrintf): New inline function.
45322         (lrint): Likewise.
45323         (llrintf): Likewise.
45324         (llrint): Likewise.
45325         (fmaxf): Likewise.
45326         (fmax): Likewise.
45327         (fminf): Likewise.
45328         (fmin): Likewise.
45329         (rint): Likewise.
45330         (rintf): Likewise.
45331         (ceil): Likewise.
45332         (ceilf): Likewise.
45333         (floor): Likewise.
45334         (floorf): Likewise.
45335         (nearbyint): Likewise.
45336         (nearbyintf): Likewise.
45338 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
45340         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
45341         non-default versions.
45343 2012-06-11  Roland McGrath  <roland@hack.frob.com>
45345         [BZ #14218]
45346         * manual/argp.texi (Argp): Reword argp_parse description slightly.
45348 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
45350         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
45351         (FE_UPWARD, FE_DOWNWARD): Don't define.
45352         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
45353         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
45355         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
45356         reading it.
45357         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
45358         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45360 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45362         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45363         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
45364         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
45365         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
45367 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
45369         [BZ #14117]
45370         * sysdeps/i386/fpu/bits/fenv.h: Removed.
45371         * sysdeps/i386/fpu/Implies: New file.
45372         * sysdeps/x86_64/fpu/Implies: Likewise.
45373         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
45374         * sysdeps/x86/fpu/bits/fenv.h: This.
45376         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
45377         __SSE_MATH__.
45379 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
45381         [BZ #14134]
45382         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
45383         character 0xffff that matches the last element of the
45384         conversion table.
45386 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45388         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
45389         fmodl commit.
45391 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45393         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
45394         values higher than 25.6283.
45396 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45398         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
45399         subnormal exponent extraction and add some __builtin_expect.
45400         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
45401         Fix for subnormal mantissa calculation.
45403 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
45405         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
45406         cpu2 is -1 and errno is not ENOSYS.
45408 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
45410         [BZ #14117]
45411         * sysdeps/i386/i486/bits/string.h: Renamed to ...
45412         * sysdeps/x86/bits/string.h: This.
45413         * sysdeps/x86_64/bits/string.h: Removed.
45415         * sysdeps/i386/i486/bits/string.h: Define inline functions only
45416         if not compiling for x86-64, but compiling for >= i486.
45418         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
45419         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
45421         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
45422         New macro from Linux kernel 3.4.0.
45423         (FP_XSTATE_MAGIC2): Likewise.
45424         (FP_XSTATE_MAGIC2_SIZE): Likewise.
45425         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
45426         (struct _fpx_sw_bytes): New struct.
45427         (struct _xsave_hdr): Likewise.
45428         (struct _ymmh_state): Likewise.
45429         (struct _xstate): Likewise.
45431         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
45432         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
45433         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
45434         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
45435         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
45436         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
45438         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
45439         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
45440         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
45441         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
45442         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
45443         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
45445 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45447         [BZ #13743]
45448         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
45449         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
45450         (sysdep_headers): Include sys/platform/ppc.h.
45451         * sysdeps/powerpc/test-gettimebase.c: Test for
45452         __ppc_get_timebase() to catch future ISA opcode/insn changes.
45453         * manual/Makefile (appendices): Include platform.texi.
45454         * manual/contrib.texi (Contributors): Update @node pointers.
45455         * manual/maint.texi (Maintenance): Likewise.
45456         (Platform): New node.
45457         * manual/platform.texi: New file.  Document the new features.
45459 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45460             Jakub Jelinek  <jakub@redhat.com>
45462         [BZ #14188]
45463         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
45464         where __builtin_expect is unavailable.
45466 2012-06-03  David S. Miller  <davem@davemloft.net>
45468         * stdlib/longlong.h: Updated from GCC.
45470 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
45472         [BZ #14042]
45473         * sysdeps/powerpc/powerpc32/mcount.c: New file.
45474         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
45475         __mcount_internal.
45476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
45477         (GLIBC_2.16): Likewise.
45479 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
45481         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
45483 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
45485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
45486         (default-abi): New variable.
45487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
45488         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
45489         variable.
45490         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
45491         Likewise.
45492         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
45493         Likewise.
45494         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
45495         Likewise.
45497         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
45498         definition.  Document in comment.
45500 2012-06-01  David S. Miller  <davem@davemloft.net>
45502         * stdlib/longlong.h: Updated from GCC.
45504 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
45506         [BZ #14117]
45507         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
45508         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
45509         sys/debugreg.h sys/io.h here.
45510         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
45511         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
45512         sys/io.h.
45513         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
45514         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
45515         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
45516         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
45517         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
45518         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
45520         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
45521         Define only if __x86_64__ is defined.
45523 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
45525         [BZ #14048]
45526         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
45527         Use int64_t for variable i.
45528         * math/libm-test.inc (fmod_test): Add more tests.
45530         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
45531         z computation is not scheduled after fetestexcept.
45532         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
45533         Use math_force_eval instead of asm to ensure calculation scheduled
45534         before exception test.
45535         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
45536         Ensure a1 + u.d computation is not scheduled after fetestexcept.
45538 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
45540         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
45541         computation is not scheduled after fetestexcept.
45543 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
45545         [BZ #14117]
45546         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
45547         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
45549 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45551         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
45552         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
45554 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
45556         [BZ #14117]
45557         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
45558         <bits/wordsize.h>.
45559         (__WCHAR_MIN): Support __WORDSIZE == 64.
45560         (__WCHAR_MAX): Likewise.
45562         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
45563         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
45565         [BZ #14183]
45566         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
45567         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
45569         [BZ #14117]
45570         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
45571         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
45573         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
45574         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
45576         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
45577         Defined to 1 if __x86_64__ isn't defined.
45578         (_STAT_VER_LINUX_OLD): New.
45579         (st_atime): Remove duplicate.
45580         (st_mtime): Likewise.
45581         (st_ctime): Likewise.
45583 2012-05-31  David S. Miller  <davem@davemloft.net>
45585         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
45586         entries.
45588 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
45590         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
45591         gen-libm-test.pl.
45593         [BZ #14132]
45594         * elf/dl-reloc.c: Include <_itoa.h>.
45595         (_dl_reloc_bad_type): Remove use of INTUSE.
45596         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
45597         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
45598         * stdio-common/psiginfo.c (psiginfo): Likewise.
45599         * stdio-common/psignal.c (psignal): Likewise.
45600         * string/strsignal.c (strsignal): Likewise.
45601         * include/signal.h (_sys_siglist): Declare hidden proto.
45602         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
45603         INTVARDEF with libc_hidden_data_def.
45604         * stdio-common/itoa-udigits.c: Likewise.
45605         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
45606         (_itoa_lower_digits_internal): Remove declaration.
45607         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
45608         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
45609         (_sys_sigabbrev_internal): Remove aliases.
45610         (_sys_siglist): Define hidden alias.
45612 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
45614         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45615         bits/sysctl.h.
45617 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
45619         [BZ #14117]
45620         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
45621         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
45623         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
45624         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
45625         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
45626         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
45627         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
45628         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
45630         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
45631         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
45632         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
45634         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
45635         with __addr.
45636         (insw): Likewise.
45637         (insl): Likewise.
45638         (outsb): Likewise.
45639         (outsw): Likewise.
45640         (outsl): Likewise.
45642         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
45643         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
45644         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
45646         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
45647         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
45648         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
45649         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
45650         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
45651         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
45653         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
45654         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
45656         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
45657         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
45659         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
45660         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
45661         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
45663         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
45664         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
45665         to ...
45666         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
45668         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
45669         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
45670         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
45672         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
45673         for x86-64.
45674         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
45676 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
45678         * math/math.h (M_El): Use two more decimal places.
45679         (M_LOG2El): Likewise.
45680         (M_LOG10El): Likewise.
45681         (M_LN2l): Likewise.
45682         (M_LN10l): Likewise.
45683         (M_PIl): Likewise.
45684         (M_PI_2l): Likewise.
45685         (M_PI_4l): Likewise.
45686         (M_1_PIl): Likewise.
45687         (M_2_PIl): Likewise.
45688         (M_2_SQRTPIl): Likewise.
45689         (M_SQRT2l): Likewise.
45690         (M_SQRT1_2l): Likewise.
45692 2012-05-31  David S. Miller  <davem@davemloft.net>
45694         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
45695         values between float registers.
45696         * sysdeps/sparc/sparc64/memset.S: Likewise.
45697         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45699 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
45701         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
45702         -D_FORTIFY_SOURCE=1.
45703         (CPPFLAGS-tst-longjmp_chk.c): Define.
45704         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
45705         (CPPFLAGS-tst-longjmp_chk2.c): Define.
45706         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
45707         CFLAGS-tst-wchar-h.c.
45709 2012-05-31  Marek Polacek  <polacek@redhat.com>
45711         [BZ #14132]
45712         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
45713         __endmntent_internal): Remove declaration.
45714         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
45715         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
45716         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
45718 2012-05-30  David S. Miller  <davem@davemloft.net>
45720         * sysdeps/sparc/sparc32/soft-fp/q_util.c
45721         (___Q_simulate_exceptions): Use real FP ops rather than writing
45722         into the %fsr.
45723         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
45724         Likewise.
45726 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
45728         [BZ #14117]
45729         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
45730         * sysdeps/x86/bits/xtitypes.h: This.
45732         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
45733         * sysdeps/x86/bits/wordsize.h: This.
45735         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
45736         * sysdeps/x86/bits/huge_vall.h: This.
45738         * sysdeps/i386/bits/select.h: Removed.
45739         * sysdeps/x86_64/bits/select.h: Renamed to ...
45740         * sysdeps/x86/bits/select.h: This.
45742         * sysdeps/i386/bits/setjmp.h: Removed.
45743         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
45744         * sysdeps/x86/bits/setjmp.h: This.
45746         * sysdeps/i386/bits/mathdef.h: Removed.
45747         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
45748         * sysdeps/x86/bits/mathdef.h: This.
45750 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
45752         [BZ #14132]
45753         * include/sys/socket.h (__connect_internal)
45754         (__libc_sa_len_internal): Remove declaration.
45755         (__connect, __libc_sa_len): Declare hidden_proto.
45756         (SA_LEN): Remove use of INTUSE.
45757         * socket/connect.c: Add libc_hidden_def.
45758         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
45759         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
45760         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
45761         alias.
45762         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
45763         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
45764         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
45765         of adding _internal alias.
45767 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
45769         [BZ #14117]
45770         * sysdeps/i386/bits/link.h: Removed.
45771         * sysdeps/i386/bits/linkmap.h: Likewise.
45772         * sysdeps/x86_64/bits/link.h: Renamed to ...
45773         * sysdeps/x86/bits/link.h: This.
45774         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
45775         * sysdeps/x86/bits/linkmap.h: This.
45777         * sysdeps/i386/bits/endian.h: Removed.
45778         * sysdeps/x86_64/bits/endian.h: Renamed to ...
45779         * sysdeps/x86/bits/endian.h: This.
45781         * sysdeps/i386/bits/byteswap.h: Removed.
45782         * sysdeps/i386/bits/byteswap-16.h: Likewise.
45783         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
45784         * sysdeps/x86/bits/byteswap.h: This.
45785         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
45786         * sysdeps/x86/bits/byteswap-16.h: This.
45787         * sysdeps/i386/Implies: Add x86.
45788         * sysdeps/x86_64/Implies: Likewise.
45790 2012-05-30  David S. Miller  <davem@davemloft.net>
45792         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
45793         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
45794         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
45795         (FP_TRAPPING_EXCEPTIONS): Define.
45796         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
45797         (FP_TRAPPING_EXCEPTIONS): Define.
45798         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
45799         subnormals only when inexact has been signalled or underflow
45800         exceptions are enabled.
45801         (_FP_PACK_CANONICAL): Likewise.
45803 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
45805         [BZ #14183]
45806         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
45807         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
45809 2012-05-30  Richard Henderson  <rth@twiddle.net>
45811         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
45812         with #ifndef NOT_IN_libc.
45814         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
45815         marked to avoid plt entry.
45817 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
45819         [BZ #14112]
45820         * Makeconfig (default-abi): New macro.
45821         (abi-includes): Likewise.
45822         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
45823         $(abi-$(default-abi)-lib-soname) for soname if defined.
45824         ($(common-objpfx)gnu/lib-names.stmp): Generate from
45825         abi-variants.
45826         * Makefile (installed-stubs): Likewise.
45827         * include/stubs-biarch.h: Removed.
45828         * scripts/lib-names.awk: Only handle one library at a time.
45829         * scripts/soversions.awk: Remove WORDSIZE support.
45830         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
45831         entries.
45832         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
45833         Removed.
45834         (syscall-list-default-condition): Likewise.
45835         (syscall-list-default-condition): Likewise.
45836         (syscall-list-includes): Likewise.
45837         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
45838         syscall-list-* with abi-*.  Handle undefined abi-variants.
45839         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
45840         * sysdeps/unix/sysv/linux/i386/Implies: New file.
45841         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
45842         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
45843         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
45844         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
45845         Removed.
45846         (syscall-list-32-options): Likewise.
45847         (syscall-list-32-condition): Likewise.
45848         (syscall-list-64-options): Likewise.
45849         (syscall-list-64-condition): Likewise.
45850         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
45851         macro.
45852         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
45853         Renamed to ...
45854         (abi-*): This.
45855         (abi-64-ld-soname): New macro.
45856         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
45857         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
45858         Renamed to ...
45859         (abi-*): This.
45860         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
45861         * sysdeps/x86_64/x32/shlib-versions: Likewise.
45863 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
45865         * sysdeps/unix/sysv/linux/kernel-features.h
45866         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
45867         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
45868         include <kernel-features.h>.
45869         [!__NR_ftruncate64]: Remove conditional code.
45870         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45871         [__NR_ftruncate64]: Make code unconditional.
45872         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45873         * sysdeps/unix/sysv/linux/truncate64.c: Do not
45874         include <kernel-features.h>.
45875         [!__NR_ftruncate64]: Remove conditional code.
45876         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45877         [__NR_ftruncate64]: Make code unconditional.
45878         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
45880         include <kernel-features.h>.
45881         [!__NR_ftruncate64]: Remove conditional code.
45882         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45883         [__NR_ftruncate64]: Make code unconditional.
45884         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
45886         include <kernel-features.h>.
45887         [!__NR_ftruncate64]: Remove conditional code.
45888         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45889         [__NR_ftruncate64]: Make code unconditional.
45890         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45892         * configure.in (libc_cv_fpie): Weaken to a compile test using
45893         LIBC_TRY_CC_OPTION.
45894         * configure: Regenerated.
45896 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45898         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
45899         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
45900         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
45901         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45902         Refreshed.
45903         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
45904         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
45905         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
45906         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
45907         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
45908         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45909         Refreshed.
45911 2012-05-27  David S. Miller  <davem@davemloft.net>
45913         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
45914         (___Q_zero): New.
45915         (__Q_simulate_exceptions): Return void.  Change to simulate
45916         exceptions by writing into the %fsr.
45917         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
45918         (__Qp_handle_exceptions): Likewise.
45919         (numbers): Delete.
45920         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
45921         __Qp_handle_exceptions.
45922         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
45923         __Qp_handle_exceptions.
45924         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
45925         as unused and give dummy FP_RND_NEAREST initializer.
45926         (FP_INHIBIT_RESULTS): Define.
45927         (___Q_simulate_exceptions): Update declaration.
45928         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
45929         formatting.
45930         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
45931         as unused and give dummy FP_RND_NEAREST initializer.
45932         (__Qp_handle_exceptions): Update declaration.
45933         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
45934         formatting.
45936 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
45938         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
45939         the temporary FPU control word.
45940         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
45941         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
45942         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
45943         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
45944         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
45945         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
45946         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
45947         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
45948         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
45949         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
45950         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45952 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45954         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
45955         fields.
45957 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
45959         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
45960         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
45961         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
45962         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
45963         Likewise.
45964         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
45965         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
45966         Likewise.
45968 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
45970         * po/h.po: Update from translation team.
45972 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
45974         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
45976         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
45977         handling of denormals.
45978         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
45979         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
45980         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
45981         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
45982         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
45983         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
45984         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
45985         Likewise.
45987 2012-05-26  Marek Polacek  <polacek@redhat.com>
45989         [BZ #14152]
45990         * math/libm-test.inc (fma_test): Don't always expect underflow
45991         exception.
45993 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45995         [BZ #12416]
45996         * elf/tst-execstack.c: Include stackinfo.h.
45997         (do_test): Adjust test case to ensure that pthread_getattr_np
45998         behaviour remains the same after marking stack executable.
46000 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
46002         * sysdeps/unix/sysv/linux/kernel-features.h
46003         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
46004         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
46005         kernel-features.h.
46006         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
46007         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
46008         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
46009         kernel-features.h.
46010         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
46011         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
46013 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
46015         * configure.in: Define the default includes to being none.
46016         * configure: Regenerated.
46018 2012-05-25  Roland McGrath  <roland@hack.frob.com>
46020         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
46021         * sysdeps/x86_64/setjmp.S: Likewise.
46022         * sysdeps/i386/bsd-setjmp.S: Likewise.
46023         * sysdeps/i386/bsd-_setjmp.S: Likewise.
46024         * sysdeps/i386/setjmp.S: Likewise.
46025         * sysdeps/i386/__longjmp.S: Likewise.
46026         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
46027         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
46029         * include/stap-probe.h: New file.
46030         * configure.in: Handle --enable-systemtap.
46031         * configure: Regenerated.
46032         * config.h.in (USE_STAP_PROBE): New #undef.
46033         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
46034         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
46035         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
46037 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
46039         [BZ #13717]
46040         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
46041         to 2.4.0 where earlier.
46042         * sysdeps/unix/sysv/linux/configure: Regenerated.
46043         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
46044         <kernel-features.h>.
46045         [__ASSUME_32BITUIDS]: Make code unconditional.
46046         [!__ASSUME_32BITUIDS]: Remove conditional code.
46047         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
46048         <kernel-features.h>.
46049         [__ASSUME_32BITUIDS]: Make code unconditional.
46050         [!__ASSUME_32BITUIDS]: Remove conditional code.
46051         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
46052         [__ASSUME_32BITUIDS]: Make code unconditional.
46053         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
46054         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
46055         <kernel-features.h>.
46056         [__ASSUME_32BITUIDS]: Make code unconditional.
46057         [!__ASSUME_32BITUIDS]: Remove conditional code.
46058         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
46059         <kernel-features.h>.
46060         [__ASSUME_32BITUIDS]: Make code unconditional.
46061         [!__ASSUME_32BITUIDS]: Remove conditional code.
46062         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
46063         <kernel-features.h>.
46064         [__ASSUME_32BITUIDS]: Make code unconditional.
46065         [!__ASSUME_32BITUIDS]: Remove conditional code.
46066         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
46067         <kernel-features.h>.
46068         [__ASSUME_32BITUIDS]: Make code unconditional.
46069         [!__ASSUME_32BITUIDS]: Remove conditional code.
46070         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
46071         <kernel-features.h>.
46072         [__ASSUME_32BITUIDS]: Make code unconditional.
46073         [!__ASSUME_32BITUIDS]: Remove conditional code.
46074         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
46075         <kernel-features.h>.
46076         [__ASSUME_32BITUIDS]: Make code unconditional.
46077         [!__ASSUME_32BITUIDS]: Remove conditional code.
46078         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
46079         <kernel-features.h>.
46080         [__ASSUME_32BITUIDS]: Make code unconditional.
46081         [!__ASSUME_32BITUIDS]: Remove conditional code.
46082         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
46083         <kernel-features.h>.
46084         [__ASSUME_32BITUIDS]: Make code unconditional.
46085         [!__ASSUME_32BITUIDS]: Remove conditional code.
46086         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
46087         <kernel-features.h>.
46088         [__ASSUME_32BITUIDS]: Make code unconditional.
46089         [!__ASSUME_32BITUIDS]: Remove conditional code.
46090         * sysdeps/unix/sysv/linux/i386/semctl.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/setegid.c: Do not include
46095         <kernel-features.h>.
46096         [__NR_setresgid] (__setresgid): Do not declare.
46097         [__ASSUME_32BITUIDS]: Make code unconditional.
46098         [!__ASSUME_32BITUIDS]: Remove conditional code.
46099         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
46100         <kernel-features.h>.
46101         [__NR_setresuid] (__setresuid): Do not declare.
46102         [__ASSUME_32BITUIDS]: Make code unconditional.
46103         [!__ASSUME_32BITUIDS]: Remove conditional code.
46104         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
46105         <kernel-features.h>.
46106         [__ASSUME_32BITUIDS]: Make code unconditional.
46107         [!__ASSUME_32BITUIDS]: Remove conditional code.
46108         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
46109         <kernel-features.h>.
46110         [__ASSUME_32BITUIDS]: Make code unconditional.
46111         [!__ASSUME_32BITUIDS]: Remove conditional code.
46112         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
46113         <kernel-features.h>.
46114         [__ASSUME_32BITUIDS]: Make code unconditional.
46115         [!__ASSUME_32BITUIDS]: Remove conditional code.
46116         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
46117         <kernel-features.h>.
46118         [__ASSUME_32BITUIDS]: Make code unconditional.
46119         [!__ASSUME_32BITUIDS]: Remove conditional code.
46120         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
46121         <kernel-features.h>.
46122         [__ASSUME_32BITUIDS]: Make code unconditional.
46123         [!__ASSUME_32BITUIDS]: Remove conditional code.
46124         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
46125         <kernel-features.h>.
46126         [__ASSUME_32BITUIDS]: Make code unconditional.
46127         [!__ASSUME_32BITUIDS]: Remove conditional code.
46128         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
46129         <kernel-features.h>.
46130         [__ASSUME_32BITUIDS]: Make code unconditional.
46131         [!__ASSUME_32BITUIDS]: Remove conditional code.
46132         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
46133         <kernel-features.h>.
46134         [__ASSUME_32BITUIDS]: Make code unconditional.
46135         [!__ASSUME_32BITUIDS]: Remove conditional code.
46136         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
46137         <kernel-features.h>.
46138         [__ASSUME_32BITUIDS]: Make code unconditional.
46139         [!__ASSUME_32BITUIDS]: Remove conditional code.
46140         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
46141         <kernel-features.h>.
46142         [__ASSUME_32BITUIDS]: Make code unconditional.
46143         [!__ASSUME_32BITUIDS]: Remove conditional code.
46144         * sysdeps/unix/sysv/linux/kernel-features.h
46145         (__ASSUME_SETRESUID_SYSCALL): Remove.
46146         (__ASSUME_SETRESGID_SYSCALL): Likewise.
46147         (__ASSUME_32BITUIDS): Likewise.
46148         (__ASSUME_LDT_WORKS): Likewise.
46149         (__ASSUME_O_DIRECTORY): Likewise.
46150         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
46151         architecture but not kernel version.
46152         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
46153         (__ASSUME_MMAP2_SYSCALL): Likewise.
46154         (__ASSUME_STAT64_SYSCALL): Likewise.
46155         (__ASSUME_IPC64): Likewise.
46156         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
46157         <kernel-features.h>.
46158         [__ASSUME_32BITUIDS]: Make code unconditional.
46159         [!__ASSUME_32BITUIDS]: Remove conditional code.
46160         * sysdeps/unix/sysv/linux/opendir.c: Do not include
46161         <kernel-features.h>.
46162         [__ASSUME_O_DIRECTORY]: Make code unconditional.
46163         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
46164         132096]: Remove conditional code.
46165         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
46166         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
46167         <kernel-features.h>.
46168         [__ASSUME_32BITUIDS]: Make code unconditional.
46169         [!__ASSUME_32BITUIDS]: Remove conditional code.
46170         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
46171         <kernel-features.h>.
46172         [__ASSUME_32BITUIDS]: Make code unconditional.
46173         [!__ASSUME_32BITUIDS]: Remove conditional code.
46174         * sysdeps/unix/sysv/linux/setegid.c: Do not include
46175         <kernel-features.h>.
46176         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
46177         unconditional.
46178         (__setresgid): Do not declare.
46179         [__ASSUME_32BITUIDS]: Make code unconditional.
46180         [!__ASSUME_32BITUIDS]: Remove conditional code.
46181         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
46182         <kernel-features.h>.
46183         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
46184         unconditional.
46185         (__setresuid): Do not declare.
46186         [__ASSUME_32BITUIDS]: Make code unconditional.
46187         [!__ASSUME_32BITUIDS]: Remove conditional code.
46188         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
46189         <kernel-features.h>.
46190         [__ASSUME_32BITUIDS]: Make code unconditional.
46191         [!__ASSUME_32BITUIDS]: Remove conditional code.
46192         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
46193         <kernel-features.h>.
46194         [__ASSUME_32BITUIDS]: Make code unconditional.
46195         [!__ASSUME_32BITUIDS]: Remove conditional code.
46197 2012-05-25  Richard Henderson  <rth@twiddle.net>
46199         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
46200         dl_hwcap to ifunc resolver.
46201         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
46202         elf_ifunc_invoke.
46203         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
46204         dl_hwcap to ifunc resolver.
46205         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
46207 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
46209         [BZ #14153]
46210         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
46211         for |x| <= 2**-26, not 2**-57.
46212         * math/libm-test.inc (acos_test): Do not allow spurious underflow
46213         exception.
46215 2012-05-24  Jeff Law  <law@redhat.com>
46217         * stdio-common/Makefile (tests): Add bug25.
46218         * stdio-common/bug25.c: New test.
46220 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
46222         [BZ #13576]
46223         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
46224         multiple of MALLOC_ALIGNMENT in size.
46225         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
46227 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
46229         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
46230         Require >= 256.
46231         (FILENAME_MAX): Use macro-int-constant.
46232         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
46233         (_IOFBF): Use macro-int-constant.
46234         (_IOLBF): Likewise.
46235         (_IONBF): Likewise.
46236         (SEEK_CUR): Likewise.
46237         (SEEK_END): Likewise.
46238         (SEEK_SET): Likewise.
46239         (TMP_MAX): Likewise.
46240         (EOF): Use macro-int-constant.  Require < 0.
46241         (NULL): Use macro-constant.  Require == 0.
46242         (stdin): Require type to be FILE *.
46243         (stdout): Likewise.
46244         (stderr): Likewise.
46245         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
46246         macro-int-constant.
46247         (EXIT_SUCCESS): Likewise.
46248         (NULL): Use macro-constant.  Require == 0.
46249         (RAND_MAX): Use macro-int-constant.
46250         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
46251         [C99-based standards] (strtof): Require function.
46252         [C99-based standards] (strtold): Likewise.
46253         [C99-based standards] (strtoll): Likewise.
46254         [C99-based standards] (strtoull): Likewise.
46255         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
46256         [ISO || ISO99 || ISO11] (limits.h): Likewise.
46257         [ISO || ISO99 || ISO11] (math.h): Likewise.
46258         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
46259         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
46260         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46262 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
46264         [BZ #14132]
46265         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
46266         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
46267         * intl/dgettext.c (DCGETTEXT): Likewise.
46268         * intl/gettext.c (DCGETTEXT): Likewise.
46269         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
46270         * posix/regex_internal.h (gettext): Likewise.
46271         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
46272         Remove declaration.
46273         * include/argz.h (__argz_count_internal)
46274         (__argz_stringify_internal): Remove declaration.
46275         (__argz_count, __argz_stringify): Declare hidden proto.
46276         * intl/dcgettext.c: Remove use of INTDEF.
46277         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
46278         * string/argz-stringify.c: Likewise.
46279         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
46280         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
46281         Declare hidden proto.
46282         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
46283         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
46284         Declare hidden proto.
46285         * include/stdio.h (__asprintf_internal): Don't declare.
46286         (__asprintf): Don't define as macro.  Declare hidden proto.
46287         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
46288         (__fsetlocking): Declare hidden proto.
46289         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
46290         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
46291         hidden proto.
46292         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
46293         (_IO_setlinebuf): Remove use of INTUSE.
46294         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
46295         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
46296         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
46297         Remove declaration.
46298         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
46299         (_IO_do_flush): Remove use of INTUSE.
46300         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
46301         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
46302         (_IO_adjust_column, _IO_least_wmarker)
46303         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
46304         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
46305         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
46306         (_IO_default_doallocate, _IO_wdefault_doallocate)
46307         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
46308         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
46309         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
46310         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
46311         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
46312         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
46313         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
46314         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
46315         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
46316         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
46317         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
46318         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
46319         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
46320         proto.
46321         (_IO_flush_all_internal, _IO_adjust_column_internal)
46322         (_IO_default_uflow_internal, _IO_default_finish_internal)
46323         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
46324         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
46325         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
46326         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
46327         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
46328         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
46329         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
46330         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
46331         (_IO_file_close_internal, _IO_file_close_it_internal)
46332         (_IO_file_underflow_internal, _IO_file_overflow_internal)
46333         (_IO_file_init_internal, _IO_file_attach_internal)
46334         (_IO_file_fopen_internal, _IO_file_read_internal)
46335         (_IO_file_sync_internal, _IO_file_seek_internal)
46336         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
46337         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
46338         (_IO_str_underflow_internal, _IO_str_overflow_internal)
46339         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
46340         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
46341         (_IO_list_all_internal, _IO_link_in_internal)
46342         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
46343         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
46344         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
46345         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
46346         (_IO_do_write_internal, _IO_padn_internal)
46347         (_IO_getline_info_internal, _IO_getline_internal)
46348         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
46349         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
46350         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
46351         (_IO_vfscanf_internal, _IO_vfprintf_internal)
46352         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
46353         (_IO_init_internal, _IO_un_link_internal): Don't declare.
46354         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
46355         with libc_hidden_ver, remove use of INTUSE.
46356         * libio/genops.c: Likewise.
46357         * libio/freopen.c: Likewise.
46358         * libio/freopen64.c: Likewise.
46359         * libio/iofclose.c: Likewise.
46360         * libio/iofdopen.c: Likewise.
46361         * libio/iofflush.c: Likewise.
46362         * libio/iofflush_u.c: Likewise.
46363         * libio/iofgets.c: Likewise.
46364         * libio/iofgets_u.c: Likewise.
46365         * libio/iofopen.c: Likewise.
46366         * libio/iofopncook.c: Likewise.
46367         * libio/iofread.c: Likewise.
46368         * libio/iofread_u.c: Likewise.
46369         * libio/ioftell.c: Likewise.
46370         * libio/iofwrite.c: Likewise.
46371         * libio/iogetline.c: Likewise.
46372         * libio/iogets.c: Likewise.
46373         * libio/iogetwline.c: Likewise.
46374         * libio/iopadn.c: Likewise.
46375         * libio/iopopen.c: Likewise.
46376         * libio/ioseekoff.c: Likewise.
46377         * libio/ioseekpos.c: Likewise.
46378         * libio/iosetbuffer.c: Likewise.
46379         * libio/iosetvbuf.c: Likewise.
46380         * libio/ioungetc.c: Likewise.
46381         * libio/ioungetwc.c: Likewise.
46382         * libio/iovdprintf.c: Likewise.
46383         * libio/iovsprintf.c: Likewise.
46384         * libio/iovsscanf.c: Likewise.
46385         * libio/memstream.c: Likewise.
46386         * libio/obprintf.c: Likewise.
46387         * libio/oldfileops.c: Likewise.
46388         * libio/oldiofclose.c: Likewise.
46389         * libio/oldiofdopen.c: Likewise.
46390         * libio/oldiofopen.c: Likewise.
46391         * libio/oldiopopen.c: Likewise.
46392         * libio/oldstdfiles.c: Likewise.
46393         * libio/putc.c: Likewise.
46394         * libio/setbuf.c: Likewise.
46395         * libio/setlinebuf.c: Likewise.
46396         * libio/stdfiles.c: Likewise.
46397         * libio/strops.c: Likewise.
46398         * libio/vasprintf.c: Likewise.
46399         * libio/vscanf.c: Likewise.
46400         * libio/vsnprintf.c: Likewise.
46401         * libio/vswprintf.c: Likewise.
46402         * libio/wfiledoalloc.c: Likewise.
46403         * libio/wfileops.c: Likewise.
46404         * libio/wgenops.c: Likewise.
46405         * libio/wmemstream.c: Likewise.
46406         * libio/wstrops.c: Likewise.
46407         * libio/__fpurge.c: Likewise.
46408         * libio/__fsetlocking.c: Likewise.
46409         * assert/assert.c: Likewise.
46410         * debug/fgets_chk.c: Likewise.
46411         * debug/fgets_u_chk.c: Likewise.
46412         * debug/fread_chk.c: Likewise.
46413         * debug/fread_u_chk.c: Likewise.
46414         * debug/gets_chk.c: Likewise.
46415         * debug/obprintf_chk.c: Likewise.
46416         * debug/vasprintf_chk.c: Likewise.
46417         * debug/vdprintf_chk.c: Likewise.
46418         * debug/vsnprintf_chk.c: Likewise.
46419         * debug/vsprintf_chk.c: Likewise.
46420         * malloc/mtrace.c: Likewise.
46421         * misc/error.c: Likewise.
46422         * misc/syslog.c: Likewise.
46423         * stdio-common/asprintf.c: Likewise.
46424         * stdio-common/fxprintf.c: Likewise.
46425         * stdio-common/getw.c: Likewise.
46426         * stdio-common/isoc99_fscanf.c: Likewise.
46427         * stdio-common/isoc99_scanf.c: Likewise.
46428         * stdio-common/isoc99_vfscanf.c: Likewise.
46429         * stdio-common/isoc99_vscanf.c: Likewise.
46430         * stdio-common/isoc99_vsscanf.c: Likewise.
46431         * stdio-common/printf-prs.c: Likewise.
46432         * stdio-common/printf_fp.c: Likewise.
46433         * stdio-common/printf_fphex.c: Likewise.
46434         * stdio-common/printf_size.c: Likewise.
46435         * stdio-common/putw.c: Likewise.
46436         * stdio-common/scanf.c: Likewise.
46437         * stdio-common/sprintf.c: Likewise.
46438         * stdio-common/tmpfile.c: Likewise.
46439         * stdio-common/vfprintf.c: Likewise.
46440         * stdio-common/vfscanf.c: Likewise.
46441         * stdlib/strfmon_l.c: Likewise.
46442         * sunrpc/openchild.c: Likewise.
46443         * sunrpc/xdr_stdio.c: Likewise.
46444         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
46445         * sysdeps/mach/hurd/tmpfile.c: Likewise.
46447 2012-05-24  Roland McGrath  <roland@hack.frob.com>
46449         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
46451         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
46452         in the third column, to generate for the shared library an IFUNC
46453         that uses _dl_vdso_vsym.
46454         * Makerules (COMPILE.c, compile-stdin.c): New variables.
46455         * Makeconfig (object-suffixes-noshared): New variable.
46457         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
46458         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
46459         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
46460         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
46462         [BZ #14132]
46463         * include/sys/time.h (__gettimeofday): Remove macro.
46464         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
46465         * time/gettimeofday.c (__gettimeofday): Remove #undef.
46466         Remove INTDEF.
46467         (__gettimeofday): Add libc_hidden_def.
46468         (gettimeofday): Add libc_hidden_weak.
46469         * sysdeps/mach/gettimeofday.c: Likewise.
46470         * sysdeps/posix/gettimeofday.c: Likewise.
46471         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
46472         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
46473         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
46474         (__gettimeofday_internal): Remove strong_alias.
46475         (__gettimeofday): Add libc_hidden_def.
46476         (gettimeofday): Add libc_hidden_weak.
46477         * sysdeps/unix/syscalls.list (gettimeofday):
46478         Remove __gettimeofday_internal alias.
46480 2012-05-24  Daniel Jacobowitz  <drow@false.org>
46481             H.J. Lu  <hongjiu.lu@intel.com>
46483         [BZ #12495]
46484         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
46485         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
46486         (largebin_index_32_big): New.
46487         (largebin_index): Use it for 16-byte alignment.
46488         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
46489         correction with front_misalign.
46491 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
46493         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
46494         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
46495         Likewise.
46496         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
46497         Likewise.
46498         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
46499         Likewise.
46500         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
46501         Likewise.
46502         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
46503         Likewise.
46504         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
46505         Likewise.
46506         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
46507         Likewise.
46508         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
46509         Likewise.
46510         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
46511         Likewise.
46512         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
46513         Likewise.
46514         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
46515         Likewise.
46516         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
46517         Likewise.
46519         * scripts/data/c++-types-x32-linux-gnu.data: New file.
46520         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
46522 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
46524         [BZ #10846]
46525         [BZ #14036]
46526         * math/libm-test.inc (exp_test): Add test from bug 14036.
46527         (pow_test): Add test from bug 10846.
46529         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
46530         and other flags.
46531         (special_function): Do not include flags in test name.
46532         (parse_args): Likewise.
46533         * sysdeps/i386/fpu/libm-test-ulps: Update.
46534         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46535         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
46536         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
46537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46539         * math/gen-libm-test.pl (%beautify): Add entries for underflow
46540         exceptions.
46541         * math/libm-test.inc ("Philosophy"): Update comment about
46542         exception testing.
46543         (UNDERFLOW_EXCEPTION): New macro.
46544         (UNDERFLOW_EXCEPTION_OK): Likewise.
46545         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
46546         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
46547         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
46548         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
46549         (INVALID_EXCEPTION_OK): Update value.
46550         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46551         (OVERFLOW_EXCEPTION_OK): Likewise.
46552         (IGNORE_ZERO_INF_SIGN): Likewise.
46553         (test_exceptions): Handle underflow exceptions.
46554         (acos_test): Update for underflow exception expectations.
46555         (cexp_test): Likewise.
46556         (clog_test): Likewise.
46557         (clog10_test): Likewise.
46558         (csqrt_test): Likewise.
46559         (ctan_test): Likewise.
46560         (ctanh_test): Likewise.
46561         (exp_test): Likewise.
46562         (exp10_test): Likewise.
46563         (exp2_test): Likewise.
46564         (expm1_test): Likewise.
46565         (fma_test): Likewise.
46566         (j0_test): Likewise.
46567         (jn_test): Likewise.
46568         (nexttoward_test): Likewise.
46569         (pow_test): Likewise.
46570         (scalbn_test): Likewise.
46571         (scalbln_test): Likewise.
46572         (tan_test): Likewise.
46573         (y1_test): Likewise.
46574         * sysdeps/i386/fpu/libm-test-ulps: Update.
46575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46577 2012-05-23  David S. Miller  <davem@davemloft.net>
46579         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
46580         (__libc_sigaction): Remove unused local variables.
46582 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
46584         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
46586 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
46588         mktime: avoid signed integer overflow
46589         * time/mktime.c (__mktime_internal): Do not mishandle the case
46590         where diff == INT_MIN.
46592         mktime: simplify computation of average
46593         * time/mktime.c (ranged_convert): Use new time_t_avg function
46594         instead of rolling our own (probably-slower) code.
46596         mktime: do not assume signed right shift propagates sign bit
46597         * time/mktime.c (isdst_differ): New static function.
46598         (__mktime_internal): No need to normalize tm_isdst now.
46599         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
46600         tm_isdst values.
46602         mktime: merge another wrapv change from gnulib
46603         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
46604         from some compilers.
46606         mktime: remove incorrect attempt at unusual arithmetics
46607         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
46608         The code didn't really work on such machines anyway.
46609         (TYPE_MINIMUM): Assume two's complement.
46610         (twos_complement_arithmetic): Verify that long_int and time_t
46611         are two's complement (or unsigned, in the latter case).
46613         mktime: check signed shifts on long_int and time_t, too
46614         * time/mktime.c (SHR): Check that shifts work as desired
46615         on the types long_int and time_t too, as SHR is used on
46616         such types.
46618         mktime: do not assume 'long' is wide enough
46619         * time/mktime.c (verify): Move decl up.
46620         (long_int): New type.
46621         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
46622         to remove assumption in the code that 'long' is wide enough to
46623         store year values.  This assumption is not true on x32 and on
46624         some non-glibc platforms.
46626         mktime: merge wrapv change from gnulib
46627         * time/mktime.c (WRAPV): New macro.
46628         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
46629         (guess_time_tm, __mktime_internal): Do not assume that signed
46630         integer overflow wraps around; modern compilers generate code
46631         where this assumption is no longer valid.
46633 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
46635         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
46636         Replace "jmp L(pseudo_end)" with "ret".
46637         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
46638         Likewise.
46640 2012-05-23  Andreas Jaeger  <aj@suse.de>
46642         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
46643         * sysdeps/unix/sysv/linux/poll.c: Remove file.
46645 2012-05-23  Andreas Jaeger  <aj@suse.de>
46646             Maximilian Attems  <max@stro.at>
46648         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
46649         New macros.
46651 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
46653         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
46654         code so that pseudo_end is just ret and the stack pointer is
46655         correct also for static library in error case.
46657 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
46659         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
46660         move to syscalls.list.
46661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
46662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
46663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
46664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
46666         * manual/install.texi (Running make install): Do not mention Linux
46667         kernel version for which pt_chown is not needed.
46668         (Linux): Do not mention problems with nscd with 2.0 kernels.
46669         * INSTALL: Regenerated.
46671 2012-05-23  Andreas Jaeger  <aj@suse.de>
46673         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
46674         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
46675         macro.
46676         * sysdeps/unix/sysv/linux/s390/bits/mman.h
46677         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46678         * sysdeps/unix/sysv/linux/sh/bits/mman.h
46679         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46680         * sysdeps/unix/sysv/linux/i386/bits/mman.h
46681         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46682         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
46683         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46684         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
46685         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46686         * sysdeps/unix/sysv/linux/bits/in.h
46687         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
46689 2012-05-22  Roland McGrath  <roland@hack.frob.com>
46691         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
46692         (PREPARE_VERSION): Just use assert instead, it will be elided
46693         under [NDEBUG] anyway.
46695 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
46697         * sysdeps/unix/sysv/linux/Makefile: Include
46698         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
46699         (sysdep_routines): Remove sysctl.
46700         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
46701         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
46702         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
46703         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
46704         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
46706 2012-05-22  Andreas Jaeger  <aj@suse.de>
46708         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
46709         that pseudo_end is just ret and the stack pointer is correct also
46710         for static library in error case.
46712 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
46714         [BZ #14122]
46715         * nss/nsswitch.c (defconfig_entries): New variable.
46716         (__nss_database_lookup): Don't leak defconfig entries.
46717         (nss_parse_service_list): Don't leak on error paths.
46718         (free_database_entries): New function.
46719         (free_defconfig): New function.
46720         (free_mem): Move common code to free_database_entries.
46722 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
46724         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
46725         Add arch_prctl.
46726         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
46728         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
46729         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
46730         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
46731         New macro.
46732         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
46733         (INTERNAL_SYSCALL_TYPES): Likewise.
46734         (LOAD_ARGS_TYPES_[1-6]): Likewise.
46735         (LOAD_REGS_TYPES_[1-6]): Likewise.
46736         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
46737         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
46739 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46741         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
46742         copysignl for GLIBC_2_0.
46743         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
46744         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
46745         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
46746         logbl for GLIBC_2_0.
46747         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
46748         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
46750 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
46752         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
46753         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
46755         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
46756         Use "neg %eax".
46758         * time/mktime.c: Update copyright years.
46760 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
46762         mktime: merge comment-quoting-style change from gnulib
46763         * time/mktime.c: Quote 'like this' in comments.
46764         The GNU coding standards suggest that we no longer quote `like this',
46765         as "`" and "'" are typically rendered asymmetrically nowadays.
46766         The typical gnulib style is to quote 'like this' when quoting
46767         code, and "like this" when quoting English.
46769         * time/mktime.c (compile-command): Add "-I.".
46771         mktime: merge mktime-internal.h change from gnulib
46772         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
46774         mktime: merge time_r change from gnulib
46775         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
46777         mktime: merge DEBUG change from gnulib
46778         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
46779         case system <time.h> has a #define.
46781         mktime: merge <sys/types.h> change from gnulib
46782         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
46783         since <time.t> is now guaranteed to define time_t.
46785         mktime: merge HAVE_CONFIG_H change from gnulib
46786         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
46788 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
46790         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
46791         Use "neg %eax".
46793         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
46794         __rlim_t cast.
46795         (struct rusage): Use anonymous union to pad each field to
46796         __syscall_slong_t.
46798 2012-05-21  David S. Miller  <davem@davemloft.net>
46800         * Makefules (o-iterator): Remove .s cases.
46801         (compile-command.s): Delete.
46802         (COMPILE.s): Delete.
46803         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
46805 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
46807         * configure.in (libc_cv_predef_stack_protector): Only consider
46808         "foobar" and "__stack_chk_fail" lines in libc_undefs.
46809         * configure: Regenerated.
46811 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
46813         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
46814         New macro.  Use R*LP on int and pointer.
46815         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
46816         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
46817         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
46818         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
46820         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
46821         [__WORDSIZE_TIME64_COMPAT32] instead of
46822         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
46823         (struct utmp): Likewise.
46824         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
46825         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
46826         Renamed to ...
46827         (__WORDSIZE_TIME64_COMPAT32): This.
46828         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
46829         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
46830         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
46831         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
46832         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
46833         (__WORDSIZE_TIME64_COMPAT32): New macro.
46835 2012-05-21  Andreas Jaeger  <aj@suse.de>
46837         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
46838         only if [SHARED]. Add prototype for __wcschr_ia32.
46840 2012-05-21  Roland McGrath  <roland@hack.frob.com>
46842         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
46843         of %rbp unmolested in the jmp_buf while mangling the low bits.
46844         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
46845         unmolested high bits of %rbp while demangling the low bits.
46846         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
46848 2012-05-21  Andreas Jaeger  <aj@suse.de>
46850         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
46851         * sunrpc/svc_simple.c: Use it for registerrpc.
46852         * sunrpc/xcrypt.c: Use it for passwd2des.
46854         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
46856 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
46858         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
46859         Don't define if [__SYSCALL_WORDSIZE != 32].
46860         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
46861         New macro.
46863 2012-05-21  Bruno Haible  <bruno@clisp.org>
46864             Andreas Jaeger  <aj@suse.de>
46866         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
46867         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
46868         inptr and inend for must_buffer_ch.
46869         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
46870         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
46871         * stdio-common/Makefile (tests): Remove bug15.
46872         (bug15-ENV): Remove macro.
46873         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
46874         anymore.
46876 2012-05-19  Andreas Jaeger  <aj@suse.de>
46877             Roland McGrath  <roland@hack.frob.com>
46879         * manual/contrib.texi: Completely rewritten. It contains now an
46880         alphabetical list of contributors and their contributions.
46882 2012-05-21  Richard Henderson  <rth@twiddle.net>
46884         * misc/getauxval.c (__getauxval): Use unsigned long int.
46885         * misc/sys/auxv.h: Include <sys/cdefs.h>.
46886         (getauxval): Use unsigned long int.
46888 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
46890         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
46892 2012-05-21  Roland McGrath  <roland@hack.frob.com>
46894         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
46895         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
46896         __alignof__ (long double).
46898 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46900         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46902 2012-05-20  Richard Henderson  <rth@twiddle.net>
46904         * misc/getauxval.c: New file.
46905         * misc/sys/auxv.h: New file.
46906         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
46907         (routines): Add getauxval.
46908         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
46909         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
46910         * elf/dl-sysdep.c (_dl_auxv): Remove.
46911         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
46912         * elf/dl-support.c (_dl_auxv): New variable.
46913         (_dl_aux_init): Initialize it.
46914         * manual/startup.texi (Auxiliary Vector): New node.
46915         * sysdeps/generic/bits/hwcap.h: New file.
46916         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
46917         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
46918         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
46919         * sysdeps/sparc/sysdep.h: ... here.  Include it.
46920         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
46921         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
46922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46923         Update.
46924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
46925         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
46926         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
46927         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
46928         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
46929         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
46930         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
46931         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
46933 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46935         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46937 2012-05-19  David S. Miller  <davem@davemloft.net>
46939         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46941 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
46943         [BZ #14123]
46944         * math/s_ccosh.c: Include <float.h>
46945         (__ccosh): Avoid internal overflow calculating sinh and cosh
46946         values before multiplying by sin and cos values.
46947         * math/s_ccoshf.c: Likewise.
46948         * math/s_ccoshl.c: Likewise.
46949         * math/s_csin.c: Likewise.
46950         * math/s_csinf.c: Likewise.
46951         * math/s_csinl.c: Likewise.
46952         * math/s_csinh.c: Likewise.
46953         * math/s_csinhf.c: Likewise.
46954         * math/s_csinhl.c: Likewise.
46955         * math/libm-test.inc (ccos_test): Add more tests.
46956         (ccosh_test): Likewise.
46957         (csin_test): Likewise.
46958         (csinh_test): Likewise.
46959         * sysdeps/i386/fpu/libm-test-ulps: Update.
46960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46962 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
46964         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
46965         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
46967         * sysdeps/x86_64/x32/_itoa.h: Add comment.
46969 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
46971         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
46972         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
46973         * sysdeps/powerpc/soft-fp/Versions: Likewise.
46974         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
46975         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
46976         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
46977         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
46978         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
46979         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
46980         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
46981         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
46982         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
46983         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
46984         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
46985         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
46986         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
46987         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
46988         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
46989         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
46990         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
46991         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
46992         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
46993         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
46994         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
46995         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
46996         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
46997         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
46998         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
46999         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
47000         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
47001         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
47003 2012-05-18  Andreas Jaeger  <aj@suse.de>
47005         * csu/.gitignore: Delete.
47007 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
47009         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
47010         (timex): Use __syscall_slong_t.
47012 2012-05-18  Andreas Jaeger  <aj@suse.de>
47013             Carlos O'Donell  <carlos_odonell@mentor.com>
47015         * manual/install.texi (Configuring and compiling): Update
47016         description about files modified in the source directory.
47017         * INSTALL: Regenerated.
47019 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
47021         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
47022         value.  Use "or" to set return value to -1.
47023         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
47024         negate return value.
47026 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47028         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
47029         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
47030         failure if the compiler has Graphite support disabled.
47031         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
47032         Likewise.
47033         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
47034         (CFLAGS-memmove.c): Likewise.
47035         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
47036         Likewise.
47038 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
47040         * sysdeps/x86_64/x32/_itoa.h: New file.
47042         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
47043         getdents system call only if kernel and user dirents have the
47044         same d_ino and d_off.
47046         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47047         LLONG_MAX != LONG_MAX.
47048         (_itoa_word): Use _ITOA_WORD_TYPE on value.
47049         (_fitoa_word): Likewise.
47051         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
47052         years.
47053         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
47054         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
47055         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
47057         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
47058         include <bits/wordsize.h>.  Check __x86_64__ instead of
47059         __WORDSIZE.
47060         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
47061         if __x86_64__ is defined.  Use anonymous union on fpstate.
47063         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
47064         anonymous union.
47066 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
47068         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
47069         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
47070         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
47071         Refer to _rtld_local_ro instead of _rtld_global_ro.
47072         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
47073         Likewise.
47074         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
47075         Likewise.
47076         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
47077         Likewise.
47078         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
47079         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
47080         of _rtld_global, and rtld_progname instead of _dl_argv[0].
47082         * sysdeps/powerpc/powerpc32/dl-machine.c
47083         (__elf_machine_runtime_setup) [PROF]: Don't reference
47084         _dl_prof_resolve.
47086 2012-05-18  Andreas Jaeger  <aj@suse.de>
47088         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
47089         function only available for GCCs before 3.4 since GCC 3.4
47090         introduced a builtin.
47091         (lrint): Likewise.
47092         (llrintf): Likewise.
47093         (llrint): Likewise.
47094         (fmaxf): Likewise.
47095         (fmax): Likewise.
47096         (fminf): Likewise.
47097         (fmin): Likewise.
47098         (rint): Likewise.
47099         (rintf): Likewise.
47100         (nearbyint): Likewise.
47101         (nearbyintf): Likewise.
47102         (ceil): Likewise.
47103         (ceilf): Likewise.
47104         (floor): Likewise.
47105         (floorf): Likewise.
47107 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47109         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
47110         on both fields and cast pointer to __syscall_ulong_t.
47112         * bits/types.h (__fsword_t): New type.
47113         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
47114         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
47115         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47116         (__FSWORD_T_TYPE): Likewise.
47117         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47118         (__FSWORD_T_TYPE): Likewise.
47119         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47120         (__FSWORD_T_TYPE): Likewise.
47121         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
47122         (__FSWORD_T_TYPE): Likewise.
47123         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
47124         __SWORD_TYPE with __fsword_t.
47125         (statfs64): Likewise.
47127 2012-05-17  David S. Miller  <davem@davemloft.net>
47129         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
47131 2012-05-17  Andreas Jaeger  <aj@suse.de>
47133         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
47134         warning.
47136 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47138         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
47140 2012-05-17  Andreas Jaeger  <aj@suse.de>
47142         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
47143         when it is used.
47145 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
47147         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
47149 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47151         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
47152         * sysdeps/x86_64/tst-mallocalign1.c: New file.
47154 2012-05-17  Andreas Jaeger  <aj@suse.de>
47155             Carlos O'Donell  <carlos_odonell@mentor.com>
47157         [BZ #14059]
47158         * sysdeps/x86_64/multiarch/init-arch.h
47159         (bit_YMM_Usable): Rename to...
47160         (bit_AVX_Usable): ... this.
47161         (bit_FMA4_Usable): New macro.
47162         (bit_XMM_state): New macro.
47163         (bit_YMM_state): New macro.
47164         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
47165         [__ASSEMBLER__] (index_AVX_Usable): ... this.
47166         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
47167         (CPUID_OSXSAVE): New macro.
47168         (CPUID_AVX): New macro.
47169         (CPUID_FMA4): New macro.
47170         (index_YMM_Usable): Rename to...
47171         (index_AVX_Usable): ... this.
47172         (HAS_AVX): Use HAS_ARCH_FEATURE.
47173         (HAS_FMA4): Likewise.
47174         (HAS_YMM_USABLE): Remove.
47175         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47176         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
47177         are present.
47178         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
47179         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
47180         * sysdeps/x86_64/multiarch/Makefile: Likewise.
47181         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
47182         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
47184 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
47186         * math/libm-test.c: Support platforms without multiple rounding modes.
47187         * math/bug-nextafter.c: Support platforms without FP exceptions.
47188         * math/bug-nexttoward.c: Likewise.
47189         * math/test-fenv.c: Likewise.
47190         * math/test-misc.c: Likewise.
47191         * stdlib/bug-getcontext.c: Likewise.
47193 2012-05-17  Andreas Jaeger  <aj@suse.de>
47195         * manual/examples/search.c (critter_cmp): Change signature to
47196         avoid warnings.
47197         * manual/string.texi (Collation Functions): Likewise.
47199 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47201         * bits/types.h: Fold copyright years.
47202         * bits/typesizes.h: Likewise.
47203         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
47204         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
47205         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
47206         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
47207         * time/time.h: Likewise.
47209 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
47211         [BZ #208]
47212         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
47213         in instead of returning them.  Return void.
47214         (__libc_mallinfo): Accumulate over all arenas.
47215         (__malloc_stats): Adjust for change in int_mallinfo interface.
47217 2012-05-16  Roland McGrath  <roland@hack.frob.com>
47219         [BZ #10375]
47220         * configure.in (NM): Add AC_CHECK_TOOL for it.
47221         (libc_extra_cflags): New substituted variable.
47222         Check for -fstack-protector being used implicitly.
47223         * configure: Regenerated.
47224         * config.make.in (config-extra-cflags): New variable,
47225         gets @libc_extra_cflags@.
47226         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
47228         [BZ #10375]
47229         * configure.in: Check for _FORTIFY_SOURCE being predefined.
47230         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
47231         * configure: Regenerated.
47232         * config.make.in (CPPUNDEFS): New substituted variable.
47233         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
47234         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
47235         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
47237 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47239         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
47240         (mq_attr): Use __syscall_slong_t.
47242 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47244         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
47245         Check __x86_64__ instead of __WORDSIZE.
47246         (_STAT_VER_LINUX): Likewise.
47247         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
47248         __syscall_ulong_t and __syscall_slong_t.
47249         (stat64): Likewise.
47251 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47253         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
47255 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47257         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
47259 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47261         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
47262         __syscall_ulong_t.
47264         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
47265         include <bits/wordsize.h>.  Check __x86_64__ instead of
47266         __WORDSIZE.
47267         (greg_t): Use "__extension__ long long int" if __x86_64__ is
47268         defined.
47269         (mcontext_t): Replace "unsigned long" with "unsigned long long".
47271         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
47272         include <bits/wordsize.h>.  Check __x86_64__ instead of
47273         __WORDSIZE.
47274         (user_regs_struct): Use "__extension__ unsigned long long"
47275         instead of "unsigned long" if __x86_64__ is defined.
47276         (user): Likewise.  Pad after pointer field if __ILP32__ is
47277         defined.
47279 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
47281         * configure.in (makeinfo): Require version 4.5 or later.  Allow
47282         versions 5 to 9.
47283         * configure: Regenerated.
47284         * manual/install.texi (texinfo): Increase version requirement to
47285         4.5 or later.
47286         * INSTALL: Regenerated.
47288         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
47290 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47292         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
47294         * sysdeps/x86_64/x32/ffs.c: New file.
47296         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
47297         __syscall_ulong_t.
47298         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
47299         defined.  Use __syscall_ulong_t.
47300         (shminfo): Use __syscall_ulong_t.
47301         (shm_info): Likewise.
47303         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
47304         __syscall_ulong_t.
47306         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
47307         <bits/wordsize.h>.
47308         (msgqnum_t): Use __syscall_ulong_t.
47309         (msglen_t): Likewise.
47310         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
47311         __syscall_ulong_t.
47313         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
47314         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
47316         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
47318         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
47319         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
47321         * sysvipc/sys/msg.h (msgbuf): Replace long int with
47322         __syscall_slong_t.
47324         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
47325         include <bits/wordsize.h>.  Check __x86_64__ instead of
47326         __WORDSIZE.
47328         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
47329         "unsigned long long int" if __x86_64__ is defined.
47330         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
47332         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
47333         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
47334         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
47336         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
47337         <stdint.h>.
47338         (GET_PC): Cast to uintptr_t first.
47339         (GET_FRAME): Likewise.
47340         (GET_STACK): Likewise.
47342         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
47343         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
47344         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
47345         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
47346         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
47347         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
47348         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
47349         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
47350         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
47351         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
47352         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
47353         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
47354         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
47355         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
47356         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
47357         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
47358         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
47359         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
47360         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
47361         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
47362         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
47363         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
47364         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
47365         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
47366         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
47367         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
47368         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
47369         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
47370         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
47372 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
47374         * Makerules (+depfiles): Also collect depfiles from .oS in
47375         $(extra-objs).
47376         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
47377         .oS, $(libnldbl-routines)).
47379         * Makerules (native-compile-mkdep-flags): Define.
47380         * sunrpc/Makefile (extra-objs): Add $(addprefix
47381         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
47382         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
47383         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
47384         calling $(make-target-directory).
47386 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47388         * bits/types.h (__snseconds_t): Removed.
47389         * time/time.h (struct timespec): Replace __snseconds_t with
47390         __syscall_slong_t.
47391         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
47392         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
47393         Likewise.
47394         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47395         (__SNSECONDS_T_TYPE): Likewise.
47396         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47397         (__SNSECONDS_T_TYPE): Likewise.
47398         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47399         (__SNSECONDS_T_TYPE): Likewise.
47401 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47403         * sysdeps/mach/hurd/bits/typesizes.h
47404         (__SYSCALL_SLONG_TYPE): New macro.
47405         (__SYSCALL_ULONG_TYPE): Likewise.
47407 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47409         * bits/types.h (__syscall_slong_t): New type.
47410         (__syscall_ulong_t): Likewise.
47412         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
47413         (__SYSCALL_ULONG_TYPE): Likewise.
47414         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47415         (__SYSCALL_SLONG_TYPE): Likewise.
47416         (__SYSCALL_ULONG_TYPE): Likewise.
47417         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47418         (__SYSCALL_SLONG_TYPE): Likewise.
47419         (__SYSCALL_ULONG_TYPE): Likewise.
47420         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47421         (__SYSCALL_SLONG_TYPE): Likewise.
47422         (__SYSCALL_ULONG_TYPE): Likewise.
47424 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47426         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
47427         Add sigaltstack-offsets.sym.
47428         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
47429         <sigaltstack-offsets.h>.
47430         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
47431         longjmp_msg pointer.
47432         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
47433         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
47434         signal stack.
47435         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
47437 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
47439         * elf/stackguard-macros.h: Remove file.
47440         * sysdeps/generic/stackguard-macros.h: New file.
47441         * sysdeps/i386/stackguard-macros.h: Likewise.
47442         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
47443         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
47444         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
47445         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
47446         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
47447         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
47448         * sysdeps/x86_64/stackguard-macros.h: Likewise.
47449         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
47450         <elf/stackguard-macros.h>.
47452         [BZ #14109]
47453         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
47454         __aligned__ in attribute.
47455         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
47456         (gregset_t): Likewise.
47458 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47460         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
47461         * sysdeps/x86_64/64/Implies-after: Here.  New file.
47462         * sysdeps/x86_64/x32/Implies-after: New file.
47464 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47466         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
47467         and access return value for _dl_profile_fixup.  Use R10_LP to
47468         load frame size.
47470 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47472         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
47474 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47476         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
47477         * sysdeps/x86_64/x32/sysdep.h: New file.
47479 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47481         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
47482         * sysdeps/x86_64/setjmp.S: Likewise.
47484 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47486         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
47487         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
47488         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
47489         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
47490         remove unused global constant.
47492 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
47494         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
47495         include of <not-cancel.h>.
47497 2012-05-15  Roland McGrath  <roland@hack.frob.com>
47499         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
47501 2012-05-15  Jeff Law  <law@redhat.com>
47502             Andreas Jaeger  <aj@suse.de>
47504         [BZ #13594]
47505         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
47506         out from...
47507         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
47508         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
47509         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
47510         code changing __hst_map_handle.map.
47512 2012-05-15  Roland McGrath  <roland@hack.frob.com>
47514         * configure.in (sysnames): Look for Implies-before and Implies-after
47515         files.
47516         * configure: Regenerated.
47518 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47520         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
47521         8-byte data alignment with LP_SIZE alignment.
47523 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47525         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
47526         into R10_LP.
47528 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47530         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
47532 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47534         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
47535         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
47536         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
47537         Likewise.
47538         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
47540 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47542         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
47543         (stackinfo_sub_sp): Likewise.
47545 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47547         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
47548         RAX_LP.
47550 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47552         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
47553         into R*_LP.
47555 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47557         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
47558         sizes into R*_LP.
47560 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47562         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
47564 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47566         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
47567         into R11_LP and load __x86_64_shared_cache_size_half into
47568         R8_LP.
47570 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47572         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
47573         R8_LP.
47575 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47577         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
47578         logb for POWER7.
47579         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
47580         logbf for POWER7.
47581         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
47582         logbl for POWER7.
47583         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
47584         powerpc32/power7/fpu/s_logb.c via #include.
47585         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
47586         powerpc32/power7/fpu/s_logbf.c via #include.
47587         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
47588         powerpc32/power7/fpu/s_logbl.c via #include.
47590 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
47592         * README.libm: Remove file.
47594 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47596         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
47597         count for x32.  Use R*_LP and omit operand-size suffix.
47599 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47601         * shlib-versions: Move x86_64-.*-linux.* entries to ...
47602         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
47603         * sysdeps/x86_64/x32/shlib-versions: New file.
47605 2012-05-14  Roland McGrath  <roland@hack.frob.com>
47607         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
47608         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
47609         Use _dl_fatal_printf instead.
47611 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
47613         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
47614         set if not set by the user.  Do not allow for being unset.
47615         * sysdeps/unix/sysv/linux/configure: Regenerated.
47617 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47619         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
47620         the `q' suffix from lea and replace .quad with ASM_ADDR.
47622 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47624         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
47625         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
47626         instead of $17.
47627         (PTR_DEMANGLE): Likewise.
47629 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47631         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
47632         (LP_OP): Likewise.
47633         (ASM_ADDR): Likewise.
47634         (RAX_LP): Likewise.
47635         (RBP_LP): Likewise.
47636         (RBX_LP): Likewise.
47637         (RCX_LP): Likewise.
47638         (RDI_LP): Likewise.
47639         (RSI_LP): Likewise.
47640         (RSP_LP): Likewise.
47641         (R8_LP): Likewise.
47642         (R9_LP): Likewise.
47643         (R10_LP): Likewise.
47644         (R10_LP): Likewise.
47645         (R11_LP): Likewise.
47646         (R12_LP): Likewise.
47647         (R13_LP): Likewise.
47648         (R14_LP): Likewise.
47649         (R15_LP): Likewise.
47651 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47653         * sysdeps/x86_64/x32/dl-machine.h: New file.
47655 2012-05-14  Andreas Jaeger  <aj@suse.de>
47657         * manual/Makefile (subdir): Remove export of subdir.
47658         (all): Remove target.
47659         (.PHONY): Remove all from list.
47660         (mkinstalldirs): Remove.
47661         (.PHONY): Remove installdirs from list.
47662         ($(inst_infodir)/libc.info): Use make-target-directory.
47663         (installdirs): Remove.
47664         (subdir_%): Remove.
47665         (glibc-targets): Remove.
47666         (lib): Remove.
47667         (stubs): Remove.
47668         ($(objpfx)stubs ../po/manual.pot): Remove.
47669         ($(objpfx)stamp%): Remove.
47670         (make-target-directory): Remove.
47671         (subdir_install): Remove.
47672         (routines): Remove.
47673         (aux): Remove.
47674         (sources): Remove.
47675         (objects): Remove.
47676         (headers): Remove.
47678         [BZ #13750]
47679         * manual/.gitignore: Remove, it's not needed anymore.
47680         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
47681         all files in it.
47682         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
47683         directory.
47684         (texis): Renamed to $(objpfx)texis.
47685         (texis-path): New, contains path to generated files.
47686         (chapters.%): Use texis-path for complete path, add extra argument
47687         libc-texinfo.sh.
47688         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
47689         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
47690         (summary,texi, stamp-summary): Use complete path of
47691         files. Generate files in build dir.
47692         (dir-add.texi): Build in build dir.
47693         (libm-err.texi,stamp-libm-err): Likewise.
47694         (version.texi, stamp-version): Likewise.
47695         (.%c.texi): Likewise.
47696         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
47697         (mostlyclean): Remove target.
47698         (realclean): Remove target.
47699         (generated): Add new variable with contents from mostlyclean and
47700         realclean, remove entries duplicated in common-mostlyclean, add
47701         stamp-libm-err and stamp-version.
47702         (generated-dirs): Add libc directory.
47703         ($(inst_infodir)/libc.info): Install files from build dir.
47705         * manual/install.texi (Configuring and compiling): Adjust since
47706         the info files are not part of the tar ball anymore.
47708 2012-05-14  Andreas Jaeger  <aj@suse.de>
47710         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
47711         variable.
47713 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
47715         [BZ #13717]
47716         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
47717         to 2.2.0 where earlier.
47718         * sysdeps/unix/sysv/linux/configure: Regenerated.
47719         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
47720         Remove conditional code.
47721         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
47722         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
47723         Remove conditional code.
47724         [!__NR_lchown]: Likewise.
47725         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47726         [__NR_lchown]: Likewise.
47727         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
47728         comment referencing __ASSUME_LCHOWN_SYSCALL.
47729         * sysdeps/unix/sysv/linux/i386/sigaction.c
47730         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47731         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47732         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
47733         Remove conditional code.
47734         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
47735         (__protocol_available): Remove #if 0 code.
47736         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
47737         conditional code.
47738         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
47739         * sysdeps/unix/sysv/linux/kernel-features.h
47740         (__ASSUME_GETCWD_SYSCALL): Don't define.
47741         (__ASSUME_REALTIME_SIGNALS): Likewise.
47742         (__ASSUME_PREAD_SYSCALL): Likewise.
47743         (__ASSUME_PWRITE_SYSCALL): Likewise.
47744         (__ASSUME_POLL_SYSCALL): Likewise.
47745         (__ASSUME_LCHOWN_SYSCALL): Likewise.
47746         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
47747         non-SPARC.
47748         (__ASSUME_SIOCGIFNAME): Don't define.
47749         (__ASSUME_MSG_NOSIGNAL): Likewise.
47750         (__ASSUME_SENDFILE): Define unconditionally.
47751         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
47752         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
47753         conditional code.
47754         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
47755         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
47756         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
47757         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47758         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
47759         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
47760         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
47762         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47763         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
47765         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47766         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
47768         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47769         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
47771         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47772         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
47774         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47775         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
47777         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47778         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
47780         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47781         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
47783         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47784         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47785         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
47786         Remove conditional code.
47787         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47788         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
47789         Remove conditional code.
47790         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47791         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
47792         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
47793         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
47794         Remove conditional code.
47795         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47796         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
47797         Remove conditional code.
47798         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47799         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
47800         Remove conditional code.
47801         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47802         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
47803         Remove conditional code.
47804         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47805         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
47806         Remove conditional code.
47807         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47808         * sysdeps/unix/sysv/linux/sh/pwrite64.c
47809         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47810         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47811         * sysdeps/unix/sysv/linux/sigaction.c
47812         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47813         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47814         * sysdeps/unix/sysv/linux/sigpending.c
47815         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47816         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47817         * sysdeps/unix/sysv/linux/sigprocmask.c
47818         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47819         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47820         * sysdeps/unix/sysv/linux/sigsuspend.c
47821         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47822         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47823         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
47824         (__libc_missing_rt_sigs): Remove.
47825         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
47826         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
47827         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
47828         Remove conditional code.
47829         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
47830         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
47831         return 1.
47832         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
47833         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
47834         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
47835         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
47837 2012-05-14  Andreas Jaeger  <aj@suse.de>
47839         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
47840         it's not used in glibc.
47841         (__coshm1): Likewise.
47842         (__acosh1p): Likewise.
47843         (__sgn): Likewise.
47845         * manual/string.texi (Copying and Concatenation): Add missing
47846         variable in concat example.
47847         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
47849 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47851         [BZ #14103]
47852         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
47853         __builtin_clzl with __builtin_clzll.
47855 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47857         [BZ #14104]
47858         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
47859         libc_freeres_ptr.
47861 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47863         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
47864         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
47865         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
47866         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
47868 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
47870         * NEWS: Update ia64 info.
47872 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
47874         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
47875         used as bcopy.
47877 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
47879         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
47880         * sysdeps/unix/syscalls.list (dup3): Likewise.
47881         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
47882         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
47884 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
47886         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
47887         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
47889 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
47891         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
47892         thread pointer.
47893         (TLS_IE): Use mov/add instead of movq/addq to load thread
47894         pointer.
47895         (TLS_GD_PREFIX): New.
47896         (TLS_GD): Use it.
47898 2012-05-11  David S. Miller  <davem@davemloft.net>
47900         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
47901         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
47902         (_FPU_SETCW): Likewise.
47904 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
47906         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
47907         is 32-byte aligned.
47909 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
47911         [BZ #11837]
47912         * iconvdata/gb18030.c: Update tables.
47913         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
47914         characters specially.
47915         (BODY for TO_LOOP): Add encoding of missing ranges.
47917 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
47919         [BZ #13673]
47920         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
47921         * sysdeps/mach/hurd/dup3.c: Likewise.
47922         * sysdeps/mach/hurd/readlinkat.c: Likewise.
47923         * sysdeps/powerpc/memmove.c:: Likewise.
47925 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
47927         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
47928         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
47930 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
47932         * elf/elf.h (R_X86_64_RELATIVE64): New.
47933         (R_X86_64_NUM): Updated.
47934         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
47935         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
47936         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
47937         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
47938         tst-quad1pie tst-quad2pie
47939         (modules-names): Add tst-quadmod1 tst-quadmod2.
47940         ($(objpfx)tst-quad1): New dependency.
47941         ($(objpfx)tst-quad2): Likewise.
47942         ($(objpfx)tst-quad1pie): Likewise.
47943         ($(objpfx)tst-quad2pie): Likewise.
47944         * sysdeps/x86_64/tst-quad1.c: New file.
47945         * sysdeps/x86_64/tst-quad1pie.c: New file.
47946         * sysdeps/x86_64/tst-quad2.c: Likewise.
47947         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
47948         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
47949         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
47950         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
47951         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
47953 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47955         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
47956         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
47957         * streams/stropts.h (t_scalar_t): Define type.
47959         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
47960         (_PATH_PRESERVE): Set to "/var/lib".
47961         (_PATH_RWHODIR): Set to "/var/spool/rwho".
47963         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
47964         instead of int.
47966         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
47967         if __dir_mkfile succeeded.
47969         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
47970         checking for _hurd_dtablesize.  Unlock it right after having
47971         finished _hurd_dtable allocation.
47973 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47975         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
47976         * sysdeps/mach/hurd/configure: Regenerated.
47977         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
47978         special-casing to...
47979         * sysdeps/gnu/configure.in: ... this new file.
47980         * sysdeps/unix/sysv/linux/configure: Regenerated.
47981         * sysdeps/gnu/configure: New generated file.
47983         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
47984         for Linux: use nsec instead of usec, as well as:
47985         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
47986         members of type struct timespec.
47987         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
47988         New macros.
47989         (struct stat64): Likewise.
47990         (_STATBUF_ST_NSEC): New macro.
47991         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
47993         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
47994         __strtoul_internal rather than strtoul.
47996 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
47998         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
47999         and reject them.
48001 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48003         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
48004         which preserves existing values.
48005         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
48007 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48009         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
48010         TIMEOUT values.  Return EINVAL for NFDS values either negative or
48011         greater than FD_SETSIZE.
48013 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48015         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
48016         allocated, call __vm_protect to finish enabling the existing space, and
48017         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
48018         allocate the remainder.
48020 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48022         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
48023         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
48025 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48027         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
48028         sysdeps/mach/hurd/readlink.c.
48030         * posix/tst-sysconf.c (posix_options): Only use
48031         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
48032         _POSIX_SYNCHRONIZED_IO when they are defined
48033         * sysdeps/mach/hurd/bits/posix_opt.h:
48034         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
48035         (_XOPEN_REALTIME): Undefine macro.
48036         (_XOPEN_REALTIME_THREADS): Undefine macro.
48037         (_XOPEN_SHM): Undefine macro.
48038         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
48039         macro to -1.
48040         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
48041         macro to -1.
48042         (_POSIX_ASYNC_IO): Undefine macro.
48043         (_POSIX_PRIORITIZED_IO): Undefine macro.
48044         (_POSIX_SPIN_LOCKS): Define macro to -1.
48046         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
48047         SA_NODEFER, SA_RESETHAND.
48048         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
48049         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
48050         F_DUPFD_CLOEXEC.
48052 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48054         * elf/Makefile (pldd-modules): Define unconditionally.
48056 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48058         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
48060 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48062         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
48063         Return ENOENT when name is empty.
48064         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
48066 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48068         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
48070         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
48072 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48074         Fix mlock in all cases except non-readable pages.
48075         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
48076         instead of VM_PROT_ALL as parameter to __vm_wire function.
48078         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
48079         (__mkdir): When path is `/', just fail with EEXIST.
48080         * sysdeps/mach/hurd/mkdirat.c: Likewise.
48082 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48084         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
48085         <sys/uio.h> (for writev).
48086         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
48087         and <sys/param.h> (for MIN).
48089 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48091         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
48092         REQUESTED_TIME.  Properly set the remaining time and return EINTR
48093         if interrupted.
48095 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48097         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
48098         Depend on against $(link-rpcuserlibs).
48100 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48102         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
48103         (__libc_stack_end): Do not use attribute_relro.
48104         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
48105         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
48106         to libthread-provided value.
48107         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
48108         attribute_relro.
48110 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48112         [BZ #3748]
48113         * bits/libc-lock.h (__libc_once_get): New macro.
48114         * sysdeps/mach/bits/libc-lock.h: Likewise.
48115         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
48116         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
48117         instead of using implementation details.
48119         * libio/fileops.c: Unconditionally include <kernel-features.h>.
48120         * libio/freopen.c: Likewise.
48121         * libio/freopen64.c: Likewise.
48122         * misc/syslog.c: Likewise.
48123         * nscd/connections.c: Likewise.
48124         * nscd/netgroupcache.c: Likewise.
48125         * sysdeps/posix/getcwd.c: Likewise.
48127 2012-05-10  Roland McGrath  <roland@hack.frob.com>
48129         * math/w_ilogbf.c: Add #include <limits.h>.
48131 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48133         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
48134         path instead of returning without unlocking.
48136         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
48137         immediate-write ioctls.
48138         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
48140 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48142         * sysdeps/mach/hurd/i386/init-first.c (init): Use
48143         __builtin_frame_address instead of making assumptions about the
48144         location of the return address relative to DATA.  Force early load of
48145         the return address.
48146         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
48147         __builtin_frame_address.
48149         dup3 for GNU Hurd.
48150         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
48151         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
48152         implement dup3 and do some further code clean-ups.
48153         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
48154         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
48156 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48158         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
48160         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
48161         HURD_CRITICAL_END around holding _hurd_dtable_lock.
48162         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
48163         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
48164         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
48165         d->port.lock.
48167         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
48168         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
48169         when handler == SIG_ERR, not when handler != SIG_ERR.
48171 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48173         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
48174         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
48175         definitions.
48177         accept4 for GNU Hurd.
48178         * include/sys/socket.h (__libc_accept4): New prototype.
48179         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
48180         to implement __libc_accept4.
48181         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
48182         __libc_accept4.
48183         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
48185         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
48186         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
48187         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
48188         signal-defines.sym.
48190 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48192         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
48194 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48196         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
48197         assertion on O_CLOEXEC flag.
48198         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
48199         * hurd/intern-fd.c: Likewise.
48200         * hurd/port2fd.c: Likewise.
48202 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48204         [BZ #3906]
48205         * bits/in.h (IPV6_PKTINFO): Define new macro.
48206         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
48208 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48210         [BZ #13954]
48211         [BZ #13955]
48212         [BZ #13956]
48213         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
48214         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48215         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
48216         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
48217         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48218         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
48219         * math/libm-test.inc (logb_test) : Additional logb tests.
48221 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
48222             Andreas Jaeger  <aj@suse.de>
48224         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
48225         * configure: Regenerated.
48226         * config.h.in (LINK_OBSOLETE_RPC): New macro.
48227         * config.make.in (link-obsolete-rpc): New substituted variable.
48228         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
48229         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
48230         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
48231         (shared-only-routines): Don't set it under [link-obsolete-rpc],
48232         so that libc.a contains the symbols.
48233         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
48234         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
48235         * sunrpc/auth_none.c: Likewise.
48236         * sunrpc/auth_unix.c: Likewise.
48237         * sunrpc/authdes_prot.c: Likewise.
48238         * sunrpc/authuxprot.c: Likewise.
48239         * sunrpc/clnt_gen.c: Likewise.
48240         * sunrpc/clnt_perr.c: Likewise.
48241         * sunrpc/clnt_raw.c: Likewise.
48242         * sunrpc/clnt_simp.c: Likewise.
48243         * sunrpc/clnt_tcp.c: Likewise.
48244         * sunrpc/clnt_udp.c: Likewise.
48245         * sunrpc/clnt_unix.c: Likewise.
48246         * sunrpc/des_crypt.c: Likewise.
48247         * sunrpc/des_soft.c: Likewise.
48248         * sunrpc/get_myaddr.c: Likewise.
48249         * sunrpc/key_call.c: Likewise.
48250         * sunrpc/key_prot.c: Likewise.
48251         * sunrpc/netname.c: Likewise.
48252         * sunrpc/pm_getmaps.c: Likewise.
48253         * sunrpc/pm_getport.c: Likewise.
48254         * sunrpc/pmap_clnt.c: Likewise.
48255         * sunrpc/pmap_prot.c: Likewise.
48256         * sunrpc/pmap_prot2.c: Likewise.
48257         * sunrpc/pmap_rmt.c: Likewise.
48258         * sunrpc/publickey.c: Likewise.
48259         * sunrpc/rpc_cmsg.c: Likewise.
48260         * sunrpc/rpc_common.c: Likewise.
48261         * sunrpc/rpc_dtable.c: Likewise.
48262         * sunrpc/rpc_prot.c: Likewise.
48263         * sunrpc/rpc_thread.c: Likewise.
48264         * sunrpc/rtime.c: Likewise.
48265         * sunrpc/svc.c: Likewise.
48266         * sunrpc/svc_auth.c: Likewise.
48267         * sunrpc/svc_raw.c: Likewise.
48268         * sunrpc/svc_run.c: Likewise.
48269         * sunrpc/svc_tcp.c: Likewise.
48270         * sunrpc/svc_udp.c: Likewise.
48271         * sunrpc/svc_unix.c: Likewise.
48272         * sunrpc/svcauth_des.c: Likewise.
48273         * sunrpc/xcrypt.c: Likewise.
48274         * sunrpc/xdr.c: Likewise.
48275         * sunrpc/xdr_array.c: Likewise.
48276         * sunrpc/xdr_float.c: Likewise.
48277         * sunrpc/xdr_intXX_t.c: Likewise.
48278         * sunrpc/xdr_mem.c: Likewise.
48279         * sunrpc/xdr_rec.c: Likewise.
48280         * sunrpc/xdr_ref.c: Likewise.
48281         * sunrpc/xdr_sizeof.c: Likewise.
48282         * sunrpc/xdr_stdio.c: Likewise.
48284 2012-05-10  Roland McGrath  <roland@hack.frob.com>
48286         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
48287         change.  Update copyright years.
48289 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
48291         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
48293 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
48294             Joseph Myers  <joseph@codesourcery.com>
48295             Paul Pluzhnikov  <ppluzhnikov@google.com>
48297         [BZ #14012]
48298         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
48299         requiring rpcgen.
48300         [cross-compiling] (extra-libs): Likewise.
48301         [cross-compiling] (extra-libs-others): Likewise.
48302         [cross-compiling] (librpcsvc-routines): Likewise.
48303         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
48304         [cross-compiling] (omit-deps): Likewise.
48305         (sunrpc-CPPFLAGS): New variable.
48306         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
48307         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
48308         (cross-rpcgen-objs): New variable.
48309         (extra-objs): Append $(cross-rpcgen-objs).
48310         ($(cross-rpcgen-objs)): New rule.
48311         ($(objpfx)cross-rpcgen): Likewise.
48312         (rpcgen-cmd): Define to use $(built-program-file).  Expand
48313         comment.
48314         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
48315         ($(objpfx)x%.stmp): Likewise.
48316         * sunrpc/proto.h [IS_IN_build] (_): Define.
48317         [IS_IN_build] (_libc_intl_domainname): Likewise.
48319 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48321         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
48322         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
48323         and R_X86_64_TPOFF64.
48325 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
48327         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
48328         sysdeps/unix/sysv/syscalls.list.
48329         (stime): Likewise.
48330         (utime): Likewise.
48331         * sysdeps/unix/sysv/syscalls.list: Remove file.
48333 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
48335         [BZ #3440]
48336         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
48337         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
48338         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
48339         (__LC_IDENTIFICATION): Make these macros useful in #if
48340         expressions, as required by C99.
48342 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
48344         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
48345         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
48346         after this.
48348 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
48350         * stdlib/longlong.h: Updated from GCC.
48352 2012-05-09  Andreas Jaeger  <aj@suse.de>
48354         * nscd/nscd.c (run_modes): Make named enum, reorder so that
48355         default is first entry.
48356         (run_mode): Set type.
48357         (main): Remove informal message about syslog.
48358         (options): Fix typo.
48360         [BZ #14053]
48361         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
48362         to asm.
48363         (lrint): Likewise.
48364         (llrintf): Likewise.
48365         (llrint): Likewise.
48366         (rint): Likewise.
48367         (rintf): Likewise.
48368         (nearbyint): Likewise.
48369         (nearbyintf): Likewise.
48371 2012-05-09  Andreas Jaeger  <aj@suse.de>
48372             Pedro Alves  <palves@redhat.com>
48374         * nscd/nscd.c (run_mode): Use enum.
48375         (main): Cleanup coding style issue.
48377 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
48378             Andreas Jaeger  <aj@suse.de>
48380         * nscd/nscd.c (go_background): Replaced with...
48381         (run_mode): ... this.
48382         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
48383         (options): Add -F --foreground.
48384         (main): Implement it.
48385         (parse_opt): Parse it.
48387 2012-05-09  Andreas Jaeger  <aj@suse.de>
48389         [BZ #14083]
48390         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
48391         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
48392         -Wconversion warning.
48393         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
48394         Likewise.
48396 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
48398         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
48399         == 0.
48400         (LC_ALL): Use macro-int-constant.
48401         (LC_COLLATE): Likewise.
48402         (LC_CTYPE): Likewise.
48403         (LC_MESSAGES): Likewise.
48404         (LC_MONETARY): Likewise.
48405         (LC_NUMERIC): Likewise.
48406         (LC_TIME): Likewise.
48407         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
48408         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
48409         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48410         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
48411         Specify type.
48412         [C99-based standards] (float_t): Expect type.
48413         [C99-based standards] (double_t): Expect type.
48414         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
48415         type.
48416         [C99-based standards] (HUGE_VALL): Likewise.
48417         [C99-based standards] (INFINITY): Likewise.
48418         [C99-based standards] (NAN): Likewise.
48419         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
48420         [C99-based standards] (FP_NAN): Likewise.
48421         [C99-based standards] (FP_NORMAL): Likewise.
48422         [C99-based standards] (FP_SUBNORMAL): Likewise.
48423         [C99-based standards] (FP_ZERO): Likewise.
48424         [C99-based standards] (FP_FAST_FMA): Use
48425         optional-macro-int-constant.  Specify type.  Require == 1.
48426         [C99-based standards] (FP_FAST_FMAF): Likewise.
48427         [C99-based standards] (FP_FAST_FMAL): Likewise.
48428         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
48429         [C99-based standards] (FP_ILOGBNAN): Likewise.
48430         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
48431         Specify type.
48432         [C99-based standards] (MATH_ERREXCEPT): Likewise.
48433         [C99-based standards] (math_errhandling): Specify type.
48434         [ISO99 || ISO11] (signgam): Do not allow.
48435         [non-C99-based standards] (copysignf): Do not allow.
48436         [non-C99-based standards] (exp2f): Likewise.
48437         [non-C99-based standards] (log2f): Likewise.
48438         [non-C99-based standards] (modff): Allow.
48439         [non-C99-based standards] (erff): Do not allow.
48440         [non-C99-based standards] (erfcf): Likewise.
48441         [non-C99-based standards] (gammaf): Likewise.
48442         [non-C99-based standards] (hypotf): Likewise.
48443         [non-C99-based standards] (j0f): Likewise.
48444         [non-C99-based standards] (j1f): Likewise.
48445         [non-C99-based standards] (jnf): Likewise.
48446         [non-C99-based standards] (lgammaf): Likewise.
48447         [non-C99-based standards] (tgammaf): Likewise.
48448         [non-C99-based standards] (y0f): Likewise.
48449         [non-C99-based standards] (y1f): Likewise.
48450         [non-C99-based standards] (ynf): Likewise.
48451         [non-C99-based standards] (isnanf): Likewise.
48452         [non-C99-based standards] (acoshf): Likewise.
48453         [non-C99-based standards] (asinhf): Likewise.
48454         [non-C99-based standards] (atanhf): Likewise.
48455         [non-C99-based standards] (cbrtf): Likewise.
48456         [non-C99-based standards] (expm1f): Likewise.
48457         [non-C99-based standards] (ilogbf): Likewise.
48458         [non-C99-based standards] (log1pf): Likewise.
48459         [non-C99-based standards] (logbf): Likewise.
48460         [non-C99-based standards] (nextafterf): Likewise.
48461         [non-C99-based standards] (remainderf): Likewise.
48462         [non-C99-based standards] (rintf): Likewise.
48463         [non-C99-based standards] (scalbf): Likewise.
48464         [non-C99-based standards] (copysignl): Likewise.
48465         [non-C99-based standards] (exp2l): Likewise.
48466         [non-C99-based standards] (log2l): Likewise.
48467         [non-C99-based standards] (modfl): Allow.
48468         [non-C99-based standards] (erfl): Do not allow.
48469         [non-C99-based standards] (erfcl): Likewise.
48470         [non-C99-based standards] (gammal): Likewise.
48471         [non-C99-based standards] (hypotl): Likewise.
48472         [non-C99-based standards] (j0l): Likewise.
48473         [non-C99-based standards] (j1l): Likewise.
48474         [non-C99-based standards] (jnl): Likewise.
48475         [non-C99-based standards] (lgammal): Likewise.
48476         [non-C99-based standards] (tgammal): Likewise.
48477         [non-C99-based standards] (y0l): Likewise.
48478         [non-C99-based standards] (y1l): Likewise.
48479         [non-C99-based standards] (ynl): Likewise.
48480         [non-C99-based standards] (isnanl): Likewise.
48481         [non-C99-based standards] (acoshl): Likewise.
48482         [non-C99-based standards] (asinhl): Likewise.
48483         [non-C99-based standards] (atanhl): Likewise.
48484         [non-C99-based standards] (cbrtl): Likewise.
48485         [non-C99-based standards] (expm1l): Likewise.
48486         [non-C99-based standards] (ilogbl): Likewise.
48487         [non-C99-based standards] (log1pl): Likewise.
48488         [non-C99-based standards] (logbl): Likewise.
48489         [non-C99-based standards] (nextafterl): Likewise.
48490         [non-C99-based standards] (remainderl): Likewise.
48491         [non-C99-based standards] (rintl): Likewise.
48492         [non-C99-based standards] (scalbl): Likewise.
48493         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48494         [non-C99-based standards] (FP_*): Do not allow.
48495         [C99-based standards] (FP_*): Change to
48496         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
48497         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48498         allow.
48499         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
48500         (SIG_ERR): Likewise.
48501         [X/Open-based standards] (SIG_HOLD): Likewise.
48502         (SIG_IGN): Likewise.
48503         (SIGABRT): Use macro-int-constant.  Specify type.  Require
48504         positive value.
48505         (SIGFPE): Likewise.
48506         (SIGILL): Likewise.
48507         (SIGINT): Likewise.
48508         (SIGSEGV): Likewise.
48509         (SIGTER): Likewise.
48510         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
48511         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
48512         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
48513         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
48514         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
48515         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
48516         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
48517         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
48518         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
48519         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
48520         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
48521         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
48522         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
48523         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
48524         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
48525         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
48526         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
48527         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
48528         [X/Open-based standards] (SIGTRAP): Likewise.
48529         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
48530         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
48531         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
48532         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
48533         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48534         allow.
48536 2012-05-08  Ian Wienand  <ianw@vmware.com>
48538         [BZ #14080]
48539         * time/tzset.c (__tzset_parse_tz): Update default rules for
48540         daylight time changes in the Energy Policy Act of 2005.
48542 2012-05-09  Andreas Jaeger  <aj@suse.de>
48544         [BZ #13983]
48545         * elf/ldconfig.c (parse_conf): Change string to make clear that
48546         ldconfig only issued a warning if ld.so.conf does not exist.
48548 2012-05-08  David S. Miller  <davem@davemloft.net>
48550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
48551         movxtod instead of popping the value on the stack.
48553         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48555 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
48557         * config.h.in: Add HAVE_ARM_PCS_VFP.
48559 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
48561         [BZ #13979]
48562         * include/features.h: Warn if user requests __FORTIFY_SOURCE
48563         checking but the checks are disabled for any reason.
48565 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
48567         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
48568         and ELF64_R_TYPE with ELFW(R_TYPE).
48570 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
48572         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
48573         (ulimit): Likewise.
48575         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
48576         (settimeofday): Likewise.
48578 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
48580         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
48581         a struct th_u2 inside the union, and move tu_block/tu_code into
48582         a new th_u3 union of tu_block/tu_code inside of that.  Move
48583         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
48584         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
48585         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
48586         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
48587         (th_stuff): Change to th_u1.tu_stuff.
48588         (th_data): Define.
48589         (th_msg): Change to th_u1.th_u2.tu_data.
48591 2012-05-07  David S. Miller  <davem@davemloft.net>
48593         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48595         [BZ #14074]
48596         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
48597         (SETUP_PIC_REG): Use it.
48598         (SETUP_PIC_REG_LEAF): Use it.
48600 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
48602         [BZ #13885]
48603         [BZ #13923]
48604         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48605         USE_AS_EXPM1L.
48606         (EXPL_FINITE): Likewise.
48607         (FLDLOG): Likewise.
48608         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
48609         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
48610         e_expl.S.
48611         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48612         USE_AS_EXPM1L.
48613         (EXPL_FINITE): Likewise.
48614         (FLDLOG): Likewise.
48615         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
48616         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
48617         e_expl.S.
48618         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
48619         test of -max_value argument for long double.
48620         * sysdeps/i386/fpu/libm-test-ulps: Update.
48621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48623 2012-05-06  David S. Miller  <davem@davemloft.net>
48625         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
48626         quad soft-float symbols whose references which are compiler
48627         generated.
48628         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
48630 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
48632         [BZ #13884]
48633         [BZ #13914]
48634         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48635         USE_AS_EXP10L.
48636         (EXPL_FINITE): Likewise.
48637         (FLDLOG): Likewise.
48638         (c0): Likewise.
48639         (c1): Likewise.
48640         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
48641         Adjust comments for base varying.
48642         (__expl_finite): Change alias to EXPL_FINITE.
48643         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
48644         e_expl.S.
48645         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
48646         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
48647         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
48648         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
48649         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48650         USE_AS_EXP10L.
48651         (EXPL_FINITE): Likewise.
48652         (FLDLOG): Likewise.
48653         (c0): Likewise.
48654         (c1): Likewise.
48655         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
48656         Adjust comments for base varying.
48657         (__expl_finite): Change alias to EXPL_FINITE.
48658         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
48659         tests for bugs.
48660         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48662         [BZ #14064]
48663         * math/libm-test.inc (check_float_internal): Correct ulp
48664         calculation for subnormal expected results.
48666 2012-05-06  Andreas Jaeger  <aj@suse.de>
48668         * Makeconfig (+math-flags): New, set to -frounding-math.
48669         (+cflags): Add +math-flags so that all of glibc gets compiled with
48670         it.
48672         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
48674 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
48676         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
48677         Disable one test.
48679         [BZ #13787]
48680         [BZ #13922]
48681         [BZ #14036]
48682         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
48683         (__ieee754_expl): Allow for and saturate large arguments.
48684         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
48685         (u_threshold): Likewise.
48686         (__exp): Call __ieee754_exp before checking for overflow and
48687         underflow.
48688         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
48689         (u_threshold): Likewise.
48690         (__expf): Call __ieee754_expf before checking for overflow and
48691         underflow.
48692         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
48693         (u_threshold): Likewise.
48694         (__expl): Call __ieee754_expl before checking for overflow and
48695         underflow.
48696         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
48697         (__ieee754_expl): Allow for and saturate large arguments.
48698         * math/libm-test.inc (exp_test): Add another test.  Do not allow
48699         missing overflow exception on overflow.
48700         (expm1_test): Do not allow missing overflow exception on overflow.
48702         * sysdeps/i386/fpu/e_expl.c: Move to ...
48703         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
48704         rather than using inline asm.
48705         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
48706         * sysdeps/x86_64/fpu/e_expl.S: Copy from
48707         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
48709         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
48710         (nice): Likewise.
48711         (poll): Likewise.
48712         (signal): Likewise.
48713         (time): Likewise.
48714         (times): Likewise.
48716 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
48718         * sysdeps/unix/syscalls.list (adjtime): Add entry from
48719         sysdeps/unix/common/syscalls.list.
48720         (fchmod): Likewise.
48721         (fchown): Likewise.
48722         (ftruncate): Likewise.
48723         (getrusage): Likewise.
48724         (gettimeofday): Likewise.
48725         (setpgid): Likewise.
48726         (setregid): Likewise.
48727         (setreuid): Likewise.
48728         (sigaction): Likewise.
48729         (truncate): Likewise.
48730         (vhangup): Likewise.
48731         * sysdeps/unix/common/syscalls.list: Remove file.
48732         * sysdeps/unix/bsd/Implies: Don't include unix/common.
48733         * sysdeps/unix/sysv/linux/Implies: Likewise.
48735 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
48737         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
48738         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
48739         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
48740         Moved to ...
48741         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
48742         Here.
48743         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
48744         to ...
48745         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
48746         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
48747         to ...
48748         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
48749         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
48750         to ...
48751         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
48752         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
48753         to ...
48754         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
48755         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
48756         to ...
48757         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
48758         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
48759         to ...
48760         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
48761         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
48762         to ...
48763         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
48764         Here.
48765         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
48766         to ...
48767         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
48768         Here.
48769         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
48770         to ...
48771         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
48772         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
48773         Moved to ...
48774         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
48775         Here.
48776         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
48777         to ...
48778         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
48780 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
48782         * sysdeps/unix/common/bits/dirent.h: Remove file.
48783         * sysdeps/unix/common/bits/fcntl.h: Likewise.
48785         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
48786         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
48787         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
48788         * sysdeps/unix/bsd/isatty.c: Likewise.
48789         * sysdeps/unix/bsd/tcdrain.c: Likewise.
48790         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
48791         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
48793 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48795         [BZ #13563]
48796         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
48797         long double comparison inaccuracies.
48798         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
48799         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48801 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
48803         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
48804         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
48806 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
48808         [BZ #14049]
48809         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
48810         nonzero digits before rounding a hex value.
48811         * stdlib/tst-strtod.c (tests): Add another test.
48813 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48815         * sysdeps/s390/fpu/libm-test-ulps: Update.
48817 2012-05-03  Andreas Jaeger  <aj@suse.de>
48819         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
48820         does not get optimized out.
48821         (malloc_opt_barrier): New.
48823 2012-05-03  Andreas Jaeger  <aj@suse.de>
48824             Roland McGrath  <roland@hack.frob.com>
48826         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
48827         intermediate file deletion.
48828         (generated): Add .symlist files.
48830 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
48832         [BZ #13775]
48833         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
48834         Redirect under this condition.
48835         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
48836         [__USE_GNU] (__dprintf_chk): Not under this condition.
48837         [__USE_GNU] (__vdprintf_chk): Likewise.
48838         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
48839         under this condition.
48840         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
48841         [__USE_XOPEN2K8] (dprintf): Define under this condition.
48842         [__USE_XOPEN2K8] (vdprintf): Likewise.
48843         [__USE_GNU] (__dprintf_chk): Not under this condition.
48844         [__USE_GNU] (__vdprintf_chk): Likewise.
48845         [__USE_GNU] (dprintf): Likewise.
48846         [__USE_GNU] (vdprintf): Likewise.
48848 2012-05-03  Roland McGrath  <roland@hack.frob.com>
48850         * elf/Makefile (common-generated): Set this instead of generated for
48851         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
48852         $(all-built-dso)-derived lists.
48854 2012-05-03  Andreas Jaeger  <aj@suse.de>
48856         * sysdeps/i386/fpu/libm-test-ulps: Update.
48858         * FAQ: Removed.
48859         * FAQ.in: Likewise.
48860         * scripts/gen-FAQ.pl: Likewise.
48861         * manual/install.texi (Installation): Point to online location of
48862         FAQ.
48863         * Makefile (files-for-dist): Remove FAQ.
48864         (FAQ): Remove.
48866 2012-05-02  Allan McRae  <allan@archlinux.org>
48868         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
48869         (LDFLAGS-reldepmod5.so): Likewise.
48870         (LDFLAGS-reldep6mod1.so): Likewise.
48871         (LDFLAGS-reldep6mod4.so): Likewise.
48872         (LDFLAGS-reldep8mod3.so): Likewise.
48873         (LDFLAGS-unload4mod1.so): Likewise.
48874         (LDFLAGS-unload4mod2.so): Likewise.
48875         (LDFLAGS-tst-initorder): Likewise.
48876         (LDFLAGS-tst-initordera2.so): Likewise.
48877         (LDFLAGS-tst-initordera3.so): Likewise.
48878         (LDFLAGS-tst-initordera4.so): Likewise.
48879         (LDFLAGS-tst-initorderb2.so): Likewise.
48880         (LDFLAGS-noload): Likewise.
48881         (LDFLAGS-next): Likewise.
48882         (LDFLAGS-order2mod1.so): Likewise.
48883         (LDFLAGS-order2mod2.so): Likewise.
48884         (LDFLAGS-tst-initorder2): Likewise.
48885         (LDFLAGS-tst-initorder2a.so): Likewise.
48886         (LDFLAGS-tst-initorder2b.so): Likewise.
48887         (LDFLAGS-tst-initorder2c.so): Likewise.
48888         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
48890 2012-05-02  David S. Miller  <davem@davemloft.net>
48892         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48894 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
48896         [BZ #14055]
48897         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
48899 2012-05-02  Andreas Jaeger  <aj@suse.de>
48901         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
48902         since we manipulate rounding mode.
48903         (CPPFLAGS-test-idouble.c): Likewise.
48904         (CPPFLAGS-test-ifloat.c): Likewise.
48905         (CFLAGS-test-ldouble.c): Likewise.
48906         (CFLAGS-test-double.c): Likewise.
48907         (CFLAGS-test-float.c): Likewise.
48908         (CFLAGS-test-misc.c): Likewise.
48909         (CFLAGS-test-test-fenv.c): Likewise.
48911 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48913         [BZ #2550]
48914         [BZ #2570]
48915         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
48916         comparisons to determine direction to adjust input.
48918 2012-05-01  Roland McGrath  <roland@hack.frob.com>
48920         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
48921         output to the target.
48923         * scripts/localplt.awk: New file.
48924         * elf/Makefile ($(objpfx)check-localplt): Target removed.
48925         (check-localplt-CFLAGS): Variable removed.
48926         ($(all-built-dso:=.jmprel)): New static pattern rule.
48927         (generated): Add those targets.
48928         (localplt-built-dso): New variable.
48929         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
48931         * elf/check-localplt.c: File removed.
48933         * scripts/check-execstack.awk: New file.
48934         * elf/Makefile ($(objpfx)check-execstack): Target removed.
48935         (check-execstack-CFLAGS): Variable removed.
48936         ($(objpfx)check-execstack.h): Target removed.
48937         ($(objpfx)execstack-default): New target.
48938         (generated): Add that instead of check-execstack.h.
48939         ($(all-built-dso:=.phdr)): New static pattern rule.
48940         (generated): Add those targets.
48941         * elf/check-execstack.c: File removed.
48943         * scripts/check-textrel.awk: New file.
48944         * elf/Makefile ($(objpfx)check-textrel): Target removed.
48945         (check-textrel-CFLAGS): Variable removed.
48946         (all-built-dso): Use := to define.o
48947         ($(all-built-dso:=.dyn)): New static pattern rule.
48948         (generated): Add those targets.
48949         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
48950         * config.make.in (READELF): New substituted variable.
48951         * elf/check-textrel.c: File removed.
48953 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
48955         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48956         allow.
48957         * conform/data/ctype.h-data [C99-based standards] (isblank):
48958         Expect function.
48959         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
48960         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
48961         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48962         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
48963         Specify type.  Require positive value.
48964         (EILSEQ): Likewise.
48965         (ERANGE): Likewise.
48966         [ISO || POSIX] (EILSEQ): Do not expect.
48967         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
48968         Specify type.  Require positive value.
48969         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
48970         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
48971         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
48972         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
48973         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
48974         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
48975         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
48976         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
48977         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
48978         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
48979         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
48980         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
48981         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
48982         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
48983         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
48984         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
48985         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
48986         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
48987         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
48988         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
48989         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
48990         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
48991         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
48992         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
48993         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
48994         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
48995         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
48996         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
48997         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
48998         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
48999         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
49000         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
49001         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
49002         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
49003         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
49004         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
49005         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
49006         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
49007         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
49008         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
49009         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
49010         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
49011         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
49012         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
49013         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
49014         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
49015         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
49016         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
49017         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
49018         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
49019         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
49020         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
49021         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
49022         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
49023         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
49024         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
49025         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
49026         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
49027         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
49028         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
49029         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
49030         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
49031         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
49032         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
49033         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
49034         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
49035         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
49036         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
49037         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
49038         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
49039         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
49040         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
49041         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
49042         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
49043         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
49044         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
49045         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
49046         Require >= 2.
49047         (FLT_ROUNDS): Expect as macro, not constant.
49048         (FLT_MANT_DIG): Use macro-int-constant.
49049         (DBL_MANT_DIG): Likewise.
49050         (LDBL_MANT_DIG): Likewise.
49051         (FLT_DIG): Likewise.
49052         (DBL_DIG): Likewise.
49053         (LDBL_DIG): Likewise.
49054         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
49055         (DBL_MIN_EXP): Likewise.
49056         (LDBL_MIN_EXP): Likewise.
49057         (FLT_MAX_EXP): Use macro-int-constant.
49058         (DBL_MAX_EXP): Likewise.
49059         (LDBL_MAX_EXP): Likewise.
49060         (FLT_MAX_10_EXP): Likewise.
49061         (DBL_MAX_10_EXP): Likewise.
49062         (LDBL_MAX_10_EXP): Likewise.
49063         (FLT_MAX): Use macro-constant.
49064         (DBL_MAX): Likewise.
49065         (LDBL_MAX): Likewise.
49066         (FLT_EPSILON): Use macro-constant.  Give upper bound.
49067         (DBL_EPSILON): Likewise.
49068         (LDBL_EPSILON): Likewise.
49069         (FLT_MIN): Likewise.
49070         (DBL_MIN): Likewise.
49071         (LDBL_MIN): Likewise.
49072         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
49073         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
49074         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
49075         [ISO11] (FLT_HAS_SUBNORM): Likewise.
49076         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
49077         [ISO11] (DBL_DECIMAL_DIG): Likewise.
49078         [ISO11] (FLT_DECIMAL_DIG): Likewise.
49079         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
49080         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
49081         [ISO11] (FLT_TRUE_MIN): Likewise.
49082         [ISO11] (LDBL_TRUE_MIN): Likewise.
49083         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49084         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
49085         (SCHAR_MIN): Use macro-int-constant.  Specify type.
49086         (SCHAR_MAX): Likewise.
49087         (UCHAR_MAX): Likewise.
49088         (CHAR_MIN): Likewise.
49089         (CHAR_MAX): Likewise.
49090         (MB_LEN_MAX): Use macro-int-constant.
49091         (SHRT_MIN): Use macro-int-constant.  Specify type.
49092         (SHRT_MAX): Likewise.
49093         (USHRT_MAX): Likewise.
49094         (INT_MAX): Likewise.
49095         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
49096         bound negative.
49097         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
49098         bound with "U".
49099         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
49100         bound with "L".
49101         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
49102         bound negative.  Suffix upper bound with "L".
49103         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
49104         bound with "UL".
49105         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
49106         Specify type.
49107         [C99-based standards] (LLONG_MAX): Likewise.
49108         [C99-based standards] (ULLONG_MAX): Likewise.
49109         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
49110         == 0.
49111         [ISO11] (max_align_t): Require type.
49112         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49114         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
49115         from $CFLAGS, without defining away __attribute__ calls.
49116         (checknamespace): Use $CFLAGS_namespace.
49118         * conform/conformtest.pl (@keywords): Only include C99 keywords
49119         for standards based on C99 or C11.
49121         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
49122         Disable tests.
49123         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
49124         UNIX98]: Likewise.
49126         * conform/conformtest.pl: Handle "macro-int-constant" and test for
49127         usability of symbols in #if.
49129         * conform/conformtest.pl: If macro or constant types start
49130         "promoted:", expect the symbol to be of the following type
49131         promoted by the integer promotions.
49133         * conform/conformtest.pl: Parse all "constant" and "macro" lines
49134         in one place.  Also handle "macro-constant".
49136         * conform/conformtest.pl: Only accept expected macro values with
49137         "==".  Parse all "macro" lines in one place.
49138         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
49140         * conform/conformtest.pl: Handle braced types on "constant" lines
49141         instead of handling "typed-constant".
49142         * conform/data/signal.h-data: Use "constant" instead of
49143         "typed-constant".
49145         * conform/conformtest.pl: Handle "optional-" at start of lines in
49146         one place rather than duplicating several cases.  Handle each
49147         format of "macro" line with initial "optional-".
49149         * conform/conformtest.pl: Only accept expected constant or
49150         optional-constant values with "==".  Parse all "constant" lines in
49151         one place.  Parse all "optional-constant" lines in one place.
49152         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
49153         * conform/data/fmtmsg.h-data: Likewise.
49154         * conform/data/netinet/in.h-data: Likewise.
49155         * conform/data/tar.h-data: Likewise.
49156         * conform/data/limits.h-data: Use "==" form on "constant" and
49157         "optional-constant" lines.
49159         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
49160         Use -std=c99 for XOPEN2K.
49161         (@knownproblems): Remove.
49162         (newtoken): Don't check %isknown.
49164         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
49165         Do not expect macro.
49166         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
49167         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
49168         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
49169         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
49170         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
49171         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
49172         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
49173         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
49174         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
49175         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
49176         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
49177         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
49178         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
49179         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
49180         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
49181         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
49182         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
49183         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
49184         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
49185         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
49186         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
49187         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
49188         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
49189         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
49190         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
49191         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
49192         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
49193         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
49194         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
49195         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
49196         [XPG3] (acosh): Likewise.
49197         [XPG3] (asinh): Likewise.
49198         [XPG3] (atanh): Likewise.
49199         [XPG3] (cbrt): Likewise.
49200         [XPG3] (expm1): Likewise.
49201         [XPG3] (ilogb): Likewise.
49202         [XPG3] (log1p): Likewise.
49203         [XPG3] (logb): Likewise.
49204         [XPG3] (nextafter): Likewise.
49205         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
49206         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
49207         [XPG3] (remainder): Likewise.
49208         [XPG3] (rint): Likewise.
49209         [XPG3 || XPG4 || UNIX98] (round): Likewise.
49210         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
49211         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
49212         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
49213         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
49214         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
49215         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
49216         [UNIX98 || XOPEN2K] (scalb): Expect.
49217         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
49218         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
49219         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
49220         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
49221         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
49222         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
49223         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
49224         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
49225         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
49226         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
49227         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
49228         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
49229         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
49230         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
49231         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
49232         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
49233         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
49234         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
49235         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
49236         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
49237         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
49238         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
49239         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
49240         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
49241         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
49242         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
49243         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
49244         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
49245         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
49246         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
49247         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
49248         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
49249         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
49250         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
49251         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
49252         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
49253         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
49254         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
49255         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
49256         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
49257         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
49258         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
49259         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
49260         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
49261         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
49262         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
49263         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
49264         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
49265         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
49266         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
49267         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
49268         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
49269         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
49270         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
49271         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
49272         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
49273         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
49274         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
49275         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
49276         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
49277         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
49278         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
49279         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
49280         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
49281         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
49282         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
49283         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
49284         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
49285         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
49286         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
49287         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
49288         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
49289         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
49290         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
49291         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
49292         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
49293         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
49294         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
49295         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
49296         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
49297         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
49298         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
49299         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
49300         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
49301         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
49302         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
49303         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
49304         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
49305         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
49306         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
49307         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
49308         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
49309         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
49310         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
49311         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
49312         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
49313         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
49314         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
49315         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
49316         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
49317         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
49318         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
49319         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
49320         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
49321         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
49322         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
49323         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
49324         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
49325         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
49326         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
49327         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
49328         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
49329         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
49330         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
49331         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
49332         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
49333         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
49334         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
49335         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
49336         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
49337         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
49338         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
49339         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
49340         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
49341         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
49342         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
49343         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
49344         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
49345         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
49346         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
49347         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
49348         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
49349         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
49350         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
49351         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
49352         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
49353         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
49355         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
49356         _XOPEN_SOURCE_EXTENDED for XPG4.
49358         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
49360         * Makeconfig (localtime): Remove variable.
49361         (inst_localtime-file): Likewise.
49363 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
49365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
49366         Update.
49367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49368         Update.
49369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
49370         Update.
49371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49372         Update.
49373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
49374         Update.
49375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
49376         Update.
49377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49378         Update.
49379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
49380         Update.
49381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49382         Update.
49384 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
49386         [BZ #2550]
49387         [BZ #2570]
49388         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
49389         comparisons to determine direction to adjust input.
49390         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
49391         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
49392         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
49393         Likewise.
49394         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
49395         Likewise.
49396         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
49397         Likewise.
49398         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
49399         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
49400         Likewise.
49401         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
49402         Likewise.
49403         * math/libm-test.inc (nexttoward_test): Add more tests.
49405 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
49407         [BZ #14040]
49408         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
49409         in version GLIBC_2.1, not GLIBC_2.0.
49410         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
49411         Likewise.
49413 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
49415         [BZ #13942]
49416         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
49417         (1 - x) * (1 + x).
49418         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
49419         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
49420         * math/libm-test.inc (acos_test): Add more tests.
49421         (asin_test): Likewise.
49422         * sysdeps/i386/fpu/libm-test-ulps: Update.
49423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49425         [BZ #14034]
49426         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
49427         of square root.
49428         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
49429         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
49430         * math/libm-test.inc (acos_test_tonearest): New function.
49431         (acos_test_towardzero): Likewise.
49432         (acos_test_downward): Likewise.
49433         (acos_test_upward): Likewise.
49434         (asin_test_tonearest): Likewise.
49435         (asin_test_towardzero): Likewise.
49436         (asin_test_downward): Likewise.
49437         (asin_test_upward): Likewise.
49438         (main): Call the new functions.
49439         * sysdeps/i386/fpu/libm-test-ulps: Update.
49440         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49442         [BZ #13884]
49443         [BZ #13924]
49444         * math/e_exp10.c: Include <float.h>.
49445         (__ieee754_exp10): Handle underflow here rather than multiplying
49446         large negative argument by M_LN10.
49447         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
49448         of __ieee754_expf.
49449         * math/e_exp10l.c: Include <float.h>.
49450         (__ieee754_exp10l): Handle underflow here rather than multiplying
49451         large negative argument by M_LN10l.
49452         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
49453         spurious overflow exception on underflow.
49455 2012-04-29  Marek Polacek  <polacek@redhat.com>
49457         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
49458         (__fortify_function): New macro.
49459         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
49460         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
49461         __extern_always_inline.
49462         * libio/bits/stdio2.h: Likewise.
49463         * libio/bits/stdio.h: Likewise.
49464         * string/string.h: Likewise.
49465         * string/bits/string3.h: Likewise.
49466         * include/stdio.h: Likewise.
49467         * stdlib/bits/stdlib.h: Likewise.
49468         * stdlib/stdlib.h: Likewise.
49469         * rt/bits/mqueue2.h: Likewise.
49470         * rt/mqueue.h: Likewise.
49471         * posix/bits/unistd.h: Likewise.
49472         * posix/unistd.h: Likewise.
49473         * io/bits/poll2.h: Likewise.
49474         * io/bits/fcntl2.h: Likewise.
49475         * io/fcntl.h: Likewise.
49476         * io/sys/poll.h: Likewise.
49477         * misc/bits/syslog.h: Likewise.
49478         * misc/bits/syslog-ldbl.h: Likewise.
49479         * misc/sys/syslog.h: Likewise.
49480         * socket/bits/socket2.h: Likewise.
49481         * socket/sys/socket.h: Likewise.
49482         * debug/tst-chk1.c: Likewise.
49483         * wcsmbs/bits/wchar2.h: Likewise.
49484         * wcsmbs/bits/wchar-ldbl.h: Likewise.
49485         * wcsmbs/wchar.h: Likewise.
49487 2012-04-29  Andreas Jaeger  <aj@suse.de>
49489         * Makerules (tests): Remove enable-check-abi protection.
49490         (check-abi-warn): Remove.
49491         (check-abi-%): Remove check-abi-warn usage.
49493         * configure.in: Remove check-abi configure option.
49494         * configure: Regenerated.
49495         * config.make.in (enable-check-abi): Remove.
49497 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
49499         [BZ #14033]
49500         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
49501         double functions to double *_finite functions.
49503         [BZ #13941]
49504         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
49505         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
49506         LDBL_MIN_EXP.
49507         * stdio-common/Makefile (tests): Add tst-sprintf3.
49508         * stdio-common/tst-sprintf3.c: New file.
49510         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
49511         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
49513 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
49515         * conform/conformtest.pl: Remove duplicate typed-constant
49516         handling.
49518 2012-04-28  David S. Miller  <davem@davemloft.net>
49520         * Makerules (%.abilist): Add vpath on sysdep_dirs.
49521         (check-abi-%): Remove AWK script prerequisite and explicit
49522         abilist directory.
49523         (check-abi): Rewrite to just diff the symlist with the abilist.
49524         (config-tls, config-abi-config): Delete, no longer used.
49525         (update-abi-%): Remove AWK script and explicit abilist directory.
49526         (update-abi): Rewrite to simply compare and conditionally copy the
49527         symlist and the sysdep abilist file.  Remove update-abi-config
49528         checks.
49529         * abilist/ld.abilist: Remove.
49530         * abilist/libBrokenLocale.abilist: Remove.
49531         * abilist/libanl.abilist: Remove.
49532         * abilist/libcrypt.abilist: Remove.
49533         * abilist/libdl.abilist: Remove.
49534         * abilist/librt.abilist: Remove.
49535         * abilist/libthread_db.abilist: Remove.
49536         * abilist/libutil.abilist: Remove.
49537         * scripts/extract-abilist.awk: Remove.
49538         * scripts/merge-abilist.awk: Remove.
49539         * sysdeps/generic/libcidn.abilist: New file.
49540         * sysdeps/generic/libnss_compat.abilist: New file.
49541         * sysdeps/generic/libnss_db.abilist: New file.
49542         * sysdeps/generic/libnss_dns.abilist: New file.
49543         * sysdeps/generic/libnss_files.abilist: New file.
49544         * sysdeps/generic/libnss_hesiod.abilist: New file.
49545         * sysdeps/generic/libnss_nis.abilist: New file.
49546         * sysdeps/generic/libnss_nisplus.abilist: New file.
49547         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
49548         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
49549         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
49550         file.
49551         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
49552         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
49553         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
49554         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
49555         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
49556         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
49557         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
49558         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
49559         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
49560         file.
49561         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
49562         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
49563         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
49564         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
49565         file.
49566         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
49567         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
49568         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
49569         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
49570         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
49571         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
49572         file.
49573         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
49574         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
49575         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
49576         file.
49577         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
49578         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
49579         New file.
49580         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
49581         New file.
49582         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
49583         New file.
49584         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
49585         New file.
49586         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
49587         New file.
49588         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
49589         New file.
49590         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
49591         New file.
49592         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
49593         New file.
49594         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
49595         New file.
49596         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
49597         New file.
49598         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
49599         New file.
49600         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
49601         New file.
49602         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
49603         New file.
49604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
49605         file.
49606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
49607         New file.
49608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
49609         New file.
49610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
49611         file.
49612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
49613         New file.
49614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
49615         New file.
49616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
49617         file.
49618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
49619         New file.
49620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49621         New file.
49622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
49623         New file.
49624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
49625         New file.
49626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
49627         New file.
49628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
49629         New file.
49630         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
49631         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
49632         file.
49633         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
49634         New file.
49635         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
49636         file.
49637         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
49638         file.
49639         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
49640         file.
49641         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
49642         file.
49643         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
49644         file.
49645         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49646         New file.
49647         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
49648         file.
49649         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
49650         file.
49651         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
49652         New file.
49653         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
49654         file.
49655         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
49656         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
49657         file.
49658         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
49659         New file.
49660         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
49661         file.
49662         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
49663         file.
49664         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
49665         file.
49666         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
49667         file.
49668         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
49669         file.
49670         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49671         New file.
49672         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
49673         file.
49674         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
49675         file.
49676         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
49677         New file.
49678         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
49679         file.
49680         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
49681         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
49682         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
49683         file.
49684         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
49685         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
49686         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
49687         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
49688         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
49689         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
49690         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
49691         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
49692         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
49693         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
49694         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
49695         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
49696         file.
49697         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
49698         New file.
49699         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
49700         file.
49701         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
49702         file.
49703         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
49704         file.
49705         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
49706         file.
49707         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
49708         file.
49709         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
49710         New file.
49711         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
49712         New file.
49713         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
49714         file.
49715         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
49716         New file.
49717         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
49718         file.
49719         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
49720         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
49721         file.
49722         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
49723         New file.
49724         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
49725         file.
49726         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
49727         file.
49728         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
49729         file.
49730         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
49731         file.
49732         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
49733         file.
49734         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
49735         New file.
49736         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
49737         New file.
49738         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
49739         file.
49740         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
49741         New file.
49742         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
49743         file.
49745 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
49747         * conform/conformtest.pl: Fix typo in handling typed-constant from
49748         allow-header.
49750 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
49752         * README: Cut down references to pre-2.6 Linux kernels and
49753         Linuxthreads.  Update lists of configurations in libc and ports
49754         and sort alphabetically.  Say "or newer" with Linux kernel version
49755         requirements.
49757         * config.h.in [IS_IN_build]: Allow compiling without optimization.
49759 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49761         [BZ #887]
49762         * math/libm-test.inc (logb_test_downward): New test to expose
49763         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
49764         rounding mode.
49766 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
49768         [BZ #14027]
49769         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
49770         to be done.
49771         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
49772         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
49774 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
49776         * sysdeps/unix/i386/brk.S: Remove file.
49777         * sysdeps/unix/i386/dl-brk.S: Likewise.
49778         * sysdeps/unix/i386/pipe.S: Likewise.
49779         * sysdeps/unix/i386/sigreturn.S: Likewise.
49780         * sysdeps/unix/i386/syscall.S: Likewise.
49781         * sysdeps/unix/i386/vfork.S: Likewise.
49782         * sysdeps/unix/i386/wait.S: Likewise.
49784         * sysdeps/unix/common/tcsendbrk.c: Move to ...
49785         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
49787         * configure.in (arm*-none*): Do not allow without
49788         --enable-hacker-mode.
49789         (netbsd*): Remove case setting base_os.
49790         (386bsd*): Likewise.
49791         (freebsd*): Likewise.
49792         (bsdi*): Likewise.
49793         (osf*): Likewise.
49794         (sunos*): Likewise.
49795         (ultrix*): Likewise.
49796         (newsos*): Likewise.
49797         (dynix*): Likewise.
49798         (*bsd*): Likewise.
49799         (sysv*): Likewise.
49800         (isc*): Likewise.
49801         (esix*): Likewise.
49802         (sco*): Likewise.
49803         (minix*): Likewise.
49804         (irix4*): Likewise.
49805         (irix6*): Likewise.
49806         (solaris[2-9]*): Likewise.
49807         (none): Likewise.
49808         * configure: Regenerated.
49810 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49812         [BZ #11521]
49813         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
49814         overflow or cancellation in calculating denominator.
49815         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
49816         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
49817         down expression to avoid unexpected rounding in newer GCCs.
49818         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
49820 2012-04-26  David S. Miller  <davem@davemloft.net>
49822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
49823         long-double compat symbols.
49824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
49825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
49826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
49827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
49828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
49829         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
49830         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
49831         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
49832         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
49833         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
49834         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
49835         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
49836         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49838 2012-04-25  David S. Miller  <davem@davemloft.net>
49840         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
49841         HWCAP_* values only after the memory barriers have been defined.
49842         (atomic_full_barrier): Define.
49843         (atomic_read_barrier): Define.
49844         (atomic_write_barrier): Define.
49846 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49848         * shlib-versions: Add libgcc_s version information.
49849         * sysdeps/generic/libgcc_s.h: Remove.
49850         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
49851         libgcc_s.h.
49852         * sysdeps/gnu/unwind-resume.c: Likewise.
49853         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
49855 2012-04-25  David S. Miller  <davem@davemloft.net>
49857         * sysdeps/unix/sparc/brk.S: Delete.
49858         * sysdeps/unix/sparc/dl-brk.S: Delete.
49859         * sysdeps/unix/sparc/pipe.S: Delete.
49860         * sysdeps/unix/sparc/sysdep.S: Delete.
49861         * sysdeps/unix/sparc/sysdep.h: Delete.
49862         * sysdeps/unix/sparc/vfork.S: Delete.
49863         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
49864         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
49865         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
49866         (ret_ERRVAL, r0, r1, MOVE): Define.
49867         (JUMPTARGET): Remove.
49868         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
49869         sysdeps/unix/sparc/sysdep.h
49870         (ENTRY, END): Remove.
49871         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49873 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
49875         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
49876         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
49877         -DIS_IN_build.
49879         * timezone/README: Update upstream location and email address for
49880         tzcode and tzdata.
49881         * timezone/zdump.c: Update from tzcode 2012b.
49882         * timezone/zic.c: Likewise.
49884         * configure.in (libc_cv_as_needed): Remove test.
49885         * configure: Regenerated.
49886         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
49887         conditional definition.
49888         [$(have-as-needed) != yes] (no-as-needed): Likewise.
49889         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
49890         * config.make.in (have-as-needed): Remove variable.
49892 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
49893             Paul Pluzhnikov  <ppluzhnikov@google.com>
49895         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
49896         strings correctly.
49898 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
49900         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
49901         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
49902         * sysdeps/sh/strlen.S: Likewise.
49904 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
49906         * sysdeps/unix/fork.S: Remove file.
49907         * sysdeps/unix/i386/fork.S: Likewise.
49908         * sysdeps/unix/sparc/fork.S: Likewise.
49910         * sysdeps/unix/system.c: Remove file.
49911         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
49913         * sysdeps/unix/getegid.S: Remove file.
49914         * sysdeps/unix/geteuid.S: Likewise.
49916 2012-04-24  Roland McGrath  <roland@hack.frob.com>
49918         * scripts/check-localplt.awk: New file.
49919         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
49920         of diff.
49921         * scripts/data/localplt-generic.data: Add a comment.
49923         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
49924         NODE when __dir_mkfile failed.
49925         * sysdeps/mach/hurd/symlinkat.c: Likewise.
49926         Reported by Ludovic Courtès <ludo@gnu.org>.
49928 2012-04-24  Andreas Jaeger  <aj@suse.de>
49930         * Makerules (common-clean): Also remove gen-as-const-headers
49931         files.
49933 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
49935         * Makerules (native-compile): Do not change working directory for
49936         build.  Use $(OUTPUT_OPTION) in command.
49937         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
49939 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49941         [BZ #13886]
49942         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
49943         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
49944         * math/libm-test.inc (floor_test): Add more tests.
49945         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
49947 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
49949         * sysdeps/unix/getdents.c: Remove file.
49950         * sysdeps/unix/sysv/getdents.c: Likewise.
49951         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
49953         * sysdeps/unix/syscalls.list (madvise): Add syscall from
49954         sysdeps/unix/mman/syscalls.list.
49955         (mmap): Likewise.
49956         (mprotect): Likewise.
49957         (msync): Likewise.
49958         (munmap): Likewise.
49959         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
49960         * sysdeps/unix/mman/syscalls.list: Remove.
49961         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
49963         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
49964         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
49965         * configure: Regenerated.
49966         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
49967         $(libgcc_s_suffix).
49968         * config.make.in (libgcc_s_suffix): Remove variable.
49970 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
49972         * sysdeps/unix/sysv/gethostname.c: Move to ...
49973         * sysdeps/posix/gethostname.c: ... here.
49975         * sysdeps/unix/execve.S: Remove file.
49977         * sysdeps/unix/_exit.S: Remove file.
49979 2012-04-23  Andreas Jaeger  <aj@suse.de>
49981         [BZ #13739]
49982         * manual/Makefile: Remove make dist support, there's no
49983         need for a stand-alone documentation tar ball.
49984         (TEXI2DVI): Define always, it's not in Makeconfig.
49985         (dist): Removed.
49986         (tar-it): Removed.
49987         (edition): Removed.
49988         (glibc-doc-$(edition).tar): Removed
49989         (%.Z): Removed.
49990         (%.gz): Removed.
49991         (%.uu): Removed.
49992         (ETAGS): Remove, it's in Makeconfig.
49993         (move-if-change): Remove, it's in Makeconfig.
49995 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
49997         [BZ #13970]
49998         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
49999         (strtod, strtof, strtold, strtol, strtoul, strtoq)
50000         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
50001         (strtod_l, strtof_l, strtold_l): Remove __wur.
50002         It is not necessarily an error to ignore strtol's return value.
50003         One can reliably look at the stored endptr to decide whether
50004         the number had valid syntax.
50006 2012-04-21  Andreas Jaeger  <aj@suse.de>
50008         [BZ #13739]
50009         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
50011 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
50013         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
50014         * sysdeps/unix/sysv/Versions: Remove file.
50016 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
50018         [BZ #13927]
50019         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50021 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
50023         [BZ #7064]
50024         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
50025         version from __vm86.
50027 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
50029         * sysdeps/unix/common/lxstat.c: Remove file.
50030         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
50032         * sysdeps/unix/sysv/Makefile: Remove file.
50034         * sysdeps/unix/sysv/direct.h: Remove file.
50036         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
50037         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
50038         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
50039         * sysdeps/unix/sysv/bits/signum.h: Likewise.
50040         * sysdeps/unix/sysv/bits/stat.h: Likewise.
50041         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
50042         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
50044         * sysdeps/unix/sysv/setrlimit.c: Remove file.
50046         * sysdeps/unix/xmknod.c: Remove file.
50047         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
50049         * sysdeps/unix/sysv/settimeofday.c: Remove file.
50051         * sysdeps/unix/sysv/i386/time.S: Remove file.
50053         * sysdeps/unix/fxstat.c: Remove file.
50054         * sysdeps/unix/xstat.c: Likewise.
50055         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
50057         * sysdeps/unix/sysv/sigaction.c: Remove file.
50059         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
50060         (sysdep_headers): Remove variable.
50061         [termio.h not in sysdep_headers] (generated): Likewise.
50062         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
50063         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
50064         * sysdeps/unix/sysv/tcdrain.c: Likewise.
50065         * sysdeps/unix/sysv/tcflow.c: Likewise.
50066         * sysdeps/unix/sysv/tcflush.c: Likewise.
50067         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
50068         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
50069         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
50070         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
50071         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
50073         * sysdeps/unix/siglist.c: Remove file.
50075         * sysdeps/unix/getppid.S: Remove file.
50077         * sysdeps/unix/mkdir.c: Remove file.
50078         * sysdeps/unix/rmdir.c: Likewise.
50080 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
50082         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
50083         ERR_MAX value.
50084         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
50085         errlist-compat value.
50087 2012-04-18  David S. Miller  <davem@davemloft.net>
50089         * sysdeps/generic/memcopy.h (reg_char): Delete.
50090         * debug/strcat_chk.c: Use char, not reg_char.
50091         * debug/strcpy_chk.c: Likewise.
50092         * debug/strncat_chk.c: Likewise.
50093         * debug/strncpy_chk.c: Likewise.
50094         * string/memchr.c: Likewise.
50095         * string/memrchr.c: Likewise.
50096         * string/rawmemchr.c: Likewise.
50097         * string/strcat.c: Likewise.
50098         * string/strchr.c: Likewise.
50099         * string/strchrnul.c: Likewise.
50100         * string/strcmp.c: Likewise.
50101         * string/strcpy.c: Likewise.
50102         * string/strncat.c: Likewise.
50103         * string/strncmp.c: Likewise.
50104         * string/strncpy.c: Likewise.
50106 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
50108         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
50109         __builtin_memcopy is called when src and dest ranges are known to not
50110         overlap.
50112 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
50114         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
50115         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
50116         fwd_align_merge macro call.
50117         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
50118         bwd_align_merge macro call.
50119         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50121 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
50123         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
50124         bwd_align_merge macros.
50125         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
50126         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
50127         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50129 2012-04-18  David S. Miller  <davem@davemloft.net>
50131         * sysdeps/sparc/sparc64/memcopy.h: Delete.
50133 2012-04-18  Andreas Jaeger  <aj@suse.de>
50135         [BZ# 6794]
50136         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
50137         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
50138         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50140         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
50141         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
50142         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50144         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
50145         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
50146         Adjust for changed ldbl-128 files.
50148         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
50149         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
50150         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50152 2012-04-17  David S. Miller  <davem@davemloft.net>
50154         * sysdeps/sparc/sparc32/memcopy.h: Delete.
50156 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
50158         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
50159         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
50160         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
50161         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
50162         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
50163         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
50165 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50167         [BZ #6794]
50168         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
50169         * math/libm-test.inc: Add ilogb errno and exception tests.
50170         * math/w_ilogb.c: New file: ilogb wrapper.
50171         * math/w_ilogbf.c: New file: ilogbf wrapper.
50172         * math/w_ilogbl.c: New file: ilogbl wrapper.
50173         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
50174         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
50175         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
50176         exception being thrown with 0.0 as argument.
50177         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
50178         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
50179         exception being thrown with 0.0 as argument.
50180         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
50181         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50182         exception being thrown with 0.0 as argument.
50183         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
50184         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50185         exception being thrown with 0.0 as argument.
50186         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
50187         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
50188         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
50189         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
50190         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
50191         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
50192         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
50193         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
50194         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
50196 2012-04-17  Petr Baudis  <pasky@ucw.cz>
50198         * include/sys/uio.h: Change __vector to __iovec to avoid clash
50199         with altivec.
50201 2012-04-16  Marek Polacek  <polacek@redhat.com>
50203         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
50205 2012-04-16  Marek Polacek  <polacek@redhat.com>
50207         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
50208         operands of fdivp instruction.
50210 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
50212         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
50213         * elf/tst-auditmod3b.c: Likewise.
50214         * elf/tst-auditmod4b.c: Likewise.
50215         * elf/tst-auditmod5b.c: Likewise.
50216         * elf/tst-auditmod6b.c: Likewise.
50217         * elf/tst-auditmod6c.c: Likewise.
50218         * elf/tst-auditmod7b.c: Likewise.
50219         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
50220         * sysdeps/x86_64/preconfigure.in: Likewise.
50221         * sysdeps/x86_64/preconfigure: Regenerated.
50223 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
50225         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
50226         __ILP32__.
50228 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
50230         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50231         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
50233 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
50235         [BZ #13973]
50236         * locale/iso-639.def: Fix gl language name. Spotted by
50237         Yaron Shahrabani.
50239 2012-04-12  Roland McGrath  <roland@hack.frob.com>
50241         [BZ #2074]
50242         * libio/libio.h (__io_write_fn): Update comment.
50244 2012-04-12  Petr Baudis  <pasky@ucw.cz>
50246         [BZ #2074]
50247         * stdio.texi (Hook Functions): The user provided writer function
50248         is not allowed to return -1.
50250 2012-04-11  David S. Miller  <davem@davemloft.net>
50252         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50254 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
50256         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
50257         Add a leading slash to rtkaio.
50259 2012-04-11  Jim Meyering  <meyering@redhat.com>
50261         [BZ #11959]
50262         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
50263         It is not necessarily an error to ignore fwrite's return
50264         value.  One can reliably use ferror to test for errors after
50265         the fact.
50267 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
50269         * bits/types.h (__snseconds_t): New type.
50270         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
50272         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
50273         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50274         (__SNSECONDS_T_TYPE): Likewise.
50275         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50276         (__SNSECONDS_T_TYPE): Likewise.
50277         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50278         (__SNSECONDS_T_TYPE): Likewise.
50280 2012-04-10  Andreas Jaeger  <aj@suse.de>
50282         [BZ #2636]
50283         * manual/time.texi (Processor Time): Return type of times is
50284         elapsed real time since an arbitrary point in the past.
50285         (CPU Time): Move CLK_TCK from here...
50286         (Processor Time): ...to here.  Correct description.
50287         * manual/conf.texi (Constants for Sysconf): Correct description of
50288         _SC_CLK_TCK.
50290 2012-04-10  David S. Miller  <davem@davemloft.net>
50292         [BZ #13967]
50293         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
50294         where the is a gap between DT_REL(A) and DT_JMPREL.
50296 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
50298         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
50299         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
50300         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
50302 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50304         * elf/dl-support.c (_dl_inhibit_cache): New variable.
50305         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
50306         (dl_main): Handle --inhibit-cache.
50307         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
50308         _dl_inhibit_cache.
50309         * elf/dl-load.c (_dl_map_object): Use it.
50310         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
50312 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
50314         [BZ #13872]
50315         * sysdeps/i386/fpu/e_powl.S (p78): New object.
50316         (__ieee754_powl): Saturate large exponents rather than testing for
50317         overflow of y*log2(x).
50318         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50319         * math/libm-test.inc (pow_test): Do not permit spurious overflow
50320         exceptions.
50322         [BZ #11521]
50323         * math/s_ctan.c: Include <float.h>.
50324         (__ctan): Avoid internal overflow or cancellation in calculating
50325         denominator.
50326         * math/s_ctanf.c: Likewise.
50327         * math/s_ctanl.c: Likewise.
50328         * math/s_ctanh.c: Likewise.
50329         * math/s_ctanhf.c: Likewise.
50330         * math/s_ctanhl.c: Likewise.
50331         * math/libm-test.inc (ctan_test): Add more tests.
50332         (ctanh_test): Likewise.
50333         * sysdeps/i386/fpu/libm-test-ulps: Update.
50334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50336 2012-04-09  Andreas Jaeger  <aj@suse.de>
50338         [BZ #6894]
50339         * manual/filesys.texi (Directory Entries): Mention that d_namlen
50340         is an optional BSD extension.
50342         [BZ #10254]
50343         * manual/stdio.texi (Opening Streams): Document additional fopen
50344         parameters.
50346 2012-04-09  Roland McGrath  <roland@hack.frob.com>
50348         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
50349         %eax without telling the compiler.
50351 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
50353         [BZ # 13963]
50354         * manual/install.texi: Use sourceware.org.
50356 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
50358         [BZ #13873]
50359         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
50360         (__ieee754_pow): Generate overflow and underflow using huge*huge
50361         and tiny*tiny rather than just returning constant infinity or zero
50362         for large exponents.
50363         * math/libm-test.inc (pow_test): Require overflow exceptions for
50364         applicable cases of large exponents.
50366         [BZ #706]
50367         * sysdeps/i386/fpu/e_pow.S (p10): New object.
50368         (__ieee754_pow): Use iterative multiplication algorithm only for
50369         integer exponents with absolute value below 1024.  Check for odd
50370         integer exponents when using algorithm for real exponents.
50371         * math/libm-test.inc (pow_test): Add more tests.
50372         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50374 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
50376         [BZ #13705]
50377         * math/libm-test.inc (exp_test): Do not allow overflow exception
50378         on underflow test.
50380 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
50382         [BZ #13705]
50383         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
50384         instead of __kernel_standard_f.
50386 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
50388         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
50389         * sysdeps/x86_64/memset_chk.S: Likewise.
50391 2012-04-08  Andreas Jaeger  <aj@suse.de>
50393         [BZ #10153]
50394         * manual/startup.texi (Environment Access): Describe return value
50395         for putenv and setenv.
50397         [BZ #6895]
50398         * manual/filesys.texi (Directory Entries): Add description for
50399         DT_LNK.
50401         [BZ #6890]
50402         * manual/filesys.texi (Directory Entries): Clarify that it's file
50403         system not operating system in the description of DT_UNKNOWN.
50405         [BZ #6578]
50406         * manual/syslog.texi (closelog): Fix reference, it's openlog.
50408 2012-04-08  Stephen Compall  <s11@member.fsf.org>
50410         [BZ #6649]
50411         * manual/llio.texi (Opening and Closing Files): Add cross
50412         reference to explain mode argument.
50414 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
50416         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
50417         * sysdeps/x86_64/memset_chk.S: Likewise.
50419 2012-04-07  David S. Miller  <davem@davemloft.net>
50421         * elf/elf.h (R_SPARC_WDISP10): Define.
50422         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
50423         R_SPARC_SIZE32.
50424         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
50425         R_SPARC_SIZE64 and R_SPARC_H34.
50427 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
50429         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
50430         conditions and remove no longer applicable assertion.
50432 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
50434         * bits/byteswap.h: Include <features.h>.
50435         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
50436         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
50438 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
50440         * bits/byteswap.h (__bswap_16): Removed.
50441         Include <bits/byteswap-16.h> to get __bswap_16.
50442         * sysdeps/i386/bits/byteswap.h: Likewise.
50443         * sysdeps/s390/bits/byteswap.h: Likewise.
50444         * sysdeps/x86_64/bits/byteswap.h: Likewise.
50445         * bits/byteswap-16.h: New file.
50446         * sysdeps/i386/bits/byteswap-16.h: Likewise.
50447         * sysdeps/s390/bits/byteswap-16.h: Likewise.
50448         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
50449         * string/Makefile (headers): Add bits/byteswap-16.h.
50451 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
50453         [BZ #13895]
50454         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
50455         extra indirection.
50456         * nss/Makefile (tests-static, tests): Add tst-nss-static.
50457         * nss/tst-nss-static.c: New.
50459 2012-04-06  Robert Millan  <rmh@gnu.org>
50461         [BZ #6486]
50462         * manual/llio.texi (File Position Primitive): lseek
50463         refers to WHENCE when it really means OFFSET.
50465 2012-04-06  Andreas Jaeger  <aj@suse.de>
50467         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
50468         strncmp declarations.
50470         * abilist/libc.abilist: Add __poll and __ppoll.
50472 2012-04-05  David S. Miller  <davem@davemloft.net>
50474         * scripts/check-local-headers.sh: Accept a host triplet in the
50475         path matched by the exclude regexp.
50477         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
50478         definition.
50479         * sysdeps/powerpc/powerpc32/dl-machine.h
50480         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
50481         * sysdeps/s390/s390-32/dl-machine.h
50482         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50483         * sysdeps/sparc/sparc32/dl-machine.h
50484         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50485         * sysdeps/sparc/sparc64/dl-machine.h
50486         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50488         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
50489         lazy binding.
50490         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
50491         undefined symbol errors.
50493         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
50494         DT_NEEDED entries.
50496 2012-04-05  Michael Matz  <matz@suse.de>
50498         [BZ #13592]
50499         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
50501 2012-04-05  Andreas Jaeger  <aj@suse.de>
50503         [BZ #13908]
50504         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
50505         comment.
50507 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
50509         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
50510         which ROUND is no valid rounding mode.
50512 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
50514         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
50515         read again.
50516         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
50518 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
50520         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
50521         an exception using FPU order intentionally.
50523 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
50525         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
50526         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
50527         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
50528         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
50530 2012-04-05  Simon Josefsson  <simon@josefsson.org>
50532         [BZ #12340]
50533         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
50534         EINVAL when BUFLEN is too smal.
50536 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
50538         [BZ #13553]
50539         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
50540         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
50542 2012-04-03  Andreas Jaeger  <aj@suse.de>
50544         [BZ #13938]
50545         * manual/setjmp.texi (System V contexts): Fix sentence.
50547         [BZ #13926]
50548         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
50549         New macro for this case.
50550         [!__GNUC__] (__bswap_64): New inline function for this case.
50551         * sysdeps/x86_64/bits/byteswap.h: Likewise.
50552         * bits/byteswap.h: Likewise.
50553         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
50554         ull, guard with __GLIBC_HAVE_LONG_LONG.
50556         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
50557         __GLIBC_HAVE_LONG_LONG.
50559         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
50560         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
50562 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50564         [BZ #13691]
50565         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
50566         inptr and inend, rather than using last_ch.
50568 2012-04-02  David S. Miller  <davem@davemloft.net>
50570         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
50571         * stdio-common/printf-parse.h (read_int): Change return type to
50572         'int', return -1 on INT_MAX overflow.
50573         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
50574         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
50575         overflows INT_MAX.  Check for overflow of in-format-string precision
50576         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
50577         SIZE_MAX not INT_MAX for integer overflow test.
50578         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
50579         skip the construct in the format string but do not record anything.
50580         * stdio-common/bug22.c: Adjust to test both width/prevision
50581         INT_MAX overflow as well as total length INT_MAX overflow.  Check
50582         explicitly for proper errno values.
50584 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
50586         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
50587         CHAR_MAX.
50588         * string/test-strcmp.c [! WIDE]: Likewise.
50589         * time/tst-mktime2.c: Likewise for INT_MAX.
50590         * string/test-string.h: #include <sys/param.h> for MIN.
50592         * csu/init-first.c (__libc_init_first): Call __ctype_init.
50593         * sysdeps/i386/init-first.c (init): Likewise.
50594         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
50595         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
50596         * sysdeps/sh/init-first.c (init): Likewise.
50598 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
50600         * po/ru.po: Update from translation team.
50601         * po/vi.po: Likewise.
50603 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
50605         * resolv/nss_dns/dns-host.c: Merge copyright years.
50607 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50609         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50610         Optimize memcpy with prefetch if
50611         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
50612         src, dst pointers have unequal 16 byte alignments.
50614 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
50616         [BZ #13928]
50617         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
50618         from a CNAME entry and return the minimum ttl for the query.
50619         (gaih_getanswer_slice): Likewise.
50621 2012-03-30  Jeff Law  <law@redhat.com>
50623         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
50624         due to long keys.
50625         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
50626         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
50628         * resolv/nss_dns/dns-host.c: Update copyright year.
50630 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
50632         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
50633         requests to save a system call.  Fix check that all bytes are sent.
50635         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
50636         comments for sendmmsg.
50638 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50640         [BZ #13691]
50641         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
50642         with only 1 character between 0x0041 and 0x01b0.
50643         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
50644         * wcsmbs/tst-mbsnrtowcs.c: New file.
50646 2012-03-29  David S. Miller  <davem@davemloft.net>
50648         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
50649         small copies by hand.
50651 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50653         [BZ #13761]
50654         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
50655         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
50656         group memberships.
50658 2012-03-28  David S. Miller  <davem@davemloft.net>
50660         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
50661         that branches into memcpy.
50662         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
50663         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
50664         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
50665         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
50666         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
50667         bits.
50668         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
50669         implementation too.
50670         * sysdeps/sparc/mempcpy.S: New file.
50672         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
50673         the IFUNC routine in the libc case.
50674         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
50676         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
50677         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
50678         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
50679         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
50680         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
50681         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
50682         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
50683         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
50685         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
50686         loop to 256 bytes instead of 64 bytes and fix test signedness.
50688         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
50689         * sysdeps/sparc/sparc32/Makefile: rather than here...
50690         * sysdeps/sparc/sparc64/Makefile: and here.
50692 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
50694         * malloc/mallocbug.c: Avoid warnings about unused variables.
50696 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
50698         [BZ #13760]
50699         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
50700         in the right place. Discard and retry query if response is
50701         larger than input buffer size.
50703 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
50705         [BZ #369]
50706         [BZ #2678]
50707         [BZ #3866]
50708         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
50709         x for large integer exponent.
50710         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
50711         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
50712         sign of result as needed afterwards.
50713         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
50714         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
50715         result for underflowing pow the same as for overflow.
50716         (__kernel_standard_l): Handle powl overflow and underflow here
50717         rather than calling __kernel_standard.
50718         * math/libm-test.inc (pow_test): Add more tests.
50720         [BZ #3868]
50721         [BZ #13879]
50722         [BZ #13910]
50723         [BZ #13911]
50724         [BZ #13912]
50725         [BZ #13913]
50726         [BZ #13915]
50727         [BZ #13916]
50728         [BZ #13917]
50729         [BZ #13918]
50730         [BZ #13919]
50731         [BZ #13920]
50732         [BZ #13921]
50733         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
50734         * sysdeps/ieee754/k_standard.c: Include <float.h>.
50735         (__kernel_standard_l): New function.
50736         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
50737         __kernel_standard.
50738         * math/w_acosl.c (__acosl): Likewise.
50739         * math/w_asinl.c (__asinl): Likewise.
50740         * math/w_atan2l.c (__atan2l): Likewise.
50741         * math/w_atanhl.c (__atanhl): Likewise.
50742         * math/w_coshl.c (__coshl): Likewise.
50743         * math/w_exp10l.c (__exp10l): Likewise.
50744         * math/w_exp2l.c (__exp2l): Likewise.
50745         * math/w_fmodl.c (__fmodl): Likewise.
50746         * math/w_hypotl.c (__hypotl): Likewise.
50747         * math/w_j0l.c (__j0l, __y0l): Likewise.
50748         * math/w_j1l.c (__j1l, __y1l): Likewise.
50749         * math/w_jnl.c (__jnl, __ynl): Likewise.
50750         * math/w_lgammal.c (__lgammal): Likewise.
50751         * math/w_log10l.c (__log10l): Likewise.
50752         * math/w_log2l.c (__log2l): Likewise.
50753         * math/w_logl.c (__logl): Likewise.
50754         * math/w_powl.c (__powl): Likewise.
50755         * math/w_remainderl.c (__remainderl): Likewise.
50756         * math/w_scalbl.c (sysv_scalbl): Likewise.
50757         * math/w_sinhl.c (__sinhl): Likewise.
50758         * math/w_sqrtl.c (__sqrtl): Likewise.
50759         * math/w_tgammal.c (__tgammal): Likewise.
50760         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
50761         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
50762         * math/libm-test.inc (acos_test): Add more tests.
50763         (acosh_test): Likewise.
50764         (asin_test): Likewise.
50765         (atanh_test): Likewise.
50766         (exp_test): Likewise.
50767         (exp10_test): Likewise.
50768         (exp2_test): Likewise.
50769         (expm1_test): Likewise.
50770         (lgamma_test): Likewise.
50771         (log_test): Likewise.
50772         (log10_test): Likewise.
50773         (log1p_test): Likewise.
50774         (log2_test): Likewise.
50775         (pow_test): Do not allow some spurious overflow exceptions.
50776         (sqrt_test): Add more tests.
50777         (tgamma_test): Likewise.
50778         (y0_test): Likewise.
50779         (y1_test): Likewise.
50780         (yn_test): Likewise.
50782 2012-03-27  Anton Blanchard  <anton@samba.org>
50784         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
50785         MAP_HUGETLB.
50786         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50787         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
50788         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50790 2012-03-27  David S. Miller  <davem@davemloft.net>
50792         * conform/Makefile: Run run-conformtest.sh using $(BASH).
50794         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
50795         have-as-vis3 check.
50797 2012-03-27  Andreas Jaeger  <aj@suse.de>
50799         * sysdeps/x86_64/elf/configure.in: Moved to ...
50800         * sysdeps/x86_64/configure.in: ... here.
50801         * sysdeps/x86_64/elf/start.S: Moved to ...
50802         * sysdeps/x86_64/start.S: ... here.
50803         * sysdeps/x86_64/elf/configure: Delete.
50805         * sysdeps/x86_64/configure.in: Merge contents from
50806         sysdeps/i386/configure.in (without i686 check).
50808         * sysdeps/i386/elf/Versions: Merge into ...
50809         * sysdeps/i386/Versions: ... this.
50810         * sysdeps/i386/elf/Versions: Delete file.
50811         * sysdeps/i386/elf/start.S: Moved to ...
50812         * sysdeps/i386/start.S: ...here.
50813         * sysdeps/i386/elf/configure.in: Merge into...
50814         * sysdeps/i386/configure.in: ...here.
50815         * sysdeps/i386/elf/configure.in: Delete file.
50816         * sysdeps/i386/elf/configure: Delete file.
50818         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
50819         * debug/backtracesyms.c: ... here.
50820         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
50821         * debug/backtracesymsfd.c: ... here.
50822         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
50823         * sysdeps/generic/ifunc-sel.h: ... here.
50825         * sysdeps/unix/i386/start.c: Delete file.
50826         * sysdeps/unix/sparc/start.c: Delete file.
50827         * sysdeps/unix/start.c: Delete file.
50829         * sysdeps/sh/elf/configure.in: Moved to ...
50830         * sysdeps/sh/configure.in: ... here.
50831         * sysdeps/sh/elf/start.S: Moved to ...
50832         * sysdeps/sh/start.S: ... here.
50833         * sysdeps/sh/elf/configure: Delete file.
50835         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
50836         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
50837         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
50838         * sysdeps/powerpc/powerpc64/entry.h: ... here.
50839         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
50840         * sysdeps/powerpc/powerpc64/start.S: here.
50841         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
50842         * sysdeps/powerpc/powerpc64/Makefile: ... this.
50843         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
50844         * sysdeps/powerpc/powerpc64/configure.in: ... this.
50845         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
50847         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
50848         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
50849         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
50850         * sysdeps/powerpc/powerpc32/start.S: ... here.
50851         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
50852         * sysdeps/powerpc/powerpc32/configure.in: ... this.
50853         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
50855         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
50856         * sysdeps/powerpc/ifunc-sel.h: ... here.
50857         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
50858         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
50860         * sysdeps/sparc/elf/configure.in: Moved to ...
50861         * sysdeps/sparc/configure.in: ... here.
50862         * sysdeps/sparc/elf/configure: Delete file.
50863         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
50864         * sysdeps/sparc/sparc32/start.S: ... here.
50865         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
50866         * sysdeps/sparc/sparc64/start.S: ... here.
50867         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
50868         * sysdeps/sparc/sparc32/Makefile: ... this.
50869         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
50870         * sysdeps/sparc/sparc64/Makefile: ... this.
50872         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
50873         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
50874         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
50875         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
50876         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
50877         * sysdeps/s390/s390-32/setjmp.S: ... here.
50878         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
50879         * sysdeps/s390/s390-32/configure.in: ... here.
50880         * sysdeps/s390/s390-32/elf/configure: Delete file.
50881         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
50882         * sysdeps/s390/s390-32/start.S: ... here.
50884         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
50885         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
50886         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
50887         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
50888         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
50889         * sysdeps/s390/s390-64/setjmp.S: ... here.
50890         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
50891         * sysdeps/s390/s390-64/configure.in: ... here
50892         * sysdeps/s390/s390-64/elf/configure: Delete file.
50893         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
50894         * sysdeps/s390/s390-64/start.S: ... here.
50895         * sysdeps/s390/s390-64/elf/configure: Delete.
50897         * configure.in: Remove support for elf directories in sysdeps.
50899         * configure: Regenerated.
50900         * sysdeps/i386/configure: Regenerated.
50901         * sysdeps/powerpc/powerpc32/configure: Regenerated.
50902         * sysdeps/powerpc/powerpc64/configure: Regenerated.
50903         * sysdeps/s390/s390-32/configure: Regenerated.
50904         * sysdeps/s390/s390-64/configure: Regenerated.
50905         * sysdeps/sh/configure: Regenerated.
50906         * sysdeps/sparc/configure: Regenerated.
50907         * sysdeps/x86_64/configure: Regenerated.
50909 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
50911         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50913         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
50914         denormal result into account.
50916 2012-03-25  Roland McGrath  <roland@hack.frob.com>
50918         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
50919         Reported by Allan McRae <allan@archlinux.org>.
50921 2012-03-23  Jeff Law  <law@redhat.com>
50923         * nss/getnssent.c (__nss_getent): Fix typo.
50925 2012-03-23  David S. Miller  <davem@davemloft.net>
50927         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50929 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
50931         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
50932         to pad to uint64_t for each field.
50933         (dl_tls_index): Replace unsigned long with uint64_t.
50935 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
50936         Paul Pluzhnikov  <ppluzhnikov@google.com>
50938         [BZ #6528]
50939         * grp/Makefile (otherlibs): Don't set it.
50940         * inet/Makefile (otherlibs): Likewise.
50941         * login/Makefile (otherlibs): Likewise.
50942         * nscd/Makefile (otherlibs): Likewise.
50943         * posix/Makefile (otherlibs): Likewise.
50944         * pwd/Makefile (otherlibs): Likewise.
50945         * rt/Makefile (otherlibs): Likewise.
50946         * sunrpc/Makefile (otherlibs): Likewise.
50947         * nss/Makefile (otherlibs): Likewise.
50948         Add libnss_files to routines and static-only-routines.
50949         ($(objpfx)getent): Remove rule.
50950         * resolv/Makefile: Add libnss_dns and libresolv to routines and
50951         static-only-routines.
50953 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
50955         [BZ #13892]
50956         * math/s_cexp.c: Include <float.h>.
50957         (__cexp): Handle exp result overflowing not necessarily
50958         overflowing both real and imaginary parts of result.
50959         * math/s_cexpf.c: Likewise.
50960         * math/s_cexpl.c: Likewise.
50961         * math/libm-test.inc (cexp_test): Add more tests.
50962         * sysdeps/i386/fpu/libm-test-ulps: Update.
50963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50965 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
50967         * include/link.h (ELFW): New macro.
50968         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
50969         Replace ELF64_R_TYPE with ELFW(R_TYPE).
50971 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
50973         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
50974         with uint64_t.
50976 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
50978         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
50979         declaration.
50980         (struct La_x32_retval): Likewise.
50982 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
50984         * sysdeps/x86_64/preconfigure.in: New file.
50985         * sysdeps/x86_64/preconfigure: New generated file.
50987 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
50989         [BZ #13824]
50990         * math/e_exp2l.c: Include <float.h>.
50991         (__ieee754_exp2l): Handle overflow and underflow cases
50992         separately.  Only pass fractional part of argument to
50993         __ieee754_expl.
50994         * math/libm-test.inc (exp2_test): Add more tests.
50996         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
50997         negating x to take absolute value.
50998         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
50999         Likewise.
51000         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
51001         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
51002         Likewise.
51003         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
51004         computing low part if x was negated.
51005         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
51007 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
51009         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
51010         la_x32_gnu_pltexit.
51011         (pltexit): Cast int_retval to ptrdiff_t.
51012         * elf/tst-auditmod3b.c: Likewise.
51013         * elf/tst-auditmod4b.c: Likewise.
51014         * elf/tst-auditmod5b.c: Likewise.
51015         * elf/tst-auditmod6b.c: Likewise.
51016         * elf/tst-auditmod6c.c: Likewise.
51017         * elf/tst-auditmod7b.c: Likewise.
51019         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
51020         and x32_gnu_pltexit.
51022         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
51023         __ELF_NATIVE_CLASS.
51024         (La_x32_regs): New macro.
51025         (La_x32_retval): Likewise.
51026         (la_x32_gnu_pltenter): New function prototype.
51027         (la_x32_gnu_pltexit): Likewise.
51029 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
51031         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
51032         exponent.
51034         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51036         * configure.in (libc_cv_cc_nofma): Check for option to disable
51037         generation of FMA instructions.
51038         * configure: Regenerate.
51039         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
51040         * sysdeps/ieee754/dbl-64/Makefile: New file.
51041         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
51042         Remove brandred-fma4.
51043         (CFLAGS-brandred-fma4.c): Remove.
51044         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
51045         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
51046         define.
51047         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
51048         define.
51050 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
51052         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
51053         LLONG_MAX != LONG_MAX.
51054         (_itoa_word): Use _ITOA_WORD_TYPE on value.
51055         (_fitoa_word): Likewise.
51056         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
51057         LLONG_MAX != LONG_MAX.
51058         * stdio-common/_itowa.h: Include <_itoa.h>.
51059         (_itowa_word): Use _ITOA_WORD_TYPE on value.
51060         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
51061         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
51062         only if not defined.
51063         (_ITOA_WORD_TYPE): Likewise.
51064         (_itoa_word): Use _ITOA_WORD_TYPE on value.
51065         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
51067 2012-03-21  David S. Miller  <davem@davemloft.net>
51069         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51071 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
51073         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
51074         of x86_64 when setting libc_cv_slibdir, libdir and
51075         libc_cv_localedir.
51076         * sysdeps/unix/sysv/linux/configure: Regenerated.
51078 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
51080         * manual/lang.texi (Old Varargs): Remove section.
51081         (How Variadic): Update menu.
51082         (va_start): Do not mention varargs.h.
51084 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
51085             Joseph Myers  <joseph@codesourcery.com>
51087         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
51088         link test.
51089         * configure: Regenerated.
51091 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
51093         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
51094         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
51095         conformtest.pl
51097 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
51099         * NOTES: Remove.
51100         * Makefile (files-for-dist): Remove NOTES.
51101         (NOTES): Remove rule.
51102         * README: Don't refer to NOTES.
51103         * manual/creature.texi: Don't include macros.texi.
51104         * manual/intro.texi (creature.texi): Remove comment referring to
51105         NOTES.
51107         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
51108         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
51109         * configure: Regenerated.
51110         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
51111         LIBC_TRY_CC_OPTION.
51112         (libc_cv_as_i686): Likewise.
51113         (libc_cv_cc_avx): Likewise.
51114         (libc_cv_cc_sse2avx): Likewise.
51115         (libc_cv_cc_fma4): Likewise.
51116         (libc_cv_cc_novzeroupper): Likewise.
51117         * sysdeps/i386/configure: Regenerated.
51119         [BZ #13883]
51120         * sysdeps/i386/fpu/s_cexp.S: Remove.
51121         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
51122         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
51123         * math/libm-test.inc (cexp_test): Add more tests.
51124         * sysdeps/i386/fpu/libm-test-ulps: Update.
51125         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51127 2012-03-21  Allan McRae  <allan@archlinux.org>
51129         * timezone/Makefile: Do not install iso3166.tab and zone.tab
51131 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
51133         [BZ #13871]
51134         * math/w_exp2.c: Do not include <float.h>.
51135         (o_threshold, u_threshold): Remove.
51136         (__exp2): Calculate result before checking finiteness and calling
51137         __kernel_standard.
51138         * math/w_exp2f.c: Likewise.
51139         * math/w_exp2l.c: Likewise.
51140         * math/libm-test.inc (exp2_test): Require overflow exception for
51141         1e6 input.
51143         [BZ #3866]
51144         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
51145         range of signed 64-bit integers before using fistpll.  Remove
51146         checks for whether integers fit in mantissa bits.
51147         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
51148         the range of signed 32-bit integers before using fistpl.  Remove
51149         checks for whether integers fit in mantissa bits.
51150         * sysdeps/i386/fpu/e_powl.S (p64): New object.
51151         (__ieee754_powl): Test for y outside the range of signed 64-bit
51152         integers before using fistpll.  Reduce 64-bit values to 63-bit
51153         ones as needed.
51154         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
51155         divide-by-zero is raised for zero to large negative powers.
51156         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
51157         (__ieee754_powl): Test for y outside the range of signed 64-bit
51158         integers before using fistpll.  Reduce 64-bit values to 63-bit
51159         ones as needed.
51160         * math/libm-test.inc (pow_test): Add more tests.
51162 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
51164         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
51165         <stdio-common/_itoa.h>.
51166         * debug/segfault.c: Likewise.
51167         * elf/dl-cache.c: Likewise.
51168         * elf/dl-minimal.c: Likewise.
51169         * elf/dl-misc.c: Likewise.
51170         * elf/dl-sysdep.c: Likewise.
51171         * elf/dl-version.c: Likewise.
51172         * elf/rtld.c: Likewise.
51173         * hurd/hurdsock.c: Likewise.
51174         * hurd/lookup-retry.c: Likewise.
51175         * malloc/malloc.c: Likewise.
51176         * malloc/mtrace.c: Likewise.
51177         * nscd/nscd_getgr_r.c: Likewise.
51178         * nscd/nscd_getpw_r.c: Likewise.
51179         * nscd/nscd_getserv_r.c: Likewise.
51180         * posix/getopt_init.c: Likewise.
51181         * posix/wordexp.c: Likewise.
51182         * stdio-common/_itoa.c: Likewise.
51183         * stdio-common/printf_fphex.c: Likewise.
51184         * stdio-common/vfprintf.c: Likewise.
51185         * string/_strerror.c: Likewise.
51186         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
51187         * sysdeps/i386/i686/hp-timing.h: Likewise.
51188         * sysdeps/mach/_strerror.c: Likewise.
51189         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
51190         * sysdeps/mach/hurd/sethostid.c: Likewise.
51191         * sysdeps/mach/hurd/xmknodat.c: Likewise.
51192         * sysdeps/mach/xpg-strerror.c: Likewise.
51193         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
51194         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
51195         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
51196         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
51197         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
51198         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
51199         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
51200         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
51201         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
51202         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
51203         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
51204         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
51205         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
51206         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
51207         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
51208         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
51209         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
51210         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
51211         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
51212         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
51213         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
51215         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
51217         * stdio-common/_itoa.h: Moved to ...
51218         * sysdeps/generic/_itoa.h: Here.
51220         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
51222         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
51223         instead of "_itoa.h" and "_itowa.h".
51224         * stdio-common/vfprintf.: Likewise.
51226 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
51228         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
51229         <bits/wordsize.h>.
51230         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
51231         (__signbit): Likwise.
51232         (llrintf): Likwise.
51233         (llrint): Likwise.
51235 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
51237         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
51238         __WORDSIZE != 64.
51240 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
51242         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
51243         OVERFLOW_EXCEPTION_OK.
51244         * math/libm-test.inc ("Philosophy"): Update comment about
51245         exception testing.
51246         (OVERFLOW_EXCEPTION): Define.
51247         (OVERFLOW_EXCEPTION_OK): Likewise.
51248         (INVALID_EXCEPTION_OK): Renumber.
51249         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51250         (IGNORE_ZERO_INF_SIGN): Likewise.
51251         (test_exceptions): Handle FE_OVERFLOW.
51252         (exp10_test): Expect overflow exceptions.
51253         (exp2_test): Likewise.
51254         (expm1_test): Likewise.
51255         (nextafter_test): Likewise.
51256         (pow_test): Likewise.
51257         (scalbn_test): Likewise.
51258         (scalbln_test): Likewise.
51260 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51262         * sysdeps/x86_64/bits/atomic.h
51263         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
51264         64bit integer.
51265         (atomic_exchange_acq): Likewise.
51266         (__arch_exchange_and_add_body): Likewise.
51267         (__arch_add_body): Likewise.
51268         (atomic_add_negative): Likewise.
51269         (atomic_add_zero): Likewise.
51271 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51273         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
51274         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
51276 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51278         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
51279         Check __x86_64__ instead of __WORDSIZE.
51281 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51283         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
51285 2012-03-19  David S. Miller  <davem@davemloft.net>
51287         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51289         * sysdeps/sparc/fpu/fenv_private.h: New file.
51290         * sysdeps/sparc/fpu/math_private.h: Use it.
51291         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
51292         Remove.
51293         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
51294         (libc_feholdexcept_setroundl): Remove.
51295         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
51296         Remove.
51297         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
51298         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
51300 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51302         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
51303         int64_t instead of long int.
51304         (INSERT_WORDS64): Likwise.
51306 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51308         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
51309         _Unwind_GetCFA return to _Unwind_Ptr first.
51311 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
51313         [BZ #13629]
51314         * math/s_clog.c: Include <float.h>.
51315         (__clog): Scale large or subnormal inputs.
51316         * math/s_clogf.c: Likewise.
51317         * math/s_clogl.c: Likewise.
51318         * math/s_clog10.c: Include <float.h>.
51319         (M_LOG10_2): Define.
51320         (__clog10): Scale large or subnormal inputs.
51321         * math/s_clog10f.c: Likewise.
51322         * math/s_clog10l.c: Likewise.
51323         * math/libm-test.inc (clog_test): Add more tests.
51324         (clog10_test): Likewise.
51325         * sysdeps/i386/fpu/libm-test-ulps: Update.
51326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51328         [BZ #11451]
51329         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
51330         x and y.
51331         * math/libm-test.inc (atan2_test): Add another test.
51333         * Makerules (common-objdir-compile): Remove.
51334         * sysdeps/unix/Makefile (config-generated): Do not add
51335         $(unix-generated) to variable.
51336         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
51337         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
51338         Remove rule.
51339         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
51340         Likewise.
51341         [generic bits/local_lim.h] (before-compile): Do not append to
51342         variable.
51343         [generic bits/local_lim.h] (common-generated): Likewise.
51344         [generic sys/param.h] (before-compile): Do not append to variable.
51345         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
51346         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
51347         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
51348         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
51349         include.
51350         [generic sys/param.h] (sys/param.h-includes): Remove variable.
51351         [generic sys/param.h] (sys/param.h-includes): Remove rule.
51352         [generic sys/param.h] ($(addprefix
51353         $(common-objpfx),$(sys/param.h-includes))): Likewise.
51354         [generic sys/param.h] (common-generated): Do not append to
51355         variable.
51356         [generic sys/param.h] (sysdep_headers): Likewise.
51357         [generic bits/errno.h] (before-compile): Do not append to
51358         variable.
51359         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
51360         rule.
51361         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
51362         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
51363         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
51364         [generic bits/errno.h] (common-generated): Do not append to
51365         variable.
51366         [generic bits/ioctls.h] (before-compile): Do not append to
51367         variable.
51368         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
51369         rule.
51370         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
51371         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
51372         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
51373         rule.
51374         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
51375         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
51376         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
51377         [generic bits/ioctls.h] (common-generated): Do not append to
51378         variable.
51379         [generic sys/syscall.h] (syscall.h): Remove variable.
51380         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
51381         rule.
51382         [generic sys/syscall.h] (before-compile): Do not append to
51383         variable.
51384         [generic sys/syscall.h] (common-generated): Likewise.
51385         * sysdeps/unix/errnos-tmpl.c: Remove file.
51386         * sysdeps/unix/errnos.awk: Likewise.
51387         * sysdeps/unix/ioctls-tmpl.c: Likewise.
51388         * sysdeps/unix/ioctls.awk: Likewise.
51389         * sysdeps/unix/mk-local_lim.c: Likewise.
51390         * sysdeps/unix/snarf-ioctls: Likewise.
51392 2012-03-19  Richard Henderson  <rth@twiddle.net>
51394         * sysdeps/i386/fpu/fenv_private.h: New file.
51395         * sysdeps/i386/fpu/math_private.h: Use it.
51396         (math_opt_barrier, math_force_eval): Remove.
51397         (libc_feholdexcept_setround_53bit): Remove.
51398         (libc_feupdateenv_53bit): Remove.
51399         * sysdeps/x86_64/fpu/math_private.h: Likewise.
51400         (math_opt_barrier, math_force_eval): Remove.
51401         (libc_feholdexcept): Remove.
51402         (libc_feholdexcept_setround): Remove.
51403         (libc_fetestexcept, libc_fesetenv): Remove.
51404         (libc_feupdateenv_test): Remove.
51405         (libc_feupdateenv, libc_feholdsetround): Remove.
51406         (libc_feresetround): Remove.
51408         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
51409         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
51411         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
51412         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
51413         (libc_feupdateenv_testl): New.
51414         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
51415         (libc_feupdateenv_testf): New.
51416         (libc_feupdateenv): Use libc_feupdateenv_test.
51417         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
51418         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
51420         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
51421         (libc_feholdsetroundf, libc_feholdsetroundl): New.
51422         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
51423         (libc_feresetround_noex): New.
51424         (libc_feresetround_noexf): New.
51425         (libc_feresetround_noexl): New.
51426         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
51427         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
51428         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
51429         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
51430         SET_RESTORE_ROUND.
51431         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
51432         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
51433         (__cos): Likewise.
51434         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
51435         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
51436         SET_RESTORE_ROUND_NOEX.
51437         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
51438         SET_RESTORE_ROUND_NOEXF.
51439         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
51440         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
51441         (libc_feholdsetroundf): New.
51442         (libc_feresetround, libc_feresetroundf): New.
51444         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
51445         (libc_feholdexcept_setround_53bit): Convert from macro to function.
51446         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
51448         * sysdeps/generic/math_private.h: Include <fenv.h>.
51449         (default_libc_feholdexcept): New.
51450         (default_libc_feholdexcept_setround): New.
51451         (default_libc_fesetenv, default_libc_feupdateenv): New.
51452         (libc_feholdexcept): Only define if undefined.
51453         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
51454         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
51455         (libc_feholdexcept_setroundl): Likewise.
51456         (libc_feholdexcept_setround_53bit): Likewise.
51457         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
51458         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
51459         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
51460         (libc_feupdateenv_53bit): Likewise.
51461         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
51462         (libc_feholdexcept): Convert from macro to inline function.
51463         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
51464         (libc_fesetenv, libc_feupdateenv): Likewise.
51466         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
51467         not previously defined.
51468         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
51469         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
51470         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
51471         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
51472         * sysdeps/ieee754/flt-32/math_private.h: New file.
51473         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
51474         math_private.h below SET_FLOAT_WORD.
51475         (__isnan, __isinf_ns, __finite): Remove.
51476         (__isnanf, __isinf_nsf, __finitef): Remove.
51478 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
51480         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51482 2012-03-17  David S. Miller  <davem@davemloft.net>
51484         [BZ #6471]
51485         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
51486         for 2.16.
51488 2012-03-16  David S. Miller  <davem@davemloft.net>
51490         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
51491         warnings.
51493         [BZ #6471]
51494         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
51495         properly.
51496         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
51497         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
51498         sysdep_routines when subdir is sysvipc.
51499         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
51500         __getshmlba helper.
51502         * sysdeps/sparc/fpu/libm-test/ulps: Update.
51504 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
51506         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
51507         [__LP64__].
51509 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
51511         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
51512         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
51513         (__lround): Renamed to ...
51514         (__llround): This.  Replace long int with long long int.
51515         Define lround functions as aliases of llround functions.
51516         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
51518 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
51520         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
51521         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
51522         adresses to uintptr_t.  Replace "long int" and "unsigned long
51523         int" with "greg_t" on va_arg.
51525 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
51527         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
51528         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
51530         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
51531         Move e_machine check before EI_CLASS check.  Handle x32
51532         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
51533         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
51534         SKIP_EM_IA_64 and include
51535         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
51537         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
51538         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
51539         (add_system_dir): New macro.
51541         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
51542         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
51544 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
51546         [BZ #2551]
51547         [BZ #2552]
51548         [BZ #2553]
51549         [BZ #2554]
51550         [BZ #2562]
51551         [BZ #2563]
51552         [BZ #2565]
51553         [BZ #2566]
51554         [BZ #2576]
51555         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
51556         (y0): Likewise.
51557         * math/w_j0f.c (j0f): Likewise.
51558         (y0f): Likewise.
51559         * math/w_j0l.c (__j0l): Likewise.
51560         (__y0l): Likewise.
51561         * math/w_j1.c (j1): Likewise.
51562         (y1): Likewise.
51563         * math/w_j1f.c (j1f): Likewise.
51564         (y1f): Likewise.
51565         * math/w_j1l.c (__j1l): Likewise.
51566         (__y1l): Likewise.
51567         * math/w_jn.c (jn): Likewise.
51568         (yn): Likewise.
51569         * math/w_jnf.c (jnf): Likewise.
51570         (ynf): Likewise.
51571         * math/w_jnl.c (__jnl): Likewise.
51572         (__ynl): Likewise.
51573         * math/libm-test.inc (j0_test): Add more tests.
51574         (j1_test): Likewise.
51575         (jn_test): Likewise.  Add trailing semicolon to existing test.
51576         (y0_test): Likewise.
51577         (y1_test): Likewise.
51578         * sysdeps/i386/fpu/libm-test-ulps: Update.
51579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51581         [BZ #13851]
51582         [BZ #13854]
51583         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
51584         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
51585         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
51586         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
51587         (__tanl): Set errno for infinite argument.
51588         * sysdeps/i386/fpu/mptan.c: Remove.
51589         * sysdeps/i386/fpu/s_tan.S: Likewise.
51590         * sysdeps/i386/fpu/s_tanl.S: Likewise.
51591         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
51592         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
51593         * math/libm-test.inc (tan_test): Add more tests and enable more
51594         tests for double and long double.
51595         * sysdeps/i386/fpu/libm-test-ulps: Update.
51596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51598 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
51600         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
51601         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
51603 2012-03-16  Roland McGrath  <roland@hack.frob.com>
51605         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
51606         * configure.in: Use it for both main tree and add-ons.
51607         * configure: Regenerated.
51609 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
51611         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
51613 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
51615         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
51616         in comment.
51618         [BZ #13851]
51619         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
51620         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
51621         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
51622         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
51623         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
51624         infinite argument.
51625         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
51626         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
51627         != 0 for prec == 2.
51628         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
51629         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
51630         * sysdeps/i386/fpu/s_cosl.S: Likewise.
51631         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
51632         * sysdeps/i386/fpu/s_sinl.S: Likewise.
51633         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
51634         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
51635         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
51636         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
51637         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
51638         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
51639         * math/libm-test.inc (cos_test): Add more tests and enable more
51640         tests for long double.
51641         (sin_test): Likewise.
51642         (sincos_test): Likewise.
51643         * sysdeps/i386/fpu/libm-test-ulps: Update.
51644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51646 2012-03-16  David S. Miller  <davem@davemloft.net>
51648         * sysdeps/sparc/fpu/math_private.h: New file.
51650 2012-03-15  David S. Miller  <davem@davemloft.net>
51652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
51653         file.
51654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
51655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
51656         file.
51657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
51658         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
51659         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
51660         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
51661         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
51662         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
51663         sysdep routines.
51664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
51666         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
51667         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
51669         * sysdeps/sparc/sparc-ifunc.h: New file.
51670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
51671         sparc-ifunc.h
51672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
51673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
51674         Likewise.
51675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
51676         Likewise.
51677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
51678         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
51679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51680         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
51681         Likewise.
51682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
51683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
51684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
51685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
51686         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
51687         Likewise.
51688         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
51689         Likewise.
51690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
51691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
51692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
51693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
51694         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
51695         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
51696         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
51697         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
51698         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
51699         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
51700         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
51701         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
51702         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
51703         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
51704         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
51705         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
51706         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
51707         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
51708         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
51709         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
51710         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
51711         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
51712         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
51713         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
51715 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
51717         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
51718         scaling.
51719         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51721 2012-03-15  Andreas Jaeger  <aj@suse.de>
51723         [BZ #13852]
51724         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
51725         ieee754/flt-32 implementation for sin, cos and sincos.
51726         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
51727         * sysdeps/i386/fpu/s_cosf.S: Likewise.
51728         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
51729         * sysdeps/i386/fpu/s_sinf.S: Likewise.
51730         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
51731         ieee754/flt-32 implementation for tan.
51733         * math/libm-test.inc (cos_test): Enable some large input tests for
51734         float as well
51735         (sin_test): Likewise.
51736         (sincos_test): Likewise.
51737         (tan_test): Add tests for large input.
51739         * sysdeps/i386/fpu/libm-test-ulps: Update.
51741 2012-03-15  Andreas Jaeger  <aj@suse.de>
51743         [BZ #13658]
51744         * math/libm-test.inc (cos_test): Add more test cases.
51745         (sin_test): Likewise.
51746         (sincos_test): Likewise.
51748 2012-03-15  Andreas Jaeger  <aj@suse.de>
51750         [BZ #13837]
51751         * math/libm-test.inc (cos_test): Add a test case for large input
51752         value.
51753         (sin_test): Likewise.
51754         (sincos_test): Likewise.
51756 2012-03-15  Andreas Jaeger  <aj@suse.de>
51757             Joseph Myers  <joseph@codesourcery.com>
51759         [BZ #13658]
51760         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
51761         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
51762         * sysdeps/i386/fpu/branred.c: Likewise.
51763         * sysdeps/i386/fpu/dosincos.c: Likewise.
51764         * sysdeps/i386/fpu/mpa.c: Likewise.
51765         * sysdeps/i386/fpu/s_cos.S: Likewise.
51766         * sysdeps/i386/fpu/s_sin.S: Likewise.
51767         * sysdeps/i386/fpu/s_sincos.S: Likewise.
51768         * sysdeps/i386/fpu/sincos32.c: Likewise.
51770         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
51771         Define.
51772         (libc_feupdateenv_53bit): Define.
51773         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
51774         Define.
51775         (libc_feupdateenv_53bit): Define.
51777         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
51778         53 bit (without extend i386 double precision).
51780         * math/libm-test.inc (sincos_test): Add tests for large input.
51781         (sin): Likewise.
51782         (cos): Likewise.
51784         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
51786 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
51788         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51790 2012-03-15  David S. Miller  <davem@davemloft.net>
51792         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
51793         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
51794         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
51795         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
51796         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
51797         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
51798         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
51799         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
51800         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
51801         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
51802         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
51803         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
51804         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
51805         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
51806         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
51807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
51808         file.
51809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
51810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
51811         file.
51812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
51813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
51814         file.
51815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
51816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
51817         file.
51818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
51819         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
51820         fmin/fmax sysdep routines.
51821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
51823 2012-03-14  David S. Miller  <davem@davemloft.net>
51825         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
51826         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
51827         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
51828         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
51829         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
51830         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
51831         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
51832         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
51833         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
51834         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
51835         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
51836         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
51837         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
51838         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
51839         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
51840         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
51841         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
51842         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
51843         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
51844         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
51845         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
51846         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
51847         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
51848         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
51849         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
51850         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
51851         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
51852         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
51853         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
51854         routines.
51855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
51856         file.
51857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
51858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
51859         file.
51860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
51861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
51862         file.
51863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
51864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
51865         file.
51866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
51867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
51868         file.
51869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
51870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
51871         file.
51872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
51873         file.
51874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
51875         file.
51876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
51877         file.
51878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
51879         New file.
51880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
51881         file.
51882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
51883         file.
51884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
51885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
51886         file.
51887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
51888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
51889         file.
51890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
51891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
51892         file.
51893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
51894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
51895         VIS3 routines.
51897         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
51898         New file.
51900         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51902         * sysdeps/sparc/configure.in: New file.
51903         * sysdeps/sparc/configure: Generate.
51904         * configure.in (libc_cv_sparc_as_vis3): Substitute.
51905         * configure: Regenerate.
51906         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
51907         * config.make.in (have-as-vis3): New.
51908         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
51909         available use -Av9d instead of -Av9a.
51910         * sysdeps/sparc/sparc64/Makefile: Likewise.
51911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
51912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
51913         New file.
51914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
51915         file.
51916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
51917         New file.
51918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
51919         file.
51920         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
51921         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
51922         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
51923         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
51924         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
51926         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
51927         fzeros/fnegs to load 0x80000000 into a float register instead of
51928         using the stack.
51929         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
51931 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
51933         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51934         bits/syscall.h.
51935         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
51936         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
51937         ($(inst_includedir)/bits/syscall.h): Remove rule.
51938         ($(objpfx)bits/syscall.d): Include instead of
51939         $(objpfx)syscall-list.d.
51940         (generated): Change syscall-list.h and syscall-list.d to
51941         bits/syscall.h and bits/syscall.d.
51943 2012-03-14  Roland McGrath  <roland@hack.frob.com>
51945         [BZ #13846]
51946         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
51948 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
51950         [BZ #13841]
51951         * math/s_csqrt.c: Include <float.h>.
51952         (__csqrt): Scale large or subnormal inputs.
51953         * math/s_csqrtf.c: Likewise.
51954         * math/s_csqrtl.c: Likewise.
51955         * math/libm-test.inc (csqrt_test): Add more tests.
51956         * sysdeps/i386/fpu/libm-test-ulps: Update.
51957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51959         [BZ #13840]
51960         * math/libm-test.inc (hypot_test): Add more tests.
51962 2012-03-13  David S. Miller  <davem@davemloft.net>
51964         [BZ #13840]
51965         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
51966         double-precision for the calculation instead of scaling.
51968 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
51970         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
51971         manipulate bits before adding and subtracting TWO52[sx].
51972         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
51973         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
51974         Likewise.
51975         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
51977 2012-03-13  David S. Miller  <davem@davemloft.net>
51979         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
51980         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
51981         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
51982         rtld-global-offsets.h
51983         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51985         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
51986         large parameters.
51988         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
51990         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
51991         'err' in the ifdef scope in which it is actually used.
51993         * nss/nss_db/db-init.c: Include string.h
51995 2012-03-12  David S. Miller  <davem@davemloft.net>
51997         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
51998         masking out of the most significant byte of random value used.
51999         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52000         Fix coding style in previous change.
52002         * sysdeps/unix/sysv/linux/kernel-features.h
52003         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
52004         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
52005         expression.
52006         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
52007         later.
52009 2012-03-11  David S. Miller  <davem@davemloft.net>
52011         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
52012         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
52013         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
52014         for 'resultvar' otherwise things get truncated on 64-bit.
52016         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52017         Fix masking out of the most significant byte of random value used.
52019         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52021 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
52023         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52025 2012-03-09  David S. Miller  <davem@davemloft.net>
52027         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
52028         variables with appropriate CPP guards.
52029         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
52030         from the frame pointer, not the stack pointer.  Correct layout
52031         comments.  Fix test on resulting framesize and the management of
52032         the outregs buffer for pltexit.  Preserve floating point return
52033         values across _dl_call_pltexit call.
52034         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
52035         framesize and the management of the outregs buffer for pltexit.
52036         Preserve floating point return values across _dl_call_pltexit
52037         call.
52038         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
52039         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
52040         (la_sparc64_gnu_pltexit): New functions.
52041         (print_exit): Fix format string for return register value.
52043 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
52045         * sunrpc/Makefile (others): Add rpcgen.
52046         ($(objpfx)rpcgen): Remove special build rule and dependency on
52047         libc.
52048         * sunrpc/rpcgen.c: New file.
52050 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
52052         [BZ #13673]
52053         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
52054         * stdio-common/bug-vfprintf-nargs.c: Likewise.
52055         * sysdeps/i386/crti.S: Likewise.
52056         * sysdeps/i386/crtn.S: Likewise.
52057         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
52058         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
52059         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
52060         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
52061         * sysdeps/sh/crti.S: Likewise.
52062         * sysdeps/sh/crtn.S: Likewise.
52063         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
52065         [BZ #13673]
52066         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
52067         with URL.
52068         * locale/programs/locfile-kw.gperf: Likewise.
52069         * locale/programs/charmap-kw.h: Regenerated.
52070         * locale/programs/locfile-kw.h: Likewise.
52072         [BZ #13673]
52073         * intl/plural.y: Replace FSF snail mail address with URL.
52074         * intl/plural.c: Regenerated.
52076 2012-03-09  Richard Henderson  <rth@twiddle.net>
52078         * include/math_private.h: Remove file.
52079         * math/math_private.h: Move file ...
52080         * sysdeps/generic/math_private.h: ... here.
52082         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
52083         * sysdeps/powerpc/fpu/math_private.h: Likewise.
52084         * sysdeps/x86_64/fpu/math_private.h: Likewise.
52086         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
52087         and <math_private.h>.
52088         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
52089         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
52090         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
52091         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
52092         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
52093         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
52094         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52095         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52096         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52097         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52098         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52099         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52100         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52101         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52102         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52103         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52104         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52105         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52106         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52107         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52108         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52109         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52110         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52111         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52112         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
52113         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52114         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52115         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52116         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52117         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52118         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52119         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52120         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
52121         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52122         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
52123         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52124         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52125         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
52126         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
52127         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52128         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
52129         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
52130         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
52131         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
52132         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
52133         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
52134         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
52135         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
52136         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52137         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
52138         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
52139         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
52140         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
52141         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
52142         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
52143         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52144         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52145         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
52146         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
52147         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
52148         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52149         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
52150         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52151         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
52152         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
52153         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52154         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52155         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52156         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
52157         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
52158         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
52159         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52160         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
52161         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52162         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
52163         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
52164         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
52165         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52166         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
52167         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
52168         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
52169         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
52170         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
52171         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52172         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52173         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
52174         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
52175         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
52176         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52177         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52178         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52179         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52180         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52181         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52182         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52183         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52184         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52185         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52186         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52187         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52188         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52189         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52190         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52191         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52192         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52193         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52194         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52195         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52196         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52197         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52198         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52199         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52200         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52201         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52202         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
52203         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52204         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52205         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
52206         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52207         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52208         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52209         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
52210         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52211         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
52212         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52213         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
52214         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52215         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
52216         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
52217         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
52218         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
52219         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52220         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52221         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
52222         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
52223         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
52224         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52225         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
52226         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
52227         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52228         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52229         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
52230         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
52231         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
52232         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
52233         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
52234         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
52235         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
52236         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
52237         * sysdeps/ieee754/k_standard.c: Likewise.
52238         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52239         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52240         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52241         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52242         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52243         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52244         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52245         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52246         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52247         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52248         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52249         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52250         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52251         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52252         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52253         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52254         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
52255         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52256         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52257         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
52258         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
52259         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
52260         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52261         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
52262         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
52263         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
52264         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
52265         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
52266         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
52267         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52268         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
52269         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
52270         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
52271         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
52272         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
52273         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
52274         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
52275         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
52276         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
52277         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
52278         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
52279         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
52280         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
52281         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
52282         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
52283         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
52284         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
52285         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
52286         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
52287         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52288         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52289         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
52290         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
52291         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
52292         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52293         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52294         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
52295         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
52296         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
52297         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
52298         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52299         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
52300         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
52301         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52302         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52303         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52304         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52305         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52306         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52307         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52308         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52309         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52310         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52311         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52312         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52313         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52314         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
52315         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52316         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52317         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
52318         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
52319         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
52320         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
52321         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
52322         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
52323         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
52324         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
52325         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
52326         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
52327         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
52328         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
52329         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
52330         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
52331         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
52332         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
52333         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
52334         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
52335         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
52336         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
52337         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
52338         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
52339         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
52340         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52341         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
52342         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
52343         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52344         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52345         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
52346         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
52347         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
52348         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
52349         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
52350         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52351         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52352         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52353         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52354         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
52355         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52356         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52357         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
52358         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52359         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52360         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52361         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52362         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52363         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
52364         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
52365         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
52366         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
52367         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52368         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
52369         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
52370         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
52371         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
52372         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
52373         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
52374         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
52375         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
52376         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
52377         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
52378         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
52379         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
52380         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
52381         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
52382         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
52383         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
52384         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
52385         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
52386         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
52387         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
52388         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
52389         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52390         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
52391         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
52392         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
52393         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
52394         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
52395         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
52396         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
52397         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
52398         * sysdeps/ieee754/s_lib_version.c: Likewise.
52399         * sysdeps/ieee754/s_matherr.c: Likewise.
52400         * sysdeps/ieee754/s_signgam.c: Likewise.
52401         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52402         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52403         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
52404         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
52405         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
52406         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
52407         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
52408         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
52409         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
52410         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
52411         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
52412         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
52413         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
52414         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
52415         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
52416         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
52417         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
52418         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
52419         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
52420         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52421         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52423 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
52425         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
52426         * sunrpc/rpc_main.c: Likewise.
52427         * sunrpc/rpc_svcout.c: Likewise.
52429 2012-03-09  David S. Miller  <davem@davemloft.net>
52431         * include/math_private.h: New file.
52433 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
52435         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
52436         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
52437         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
52438         from <bits/socket_type.h>.
52439         (enum __socket_type): Don't define here.
52440         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
52441         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52442         bits/socket_type.h.
52444         [BZ #13566]
52445         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
52446         checking __USE_GNU.
52448         * Makerules ($(inst_includedir)/%.h): New rule.
52449         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
52450         (install-others): Remove variable setting.
52451         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
52453 2012-03-08  Richard Henderson  <rth@twiddle.net>
52455         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
52456         from macro to inline function; merge with the
52457         !__LIBC_INTERNAL_MATH_INLINES version.
52458         (__ieee754_sqrtf): Likewise.
52460         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
52461         to inline function.
52462         (__rintf, __floor, __floorf): Likewise.
52464         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
52465         macro to inline function.
52466         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
52468         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
52469         not <math/math_private.h>.
52471 2012-03-08  David S. Miller  <davem@davemloft.net>
52473         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
52474         copyright year.
52475         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
52477 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
52479         * resolv/gai_misc.c (handle_requests): Fix struct timespec
52480         normalization.
52481         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
52482         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
52484 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
52486         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
52487         be defined individually, they must be defined as a block.  Define
52488         S for printing a string instead of hidint the different by using a
52489         macro for adding the 'l'.
52490         * stdio-common/tst-fphex-wide.c: Adjust.
52492 2012-03-07  Marek Polacek  <polacek@redhat.com>
52494         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
52496 2012-03-08  Marek Polacek  <polacek@redhat.com>
52498         [BZ #13806]
52499         * stdio-common/Makefile (tests): Add tst-fphex-wide.
52500         * stdio-common/tst-fphex.c: Define a few macros to make the
52501         test reusable.  Use them.
52502         * stdio-common/tst-fphex-wide.c: New file.
52504 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
52506         [BZ #6911]
52507         * manual/macros.texi (gnusystems): New macro.
52508         (nongnusystems): Likewise.
52509         (gnulinuxhurdsystems): Likewise.
52510         (gnuhurdsystems): Likewise..
52511         (gnulinuxsystems): Likewise.
52512         * manual/charset.texi: Use new macros or @theglibc{} to refer to
52513         variants of the GNU system, not "GNU system".
52514         * manual/conf.texi: Likewise.
52515         * manual/errno.texi: Likewise.  Update example of errno macro
52516         expansion.
52517         * manual/filesys.texi: Likewise.
52518         (getumask): Document as specific to GNU/Hurd.
52519         * manual/install.texi: Likewise.  Reword some references to
52520         GNU/Linux.
52521         * manual/intro.texi: Likewise.
52522         * manual/io.texi: Likewise.
52523         (File Name Portability): Detail which constraints are inapplicable
52524         to all GNU systems and which are only inapplicable to GNU/Hurd.
52525         * manual/job.texi: Likewise.
52526         * manual/llio.texi: Likewise.
52527         (O_NOCTTY): Document as present on GNU/Linux.
52528         * manual/maint.texi: Likewise.
52529         * manual/memory.texi: Likewise.
52530         * manual/pattern.texi: Likewise.
52531         * manual/pipe.texi: Likewise.
52532         * manual/process.texi: Likewise.
52533         * manual/resource.texi: Likewise.
52534         (RUSAGE_CHILDREN): Remove statement about specifying a particular
52535         child on GNU/Hurd.
52536         * manual/setjmp.texi: Likewise.
52537         * manual/signal.texi: Likewise.
52538         * manual/startup.texi: Likewise.
52539         * manual/stdio.texi: Likewise.
52540         * manual/terminal.texi: Likewise.
52541         (ONLCR): Document as POSIX.
52542         (OXTABS): Document availability on GNU/Linux as XTABS.
52543         (ONOEOT): Document availability separately from other bits.
52544         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
52545         * manual/time.texi: Likewise.
52546         * manual/users.texi: Likewise.
52547         * INSTALL: Regenerated.
52548         * sysdeps/gnu/errlist.c: Regenerated.
52550         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
52551         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
52552         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
52553         puts.
52554         * configure: Regenerated.
52556 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
52558         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
52559         default includes instead of AC_HEADER_CHECK.
52560         * sysdeps/i386/configure: Regenerated.
52562         [BZ #10716]
52563         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
52564         * math/s_cacoshf.c (__cacoshf): Likewise.
52565         * math/s_cacoshl.c (__cacoshl): Likewise.
52566         * math/s_casinh.c (__casinh): Set signs of result from argument.
52567         * math/s_casinhf.c (__casinhf): Likewise.
52568         * math/s_casinhl.c (__casinhl): Likewise.
52569         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
52570         (casinh_test): Add more tests.
52571         * sysdeps/i386/fpu/libm-test-ulps: Update.
52572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52574 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
52576         * po/zh_TW.po: Update from translation team.
52578         * login/Makefile (distribute): Remove variable.
52579         * catgets/Makefile: Likewise.
52580         * mach/Makefile: Likewise.
52581         * malloc/Makefile: Likewise.
52582         * misc/Makefile: Likewise.
52583         * iconv/Makefile: Likewise.
52584         * nscd/Makefile: Likewise.
52585         * hurd/Makefile: Likewise.
52586         * manual/Makefile: Likewise.
52587         * locale/Makefile: Likewise.
52588         * intl/Makefile: Likewise.
52589         * conform/Makefile: Likewise.
52590         * nss/Makefile: Likewise.
52591         * time/Makefile: Likewise.
52592         * soft-fp/Makefile: Likewise.
52593         * dirent/Makefile: Likewise.
52594         * gmon/Makefile: Likewise.
52595         * po/Makefile: Likewise.
52596         * rt/Makefile: Likewise.
52597         * socket/Makefile: Likewise.
52598         * math/Makefile: Likewise.
52599         * signal/Makefile: Likewise.
52600         * debug/Makefile: Likewise.
52601         * elf/Makefile: Likewise.
52602         * timezone/Makefile: Likewise.
52603         * stdlib/Makefile: Likewise.
52604         * iconvdata/Makefile: Likewise.
52605         * sunrpc/Makefile: Likewise.
52606         * io/Makefile: Likewise.
52607         * argp/Makefile: Likewise.
52608         * inet/Makefile: Likewise.
52609         * hesiod/Makefile: Likewise.
52610         * grp/Makefile: Likewise.
52611         * csu/Makefile: Likewise.
52612         * wctype/Makefile: Likewise.
52613         * crypt/Makefile: Likewise.
52614         * libio/Makefile: Likewise.
52615         * string/Makefile: Likewise.
52616         * nis/Makefile: Likewise.
52617         * resolv/Makefile: Likewise.
52618         * stdio-common/Makefile: Likewise.
52619         * wcsmbs/Makefile: Likewise.
52620         * dlfcn/Makefile: Likewise.
52621         * posix/Makefile: Likewise.
52623         [BZ #6959]
52624         * timezone/Makefile: Don't install timezone files, just the programs
52625         and scripts.
52627 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
52629         * nss/databases.def: Add missing gshadow entry.
52631         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
52633 2012-03-06  Marek Polacek  <polacek@redhat.com>
52635         [BZ #13726]
52636         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
52637         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
52638         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
52639         * stdio-common/tst-long-dbl-fphex.c: New file.
52641 2012-03-06  David S. Miller  <davem@davemloft.net>
52643         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52644         (set_obp_int): New function.
52645         (get_obp_int): New function.
52646         (__get_clockfreq_via_dev_openprom): Likewise.
52647         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
52648         Avoid unused variable warnings on 'val' and use builtin_expect.
52649         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
52650         __builtin_expect.
52651         (INLINE_CLONE_SYSCALL): Likewise.
52653 2012-03-05  David S. Miller  <davem@davemloft.net>
52655         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52657 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
52659         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52661         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
52662         only for |x| >= 40.
52663         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52665 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
52667         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
52668         Replace gettimeofday with __vdso_gettimeofday.
52670         * sysdeps/unix/sysv/linux/x86_64/init-first.c
52671         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
52672         __vdso_clock_gettime and __vdso_getcpu.
52674         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
52675         time with __vdso_time.
52677 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
52679         * manual/lang.texi (size_t): Note types to which size_t may be
52680         equivalent with the GNU C Library, but do not describe when
52681         differences between them are significant.
52683 2012-03-05  Andreas Jaeger  <aj@suse.de>
52685         * sysdeps/i386/fpu/libm-test-ulps: Update.
52687 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
52689         [BZ #3976]
52690         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
52691         (__ieee754_pow): Save and restore rounding mode and use
52692         round-to-nearest for main computations.
52693         * math/libm-test.inc (pow_test_tonearest): New function.
52694         (pow_test_towardzero): Likewise.
52695         (pow_test_downward): Likewise.
52696         (pow_test_upward): Likewise.
52697         (main): Call the new functions.
52698         * sysdeps/i386/fpu/libm-test-ulps: Update.
52699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52701         [BZ #3976]
52702         * math/libm-test.inc (cosh_test_tonearest): New function.
52703         (cosh_test_towardzero): Likewise.
52704         (cosh_test_downward): Likewise.
52705         (cosh_test_upward): Likewise.
52706         (sinh_test_tonearest): Likewise.
52707         (sinh_test_towardzero): Likewise.
52708         (sinh_test_downward): Likewise.
52709         (sinh_test_upward): Likewise.
52710         (main): Call the new functions.
52711         * sysdeps/i386/fpu/libm-test-ulps: Update.
52712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52714 2012-03-05  Tom de Vries  <tom@codesourcery.com>
52716         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
52717         default stack guard is set in last bytes.
52718         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
52720 2012-03-05  Kees Cook  <keescook@chromium.org>
52722         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
52724         [BZ #13656]
52725         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
52726         possibly allocate from heap instead of stack.
52727         * stdio-common/bug-vfprintf-nargs.c: New file.
52728         * stdio-common/Makefile (tests): Add nargs overflow test.
52730 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
52732         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52734 2012-03-03  Marek Polacek  <polacek@redhat.com>
52736         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
52737         * math/math_private.h: Likewise.
52738         * stdlib/tst-strtod.c: Likewise.
52739         * sysdeps/i386/i486/bits/atomic.h: Likewise.
52740         * sysdeps/x86_64/bits/atomic.h: Likewise.
52742 2012-03-02  David S. Miller  <davem@davemloft.net>
52744         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
52745         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
52746         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
52747         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
52748         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
52749         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
52750         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
52751         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
52753 2012-03-02  Roland McGrath  <roland@hack.frob.com>
52755         [BZ #13792]
52756         * manual/examples/README: New file, says the example source files
52757         can be used under GPL>=2.
52758         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
52759         line containing just "*/".
52760         * manual/examples/add.c: Add copyright header (GPL>=2).
52761         * manual/examples/argp-ex1.c: Likewise.
52762         * manual/examples/argp-ex2.c: Likewise.
52763         * manual/examples/argp-ex3.c: Likewise.
52764         * manual/examples/argp-ex4.c: Likewise.
52765         * manual/examples/atexit.c: Likewise.
52766         * manual/examples/db.c: Likewise.
52767         * manual/examples/dir.c: Likewise.
52768         * manual/examples/dir2.c: Likewise.
52769         * manual/examples/execinfo.c: Likewise.
52770         * manual/examples/filecli.c: Likewise.
52771         * manual/examples/filesrv.c: Likewise.
52772         * manual/examples/fmtmsgexpl.c: Likewise.
52773         * manual/examples/genpass.c: Likewise.
52774         * manual/examples/inetcli.c: Likewise.
52775         * manual/examples/inetsrv.c: Likewise.
52776         * manual/examples/isockad.c: Likewise.
52777         * manual/examples/longopt.c: Likewise.
52778         * manual/examples/memopen.c: Likewise.
52779         * manual/examples/memstrm.c: Likewise.
52780         * manual/examples/mkfsock.c: Likewise.
52781         * manual/examples/mkisock.c: Likewise.
52782         * manual/examples/mygetpass.c: Likewise.
52783         * manual/examples/pipe.c: Likewise.
52784         * manual/examples/popen.c: Likewise.
52785         * manual/examples/rprintf.c: Likewise.
52786         * manual/examples/search.c: Likewise.
52787         * manual/examples/select.c: Likewise.
52788         * manual/examples/setjmp.c: Likewise.
52789         * manual/examples/sigh1.c: Likewise.
52790         * manual/examples/sigusr.c: Likewise.
52791         * manual/examples/stpcpy.c: Likewise.
52792         * manual/examples/strdupa.c: Likewise.
52793         * manual/examples/strftim.c: Likewise.
52794         * manual/examples/strncat.c: Likewise.
52795         * manual/examples/subopt.c: Likewise.
52796         * manual/examples/swapcontext.c: Likewise.
52797         * manual/examples/termios.c: Likewise.
52798         * manual/examples/testopt.c: Likewise.
52799         * manual/examples/testpass.c: Likewise.
52800         * manual/examples/timeval_subtract.c: Likewise.
52802         [BZ #13792]
52803         * manual/time.texi (Elapsed Time): Move timeval_subtract example
52804         function to ...
52805         * manual/timeval_subtract.c.texi: ... here, new file.
52807 2012-03-02  David S. Miller  <davem@davemloft.net>
52809         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
52811 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
52813         [BZ #3976]
52814         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
52815         (__sin): Save and restore rounding mode and use round-to-nearest
52816         for all computations.
52817         (__cos): Save and restore rounding mode and use round-to-nearest
52818         for all computations.
52819         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
52820         <fenv.h>.
52821         (tan): Save and restore rounding mode and use round-to-nearest for
52822         all computations.
52823         * math/libm-test.inc (cos_test_tonearest): New function.
52824         (cos_test_towardzero): Likewise.
52825         (cos_test_downward): Likewise.
52826         (cos_test_upward): Likewise.
52827         (sin_test_tonearest): Likewise.
52828         (sin_test_towardzero): Likewise.
52829         (sin_test_downward): Likewise.
52830         (sin_test_upward): Likewise.
52831         (tan_test_tonearest): Likewise.
52832         (tan_test_towardzero): Likewise.
52833         (tan_test_downward): Likewise.
52834         (tan_test_upward): Likewise.
52835         (main): Call the new functions.
52836         * sysdeps/i386/fpu/libm-test-ulps: Update.
52837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52839         [BZ #10135]
52840         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
52841         small n, then large n, before computing and testing k+n.
52842         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
52843         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
52844         Likewise.
52845         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
52846         Likewise.
52847         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
52848         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
52849         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
52850         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
52851         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
52852         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
52853         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
52854         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
52855         * math/libm-test.inc (scalbn_test): Add more tests.
52856         (scalbln_test): Likewise.
52858         * manual/filesys.texi (mode_t): Describe constraints on size and
52859         signedness, not exact equivalence to a particular type.
52860         (ino_t): Likewise.
52861         (ino64_t): Likewise.
52862         (dev_t): Likewise.
52863         (nlink_t): Likewise.
52864         (blkcnt_t): Likewise.
52865         (blkcnt64_t): Likewise.
52866         * manual/llio.texi (off_t): Likewise.
52868         [BZ #3976]
52869         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
52870         (__ieee754_exp): Save and restore rounding mode and use
52871         round-to-nearest for all computations.
52872         * math/libm-test.inc (exp_test_tonearest): New function.
52873         (exp_test_towardzero): Likewise.
52874         (exp_test_downward): Likewise.
52875         (exp_test_upward): Likewise.
52876         (main): Call the new functions.
52877         * sysdeps/i386/fpu/libm-test-ulps: Update.
52878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52880 2012-03-01  Chris Demetriou  <cgd@google.com>
52882         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
52883         have predictable order.
52885 2012-03-01  David S. Miller  <davem@davemloft.net>
52887         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
52889         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
52890         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
52891         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
52892         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
52894         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
52895         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
52896         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
52897         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
52898         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
52899         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
52900         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
52901         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
52902         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
52904         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52906         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
52907         * sysdeps/sparc/fpu/libm-test-ulps: to here.
52908         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
52910         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
52911         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52912         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
52913         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
52914         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
52915         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
52916         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
52917         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52918         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
52919         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
52920         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
52921         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52922         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52923         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
52924         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
52925         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52926         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
52927         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
52928         * sysdeps/sparc/elf/configure: Regenerated.
52930 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
52932         * configure.in (AS, LD): Require binutils 2.20 or later.
52933         * configure: Regenerated.
52934         * manual/install.texi (Tools for Compilation): Give binutils 2.20
52935         as required minimum version.
52936         * INSTALL: Regenerated.
52938         [BZ #2541]
52939         [BZ #4108]
52940         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
52941         before squaring exponent.
52942         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
52943         bottom long double and 27 bits of top long double before squaring
52944         exponent.
52945         * math/libm-test.inc (erfc_test): Add more tests.
52946         * sysdeps/i386/fpu/libm-test-ulps: Update.
52947         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52950 2012-03-01  Kai Tietz  <ktietz@redhat.com>
52952         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
52953         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
52954         containing bit-fields.
52955         * soft-fp/extended.h (_FP_UNION_E): Likewise.
52956         * soft-fp/single.h (_FP_UNION_S): Likewise.
52957         * soft-fp/double.h (_FP_UNION_D): Likewise.
52959 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
52961         [BZ #13786]
52962         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
52963         not include ../strcmp.S.
52964         [USE_AS_STRNCASECMP_L]: Likewise.
52965         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
52966         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
52967         * sysdeps/i386/i686/multiarch/strncase_l-c.c
52968         (__strncasecmp_l_ia32): Define as alias to
52969         __strncasecmp_l_nonascii.
52971         [BZ #5794]
52972         * math/libm-test.inc (expm1_test): Add test for bug 5794.
52973         * sysdeps/i386/fpu/libm-test-ulps: Update.
52974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52976         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
52977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52979 2012-02-29  Jeff Law  <law@redhat.com>
52981         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
52982         out of bounds read.
52984 2012-02-29  Marek Polacek  <polacek@redhat.com>
52986         [BZ #13706]
52987         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
52988         * elf/Makefile: Add rules to run tst-unused-dep.out.
52990 2012-02-28  David S. Miller  <davem@davemloft.net>
52992         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
52993         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
52994         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
52995         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
52996         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
52997         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
52999 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
53001         * math/libm-test.inc (llround_test): Move one test from
53002         lround_test.  Use TEST_f_L in moved test.
53003         (lround_test): Move misplaced test to llround_test.  Add testcase
53004         from bug 2561.
53006 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
53008         * sysdeps/x86_64/fpu/e_expf.S: New file.
53009         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
53011 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
53013         [BZ #13637]
53014         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
53015         of remain_len that may cause incomplete multi-byte character and
53016         false match.
53017         * posix/bug-regex33.c: New file.
53018         * posix/Makefile (tests): Add bug-regex33.
53020 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
53022         * manual/macros.texi: New file.
53023         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
53024         * manual/libc.texinfo: Include macros.texi.
53025         * manual/creatute.texi: Likewise.
53026         * manual/install.texi: Likewise.
53027         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
53028         @glibcadj{} in references to the GNU C Library.
53029         * manual/charset.texi: Likewise.
53030         * manual/conf.texi: Likewise.
53031         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
53032         when not using those macros.
53033         * manual/creature.texi: Likewise.
53034         * manual/crypt.texi: Likewise.
53035         * manual/errno.texi: Likewise.
53036         * manual/filesys.texi: Likewise.
53037         * manual/header.texi: Likewise.
53038         * manual/install.texi: Likewise.
53039         * manual/intro.texi: Likewise.
53040         * manual/io.texi: Likewise.
53041         * manual/job.texi: Likewise.
53042         * manual/lang.texi: Likewise.
53043         * manual/libc.texiinfo: Likewise.
53044         * manual/llio.texi: Likewise.
53045         * manual/locale.texi: Likewise.
53046         * manual/maint.texi: Likewise.
53047         * manual/math.texi: Likewise.
53048         * manual/memory.texi: Likewise.
53049         * manual/message.texi: Likewise.
53050         * manual/nss.texi: Likewise.
53051         * manual/pattern.texi: Likewise.
53052         * manual/process.texi: Likewise.
53053         * manual/resource.texi: Likewise.
53054         * manual/search.texi: Likewise.
53055         * manual/setjmp.texi: Likewise.
53056         * manual/signal.texi: Likewise.
53057         * manual/socket.texi: Likewise.
53058         * manual/startup.texi: Likewise.
53059         * manual/stdio.texi: Likewise.
53060         * manual/string.texi: Likewise.
53061         * manual/sysinfo.texi: Likewise.
53062         * manual/syslog.texi: Likewise.
53063         * manual/terminal.texi: Likewise.
53064         * manual/time.texi: Likewise.
53065         * manual/users.texi: Likewise.
53066         * INSTALL: Regenerated.
53067         * NOTES: Regenerated.
53068         * sysdeps/gnu/errlist.c: Regenerated.
53070 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
53072         * include/dirent.h: Include <dirstream.h> before
53073         <dirent/dirent.h>.
53075 2012-02-28  David S. Miller  <davem@davemloft.net>
53077         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
53078         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
53079         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
53080         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
53082 2012-02-27  David S. Miller  <davem@davemloft.net>
53084         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
53085         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
53086         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
53087         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
53089         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
53090         frame pointer instead of stack pointer relative arg slot.
53091         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
53092         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
53093         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
53095 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
53097         [BZ #3992]
53098         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
53100 2012-02-27  David S. Miller  <davem@davemloft.net>
53102         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
53103         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
53104         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
53105         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
53106         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
53107         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
53108         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
53109         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
53111 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
53113         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
53114         later.  Allow versions 5-9.
53115         * configure: Regenerated.
53116         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
53117         required minimum version and 4.6 as recommended version.  Do not
53118         mention bugs in GCC 2.7 and 2.8.
53119         * INSTALL: Regenerated.
53121 2012-02-27  David S. Miller  <davem@davemloft.net>
53123         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
53124         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
53125         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
53126         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
53127         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
53128         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
53129         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
53130         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
53132         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
53133         manipulate bits before adding and subtracting TWO112[sx].
53134         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
53136 2012-02-27  Roland McGrath  <roland@hack.frob.com>
53138         [BZ #13775]
53139         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
53140         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
53141         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
53142         being in POSIX, because they are in 1003.1-2008.
53144         * rt/tst-aio.c: Include <fcntl.h>.
53145         * rt/tst-aio7.c: Likewise.
53146         * rt/tst-aio64.c: Likewise.
53148         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
53150 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
53152         * manual/install.texi (--with-headers): Describe headers as
53153         interface headers, not private headers.
53154         (Specific advice for GNU/Linux systems): Describe use of headers
53155         from "make headers_install", not private headers from older
53156         kernels.
53157         * INSTALL: Regenerated.
53158         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
53159         Change to 2.6.19.
53160         * sysdeps/unix/sysv/linux/configure: Regenerated.
53162         * manual/llio.texi (fclean): Remove documentation.
53164         * manual/Makefile (libc-texi-generated): New variable.  Include
53165         version.texi.
53166         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
53167         $(libc-texi-generated), not duplicated list of files.
53168         (version.texi, stamp-version): New rules.
53169         (realclean): Remove $(libc-texi-generated), not individual files
53170         from that list.  Do not remove dir-add.texinfo.
53171         * manual/libc.texinfo: Comment out uses of edition numbers and
53172         references to printed manual.  Remove last-updated dates.
53173         (EDITION): Comment out.
53174         (ISBN): Likewise.
53175         (VERSION, UPDATED): Remove.
53176         (version.texi): Include.
53178 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
53180         * sysdeps/posix/spawni.c: Include <signal.h>.
53181         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
53182         * sysdeps/pthread/aio_fsync.c: Likewise.
53184 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
53186         * conform/Makefile (tests): Run only when not cross-compiling and
53187         when fast-check is not defined.
53189         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
53190         * conform/data/limits.h-data: Fixes for POSIX2008.
53191         * conform/run-conformtest.sh: Run all tests.
53192         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
53193         headers.
53194         * include/bits/dlfcn.h: Likewise.
53195         * include/langinfo.h: Likewise.
53196         * include/monetary.h: Likewise.
53197         * include/sys/poll.h: Likewise.
53199         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
53200         for __USE_GNU.
53201         * posix/spawn.h: Define __need_sigset_t.
53202         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
53203         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
53204         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
53205         to get sigevent_t only.
53206         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
53207         only for __USE_GNU.
53208         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53209         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
53210         process_vm_writev only for __USE_GNU.
53211         * termios/termios.h: Declare tcgetsid also for POSIX2008.
53213         * conform/Makefile: For now ignore errors from run-conformtest.
53214         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
53215         POSIX to avoid namespace pollution.  Don't prepend headers.
53216         * conform/data/aio.h-data: Fixes for POSIX testing.
53217         * conform/data/fcntl.h-data: Likewise.
53218         * conform/data/glob.h-data: Likewise.
53219         * conform/data/grp.h-data: Likewise.
53220         * conform/data/pthread.h-data: Likewise.
53221         * conform/data/pwd.h-data: Likewise.
53222         * conform/data/signal.h-data: Likewise.
53223         * conform/data/spawn.h-data: Likewise.
53224         * conform/data/stdio.h-data: Likewise.
53225         * conform/data/stdlib.h-data: Likewise.
53226         * conform/data/stropts.h-data: Likewise.
53227         * conform/data/sys/mman.h-data: Likewise.
53228         * conform/data/sys/stat.h-data: Likewise.
53229         * conform/data/sys/types.h-data: Likewise.
53230         * conform/data/sys/wait.h-data: Likewise.
53231         * conform/data/time.h-data: Likewise.
53232         * conform/data/unistd.h-data: Likewise.
53233         * conform/data/utime.h-data: Likewise.
53235         * io/sys/stat.h: fchmod was always in POSIX.
53236         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
53237         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
53238         * rt/aio.h: Define __need_timespec before including <time.h>.
53239         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
53240         struct.  Add forward declaration of pthread_attr_t and use it in
53241         sigevent.
53242         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53243         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53244         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
53245         always remove CLK_TCK definition.
53247 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
53249         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
53251 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
53253         * conform/run-conformtest.sh: New file.
53254         * conform/Makefile: Run run-conformtest for tests.
53255         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
53256         support.
53258         * conform/data/uchar.h-data: New file.
53259         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
53260         * conform/data/arpa/inet.h-data: Likewise.
53261         * conform/data/assert.h-data: Likewise.
53262         * conform/data/complex.h-data: Likewise.
53263         * conform/data/cpio.h-data: Likewise.
53264         * conform/data/ctype.h-data: Likewise.
53265         * conform/data/dirent.h-data: Likewise.
53266         * conform/data/dlfcn.h-data: Likewise.
53267         * conform/data/errno.h-data: Likewise.
53268         * conform/data/fcntl.h-data: Likewise.
53269         * conform/data/float.h-data: Likewise.
53270         * conform/data/fmtmsg.h-data: Likewise.
53271         * conform/data/fnmatch.h-data: Likewise.
53272         * conform/data/ftw.h-data: Likewise.
53273         * conform/data/glob.h-data: Likewise.
53274         * conform/data/grp.h-data: Likewise.
53275         * conform/data/iconv.h-data: Likewise.
53276         * conform/data/inttypes.h-data: Likewise.
53277         * conform/data/langinfo.h-data: Likewise.
53278         * conform/data/libgen.h-data: Likewise.
53279         * conform/data/limits.h-data: Likewise.
53280         * conform/data/locale.h-data: Likewise.
53281         * conform/data/math.h-data: Likewise.
53282         * conform/data/monetary.h-data: Likewise.
53283         * conform/data/mqueue.h-data: Likewise.
53284         * conform/data/ndbm.h-data: Likewise.
53285         * conform/data/net/if.h-data: Likewise.
53286         * conform/data/netdb.h-data: Likewise.
53287         * conform/data/netinet/in.h-data: Likewise.
53288         * conform/data/nl_types.h-data: Likewise.
53289         * conform/data/poll.h-data: Likewise.
53290         * conform/data/pthread.h-data: Likewise.
53291         * conform/data/pwd.h-data: Likewise.
53292         * conform/data/regex.h-data: Likewise.
53293         * conform/data/sched.h-data: Likewise.
53294         * conform/data/search.h-data: Likewise.
53295         * conform/data/semaphore.h-data: Likewise.
53296         * conform/data/setjmp.h-data: Likewise.
53297         * conform/data/signal.h-data: Likewise.
53298         * conform/data/spawn.h-data: Likewise.
53299         * conform/data/stdarg.h-data: Likewise.
53300         * conform/data/stdio.h-data: Likewise.
53301         * conform/data/stdlib.h-data: Likewise.
53302         * conform/data/string.h-data: Likewise.
53303         * conform/data/strings.h-data: Likewise.
53304         * conform/data/stropts.h-data: Likewise.
53305         * conform/data/sys/ipc.h-data: Likewise.
53306         * conform/data/sys/mman.h-data: Likewise.
53307         * conform/data/sys/msg.h-data: Likewise.
53308         * conform/data/sys/resource.h-data: Likewise.
53309         * conform/data/sys/select.h-data: Likewise.
53310         * conform/data/sys/sem.h-data: Likewise.
53311         * conform/data/sys/shm.h-data: Likewise.
53312         * conform/data/sys/socket.h-data: Likewise.
53313         * conform/data/sys/stat.h-data: Likewise.
53314         * conform/data/sys/statvfs.h-data: Likewise.
53315         * conform/data/sys/time.h-data: Likewise.
53316         * conform/data/sys/timeb.h-data: Likewise.
53317         * conform/data/sys/times.h-data: Likewise.
53318         * conform/data/sys/types.h-data: Likewise.
53319         * conform/data/sys/uio.h-data: Likewise.
53320         * conform/data/sys/un.h-data: Likewise.
53321         * conform/data/sys/utsname.h-data: Likewise.
53322         * conform/data/sys/wait.h-data: Likewise.
53323         * conform/data/syslog.h-data: Likewise.
53324         * conform/data/tar.h-data: Likewise.
53325         * conform/data/termios.h-data: Likewise.
53326         * conform/data/utime.h-data: Likewise.
53327         * conform/data/utmpx.h-data: Likewise.
53328         * conform/data/varargs.h-data: Likewise.
53329         * conform/data/wchar.h-data: Likewise.
53330         * conform/data/wctype.h-data: Likewise.
53331         * conform/data/wordexp.h-data: Likewise.
53333         * include/stropts.h: New file.
53334         * include/uchar.h: New file.
53335         * include/aio.h: Changes to allow conformtest.pl to use the headers.
53336         * include/assert.h: Likewise.
53337         * include/ctype.h: Likewise.
53338         * include/dirent.h: Likewise.
53339         * include/dlfcn.h: Likewise.
53340         * include/fcntl.h: Likewise.
53341         * include/fnmatch.h: Likewise.
53342         * include/glob.h: Likewise.
53343         * include/grp.h: Likewise.
53344         * include/libio.h: Likewise.
53345         * include/locale.h: Likewise.
53346         * include/math.h: Likewise.
53347         * include/net/if.h: Likewise.
53348         * include/netdb.h: Likewise.
53349         * include/netinet/in.h: Likewise.
53350         * include/pthread.h: Likewise.
53351         * include/pwd.h: Likewise.
53352         * include/regex.h: Likewise.
53353         * include/sched.h: Likewise.
53354         * include/search.h: Likewise.
53355         * include/setjmp.h: Likewise.
53356         * include/signal.h: Likewise.
53357         * include/stdio.h: Likewise.
53358         * include/stdlib.h: Likewise.
53359         * include/string.h: Likewise.
53360         * include/sys/cdefs.h: Likewise.
53361         * include/sys/mman.h: Likewise.
53362         * include/sys/msg.h: Likewise.
53363         * include/sys/resource.h: Likewise.
53364         * include/sys/select.h: Likewise.
53365         * include/sys/socket.h: Likewise.
53366         * include/sys/stat.h: Likewise.
53367         * include/sys/statvfs.h: Likewise.
53368         * include/sys/time.h: Likewise.
53369         * include/sys/times.h: Likewise.
53370         * include/sys/uio.h: Likewise.
53371         * include/sys/utsname.h: Likewise.
53372         * include/sys/wait.h: Likewise.
53373         * include/termios.h: Likewise.
53374         * include/time.h: Likewise.
53375         * include/ulimit.h: Likewise.
53376         * include/unistd.h: Likewise.
53377         * include/utime.h: Likewise.
53378         * include/wchar.h: Likewise.
53379         * include/wctype.h: Likewise.
53380         * include/wordexp.h: Likewise.
53382         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
53384         * time/time.h: TIME_UTC must be a macro.
53385         Make timespec_get available for ISO C11 only as well.
53387 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
53389         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
53390         Reported by Peng Haitao <penght@cn.fujitsu.com>.
53392 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
53394         * configure.in: Use -o not -a in test for unsupported multi-arch.
53396 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
53398         * manual/texinfo.tex: Update to version 2012-01-19.16.
53400 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
53402         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
53404 2012-02-24  Roland McGrath  <roland@hack.frob.com>
53406         [BZ #13738]
53407         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
53408         * manual/fdl-1.3.texi: New file.
53409         * manual/fdl-1.1.texi: File removed.
53411         [BZ #13738]
53412         * manual/libc.texinfo (FDL_VERSION): New @set.
53413         Use it for mention of FDL in cover text.
53414         (Documentation License): Use it in @include file name.
53416 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53417             Roland McGrath  <roland@hack.frob.com>
53419         [BZ #5461]
53420         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
53421         (not LONG_LONG_MAX and LONG_LONG_MIN.
53422         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
53423         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
53424         name.
53425         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
53427 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53429         [BZ #2547]
53430         [BZ #11365]
53431         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
53432         manipulate bits before adding and subtracting TWO23[sx].
53433         * math/libm-test.inc (nearbyint_test): Add more tests.
53435 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53437         [BZ #2548]
53438         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
53439         bits before adding and subtracting TWO23[sx].
53440         * math/libm-test.inc (rint_test): Add more tests.
53441         (rint_test_tonearest): Likewise.
53442         (rint_test_towardzero): Likewise.
53443         (rint_test_downward): Likewise.
53444         (rint_test_upward: Likewise.
53446 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53448         [BZ #10110]
53449         * include/stdc-predef.h: New file.  Extracted from features.h.
53450         * include/features.h: Include stdc-predef.h.
53451         * Makefile (headers): Add stdc-predef.h.
53452         * CONFORMANCE (Compiler limitations): Update.
53454 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53456         * manual/libc.texinfo (VERSION, UPDATED): Revert.
53458 2012-02-21  David S. Miller  <davem@davemloft.net>
53460         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
53461         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
53463 2012-02-20  David S. Miller  <davem@davemloft.net>
53465         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
53466         using a normal save/restore sequence, rather than allocating a
53467         dummy stack frame just to store a frame pointer and restore.
53468         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53470 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
53472         * manual/install.texi: Fix stray word in line-wrapped comment.
53474 2012-02-20  David S. Miller  <davem@davemloft.net>
53476         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
53477         both binutils and gcc support GOTDATA.
53479         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
53480         "rd %pc" in the PIC register setup sequences.
53482         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
53483         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
53484         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
53485         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
53486         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
53487         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
53488         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53489         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53490         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
53491         (SYSCALL_ERROR_HANDLER): Likewise.
53492         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
53493         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53494         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
53495         (SYSCALL_ERROR_HANDLER): Likewise.
53497         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
53498         (HAVE_GCC_GOTDATA): New.
53499         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
53500         relocation support in both binutils and gcc.
53501         * sysdeps/sparc/elf/configure: Regenerate.
53503         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
53504         * sysdeps/sparc/sparc32/elf/configure: Delete.
53505         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
53506         * sysdeps/sparc/sparc64/elf/configure: Delete.
53507         * sysdeps/sparc/elf/configure.in: New file.
53508         * sysdeps/sparc/elf/configure: Generate.
53510         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
53511         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
53512         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53513         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
53514         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
53516 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
53518         * manual/install.texi: Do not mention specific glibc version
53519         numbers.
53520         * manual/libc.texinfo (VERSION, UPDATED): Update.
53521         (@copying): Use @copyright{} and range of years.
53523 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
53525         [BZ #13695]
53526         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
53527         [crti.S not in sysdirs] (generated): Do not append.
53528         [crti.S not in sysdirs] (omit-deps): Likewise.
53529         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
53530         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
53531         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
53532         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
53533         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
53534         Likewise.
53535         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
53536         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
53537         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
53538         * csu/defs.awk: Remove file.
53539         * sysdeps/generic/initfini.c: Likewise.
53540         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
53541         variable.
53542         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
53543         Likewise.
53545 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
53547         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
53548         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
53549         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
53550         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
53551         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53552         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
53553         <bits/epoll.h>.
53554         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
53555         (__EPOLL_PACKED): Define to empty if not defined by
53556         <bits/epoll.h>.
53557         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
53558         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53559         bits/epoll.h.
53561 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
53563         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
53564         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
53565         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
53566         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
53567         <bits/timerfd.h>.
53568         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
53569         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53570         bits/timerfd.h.
53572 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
53574         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
53575         in C locale.
53576         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53577         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
53578         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
53579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53581 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
53583         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53584         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
53586 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
53588         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
53589         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
53590         defined.
53591         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
53592         Likewise.
53593         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
53594         entry for 2.16.
53596 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
53598         * math/w_acos.c: Use non-signaling floating-point comparisons.
53599         * math/w_acosf.c: Likewise.
53600         * math/w_acosh.c: Likewise.
53601         * math/w_acoshf.c: Likewise.
53602         * math/w_acoshl.c: Likewise.
53603         * math/w_acosl.c: Likewise.
53604         * math/w_asin.c: Likewise.
53605         * math/w_asinf.c: Likewise.
53606         * math/w_asinl.c: Likewise.
53607         * math/w_atanh.c: Likewise.
53608         * math/w_atanhf.c: Likewise.
53609         * math/w_atanhl.c: Likewise.
53610         * math/w_exp2.c: Likewise.
53611         * math/w_exp2f.c: Likewise.
53612         * math/w_exp2l.c: Likewise.
53613         * math/w_j0.c: Likewise.
53614         * math/w_j0f.c: Likewise.
53615         * math/w_j0l.c: Likewise.
53616         * math/w_j1.c: Likewise.
53617         * math/w_j1f.c: Likewise.
53618         * math/w_j1l.c: Likewise.
53619         * math/w_jn.c: Likewise.
53620         * math/w_jnf.c: Likewise.
53621         * math/w_log.c: Likewise.
53622         * math/w_log10.c: Likewise.
53623         * math/w_log10f.c: Likewise.
53624         * math/w_log10l.c: Likewise.
53625         * math/w_log2.c: Likewise.
53626         * math/w_log2f.c: Likewise.
53627         * math/w_log2l.c: Likewise.
53628         * math/w_logf.c: Likewise.
53629         * math/w_logl.c: Likewise.
53630         * math/w_sqrt.c: Likewise.
53631         * math/w_sqrtf.c: Likewise.
53632         * math/w_sqrtl.c: Likewise.
53633         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53634         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
53635         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53636         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
53637         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
53639 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
53641         [BZ #9739]
53642         * manual/string.texi (strnlen): Use correct parameter name in
53643         equivalent expression.
53645 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
53647         [BZ #11174]
53648         * manual/users.texi (seteuid): Consistently use neweuid for
53649         argument name.
53651 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
53653         [BZ #13704]
53654         * manual/nss.texi (Services in the NSS configuration): Correct
53655         list of services in example configuration file.
53657 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
53659         [BZ #11322]
53660         * manual/arith.texi: Remove statements about negative zero
53661         behaving identically to zero.
53663 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
53665         [BZ #5993]
53666         * manual/install.texi: Do not document upgrading from libc5.
53668 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
53670         [BZ #4596]
53671         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
53673 2012-02-18  David S. Miller  <davem@davemloft.net>
53675         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
53676         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
53677         %o7 across the call.
53678         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
53679         instead.
53680         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
53681         SETUP_PIC_REG_LEAF.
53682         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53683         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
53684         * sysdeps/sparc/crtn.S: Likewise.
53686 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
53688         * aout/Makefile: Remove.
53690 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
53692         [BZ #13058]
53693         * manual/examples/argp-ex1.c (main): Format definition in GNU
53694         style.
53695         * manual/examples/argp-ex2.c (main): Likewise.
53696         * manual/examples/argp-ex3.c (main): Likewise.
53697         * manual/examples/argp-ex4.c (main): Likewise.
53698         * manual/examples/longopt.c (main): Use new-style prototype
53699         definition.
53700         * manual/examples/strncat.c (main): Specify return type and use
53701         (void) for arguments.
53702         * manual/examples/subopt.c (main): Use char **argv argument.
53704 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
53706         [BZ #5077]
53707         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
53708         rounding modes.
53710 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
53712         [BZ #6907]
53713         * manual/string.texi (strchr): Change when strchrnul is
53714         recommended.
53716 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
53718         [BZ #174]
53719         * manual/locale.texi (setlocale): Document LOCPATH.
53721 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
53723         [BZ #10210]
53724         * manual/process.texi (execle): Move @dots{} before last argument.
53726 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
53728         [BZ #12047]
53729         * manual/charset.texi (Generic Charset Conversion): Fix typo
53730         (LC_TYPE -> LC_CTYPE).
53732 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
53734         [BZ #5805]
53735         * manual/arith.texi (scalbn): Use @var{} on parameter names.
53736         (scalbnf): Likewise.
53737         (scalbnl): Likewise.
53738         (scalbln): Likewise.
53739         (scalblnf): Likewise.
53740         (scalblnl): Likewise.
53741         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
53742         (vwarnx): Likewise.
53743         (verr): Likewise.
53744         (verrx): Likewise.
53745         * manual/filesys.texi (telldir): Use braces around return type.
53746         * manual/llio.texi (mmap): Add space after comma.
53747         (mmap64): Likewise.
53748         * manual/math.texi (jn): Use @var{} on parameter names.
53749         (jnf): Likewise.
53750         (jnl): Likewise.
53751         (yn): Likewise.
53752         (ynf): Likewise.
53753         (ynl): Likewise.
53754         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
53755         line.
53756         * manual/resource.texi (ulimit): Use @dots{} instead of literal
53757         "...".
53758         (sched_get_priority_min): Remove semicolon on @deftypefun line.
53759         (sched_get_priority_max): Likewise.
53760         * manual/signal.texi (sigvec): Add space after comma.
53761         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
53762         names.
53763         (if_indextoname): Likewise.
53764         (if_freenameindex): Likewise.
53765         (sendto): Use ',' instead of '.' in prototype.
53766         * manual/startup.texi (syscall): Use @dots{} instead of literal
53767         "...".
53768         * manual/stdio.texi (__fpending): Separate initial words of
53769         paragraph from @deftypefun line.
53770         * manual/syslog.texi (syslog): Use @dots{} instead of literal
53771         "...".
53772         (vsyslog): Use @var{} on parameter names.
53773         * manual/terminal.texi (stty): Use @var{} on parameter names.
53774         * manual/users.texi (getutmp): Use @var{} on parameter names.
53775         (getutmpx): Likewise.
53777 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
53779         [BZ #6884]
53780         * manual/stdio.texi (fopen): Fix typos in description of
53781         ",ccs=STRING".
53783 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
53785         [BZ #4026]
53786         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
53787         get clock_id definition.
53789 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
53791         [BZ #4822]
53792         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
53793         (madvise): Cast every argument to void on its own.
53795 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
53797         [BZ #9902]
53798         * manual/startup.texi (Exit Status): Fix typo.
53800 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
53802         [BZ #10140]
53803         * manual/examples/argp-ex1.c: Include <stdlib.h>.
53804         * manual/examples/argp-ex2.c: Likewise.
53805         * manual/examples/argp-ex3.c: Likewise.
53807 2012-02-16  Richard Henderson  <rth@redhat.com>
53809         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
53810         * sysdeps/s390/s390-32/initfini.c: Remove.
53811         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
53812         * sysdeps/s390/s390-64/initfini.c: Remove.
53814 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53816         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
53817         compiler output for sysdeps/generic/initfini.c.
53818         * sysdeps/sh/elf/initfini.c: Remove file.
53820 2012-02-16  David S. Miller  <davem@davemloft.net>
53822         [BZ #11494]
53823         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
53825         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
53826         * sysdeps/sparc/crti.S: New file.
53827         * sysdeps/sparc/crtn.S: New file.
53828         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
53829         * sysdeps/sparc/sparc64/Makefile: Likewise.
53831 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
53833         [BZ #3335]
53834         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
53836 2012-02-15  Roland McGrath  <roland@hack.frob.com>
53838         [BZ #4822]
53839         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
53841         * mach/devstream.c (cookie_io_functions_t): Macro removed.
53842         (write, read, close): Likewise.
53843         Patch by Aurelien Jarno <aurelien@aurel32.net>.
53845 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
53847         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
53848         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
53849         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
53850         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
53851         <bits/signalfd.h>.
53852         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
53853         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53854         bits/signalfd.h.
53856 2012-02-14  Marek Polacek  <polacek@redhat.com>
53858         * sysdeps/x86_64/crti.S: New file.
53859         * sysdeps/x86_64/crtn.S: New file.
53860         * sysdeps/x86_64/elf/initfini.c: Remove file.
53862 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
53864         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
53865         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
53866         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
53867         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
53868         <bits/inotify.h>.
53869         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
53870         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53871         bits/inotify.h.
53873 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
53875         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
53876         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
53877         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
53878         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
53879         <bits/eventfd.h>.
53880         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
53881         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53882         bits/eventfd.h.
53884 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
53886         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
53887         __feraiseexcept instead of feraiseexcept.
53889         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
53890         nanosleep invocations.
53891         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
53892         strings, and add error checking for a nanosleep invocations.
53894 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
53896         Replace FSF snail mail address with URLs, as per GNU coding standards.
53897         Most of the snail mail addresses were wrong anyway, and omitting
53898         them makes the source code easier to maintain.  Almost all of the
53899         changes are to license notices and to locale LC_IDENTIFICATION
53900         addresses, except for this one:
53901         * manual/libc.texinfo: In "Published by", give the FSF's URL,
53902         not its snail mail address.
53904 2012-02-09  Richard Henderson  <rth@twiddle.net>
53906         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
53907         of kernel-features.h.
53909         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
53911 2012-02-08  Marek Polacek  <polacek@redhat.com>
53913         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
53914         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
53915         * sysdeps/gnu/_G_config.h: Likewise.
53916         * sysdeps/generic/_G_config.h: Likewise.
53918 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
53920         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
53921         tests.
53922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53924         * sysdeps/powerpc/powerpc32/crti.S: New file.
53925         * sysdeps/powerpc/powerpc32/crtn.S: New file.
53926         * sysdeps/powerpc/powerpc64/crti.S: New file.
53927         * sysdeps/powerpc/powerpc64/crtn.S: New file.
53929         * Makeconfig (have-initfini): Don't set.
53930         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
53931         * configure.in (nopic_initfini): Don't substitute.
53932         * config.h.in (HAVE_INITFINI): Don't #undef.
53933         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
53934         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
53936 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
53938         Support crti.S and crtn.S provided directly by architectures.
53939         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
53940         [crti.S in sysdirs] (omit-deps): Likewise.
53941         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
53942         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
53943         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
53944         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
53945         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
53946         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
53947         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
53948         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
53949         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
53950         compiler output for sysdeps/generic/initfini.c.
53951         * sysdeps/i386/elf/Makefile: Remove file.
53952         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
53954 2012-02-07  Marek Polacek  <polacek@redhat.com>
53956         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
53957         * sysdeps/gnu/_G_config.h: Likewise.
53958         * sysdeps/mach/hurd/_G_config.h: Likewise.
53960 2012-02-07  Marek Polacek  <polacek@redhat.com>
53962         * math/Makefile (tests): Add tst-CMPLX2.
53963         * math/tst-CMPLX2.c: New file.
53965 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
53967         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53969         * math/libm-test.inc (jn_test): Add missing L suffix.
53971 2012-02-06  Marek Polacek  <polacek@redhat.com>
53973         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
53974         * sysdeps/i386/fpu/e_powf.S: Likewise.
53975         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
53976         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
53977         * sysdeps/i386/fpu/e_acosh.S: Likewise.
53978         * sysdeps/i386/fpu/e_pow.S: Likewise.
53979         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
53980         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
53981         * sysdeps/i386/fpu/s_expm1.S: Likewise.
53982         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
53983         * sysdeps/i386/fpu/e_log2.S: Likewise.
53984         * sysdeps/i386/fpu/e_log2l.S: Likewise.
53985         * sysdeps/i386/fpu/e_scalb.S: Likewise.
53986         * sysdeps/i386/fpu/e_powl.S: Likewise.
53987         * sysdeps/i386/fpu/s_log1p.S: Likewise.
53988         * sysdeps/i386/fpu/e_log10f.S: Likewise.
53989         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
53990         * sysdeps/i386/fpu/e_logl.S: Likewise.
53991         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
53992         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
53993         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
53994         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
53995         * sysdeps/i386/fpu/e_log2f.S: Likewise.
53996         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
53997         * sysdeps/i386/fpu/e_log.S: Likewise.
53998         * sysdeps/i386/fpu/s_cexp.S: Likewise.
53999         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
54000         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
54001         * sysdeps/i386/fpu/e_logf.S: Likewise.
54002         * sysdeps/i386/fpu/e_log10l.S: Likewise.
54003         * sysdeps/i386/fpu/e_atanh.S: Likewise.
54004         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
54005         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
54006         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
54007         * sysdeps/i386/fpu/e_log10.S: Likewise.
54008         * sysdeps/i386/fpu/s_frexp.S: Likewise.
54009         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
54010         * sysdeps/i386/fpu/s_asinh.S: Likewise.
54011         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
54012         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
54013         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
54014         * sysdeps/i386/asm-syntax.h: Likewise.
54015         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
54016         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54017         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
54018         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
54019         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
54020         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
54021         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
54022         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
54023         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
54024         * sysdeps/powerpc/sysdep.h: Likewise.
54025         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
54026         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
54028 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
54030         [BZ #411]
54031         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
54033 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
54035         * sysdeps/i386/sysdep.h: Include <features.h>.
54036         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
54037         version.
54039 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
54041         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
54042         Define.
54043         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
54044         LOAD_PIC_REG_STR.
54046 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
54048         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
54049         (SETUP_PIC_REG): Use GET_PC_THUNK.
54050         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
54051         macro.
54053 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
54055         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
54056         for non-PIC compilation.
54057         (SETUP_PIC_REG): Add .p2align directive.
54058         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
54059         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
54060         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
54061         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
54062         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
54063         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
54064         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
54065         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54066         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
54067         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
54068         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
54069         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
54070         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
54071         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
54072         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
54073         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
54074         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
54075         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
54076         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
54077         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
54078         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
54079         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
54080         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
54081         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
54082         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
54083         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
54084         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
54085         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
54086         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
54087         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
54088         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
54089         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54090         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
54091         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
54092         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
54093         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
54094         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
54095         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
54096         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
54097         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
54098         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
54100 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
54102         * math/tst-CMPLX.c: Include <stdio.h>.
54104 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
54106         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
54107         float.
54108         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
54109         * sysdeps/sparc/bits/mathdef.h: Likewise.
54111 2012-01-31  Marek Polacek  <polacek@redhat.com>
54113         * libio/libio.h: Don't define _PARAMS.
54114         * locale/programs/config.h: Don't define PARAMS.
54115         * stdlib/strtol_l.c: Likewise.
54116         (__strtol_l): Remove PARAMS from the prototype.
54118 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
54120         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
54121         names.  Just use the correct names.  Remove unnecessary wrapper
54122         functions.
54123         * malloc/arena.c: Likewise.
54124         * malloc/hooks.c: Likewise.
54126         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
54127         ARENA_TEST says not to.  Simplify test for creation of a new arena.
54128         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
54130 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
54132         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
54133         into tail calls.
54134         (update_get_addr): New function.
54135         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
54136         GET_ADDR_MODULE parameter.
54138 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
54140         * crypt/cert.c: Remove __STDC__ conditionals.
54141         * crypt/crypt-entry.c: Likewise.
54142         * crypt/crypt_util.c: Likewise.
54143         * libio/filedoalloc.c: Likewise.
54144         * libio/fileops.c: Likewise.
54145         * libio/genops.c: Likewise.
54146         * libio/iofclose.c: Likewise.
54147         * libio/iofdopen.c: Likewise.
54148         * libio/iofopen.c: Likewise.
54149         * libio/iofopen64.c: Likewise.
54150         * libio/iogetdelim.c: Likewise.
54151         * libio/iopopen.c: Likewise.
54152         * libio/obprintf.c: Likewise.
54153         * libio/oldfileops.c: Likewise.
54154         * libio/oldiofclose.c: Likewise.
54155         * libio/oldiofdopen.c: Likewise.
54156         * libio/oldiofopen.c: Likewise.
54157         * libio/oldiopopen.c: Likewise.
54158         * libio/wfiledoalloc.c: Likewise.
54159         * libio/wgenops.c: Likewise.
54160         * locale/programs/xmalloc.c: Likewise.
54161         * misc/syslog.c: Likewise.
54162         * stdio-common/xbug.c: Likewise.
54163         * string/memchr.c: Likewise.
54164         * string/memcmp.c: Likewise.
54165         * string/memrchr.c: Likewise.
54166         * string/rawmemchr.c: Likewise.
54167         * sysdeps/posix/getcwd.c: Likewise.
54168         * time/strftime_l.c: Likewise.
54170 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
54172         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
54173         * config.make.in (config-cflags-sse2avx): Define.
54174         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
54175         Fix typo.
54177 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
54179         * scripts/config.guess: Update from upstream config git repository.
54180         * scripts/config.sub: Likewise.
54182 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
54184         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
54185         (EM_NUM): Update.
54186         (R_TILEPRO_*, R_TILEGX_*): New macros.
54188         * scripts/firstversions.awk: Fix bug in version range handling.
54190         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
54192         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
54194         * include/sys/epoll.h: New file.
54195         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
54196         libc_hidden_def.
54198 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
54200         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
54201         Avoid unnecessary __WORDSIZE == 64 test.
54202         (fmaxf): Use VEX format if possible.
54203         (fmax): Likewise.
54204         (fminf): Likewise.
54205         (fmin): Likewise.
54207         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
54208         * math/math_private.h: Remove libc_fegetround* and
54209         libc_fesetround*.
54210         * sysdeps/i386/configure.in: Check for -msse2avx.
54211         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
54212         also if SSE2AVX is defined.
54213         Remove libc_fegetround* and libc_fesetround*.
54214         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
54215         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
54216         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
54217         of HAS_YMM_USABLE.
54218         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54219         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54220         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54221         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54222         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54224         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
54226 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54228         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
54229         size is not set.
54230         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54232 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
54234         [BZ #13618]
54235         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
54236         relocation.
54237         * Makeconfig (libm): Define.
54238         * elf/Makefile: Add rules to build and run tst-relsort1.
54239         * elf/tst-relsort1.c: New file.
54240         * elf/tst-relsort1mod1.c: New file.
54241         * elf/tst-relsort1mod2.c: New file.
54243 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
54245         * math/s_ldexp.c: Remove __STDC__ conditionals.
54246         * math/s_ldexpf.c: Likewise.
54247         * math/s_ldexpl.c: Likewise.
54248         * math/s_nextafter.c: Likewise.
54249         * math/s_nexttowardf.c: Likewise.
54250         * math/s_significand.c: Likewise.
54251         * math/s_significandf.c: Likewise.
54252         * math/s_significandl.c: Likewise.
54253         * math/w_jnl.c: Likewise.
54254         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
54255         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
54256         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
54257         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
54258         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
54259         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54260         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
54261         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54262         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54263         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54264         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54265         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54266         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54267         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
54268         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54269         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54270         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54271         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54272         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54273         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54274         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54275         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54276         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54277         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54278         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54279         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54280         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54281         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54282         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
54283         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54284         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54285         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
54286         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54287         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
54288         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
54289         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54290         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
54291         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
54292         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
54293         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
54294         * sysdeps/ieee754/k_standard.c: Likewise.
54295         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54296         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54297         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
54298         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
54299         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
54300         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
54301         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54302         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
54303         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
54304         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
54305         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
54306         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
54307         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
54308         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
54309         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
54310         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
54311         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
54312         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54313         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54314         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
54315         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54316         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54317         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
54318         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
54319         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54320         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
54321         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54322         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54323         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54324         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
54325         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
54326         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
54327         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
54328         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
54329         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
54330         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
54331         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
54332         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
54333         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
54334         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
54335         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
54336         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
54337         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
54338         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
54339         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
54340         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
54341         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
54342         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54343         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
54344         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
54345         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
54346         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54347         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54348         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
54349         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
54350         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
54351         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
54352         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54353         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54354         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54355         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54356         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
54357         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
54358         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54359         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54360         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54361         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54362         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
54363         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
54364         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54365         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54366         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54367         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54368         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
54369         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
54370         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54371         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
54372         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
54373         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
54374         * sysdeps/ieee754/s_matherr.c: Likewise.
54375         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
54376         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
54377         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54378         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54380 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
54382         * crypt/md5.h: Remove __STDC__ conditionals.
54383         * libio/libioP.h: Likewise.
54384         * locale/programs/config.h: Likewise.
54385         * sysdeps/generic/sysdep.h: Likewise.
54386         * sysdeps/i386/asm-syntax.h: Likewise.
54387         * sysdeps/s390/asm-syntax.h: Likewise.
54388         * sysdeps/unix/sysdep.h: Likewise.
54389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
54390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
54392 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
54394         * libio/libio.h: Remove __STDC__ conditionals.
54395         * malloc/obstack.h: Likewise.
54396         * math/complex.h: Likewise.
54397         * math/math.h: Likewise.
54398         * sysdeps/generic/_G_config.h: Likewise.
54399         * sysdeps/gnu/_G_config.h: Likewise.
54400         * sysdeps/mach/hurd/_G_config.h: Likewise.
54401         * sysdeps/powerpc/bits/mathdef.h: Likewise.
54402         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
54403         * sysdeps/sparc/bits/mathdef.h: Likewise.
54405 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
54407         [BZ #13583]
54408         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
54409         Clean up HAS_* macros.
54410         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
54411         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
54412         possible.
54413         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
54414         HAS_AVX.
54415         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54416         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54417         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54418         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54419         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54421 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
54423         * elf/tst-unique3.cc (gets): Remove declaration.
54424         * elf/tst-unique3lib.cc (gets): Likewise.
54425         * elf/tst-unique3lib2.cc (gets): Likewise.
54426         * elf/tst-unique4.cc (gets): Likewise.
54428 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
54430         * include/stdio.h: Add C++ protection.  Add gets declarations and
54431         definitions.
54432         * debug/tst-chk1.c: Don't declare gets here.
54433         * stdio-common/tst-gets.c: Likewise.
54435 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
54437         * posix/glob: Remove directory.
54439 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
54441         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
54443 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
54445         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
54446         of the non-standard EPFNOSUPPORT.
54448 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54450         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
54451         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
54452         ANYWHERE set to 1 only on KERN_NO_SPACE error.
54454 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
54456         * wcsmbs/uchar.h: Test __STDC_VERSION__.
54458 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
54460         * nscd/aicache.c (addhstaiX): Do not cache negative results of
54461         transient errors.
54462         * nscd/grpcache.c (cache_addgr): Likewise.
54463         * nscd/hstcache.c (cache_addhst): Likewise.
54464         * nscd/initgrcache.c (addinitgroupsX): Likewise.
54465         * nscd/pwdcache.c (cache_addpw): Likewise.
54466         * nscd/servicescache.c (cache_addserv): Likewise.
54468 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
54470         * malloc/malloc.c: Various cleanups.
54471         * malloc/hooks.c: Likewise.
54473         * stdlib/Makefile (tests): Add bug-fmtmsg1.
54474         * stdlib/bug-fmtmsg1.c: New file.
54476         * stdlib/fmtmsg.c (init): Add missing unlock.
54477         Patch by Peng Haitao <penght@cn.fujitsu.com>.
54479 2012-01-12  Marek Polacek  <polacek@redhat.com>
54481         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
54482         and _GNU_SOURCE.
54484 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
54486         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
54487         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
54488         macro to ensure uniqueness of label name.
54489         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
54490         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
54492 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
54494         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
54496         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
54497         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
54498         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
54499         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
54501 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
54503         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
54505         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
54506         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
54507         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
54509         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
54511         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
54512         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
54513         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54514         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
54516         * math/bits/math-finite.h: Add ldexp support.
54518 2012-01-10  Marek Polacek  <polacek@redhat.com>
54520         * locale/programs/localedef.h (show_archive_content): Add noreturn
54521         attribute.
54523 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
54525         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
54527 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
54529         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
54531         * io/Makefile (headers): Add bits/poll2.h.
54533 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
54535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
54536         typo #include statement.
54538 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
54540         * include/sys/cdefs.h: Define __attribute_alloc_size.
54541         * catgets/gencat.c: Add alloc_size attribute and apply consistently
54542         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
54543         * elf/pldd.c: Likewise.
54544         * iconv/iconv_charmap.c: Likewise.
54545         * iconv/iconvconfig.c: Likewise.
54546         * iconv/strtab.c: Likewise.
54547         * locale/programs/locale.c: Likewise.
54548         * locale/programs/localedef.h: Likewise.
54549         * locale/programs/simple-hash.c: Likewise.
54550         * nscd/nscd.h: Likewise.
54551         * nss/makedb.c: Likewise.
54552         * sysdeps/generic/ldconfig.h: Likewise.
54553         * locale/programs/localedef.c: Remove xmalloc prototype.
54554         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
54556 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
54558         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
54559         appropriate.
54561 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
54563         * math/Makefile (tests): Add tst-CMPLX.
54564         * math/tst-CMPLX.c: New file.
54566         * math/complex.h (CMPLXL): Fix typo.
54568         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
54569         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
54570         GLIBC_2.16.
54571         * debug/tst-chk1.c: Add poll and ppoll tests.
54572         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
54573         * include/sys/poll.h: Add hidden proto for ppoll.
54574         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
54575         * sysdeps/mach/hurd/ppoll.c: Likewise.
54576         * io/ppoll.c: Likewise.
54577         * debug/poll_chk.c: New file.
54578         * debug/ppoll_chk.c: New file.
54579         * include/bits/poll2.h: New file.
54580         * io/bits/poll2.h: New file.
54582         [BZ #1350]
54583         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
54585         * configure.in: static is always set to yes.  Remove.
54586         * config.make.in: Don't set build-static.
54587         * Makeconfig: Remove use of build-static.
54588         * dlfcn/Makefile: Likewise.
54589         * elf/Makefile: Likewise.
54590         * math/Makefile: Likewise.
54591         * misc/Makefile: Likewise.
54592         * nptl/Makefile: Likewise.
54593         * sysdeps/mach/hurd/Makefile: Likewise.
54595         * configure.in: PWD_P is not used anymore.
54596         * config.make.in: Remove PWD_P entry.
54598         * configure.in: Remove last remnants of RANLIB.
54599         No need to check for signed size_t anymore.
54600         Don't set libc_commonpagesize and libc_relro_required here for Alpha
54601         and IA-64.
54602         Remove __builtin_expect test because we require at least gcc 3.4.
54603         * aclocal.m4: Likewise.
54605         * wcsmbs/mbrtoc16.c: Implement using towc function.
54606         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
54607         * wcsmbs/wcsmbsload.c: Likewise.
54608         * iconv/gconv_simple.c: Likewise.
54609         * iconv/gconv_int.h: Likewise.
54610         * iconv/gconv_builtin.h: Likewise.
54611         * iconv/iconv_prog.c: Remove CHAR16 handling.
54613         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
54615         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
54617         * configure.in: Remove --with-elf and --enable-bounded options.
54618         Dont set base_machine for ia64.  More non-ELF conditions removed.
54619         Remove testing and setting of leading underscore information.
54620         * config.make.in (build-bounded): Set to no.
54621         * config.h.in: Remove NO_UNDERSCORES entry.
54622         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
54623         them.
54624         * csu/start.c: Remove !NO_UNDERSCORE code.
54625         * locale/localeinfo.h: Likewise.
54626         * sysdeps/generic/machine-gmon.h: Likewise.
54627         * sysdeps/generic/sysdep.h: Likewise.
54628         * sysdeps/i386/sysdep.h: Likewise.
54629         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
54630         * sysdeps/mach/sysdep.h: Likewise.
54631         * sysdeps/s390/s390-32/sysdep.h: Likewise.
54632         * sysdeps/s390/s390-64/sysdep.h: Likewise.
54633         * sysdeps/sh/sysdep.h: Likewise.
54634         * sysdeps/sparc/sparc32/alloca.S: Likewise.
54635         * sysdeps/unix/i386/sysdep.S: Likewise.
54636         * sysdeps/unix/sparc/start.c: Likewise.
54637         * sysdeps/unix/sparc/sysdep.S: Likewise.
54638         * sysdeps/unix/sparc/sysdep.h: Likewise.
54639         * sysdeps/unix/start.c: Likewise.
54640         * sysdeps/unix/x86_64/sysdep.S: Likewise.
54641         * sysdeps/x86_64/sysdep.h: Likewise.
54643 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
54645         [BZ #13553]
54646         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
54647         for non-gcc.
54648         * argp/argp-fmtstream.h: Use const instead __const.
54649         * argp/argp.h: Likewise.
54650         * assert/assert.h: Likewise.
54651         * bits/fenv.h: Likewise.
54652         * bits/sched.h: Likewise.
54653         * bits/sigset.h: Likewise.
54654         * bits/sigthread.h: Likewise.
54655         * catgets/nl_types.h: Likewise.
54656         * conform/data/pthread.h-data: Likewise.
54657         * crypt/crypt-private.h: Likewise.
54658         * crypt/crypt.h: Likewise.
54659         * crypt/crypt_util.c: Likewise.
54660         * ctype/ctype.h: Likewise.
54661         * debug/execinfo.h: Likewise.
54662         * debug/mbsnrtowcs_chk.c: Likewise.
54663         * debug/mbsrtowcs_chk.c: Likewise.
54664         * debug/wcsnrtombs_chk.c: Likewise.
54665         * debug/wcsrtombs_chk.c: Likewise.
54666         * debug/wcstombs_chk.c: Likewise.
54667         * dirent/dirent.h: Likewise.
54668         * dlfcn/dlfcn.h: Likewise.
54669         * elf/neededtest4.c: Likewise.
54670         * grp/grp.h: Likewise.
54671         * gshadow/gshadow.h: Likewise.
54672         * iconv/gconv.h: Likewise.
54673         * iconv/gconv_int.h: Likewise.
54674         * iconv/gconv_simple.c: Likewise.
54675         * iconv/iconv.h: Likewise.
54676         * iconv/loop.c: Likewise.
54677         * iconv/skeleton.c: Likewise.
54678         * include/aio.h: Likewise.
54679         * include/aliases.h: Likewise.
54680         * include/argz.h: Likewise.
54681         * include/arpa/inet.h: Likewise.
54682         * include/assert.h: Likewise.
54683         * include/dirent.h: Likewise.
54684         * include/dlfcn.h: Likewise.
54685         * include/execinfo.h: Likewise.
54686         * include/fcntl.h: Likewise.
54687         * include/fenv.h: Likewise.
54688         * include/glob.h: Likewise.
54689         * include/grp.h: Likewise.
54690         * include/libintl.h: Likewise.
54691         * include/mntent.h: Likewise.
54692         * include/netdb.h: Likewise.
54693         * include/pwd.h: Likewise.
54694         * include/rpc/netdb.h: Likewise.
54695         * include/sched.h: Likewise.
54696         * include/search.h: Likewise.
54697         * include/shadow.h: Likewise.
54698         * include/signal.h: Likewise.
54699         * include/stdio.h: Likewise.
54700         * include/stdlib.h: Likewise.
54701         * include/string.h: Likewise.
54702         * include/sys/socket.h: Likewise.
54703         * include/sys/stat.h: Likewise.
54704         * include/sys/statfs.h: Likewise.
54705         * include/sys/statvfs.h: Likewise.
54706         * include/sys/syslog.h: Likewise.
54707         * include/sys/time.h: Likewise.
54708         * include/sys/uio.h: Likewise.
54709         * include/time.h: Likewise.
54710         * include/unistd.h: Likewise.
54711         * include/utmp.h: Likewise.
54712         * include/wchar.h: Likewise.
54713         * include/wctype.h: Likewise.
54714         * inet/aliases.h: Likewise.
54715         * inet/arpa/inet.h: Likewise.
54716         * inet/netinet/ether.h: Likewise.
54717         * inet/netinet/in.h: Likewise.
54718         * intl/libintl.h: Likewise.
54719         * io/bits/fcntl2.h: Likewise.
54720         * io/fcntl.h: Likewise.
54721         * io/ftw.h: Likewise.
54722         * io/sys/poll.h: Likewise.
54723         * io/sys/stat.h: Likewise.
54724         * io/sys/statfs.h: Likewise.
54725         * io/sys/statvfs.h: Likewise.
54726         * io/utime.h: Likewise.
54727         * libio/bits/stdio.h: Likewise.
54728         * libio/bits/stdio2.h: Likewise.
54729         * libio/libio.h: Likewise.
54730         * libio/libioP.h: Likewise.
54731         * libio/stdio.h: Likewise.
54732         * locale/lc-ctype.c: Likewise.
54733         * locale/locale.h: Likewise.
54734         * login/utmp.h: Likewise.
54735         * malloc/arena.c: Likewise.
54736         * malloc/malloc.c: Likewise.
54737         * malloc/malloc.h: Likewise.
54738         * malloc/mcheck.c: Likewise.
54739         * malloc/mtrace.c: Likewise.
54740         * math/bits/mathcalls.h: Likewise.
54741         * math/fenv.h: Likewise.
54742         * math/math_private.h: Likewise.
54743         * misc/bits/error.h: Likewise.
54744         * misc/bits/syslog.h: Likewise.
54745         * misc/err.h: Likewise.
54746         * misc/error.h: Likewise.
54747         * misc/fstab.h: Likewise.
54748         * misc/mntent.h: Likewise.
54749         * misc/regexp.h: Likewise.
54750         * misc/search.h: Likewise.
54751         * misc/sgtty.h: Likewise.
54752         * misc/sys/mman.h: Likewise.
54753         * misc/sys/syslog.h: Likewise.
54754         * misc/sys/uio.h: Likewise.
54755         * misc/sys/xattr.h: Likewise.
54756         * misc/ttyent.h: Likewise.
54757         * nis/rpcsvc/ypclnt.h: Likewise.
54758         * nss/nss.h: Likewise.
54759         * posix/bits/unistd.h: Likewise.
54760         * posix/fnmatch.h: Likewise.
54761         * posix/glob.h: Likewise.
54762         * posix/sched.h: Likewise.
54763         * posix/spawn.h: Likewise.
54764         * posix/sys/wait.h: Likewise.
54765         * posix/unistd.h: Likewise.
54766         * posix/wordexp.h: Likewise.
54767         * pwd/pwd.h: Likewise.
54768         * resolv/netdb.h: Likewise.
54769         * resource/sys/resource.h: Likewise.
54770         * rt/aio.h: Likewise.
54771         * rt/bits/mqueue2.h: Likewise.
54772         * rt/mqueue.h: Likewise.
54773         * shadow/shadow.h: Likewise.
54774         * signal/signal.h: Likewise.
54775         * socket/send.c: Likewise.
54776         * socket/sendto.c: Likewise.
54777         * socket/sys/socket.h: Likewise.
54778         * stdio-common/printf.h: Likewise.
54779         * stdlib/bits/stdlib.h: Likewise.
54780         * stdlib/fmtmsg.h: Likewise.
54781         * stdlib/monetary.h: Likewise.
54782         * stdlib/stdlib.h: Likewise.
54783         * stdlib/ucontext.h: Likewise.
54784         * streams/stropts.h: Likewise.
54785         * string/argz.h: Likewise.
54786         * string/bits/string2.h: Likewise.
54787         * string/string.h: Likewise.
54788         * string/strings.h: Likewise.
54789         * sunrpc/rpc/auth.h: Likewise.
54790         * sunrpc/rpc/auth_des.h: Likewise.
54791         * sunrpc/rpc/clnt.h: Likewise.
54792         * sunrpc/rpc/netdb.h: Likewise.
54793         * sunrpc/rpc/pmap_clnt.h: Likewise.
54794         * sunrpc/rpc/xdr.h: Likewise.
54795         * sysdeps/generic/inttypes.h: Likewise.
54796         * sysdeps/generic/net/if.h: Likewise.
54797         * sysdeps/generic/sys/swap.h: Likewise.
54798         * sysdeps/gnu/net/if.h: Likewise.
54799         * sysdeps/gnu/utmpx.h: Likewise.
54800         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
54801         * sysdeps/i386/i486/bits/string.h: Likewise.
54802         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
54803         * sysdeps/s390/bits/string.h: Likewise.
54804         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
54805         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
54806         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
54807         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
54808         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
54809         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
54810         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
54811         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
54812         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
54813         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
54814         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
54815         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
54816         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
54817         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
54818         * sysdeps/unix/sysv/linux/readv.c: Likewise.
54819         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
54820         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
54821         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54822         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
54823         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
54824         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
54825         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
54826         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
54827         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
54828         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
54829         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
54830         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
54831         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54832         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
54833         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
54834         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
54835         * sysvipc/sys/ipc.h: Likewise.
54836         * sysvipc/sys/msg.h: Likewise.
54837         * sysvipc/sys/sem.h: Likewise.
54838         * sysvipc/sys/shm.h: Likewise.
54839         * termios/termios.h: Likewise.
54840         * time/sys/time.h: Likewise.
54841         * time/time.h: Likewise.
54842         * wcsmbs/bits/wchar2.h: Likewise.
54843         * wcsmbs/uchar.h: Likewise.
54844         * wcsmbs/wchar.h: Likewise.
54845         * wctype/wctype.h: Likewise.
54847         [BZ #13551]
54848         * Makeconfig: Remove all but ELF support including AIX support.
54849         * Makerules: Likewise.
54850         * config.h.in: Likewise.
54851         * config.make.in: Likewise.
54852         * configure: Likewise.
54853         * configure.in: Likewise.
54854         * csu/Makefile: Likewise.
54855         * csu/version.c: Likewise.
54856         * debug/Makefile: Likewise.
54857         * dlfcn/Makefile: Likewise.
54858         * elf/Makefile: Likewise.
54859         * extra-lib.mk: Likewise.
54860         * iconv/Makefile: Likewise.
54861         * include/libc-symbols.h: Likewise.
54862         * include/shlib-compat.h: Likewise.
54863         * resolv/Makefile: Likewise.
54864         * resolv/res_libc.c: Likewise.
54865         * rt/Makefile: Likewise.
54866         * sysdeps/i386/asm-syntax.h: Likewise.
54867         * sysdeps/i386/sysdep.h: Likewise.
54868         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
54869         * sysdeps/mach/sysdep.h: Likewise.
54870         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
54871         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
54872         * sysdeps/s390/asm-syntax.h: Likewise.
54873         * sysdeps/s390/s390-32/sysdep.h: Likewise.
54874         * sysdeps/s390/s390-64/sysdep.h: Likewise.
54875         * sysdeps/sh/sysdep.h: Likewise.
54876         * sysdeps/unix/sparc/sysdep.h: Likewise.
54877         * sysdeps/wordsize-32/divdi3.c: Likewise.
54878         * sysdeps/x86_64/sysdep.h: Likewise.
54880         * argp/Versions: Remove _argp_unlock_xxx.
54882         [BZ #13559]
54883         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
54884         * abilist/libBrokenLocale.abilist: Likewise.
54885         * abilist/libanl.abilist: Likewise.
54886         * abilist/libc.abilist: Likewise.
54887         * abilist/libcrypt.abilist: Likewise.
54888         * abilist/libdl.abilist: Likewise.
54889         * abilist/libm.abilist: Likewise.
54890         * abilist/libnsl.abilist: Likewise.
54891         * abilist/libpthread.abilist: Likewise.
54892         * abilist/libresolv.abilist: Likewise.
54893         * abilist/librt.abilist: Likewise.
54894         * abilist/libthread_db.abilist: Likewise.
54895         * abilist/libutil.abilist: Likewise.
54896         * abilist/libnss_db.abilist: New file.
54898         * scripts/abilist.awk: Add support for indirect functions.
54900         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
54902         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
54904         * shlib-versions: Remove entries for ports architectures.
54906         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
54907         files in ports.
54908         * elf/stackguard-macros.h: Remove support for IA-64.
54909         * elf/tst-auditmod1.c: Likewise.
54910         * sysdeps/generic/ldsodefs.h: Likewise.
54912         * sysdeps/unix/sysv/linux/configure.in: Ports should define
54913         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
54914         configure files.
54916         [BZ #13552]
54917         * configure.in: Remove --enable-omitfp support.
54918         * FAQ.in: Adjust.
54919         * config.make.in: Likewise.
54920         * Makeconfig: Likewise.
54921         * manual/install.texi: Likewise.
54923         In case anyone cares, the IA-64 architecture could move to ports.
54924         * sysdeps/ia64/*: Removed.
54925         * sysdeps/unix/sysv/linux/ia64/*: Removed.
54926         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
54928         [BZ #13555]
54929         * configure.in: Remove entries for unsupported architectures.
54931         [BZ #13533]
54932         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
54933         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
54934         routines.
54935         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
54936         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
54937         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
54938         fall back to using wcrtomb.
54939         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
54940         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
54941         renaming.
54942         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
54943         * wcsmbs/tst-c16c32-1.c: New file.
54945         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
54946         local variable.
54948         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
54950         * elf/tst-unique3.cc: Add explicit declaration of gets.
54951         * elf/tst-unique3lib.cc: Likewise.
54952         * elf/tst-unique3lib2.cc: Likewise.
54953         * elf/tst-unique4.cc: Likewise.
54955         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
54957 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
54959         [BZ #13566]
54960         * assert/assert.h (static_assert): Don't define for C++.
54961         * libio/stdio.h (gets): Do declare for C++ <= C++11.
54962         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
54964 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
54966         * iconv/loop.c (single loop): Fix assertion in storing of
54967         remaining bytes.
54969         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
54971 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
54973         * posix/getconf.c: Update copyright year.
54974         * nss/getent.c: Likewise.
54975         * nss/makedb.c: Likewise.
54976         * iconv/iconvconfig.c: Likewise.
54977         * iconv/iconv_prog.c: Likewise.
54978         * elf/ldconfig.c: Likewise.
54979         * elf/pldd.c: Likewise.
54980         * elf/sotruss.ksh: Likewise.
54981         * catgets/gencat.c: Likewise.
54982         * csu/version.c: Likewise.
54983         * elf/ldd.bash.in: Likewise.
54984         * elf/sprof.c (print_version): Likewise.
54985         * locale/programs/locale.c: Likewise.
54986         * locale/programs/localedef.c: Likewise.
54987         * login/programs/pt_chown.c: Likewise.
54988         * nscd/nscd.c (print_version): Likewise.
54989         * debug/xtrace.sh: Likewise.
54990         * malloc/memusage.sh: Likewise.
54991         * malloc/mtrace.pl: Likewise.
54992         * debug/catchsegv.sh: Likewise.
54994 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
54996         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
54997         pure attribute.
54999 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
55001         [BZ #13533]
55002         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
55003         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
55004         transformations.
55005         * iconv/gconv_int.h: Likewise.
55006         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
55007         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
55008         from libc for GLIBC_2.16.
55009         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
55010         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
55011         * wcsmbs/uchar.h: Really define mbstate_t.
55012         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
55013         * wcsmbs/c16rtomb.c: New file.
55014         * wcsmbs/mbrtoc16.c: New file.
55015         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
55016         for C/POSIX locale.
55017         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
55018         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
55020         * wcsmbs/wchar.h: Add missing __restrict.
55022 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
55024         [BZ #13532]
55025         * time/Makefile (routines): Add timespec_get.
55026         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
55027         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
55028         timespec for ISO C11.
55029         * time/timespec_get.c: New file.
55030         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
55031         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
55033         [BZ #13531]
55034         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
55035         * stdlib/stdlib.h: Declare aligned_alloc.
55036         * Versions.def: Add GLIBC_2.16 for libc.
55037         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
55039         [BZ 13527]
55040         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
55041         ISO C11.
55043         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
55044         code.
55046         [BZ #13528]
55047         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
55049         [BZ #13529]
55050         * assert/assert.h (static_assert): Define.
55052         * version.h: Update for 2.16 development version.
55054         [BZ #13526]
55055         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
55056         _ISOC11_SOURCE.
55058         * version.h (RELEASE): Bump for 2.15 release.
55059         * include/features.h (__GLIBC_MINOR__): Bump to 15.
55061         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
55062         Patch by Marek Polacek <mpolacek@redhat.com>.
55064         * bits/byteswap.h: Protect long long constants with __extension__.
55065         * sysdeps/i386/bits/byteswap.h: Likewise.
55066         * sysdeps/ia64/bits/byteswap.h: Likewise.
55067         * sysdeps/s390/bits/byteswap.h: Likewise.
55068         * sysdeps/x86_64/bits/byteswap.h: Likewise.
55070 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55072         [BZ #13540]
55073         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
55074         destination buffer.
55075         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
55077 2011-12-23  Marek Polacek  <polacek@redhat.com>
55079         * elf/dl-addr.c (determine_info): Add inline keyword.
55080         * elf/tst-auditmod4b.c (check_avx): Likewise.
55081         * elf/tst-auditmod6b.c (check_avx): Likewise.
55082         * elf/tst-auditmod6c.c (check_avx): Likewise.
55083         * elf/tst-auditmod7b.c (check_avx): Likewise.
55085 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
55087         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
55088         !__SSE_MATH__.
55090 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55092         [BZ #13540]
55093         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
55094         processing for last bytes.
55096 2011-08-06  Bruno Haible  <bruno@clisp.org>
55098         [BZ #13061]
55099         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
55100         U+0385, not to U+1FEE.
55102         [BZ #13062]
55103         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
55104         entry for U+00A5 U+0301.
55106 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
55108         [BZ #13166]
55109         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
55110         buffer for the output is too small.
55112         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
55113         optimization.
55115         [BZ #13185]
55116         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
55117         SSE flags if possible.
55119 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55121         [BZ #13540]
55122         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
55123         processing for last bytes.
55125 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
55127         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
55128         (syscall-list-default-options, syscall-list-default-condition)
55129         (syscall-list-includes): Define.
55130         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
55131         list of ABIs and options and #if conditions for each ABI.  Do not
55132         handle common syscalls between ABIs specially.
55133         * sysdeps/unix/sysv/linux/powerpc/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.
55138         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
55139         (syscall-list-variants, syscall-list-32bit-options)
55140         (syscall-list-32bit-condition, syscall-list-64bit-options)
55141         (syscall-list-64bit-condition): Define.
55142         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
55143         Remove.
55144         (syscall-list-variants, syscall-list-32bit-options)
55145         (syscall-list-32bit-condition, syscall-list-64bit-options)
55146         (syscall-list-64bit-condition): Define.
55147         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
55148         Remove.
55149         (syscall-list-variants, syscall-list-32bit-options)
55150         (syscall-list-32bit-condition, syscall-list-64bit-options)
55151         (syscall-list-64bit-condition): Define.
55153 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
55155         * locale/iso-639.def: Add brx entry.
55157         [BZ #13328]
55158         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
55159         Proposed by Mariusz_Cukr <marcukr@op.pl>.
55161         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
55162         __feraiseexcept_renamed.
55164 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
55166         [BZ #13538]
55167         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
55168         EPOLLET with unsigned values.
55169         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55170         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
55172         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
55173         to large cancellation.
55174         * math/s_cacoshf.c: Likewise.
55175         * math/s_cacoshl.c: Likewise.
55177 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
55179         [BZ #13305]
55180         [BZ #12786]
55181         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
55182         * math/s_cacoshf.c: Likewise.
55183         * math/s_cacoshl.c: Likewise.
55185 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
55187         [BZ #13439]
55188         * iconv/gconv.h: Define __GCONV_SWAP.
55189         * iconvdata/unicode.c: The swap bit must be stored in __flags.
55190         * iconvdata/utf-16.c: Likewise.
55191         * iconvdata/utf-32.c: Likewise.
55193 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
55195         [BZ #13524]
55196         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
55197         numerator after shifting it by one limb.
55199 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
55201         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
55202         under [__USE_EXTERN_INLINES].
55204 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
55206         [BZ #13446]
55207         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
55209 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55211         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
55212         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
55213         optimized code.
55214         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
55215         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
55216         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
55217         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
55218         for strncasecmp/strncasecmp_l compilation.
55219         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
55220         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
55222 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
55224         [BZ #13484]
55225         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
55226         of __asm__.
55228 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
55230         [BZ #13506]
55231         * time/tzfile.c (__tzfile_read): Check values from file header.
55233 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
55235         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
55236         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
55237         * powerpc/powerpc32/dl-start.S: Likewise.
55238         * powerpc/powerpc32/elf/start.S: Likewise.
55239         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
55240         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
55241         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
55242         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
55243         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
55244         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
55245         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
55246         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
55247         * powerpc/powerpc32/fpu/s_round.S: Likewise.
55248         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
55249         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
55250         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
55251         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
55252         * powerpc/powerpc32/memset.S: Likewise.
55253         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
55254         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
55255         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
55256         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
55257         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
55258         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
55259         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
55260         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
55261         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
55262         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
55263         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
55264         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
55265         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
55267 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55269         * math/libm-test.inc: Added more nearbyint tests.
55270         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
55271         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
55272         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
55273         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
55275 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
55277         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
55278         FD_CLOEXEC.
55280 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55282         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
55283         Add wcscpy-ssse3 wcscpy-c.
55284         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
55285         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
55286         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
55287         * sysdeps/x86_64/wcschr.S: New file.
55288         * sysdeps/x86_64/wcsrchr.S: New file.
55289         * string/test-strcmp.c: Remove checking of wcscmp function for
55290         wrong alignments.
55291         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
55292         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
55293         wcsrchr-sse2 wcsrchr-c.
55294         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
55295         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
55296         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
55297         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
55298         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
55299         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
55300         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
55301         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
55302         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
55303         * wcsmbc/wcschr.c (WCSCHR): New macro.
55305 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55307         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
55308         * wcsmbs/test-wcsrchr.c: New file.
55309         * string/test-strrchr.c: Add wcsrchr support.
55310         (WIDE): New macro.
55311         * wcsmbs/test-wcscpy.c: New file.
55312         * string/test-strcpy.c: Add wcscpy support.
55313         (WIDE): New macro.
55315 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
55317         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
55318         the inner loop.
55320 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
55322         [BZ #13472]
55323         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
55325 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
55327         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
55328         Minor optimizations.
55330         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
55331         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
55332         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
55334 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
55336         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
55337         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
55338         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
55339         for gcc to avoid warnings.
55340         * inet/Makefile (tests): Add tst-checks.
55341         * inet/tst-checks.c: New file.
55343         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
55344         warning.
55346         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
55347         __wmemcmp_sse2.
55349         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
55350         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
55352         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
55354 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
55356         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
55357         problem.
55359         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
55361 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
55363         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
55364         conditional on GCC version.
55365         (__arch_compare_and_exchange_val_8_acq)
55366         (__arch_compare_and_exchange_val_16_acq)
55367         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
55368         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
55369         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
55371 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
55373         * sysdeps/sh/backtrace.c: New file.
55375 2011-12-02  Andreas Schwab  <schwab@redhat.com>
55377         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
55378         parenthesis.
55380 2011-12-01  Andreas Schwab  <schwab@redhat.com>
55382         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
55383         falling back to utime.
55385 2011-11-30  Andreas Schwab  <schwab@redhat.com>
55387         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
55388         expectations for float.
55390 2011-11-29  Andreas Schwab  <schwab@redhat.com>
55392         * locale/weight.h (findidx): Add parameter len.
55393         * locale/weightwc.h (findidx): Likewise.
55394         * posix/fnmatch_loop.c (FCT): Adjust caller.
55395         * posix/regcomp.c (build_equiv_class): Likewise.
55396         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
55397         * posix/regexec.c (check_node_accept_bytes): Likewise.
55398         * string/strcoll_l.c (STRCOLL): Likewise.
55399         * string/strxfrm_l.c (STRXFRM): Likewise.
55401 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
55403         * Makefile.in: Remove CVSOPT handling.
55404         * configure.in: Remove use of AC_REVISION.
55405         * iconvdata/Makefile (distribute): No need to filter out CVS.
55406         * scripts/list-sources.sh: Remove CVS, subversion and monotone
55407         handling.
55409 2011-11-16  Andreas Schwab  <schwab@redhat.com>
55411         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
55412         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
55413         [USE_AS_STRNCASECMP_L]: Likewise.
55414         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
55415         NO_TLS_DIRECT_SEG_REFS.
55416         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
55417         Fix argument offsets for non-PIC.
55418         [USE_AS_STRNCASECMP_L]: Likewise.
55419         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
55420         NO_TLS_DIRECT_SEG_REFS.
55422 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
55424         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
55425         O_CLOEXEC.
55426         * locale/loadlocale.c (_nl_load_locale): Likewise.
55428 2011-11-15  Andreas Schwab  <schwab@redhat.com>
55430         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
55431         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
55432         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
55433         (SYSCALL_GETTIME): Set errno on error.
55435         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
55436         count references to noai6ai_cached.
55438 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
55440         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
55442         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
55443         FD_CLOEXEC for /proc/self/maps.
55445         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
55446         FD_CLOEXEC for /proc/meminfo.
55448         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
55449         gai.conf.
55451         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
55452         FD_CLOEXEC for given file.
55454         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
55456         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
55457         FD_CLOEXEC for /etc/hosts.
55458         (_gethtent): Likewise.
55460         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
55462         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
55463         cancellation and set FD_CLOEXEC for /etc/netgroup.
55465         * nss/nss_files/files-key.c (search): Don't allow cancellation when
55466         reading /etc/publickey.
55468         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
55469         allow cancellation when reading /etc/group.
55471         * nss/nss_files/files-alias.c (internal_setent): Don't allow
55472         cancellation.
55473         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
55475         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
55476         when using data file.
55478         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
55480         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
55481         (write_nis_obj): Use "c" and "e" in fopen.
55483         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
55485         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
55487         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
55489         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
55491         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
55492         locale.alias.
55494         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
55496         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
55498         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
55500         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
55501         file parsing and set FD_CLOEXEC.
55503 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
55505         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
55507 2011-11-14  Andreas Schwab  <schwab@redhat.com>
55509         * malloc/arena.c (arena_get2): Don't call reused_arena when
55510         _int_new_arena failed.
55512 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
55514         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
55515         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
55516         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
55517         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
55518         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55519         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
55520         to compile strcasecmp and strncasecmp.
55521         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
55522         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
55524         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
55526 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
55528         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
55529         locale-defines.sym to gen-as-const-headers.
55530         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
55531         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
55532         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
55533         to compile strcasecmp and strncasecmp.
55534         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
55535         strcasecmp_l and strncasecmp_l.
55536         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
55537         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
55538         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
55539         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
55540         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
55541         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
55542         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
55543         * sysdeps/i386/i686/multiarch/strncase.S: New file.
55544         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
55545         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
55546         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
55548 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
55550         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
55551         result of SYSDEP_GETTIME_CPU to retval.
55552         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
55553         parameter list to macro.  Remove trailing semicolon.  Adjust users.
55555         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
55556         variable.
55558         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
55559         mantissa words.
55560         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
55562         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
55563         from unused variable.
55565         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
55566         DWARF definitions.
55567         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
55568         for assembling.
55570         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
55571         over namespaces.
55573         * sunrpc/rpc_prot.c (rejected): Fix case value.
55575         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
55576         unsigned long long int to avoid warnings in shift.
55578         * posix/regex_internal.c (re_string_reconstruct): Actually use result
55579         of use of trans.
55580         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
55581         variable tmp.
55583         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
55584         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
55585         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
55587         * nis/nis_table.c (nis_list): Use variable of correct type for
55588         result of __follow_path call.
55590 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55592         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
55593         of math functions ceil, trunc, floor, round, and sqrt, when
55594         avaliable on the platform.
55595         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
55596         name clash.
55597         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55598         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
55599         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
55601 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
55603         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
55604         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
55606 2011-11-11  Roland McGrath  <roland@hack.frob.com>
55608         * include/unistd.h: Fix __readlink return type.
55609         Reported by Chris Metcalf <cmetcalf@tilera.com>.
55611 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
55613         * stdlib/ucontext.h: Undo last change for makecontext.
55615 2011-11-11  Andreas Schwab  <schwab@redhat.com>
55617         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
55619         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
55620         * setjmp/setjmp.h: Mark functions as non-leaf.
55621         * setjmp/bits/setjmp2.h: Likewise.
55622         * stdlib/ucontext.h: Likewise.
55624 2011-11-10  Andreas Schwab  <schwab@redhat.com>
55626         * malloc/arena.c (_int_new_arena): Don't increment narenas.
55627         (reused_arena): Don't check arena limit.
55628         (arena_get2): Atomically check arena limit.
55630 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
55632         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
55633         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
55635         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
55636         instructions.
55638 2011-11-07  Andreas Schwab  <schwab@redhat.com>
55640         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
55641         handler when locking.
55643         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
55644         Fix size of allocated buffer.
55646 2011-11-04  Andreas Schwab  <schwab@redhat.com>
55648         [BZ #10103]
55649         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
55650         declarations for long double functions.
55651         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
55653         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
55655 2011-11-03  Andreas Schwab  <schwab@redhat.com>
55657         * nscd/nscd.c (main): Don't start AVC thread until credentials are
55658         installed.
55660         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
55661         is disabled.
55663 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55665         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
55667 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
55669         * include/alloca.h (stackinfo_alloca_round): Define.
55670         (extend_alloca): Use it.
55671         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
55672         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
55673         here.
55675         * scripts/check-local-headers.sh: Ignore libaudit.h.
55677         * nscd/Makefile (extra-objs): Make recursively expanded.
55679 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
55681         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
55682         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
55684         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
55685         * posix/tst-rfc3484-2.c: Likewise.
55686         * posix/tst-rfc3484-3.c: Likewise.
55688         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
55689         process_vm_writev.
55690         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
55691         process_vm_writev.
55692         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
55693         process_vm_writev from libc using GLIBC_2.15 version.
55695         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
55697 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
55699         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
55700         stack usage.
55702 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
55704         [BZ #13367]
55705         * nss/getent.c (initgroups_keys): Show error message in case no group
55706         names are given.
55708         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
55709         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
55710         __bump_nl_timestamp.
55711         * nscd/connections (nscd_init): When host database is served open
55712         netlink socket and request notification about configuration changes.
55713         (main_loop_poll): Track netlink file descriptor and bump timestamp
55714         in case data becomes available.
55715         (main_loop_epoll): Likewise.
55716         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
55717         (database_pers_head): Add extra_data fileds.
55718         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
55719         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
55720         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
55721         Adjust caller.
55722         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
55723         in6ai data, call __free_in6ai.
55724         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
55725         Add -DHAVE_NETLINK.
55726         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
55727         interface information.  Reuse previous data if netlink timestamp
55728         is not changed.
55729         (__bump_nl_timestamp): New function.
55730         (__free_in6ai): New function.
55732 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
55734         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
55735         close_not_cancel_no_status here.
55736         (__check_pf): Reorganize code a bit to not call close twice if OOM.
55738 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
55740         [BZ #13276]
55741         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
55742         return value.
55744         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
55745         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
55746         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
55748 2011-07-03  Andreas Jaeger  <aj@suse.de>
55750         [BZ #10709]
55751         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
55752         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
55753         * math/libm-test.inc (sin_test): Add test case.
55755 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
55757         [BZ #13337]
55758         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
55759         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
55761         * elf/chroot_canon.c (chroot_canon): Cleanups.
55763         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
55765         [BZ #13335]
55766         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
55767         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
55769         * string/test-strchr.c: Make usable for strchrnul testing.
55770         * string/test-strchrnul.c: New file.
55771         * string/Makefile (strop-tests): Add strchrnul.
55773         * po/it.po: Update from translation team.
55774         * po/es.po: Likewise.
55776 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
55778         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
55779         the three constants needed as parameters.  Drop the others.
55780         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
55781         __m128i_strloadu_tolower.
55782         Create and initialize variable zero and use it in all the places
55783         where _mm_setzero_si128 was used.
55785         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
55786         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
55787         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
55788         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
55789         anymore.
55790         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
55791         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
55792         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
55793         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
55794         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
55795         __mpranred, __mptan.
55796         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
55797         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
55798         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
55799         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
55800         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
55801         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
55802         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
55803         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
55804         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
55806 2011-10-28  Andreas Schwab  <schwab@redhat.com>
55808         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
55809         redefine if SHARED.
55810         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
55812         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
55813         wide char related routines to wcsmbs subdir.
55815 2011-10-27  Andreas Schwab  <schwab@redhat.com>
55817         [BZ #13344]
55818         * misc/sys/cdefs.h (__THROWNL): Define.
55819         * posix/unistd.h: Use __THREADNL instead of __THREAD
55820         for memory synchronization functions.
55822 2011-10-26  Roland McGrath  <roland@hack.frob.com>
55824         [BZ #13349]
55825         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
55826         doesn't exist.
55827         * manual/stdio.texi (Obstack Streams): Node removed.
55829 2011-10-26  Andreas Schwab  <schwab@redhat.com>
55831         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
55832         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55833         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55835         * math/math_private.h (math_force_eval): Allow non-addressable
55836         arguments.
55837         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
55839 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
55841         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
55842         file is not needed.
55844         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
55845         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
55846         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55847         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55848         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55849         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55850         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55851         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
55852         Add AVX variants.
55853         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
55854         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
55855         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
55856         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
55857         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
55858         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
55859         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
55860         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
55861         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
55862         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
55863         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
55864         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
55865         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
55866         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
55867         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
55868         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
55869         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
55870         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
55871         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
55873         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
55874         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
55876         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
55877         place.  Use VEX encoding when compiling for AVX.
55879 2011-10-25  Andreas Schwab  <schwab@redhat.com>
55881         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
55882         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
55884         * string/test-strchr.c (do_test): Don't generate NUL bytes.
55886 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
55888         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
55889         useless if() expression.
55890         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55891         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
55892         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55893         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55894         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55895         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55896         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
55897         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55898         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
55899         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55900         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55901         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
55902         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
55903         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
55904         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
55905         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55906         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55907         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55908         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
55910         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
55912 2011-10-25  Andreas Schwab  <schwab@redhat.com>
55914         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
55915         condition.
55916         * elf/dl-fini.c (_dl_sort_fini): Likewise.
55918 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
55920         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
55921         .text section.  Avoid duplicate constants.
55922         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
55923         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55924         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55925         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55926         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55927         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55928         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55929         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55930         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
55931         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
55932         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
55933         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
55934         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
55935         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
55936         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
55937         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
55938         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
55939         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
55940         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55941         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55942         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
55943         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
55944         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
55945         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
55946         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
55947         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
55948         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
55949         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
55950         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
55951         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
55952         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
55953         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
55954         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
55955         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
55956         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
55957         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
55958         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
55959         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
55960         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
55961         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
55962         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
55963         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
55964         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
55965         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
55966         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
55968 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
55970         * sysdeps/x86_64/dla.h: Move to ...
55971         * sysdeps/x86_64/fpu/dla.h: ...here.
55972         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
55973         situations.  Use __builtin_fma only for gcc 4.6 and up.
55975         * config.make.in: Add have-mfma4 entry.
55976         * configure.in: Substitute libc_cv_cc_fma4.
55977         * math/Makefile (dbl-only-routines): Add sincostab.
55978         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
55979         Use __sincostab not sincos.
55980         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
55981         name is a macro.
55982         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55983         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55984         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55985         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
55986         using __copysign.
55987         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
55988         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
55989         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
55990         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
55991         and __inv.
55992         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
55993         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
55994         __copysign.
55995         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
55996         define aliases when function name is a macro.
55997         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
55998         sysdeps/ieee754/dbl-64/sincos.tbl.
55999         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
56000         fma4-enabled routines.
56001         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
56002         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
56003         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
56004         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
56005         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
56006         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
56007         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
56008         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
56009         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
56010         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
56011         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
56012         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
56013         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
56014         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
56015         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
56016         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
56017         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
56018         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
56019         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
56020         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
56021         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
56022         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
56023         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
56024         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
56025         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
56026         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
56027         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
56028         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
56029         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
56030         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
56032         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
56033         rename.
56034         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56035         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56036         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56037         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56038         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56039         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56040         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56041         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56043 2011-10-24  Andreas Schwab  <schwab@redhat.com>
56045         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
56047 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
56049         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
56051         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
56052         prediction.
56053         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
56055         * string/strnlen.c: Don't define STRNLEN, reverse logic.
56056         Remove unused variable magic_bits.
56057         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
56059         * string/strnlen.c: Define and use STRNLEN macro.
56060         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
56061         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
56062         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
56063         * wcsmbs/wcslen.c: Define and use WCSLEN.
56064         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
56065         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
56066         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
56067         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
56068         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
56069         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
56070         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
56072 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56074         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56075         strnlen-sse2-no-bsf.
56076         Rename strlen-no-bsf to strlen-sse2-no-bsf.
56077         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
56078         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
56079         Add strnlen support.
56080         (USE_AS_STRNLEN): New macro.
56081         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
56082         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
56083         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
56084         * sysdeps/x86_64/wcslen.S: New file.
56086 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
56088         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
56089         XMM-moves are used for copying on small sizes.
56091 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56093         * wcsmbs/Makefile (strop-tests): Add wcschr.
56094         * wcsmbs/test-wcschr.c: New file.
56095         * string/test-strchr.c: Update.
56096         Add wcschr support.
56097         (WIDE): New macro.
56099 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56101         * wcsmbs/Makefile (strop-tests): Add wcslen.
56102         * wcsmbs/test-wcslen.c: New file.
56103         * string/test-strlen.c: Update.
56104         Add wcslen support.
56105         (WIDE): New macro.
56107 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
56109         * po/it.po: Update from translation team.
56111 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56113         * sysdeps/x86_64/wcscmp.S: Update.
56114         Fix wrong comparison semantics.
56115         wcscmp shall use signed comparison not unsigned.
56116         Don't use substraction to avoid overflow bug.
56117         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
56118         * wcsmbc/wcscmp.c: Likewise.
56119         * string/test-strcmp.c: Likewise.
56120         Add new tests to check cases with negative values.
56122 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
56124         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
56125         * sysdeps/x86_64/dla.h: ...here.  New file.
56126         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
56127         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56128         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56129         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56130         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56131         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56132         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56133         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56134         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56136 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
56138         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
56139         __ynl_finite aliases.
56141 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
56143         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56145         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
56146         define DLA_FMA.
56147         [DLA_FMA] (EMULV): Use DLA_FMA.
56148         [DLA_FMA] (MUL12): Use EMULV.
56149         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
56150         that are not needed.
56151         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56152         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56153         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56154         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56155         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56156         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56157         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56159 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
56161         * math/s_nan.c: Undef __nan.
56162         * math/s_nanf.c: Undef __nanf.
56163         * math/s_nanl.c: Undef __nanl.
56164         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
56165         "math_private.h".
56167 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
56169         * math/s_catan.c: Add branch predictions.
56170         * math/s_catanf.c: Likewise.
56171         * math/s_catanh.c: Likewise.
56172         * math/s_catanhf.c: Likewise.
56173         * math/s_catanhl.c: Likewise.
56174         * math/s_catanl.c: Likewise.
56175         * math/s_cexp.c: Likewise.
56176         * math/s_cexpf.c: Likewise.
56177         * math/s_cexpl.c: Likewise.
56178         * math/s_clog.c: Likewise.
56179         * math/s_clog10.c: Likewise.
56180         * math/s_clog10f.c: Likewise.
56181         * math/s_clog10l.c: Likewise.
56182         * math/s_clogf.c: Likewise.
56183         * math/s_clogl.c: Likewise.
56184         * math/s_csqrt.c: Likewise.
56185         * math/s_csqrtf.c: Likewise.
56186         * math/s_csqrtl.c: Likewise.
56187         * math/s_ctanf.c: Likewise.
56188         * math/s_ctanh.c: Likewise.
56189         * math/s_ctanhf.c: Likewise.
56190         * math/s_ctanhl.c: Likewise.
56191         * math/s_ctanl.c: Likewise.
56193         * math/math_private.h: Define __nan, __nanf, __nanl.
56194         * math/s_cacosh.c: Include <math_private.h>.
56195         * math/s_cacoshl.c: Likewise.
56196         * math/s_casinh.c: Likewise.
56197         * math/s_casinhf.c: Likewise.
56198         * math/s_casinhl.c: Likewise.
56199         * math/s_ccos.c: Rely entire on ccosh.
56200         * math/s_ccosf.c: Rely entire on ccoshf.
56201         * math/s_ccosl.c: Rely entirely on ccoshl.
56202         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
56203         Remove tests for FE_INVALID.
56204         * math/s_ccoshf.c: Likewise.
56205         * math/s_ccoshl.c: Likewise.
56206         * math/s_csin.c: Likewise.
56207         * math/s_csinf.c: Likewise.
56208         * math/s_csinh.c Likewise.
56209         * math/s_csinhf.c: Likewise.
56210         * math/s_csinhl.c: Likewise.
56211         * math/s_csinl.c: Likewise.
56212         * math/s_ctan.c: Likewise.
56213         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
56214         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
56215         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
56217 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
56219         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
56220         compilation problems.
56222         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
56223         __builtin_expect.
56225 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
56227         * sysdeps/i386/configure.in: Test for -mfma4 option.
56228         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
56229         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
56230         COMMON_CPUID_INDEX_80000001.
56231         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
56232         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
56233         use it if FMA3 is not supported.
56234         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
56236         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
56237         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56239 2011-10-20  Andreas Schwab  <schwab@redhat.com>
56241         [BZ #12892]
56242         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
56243         it would create a cycle with a link time dependency.
56245 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
56247         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
56248         instruction.
56249         * string/Makefile (strop-tests): Add rawmemchr.
56250         * string/test-rawmemchr.c: New file.
56252         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
56253         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
56254         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
56255         when compiling str{,n}casecmp and when AVX is available.  Hook up
56256         new optimized code in initializers.
56258 2011-10-19  Andreas Schwab  <schwab@redhat.com>
56260         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
56261         __feraiseexcept instead of feraiseexcept.
56263 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
56265         * math/math_private.h: Define defaults for libc_fetestexcept and
56266         libc_feupdateenv.
56267         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
56268         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
56269         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
56270         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
56271         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
56272         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
56273         libc_fetestexcept and libc_feupdateenv.
56275         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
56276         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
56277         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
56278         * sysdeps/x86_64/fpu/math_private.h: Define special version of
56279         libc_feholdexcept_setround.
56281         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
56282         Add s_nearbyint-c and s_nearbyintf-c.
56283         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
56284         nearbyintf inlines.
56285         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
56286         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
56287         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
56288         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
56290         * math/math_private.h: Define defaults for libc_fegetround,
56291         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
56292         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
56293         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
56294         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
56295         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
56296         standard functions.
56297         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56298         Remove comments and hacks for old compiler versions.
56299         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
56300         libc_fegetround, libc_fesetround, libc_feholdexcept, and
56301         libc_feholdexceptl.
56303 2011-10-18  Andreas Schwab  <schwab@redhat.com>
56305         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
56306         (__feraiseexcept_renamed): Add __NTH.
56307         (feraiseexcept): Add __NTH.  Rename local variables to fix
56308         namespace violations.
56310 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
56312         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
56314         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
56316         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
56317         recently added interfaces.
56318         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
56320         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
56321         about macro parameter expansion.
56323         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
56324         __NO_MATH_INLINES is defined.  Cleanups.
56326         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
56327         and __floorf is target has SSE4.1.
56328         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
56329         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
56330         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
56331         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
56333         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
56334         name.
56335         (floorf): Likewise.
56337         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
56339 2011-10-17  Andreas Schwab  <schwab@redhat.com>
56341         * misc/sys/cdefs.h: Fix last change.
56343         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
56344         database lookup.
56346 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
56348         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
56350         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
56351         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56352         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
56353         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56354         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56355         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
56356         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56357         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56358         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
56359         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
56360         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
56361         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
56362         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
56363         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
56364         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
56365         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
56366         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
56367         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
56368         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
56369         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
56370         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
56371         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
56373         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
56374         ceil, ceilf, floor, floorf.
56376         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
56377         Perform IRELATIVE relocations last.
56379         * elf/do-rel.h: Add another parameter nrelative, replacing the
56380         local variable with the same name.  Change name of the function
56381         to end in Rel or Rela (uppercase).
56382         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
56383         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
56384         elf_dynamic_do_##reloc function.
56386 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
56388         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
56389         is sufficient, at least on modern CPUs.
56391         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
56393         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
56394         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
56396         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
56397         __expl_finite.
56398         * math/bits/math-finite.h: Add entries for exp.
56399         * math/e_expl.c: Add __*_finite alias.
56400         * sysdeps/i386/fpu/e_exp.S: Likewise.
56401         * sysdeps/i386/fpu/e_expf.S: Likewise.
56402         * sysdeps/i386/fpu/e_expl.c: Likewise.
56403         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56404         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
56405         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
56406         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
56407         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
56408         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
56409         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
56411         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
56412         is sufficient, at least on modern CPUs.
56414         * ctype/ctype-info.c (__ctype_init): Define.
56415         * include/ctype.h (__ctype_init): Declare.
56416         (__ctype_b_loc): The variable is always initialized.
56417         (__ctype_toupper_loc): Likewise.
56418         (__ctype_tolower_loc): Likewise.
56419         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
56420         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
56422 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
56424         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
56426         * configure.in: Also look in $cxxmachine/include for C++ system
56427         headers.
56429 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56431         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
56432         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
56433         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
56434         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
56435         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
56436         (USE_AS_WMEMCMP): New macro.
56437         Fixing indents.
56438         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
56439         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
56440         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
56441         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
56442         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56443         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
56444         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
56445         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
56446         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
56447         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
56448         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
56449         (USE_AS_WMEMCMP): New macro.
56450         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
56451         * sysdeps/string/test-memcmp.c: Update.
56452         Fix simple_wmemcmp.
56453         Add new tests.
56454         * wcsmbs/wmemcmp.c: Update.
56455         (WMEMCMP): New macro.
56456         Fix overflow bug.
56458 2011-10-12  Andreas Jaeger  <aj@suse.de>
56460         [BZ #13268]
56461         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
56463 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
56465         * libio/iofwide.c (do_length): Avoid warning.
56467         * ctype/ctype.h (__isctype_f): Add missing __THROW.
56469 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
56471         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
56473         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
56474         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
56475         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
56476         * sysdeps/i386/i686/fpu/e_log.S: New file.
56477         * sysdeps/i386/i686/fpu/e_logf.S: New file.
56478         * sysdeps/i386/i686/fpu/e_logl.S: New file.
56480         * ctype/ctype.h: Add support for inlined isXXX functions when
56481         compiling C++ code.
56483 2011-10-14  Andreas Schwab  <schwab@redhat.com>
56485         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56487         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
56489 2011-10-13  Roland McGrath  <roland@hack.frob.com>
56491         [BZ #13291]
56492         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
56494 2011-10-13  Andreas Schwab  <schwab@redhat.com>
56496         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
56497         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
56498         feraiseexcept.
56500         * sysdeps/x86_64/memrchr.S: Check for zero size.
56502         * string/stratcliff.c: Add memrchr tests.
56504 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56506         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56507         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
56508         rawmemchr-sse2 rawmemchr-sse2-bsf.
56509         * sysdeps/i386/i686/multiarch/memchr.S: New file.
56510         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
56511         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
56512         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
56513         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
56514         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
56515         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
56516         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
56517         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
56518         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
56519         * string/memrchr.c (MEMRCHR): New macro.
56521 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
56523         Add integration with gcc's -ffinite-math-only and optimize wrapper
56524         functions in libm.
56525         * Versions.def: Define GLIBC_2.15 version for libm.
56526         * math/Makefile (headers): Add bits/math-finite.h.
56527         * math/bits/math-finite.h: New file.
56528         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
56529         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
56530         * math/e_acoshl.c: Add __*_finite alias.
56531         * math/e_acosl.c: Likewise.
56532         * math/e_asinl.c: Likewise.
56533         * math/e_atan2l.c: Likewise.
56534         * math/e_atanhl.c: Likewise.
56535         * math/e_coshl.c: Likewise.
56536         * math/e_exp10.c: Likewise.
56537         * math/e_exp10f.c: Likewise.
56538         * math/e_exp10l.c: Likewise.
56539         * math/e_exp2l.c: Likewise.
56540         * math/e_fmodl.c: Likewise.
56541         * math/e_gammal_r.c: Likewise.
56542         * math/e_hypotl.c: Likewise.
56543         * math/e_j0l.c: Likewise.
56544         * math/e_j1l.c: Likewise.
56545         * math/e_jnl.c: Likewise.
56546         * math/e_lgammal_r.c: Likewise.
56547         * math/e_log10l.c: Likewise.
56548         * math/e_log2l.c: Likewise.
56549         * math/e_logl.c: Likewise.
56550         * math/e_powl.c: Likewise.
56551         * math/e_sinhl.c: Likewise.
56552         * math/e_sqrtl.c: Likewise.
56553         * math/e_scalb.c: Completely rewritten and optimized.
56554         * math/e_scalbf.c: Likewise.
56555         * math/e_scalbl.c: Likewise.
56556         * math/w_acos.c: Likewise.
56557         * math/w_acosf.c: Likewise.
56558         * math/w_acosl.c: Likewise.
56559         * math/w_acosh.c: Likewise.
56560         * math/w_acoshf.c: Likewise.
56561         * math/w_acoshl.c: Likewise.
56562         * math/w_asin.c: Likewise.
56563         * math/w_asinf.c: Likewise.
56564         * math/w_asinl.c: Likewise.
56565         * math/w_atan2.c: Likewise.
56566         * math/w_atan2f.c: Likewise.
56567         * math/w_atan2l.c: Likewise.
56568         * math/w_atanh.c: Likewise.
56569         * math/w_atanhf.c: Likewise.
56570         * math/w_atanhl.c: Likewise.
56571         * math/w_exp10.c: Likewise.
56572         * math/w_exp10f.c: Likewise.
56573         * math/w_exp10l.c: Likewise.
56574         * math/w_fmod.c: Likewise.
56575         * math/w_fmodf.c: Likewise.
56576         * math/w_fmodl.c: Likewise.
56577         * math/w_j0.c: Likewise.
56578         * math/w_j0f.c: Likewise.
56579         * math/w_j0l.c: Likewise.
56580         * math/w_j1.c: Likewise.
56581         * math/w_j1f.c: Likewise.
56582         * math/w_j1l.c: Likewise.
56583         * math/w_jn.c: Likewise.
56584         * math/w_jnf.c: Likewise.
56585         * math/w_log.c: Likewise.
56586         * math/w_logf.c: Likewise.
56587         * math/w_logl.c: Likewise.
56588         * math/w_log10.c: Likewise.
56589         * math/w_log10f.c: Likewise.
56590         * math/w_log10l.c: Likewise.
56591         * math/w_log2.c: Likewise.
56592         * math/w_log2f.c: Likewise.
56593         * math/w_log2l.c: Likewise.
56594         * math/w_pow.c: Likewise.
56595         * math/w_powf.c: Likewise.
56596         * math/w_powl.c: Likewise.
56597         * math/w_remainder.c: Likewise.
56598         * math/w_remainderf.c: Likewise.
56599         * math/w_remainderl.c: Likewise.
56600         * math/w_scalb.c: Likewise.
56601         * math/w_scalbf.c: Likewise.
56602         * math/w_scalbl.c: Likewise.
56603         * math/w_sqrt.c: Likewise.
56604         * math/w_sqrtf.c: Likewise.
56605         * math/w_sqrtl.c: Likewise.
56606         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
56607         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
56608         used.
56609         * math/math_private.h: Declare __kernel_standard_f.
56610         * math/w_cosh.c: Remove cruft and optimize a bit.
56611         * math/w_coshf.c: Likewise.
56612         * math/w_coshl.c: Likewise.
56613         * math/w_exp2.c: Likewise.
56614         * math/w_exp2f.c: Likewise.
56615         * math/w_exp2l.c: Likewise.
56616         * math/w_hypot.c: Likewise.
56617         * math/w_hypotf.c: Likewise.
56618         * math/w_hypotl.c: Likewise.
56619         * math/w_lgamma.c: Likewise.
56620         * math/w_lgamma_r.c: Likewise.
56621         * math/w_lgammaf.c: Likewise.
56622         * math/w_lgammaf_r.c: Likewise.
56623         * math/w_lgammal.c: Likewise.
56624         * math/w_lgammal_r.c: Likewise.
56625         * math/w_sinh.c: Likewise.
56626         * math/w_sinhf.c: Likewise.
56627         * math/w_sinhl.c: Likewise.
56628         * math/w_tgamma.c: Likewise.
56629         * math/w_tgammaf.c: Likewise.
56630         * math/w_tgammal.c: Likewise.
56631         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
56632         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56633         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
56634         Minor optimizations.  Pretty printing.  Remove cruft.
56635         * sysdeps/i386/fpu/e_acosf.S: Likewise.
56636         * sysdeps/i386/fpu/e_acosh.S: Likewise.
56637         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
56638         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
56639         * sysdeps/i386/fpu/e_acosl.c: Likewise.
56640         * sysdeps/i386/fpu/e_asin.S: Likewise.
56641         * sysdeps/i386/fpu/e_asinf.S: Likewise.
56642         * sysdeps/i386/fpu/e_atan2.S: Likewise.
56643         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
56644         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
56645         * sysdeps/i386/fpu/e_atanh.S: Likewise.
56646         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
56647         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
56648         * sysdeps/i386/fpu/e_exp10.S: Likewise.
56649         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
56650         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
56651         * sysdeps/i386/fpu/e_exp2.S: Likewise.
56652         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
56653         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
56654         * sysdeps/i386/fpu/e_fmod.S: Likewise.
56655         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
56656         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
56657         * sysdeps/i386/fpu/e_hypot.S: Likewise.
56658         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
56659         * sysdeps/i386/fpu/e_log.S: Likewise.
56660         * sysdeps/i386/fpu/e_log10.S: Likewise.
56661         * sysdeps/i386/fpu/e_log10f.S: Likewise.
56662         * sysdeps/i386/fpu/e_log10l.S: Likewise.
56663         * sysdeps/i386/fpu/e_log2.S: Likewise.
56664         * sysdeps/i386/fpu/e_log2f.S: Likewise.
56665         * sysdeps/i386/fpu/e_log2l.S: Likewise.
56666         * sysdeps/i386/fpu/e_logf.S: Likewise.
56667         * sysdeps/i386/fpu/e_logl.S: Likewise.
56668         * sysdeps/i386/fpu/e_pow.S: Likewise.
56669         * sysdeps/i386/fpu/e_powf.S: Likewise.
56670         * sysdeps/i386/fpu/e_powl.S: Likewise.
56671         * sysdeps/i386/fpu/e_remainder.S: Likewise.
56672         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
56673         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
56674         * sysdeps/i386/fpu/e_scalb.S: Likewise.
56675         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56676         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56677         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
56678         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
56679         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
56680         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
56681         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56682         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56683         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
56684         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56685         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
56686         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
56687         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
56688         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56689         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
56690         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
56691         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
56692         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56693         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
56694         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
56695         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56696         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56697         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
56698         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56699         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56700         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
56701         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
56702         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56703         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56704         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
56705         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
56706         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
56707         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
56708         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
56709         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
56710         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56711         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
56712         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
56713         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
56714         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
56715         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
56716         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
56717         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
56718         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
56719         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
56720         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
56721         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
56722         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
56723         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
56724         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56725         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
56726         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
56727         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
56728         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
56729         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
56730         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
56731         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
56732         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
56733         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
56734         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
56735         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
56736         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
56737         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
56738         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
56739         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
56740         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
56741         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
56742         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56743         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56744         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
56745         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
56746         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
56747         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
56748         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
56749         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
56750         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
56751         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
56752         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
56753         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
56754         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
56755         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
56756         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
56757         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
56758         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56759         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
56760         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56761         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
56762         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
56763         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56764         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56765         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
56766         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
56767         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
56768         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
56769         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
56770         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56771         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
56772         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56773         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
56774         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56775         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
56776         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
56777         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
56778         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
56779         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
56780         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
56781         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
56782         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
56783         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
56784         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
56785         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
56786         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
56787         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
56788         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
56789         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
56790         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
56791         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
56792         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
56793         (__isnanf): Likewise.
56794         (__isinf_ns): Likewise.
56795         (__isinf_nsf): Likewise.
56796         (__finite): Likewise.
56797         (__finitef): Likewise.
56798         (__ieee754_sqrt): Define as macro.
56799         (__ieee754_sqrtf): Define as macro.
56800         (__ieee754_sqrtl): Define as macro.
56801         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
56802         inlined copy.
56803         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
56804         __FINITE_MATH_ONLY__ consistent.
56805         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
56807 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
56809         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
56810         of rawmemchr.
56812         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
56814 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
56816         * po/ja.po: Update from translation team.
56818 2011-10-08  Roland McGrath  <roland@hack.frob.com>
56820         * locale/programs/locarchive.c (prepare_address_space): New function.
56821         (create_archive, enlarge_archive, open_archive): Use it.
56823         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
56824         inside [SHARED], where it is used.
56826         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
56828         * nss/getent.c (netgroup_keys): Remove unused variable.
56829         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
56831 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
56833         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
56834         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
56835         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
56836         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
56837         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
56838         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
56839         * math/Makefile (libm-calls): Add s_isinf_ns.
56840         * math/divtc3.c: Use __isinf_nsl instead of isinf.
56841         * math/multc3.c: Likewise.
56842         * math/s_casin.c: Likewise.
56843         * math/s_casinf.c: Likewise.
56844         * math/s_casinl.c: Likewise.
56845         * math/s_ccos.c: Likewise.
56846         * math/s_ccosf.c: Likewise.
56847         * math/s_ccosl.c: Likewise.
56848         * math/s_ctan.c: Likewise.
56849         * math/s_ctanf.c: Likewise.
56850         * math/s_ctanh.c: Likewise.
56851         * math/s_ctanhf.c: Likewise.
56852         * math/s_ctanhl.c: Likewise.
56853         * math/s_ctanl.c: Likewise.
56854         * math/w_fmod.c: Likewise.
56855         * math/w_fmodf.c: Likewise.
56856         * math/w_fmodl.c: Likewise.
56857         * math/w_remainder.c: Likewise.
56858         * math/w_remainderf.c: Likewise.
56859         * math/w_remainderl.c: Likewise.
56860         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
56861         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
56862         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
56863         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
56864         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
56865         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
56866         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
56867         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
56869         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
56870         of the number.
56871         * stdio-common/printf_fphex.c: Likewise.
56872         * stdio-common/printf_size.c: Likewise.
56874         * math/e_exp10.c: Include math_private.h using <...> not "...".
56875         * math/e_exp10f.c: Likewise.
56876         * math/e_exp10l.c: Likewise.
56877         * math/e_exp2l.c: Likewise.
56878         * math/e_j0l.c: Likewise.
56879         * math/e_j1l.c: Likewise.
56880         * math/e_jnl.c: Likewise.
56881         * math/e_lgammal_r.c: Likewise.
56882         * math/e_rem_pio2l.c: Likewise.
56883         * math/e_scalb.c: Likewise.
56884         * math/e_scalbf.c: Likewise.
56885         * math/e_scalbl.c: Likewise.
56886         * math/k_cosl.c: Likewise.
56887         * math/k_sinl.c: Likewise.
56888         * math/k_tanl.c: Likewise.
56889         * math/s_cacoshf.c: Likewise.
56890         * math/s_catan.c: Likewise.
56891         * math/s_catanf.c: Likewise.
56892         * math/s_catanh.c: Likewise.
56893         * math/s_catanhf.c: Likewise.
56894         * math/s_catanhl.c: Likewise.
56895         * math/s_catanl.c: Likewise.
56896         * math/s_ccosh.c: Likewise.
56897         * math/s_ccoshf.c: Likewise.
56898         * math/s_ccoshl.c: Likewise.
56899         * math/s_cexp.c: Likewise.
56900         * math/s_cexpf.c: Likewise.
56901         * math/s_cexpl.c: Likewise.
56902         * math/s_clog.c: Likewise.
56903         * math/s_clog10.c: Likewise.
56904         * math/s_clog10f.c: Likewise.
56905         * math/s_clog10l.c: Likewise.
56906         * math/s_clogf.c: Likewise.
56907         * math/s_clogl.c: Likewise.
56908         * math/s_csin.c: Likewise.
56909         * math/s_csinf.c: Likewise.
56910         * math/s_csinh.c: Likewise.
56911         * math/s_csinhf.c: Likewise.
56912         * math/s_csinhl.c: Likewise.
56913         * math/s_csinl.c: Likewise.
56914         * math/s_csqrt.c: Likewise.
56915         * math/s_csqrtf.c: Likewise.
56916         * math/s_csqrtl.c: Likewise.
56917         * math/s_ctan.c: Likewise.
56918         * math/s_ctanf.c: Likewise.
56919         * math/s_ctanh.c: Likewise.
56920         * math/s_ctanhf.c: Likewise.
56921         * math/s_ctanhl.c: Likewise.
56922         * math/s_ctanl.c: Likewise.
56923         * math/s_ldexp.c: Likewise.
56924         * math/s_ldexpf.c: Likewise.
56925         * math/s_ldexpl.c: Likewise.
56926         * math/s_significand.c: Likewise.
56927         * math/s_significandf.c: Likewise.
56928         * math/s_significandl.c: Likewise.
56929         * math/w_acos.c: Likewise.
56930         * math/w_acosf.c: Likewise.
56931         * math/w_acosh.c: Likewise.
56932         * math/w_acoshf.c: Likewise.
56933         * math/w_acoshl.c: Likewise.
56934         * math/w_acosl.c: Likewise.
56935         * math/w_asin.c: Likewise.
56936         * math/w_asinf.c: Likewise.
56937         * math/w_asinl.c: Likewise.
56938         * math/w_atan2.c: Likewise.
56939         * math/w_atan2f.c: Likewise.
56940         * math/w_atan2l.c: Likewise.
56941         * math/w_atanh.c: Likewise.
56942         * math/w_atanhf.c: Likewise.
56943         * math/w_atanhl.c: Likewise.
56944         * math/w_cosh.c: Likewise.
56945         * math/w_coshf.c: Likewise.
56946         * math/w_coshl.c: Likewise.
56947         * math/w_dremf.c: Likewise.
56948         * math/w_exp10.c: Likewise.
56949         * math/w_exp10f.c: Likewise.
56950         * math/w_exp10l.c: Likewise.
56951         * math/w_exp2.c: Likewise.
56952         * math/w_exp2f.c: Likewise.
56953         * math/w_fmod.c: Likewise.
56954         * math/w_fmodf.c: Likewise.
56955         * math/w_fmodl.c: Likewise.
56956         * math/w_hypot.c: Likewise.
56957         * math/w_hypotf.c: Likewise.
56958         * math/w_hypotl.c: Likewise.
56959         * math/w_j0.c: Likewise.
56960         * math/w_j0f.c: Likewise.
56961         * math/w_j0l.c: Likewise.
56962         * math/w_j1.c: Likewise.
56963         * math/w_j1f.c: Likewise.
56964         * math/w_j1l.c: Likewise.
56965         * math/w_jn.c: Likewise.
56966         * math/w_jnf.c: Likewise.
56967         * math/w_jnl.c: Likewise.
56968         * math/w_lgamma.c: Likewise.
56969         * math/w_lgamma_r.c: Likewise.
56970         * math/w_lgammaf.c: Likewise.
56971         * math/w_lgammaf_r.c: Likewise.
56972         * math/w_lgammal.c: Likewise.
56973         * math/w_lgammal_r.c: Likewise.
56974         * math/w_log.c: Likewise.
56975         * math/w_log10.c: Likewise.
56976         * math/w_log10f.c: Likewise.
56977         * math/w_log10l.c: Likewise.
56978         * math/w_log2.c: Likewise.
56979         * math/w_log2f.c: Likewise.
56980         * math/w_log2l.c: Likewise.
56981         * math/w_logf.c: Likewise.
56982         * math/w_logl.c: Likewise.
56983         * math/w_pow.c: Likewise.
56984         * math/w_powf.c: Likewise.
56985         * math/w_powl.c: Likewise.
56986         * math/w_remainder.c: Likewise.
56987         * math/w_remainderf.c: Likewise.
56988         * math/w_remainderl.c: Likewise.
56989         * math/w_scalb.c: Likewise.
56990         * math/w_scalbf.c: Likewise.
56991         * math/w_scalbl.c: Likewise.
56992         * math/w_sinh.c: Likewise.
56993         * math/w_sinhf.c: Likewise.
56994         * math/w_sinhl.c: Likewise.
56995         * math/w_sqrt.c: Likewise.
56996         * math/w_sqrtf.c: Likewise.
56997         * math/w_sqrtl.c: Likewise.
56998         * math/w_tgamma.c: Likewise.
56999         * math/w_tgammaf.c: Likewise.
57000         * math/w_tgammal.c: Likewise.
57002         * po/ja.po: Update from translation team.
57004 2011-09-29  Andreas Jaeger  <aj@suse.de>
57006         [BZ #13179]
57007         * sunrpc/netname.c (netname2host): Fix logic.
57009         [BZ #6779]
57010         [BZ #6783]
57011         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
57012         correctly.
57013         * math/w_remainder.c (__remainder): Likewise.
57014         * math/w_remainderf.c (__remainderf): Likewise.
57015         * math/libm-test.inc (remainder_test): Add test cases.
57017 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57019         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
57020         sdiv_qrnnd.
57022 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
57024         * string/test-memcmp.c: Avoid unncessary #defines.
57025         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
57027 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57029         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
57030         Use new sse2 version for core i3 - i7 as it's faster
57031         than sse42 version.
57032         (bit_Prefer_PMINUB_for_stringop): New.
57033         * sysdeps/x86_64/rawmemchr.S: Update.
57034         Replace with faster SSE2 version.
57035         * sysdeps/x86_64/memrchr.S: New file.
57036         * sysdeps/x86_64/memchr.S: Update.
57037         Replace with faster SSE2 version.
57039 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
57041         * elf/dl-load.c (lose): Add cast to avoid warning.
57043 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
57045         * po/ca.po: Update from translation team.
57047         * inet/getnetgrent_r.c: Hook up nscd.
57048         * nscd/Makefile (routines): Add nscd_netgroup.
57049         (nscd-modules): Add netgroupcache.
57050         (CFLAGS-netgroupcache.c): Define.
57051         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
57052         (cache_search): Add const to second parameter.
57053         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
57054         INNETGR.
57055         (dbs): Add netgrdb entry.
57056         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
57057         (verify_persistent_db): Handle netgrdb.
57058         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
57059         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
57060         GETFDNETGR.
57061         (netgroup_response_header): Define.
57062         (innetgroup_response_header): Define.
57063         (datahead): Add netgroup_response_header and innetgroup_response_header
57064         elements.
57065         * nscd/nscd.conf: Add entries for netgroup cache.
57066         * nscd/nscd.h (dbtype): Add netgrdb.
57067         (_PATH_NSCD_NETGROUP_DB): Define.
57068         (netgroup_iov_disabled): Declare.
57069         (xmalloc, xcalloc, xrealloc): Move declarations here.
57070         (cache_search): Adjust prototype.
57071         Add netgroup-related prototypes.
57072         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
57073         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
57074         (__nscd_innetgr): Declare.
57075         * nscd/selinux.c (perms): Use access_vector_t as element type and
57076         add netgroup-related initializers.
57077         * nscd/netgroupcache.c: New file.
57078         * nscd/nscd_netgroup.c: New file.
57079         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
57080         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
57081         For four parameters use innetgr.
57082         * nss/nss_files/files-init.c: Add definition and callback for netgr.
57083         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
57084         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
57085         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
57087         * nscd/connections.c (register_traced_file): Don't register file
57088         for disabled databases.
57090 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
57092         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
57094         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
57095         from tree and freeing node.
57097 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
57099         * nss/nsswitch.c (__nss_database_lookup): Handle
57100         nss_parse_service_list out of memory case.
57102 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
57104         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
57105         out of memory case.
57107 2011-10-04  Andreas Schwab  <schwab@redhat.com>
57109         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
57110         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
57111         pass it down.
57112         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
57113         elf_machine_rela, elf_machine_lazy_rel.
57114         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
57115         (ELF_DYNAMIC_DO_REL): Likewise.
57116         (ELF_DYNAMIC_DO_RELA): Likewise.
57117         (ELF_DYNAMIC_RELOCATE): Likewise.
57118         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
57119         to ELF_DYNAMIC_DO_REL.
57120         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
57121         (dl_main): In trace mode always set __RTLD_NOIFUNC.
57122         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
57123         elf_machine_rela.
57124         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
57125         skip_ifunc, don't call ifunc function if non-zero.
57126         (elf_machine_rela): Likewise.
57127         (elf_machine_lazy_rel): Likewise.
57128         (elf_machine_lazy_rela): Likewise.
57129         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
57130         (elf_machine_lazy_rel): Likewise.
57131         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
57132         Likewise.
57133         (elf_machine_lazy_rel): Likewise.
57134         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57135         Likewise.
57136         (elf_machine_lazy_rel): Likewise.
57137         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
57138         (elf_machine_lazy_rel): Likewise.
57139         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
57140         (elf_machine_lazy_rel): Likewise.
57141         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
57142         (elf_machine_lazy_rel): Likewise.
57143         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
57144         (elf_machine_lazy_rel): Likewise.
57145         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
57146         (elf_machine_lazy_rel): Likewise.
57147         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
57148         (elf_machine_lazy_rel): Likewise.
57150 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
57152         * nss/nss_files/files-init.c (_nss_files_init): Use static
57153         initialization for all the *_traced_file variables.
57155 2011-09-28  Andreas Schwab  <schwab@redhat.com>
57157         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57159 2011-09-27  Roland McGrath  <roland@hack.frob.com>
57161         [BZ #13226]
57162         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
57164 2011-09-27  Andreas Schwab  <schwab@redhat.com>
57166         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
57167         Reread the line before reparsing it.
57169 2011-09-26  Andreas Schwab  <schwab@redhat.com>
57171         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
57173 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
57174             Maxim Kuvyrkov  <maxim@codesourcery.com>
57175             Joseph Myers  <joseph@codesourcery.com>
57177         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
57178         if needed for __stack_chk_guard.
57180 2011-09-19  Roland McGrath  <roland@hack.frob.com>
57182         * sysdeps/posix/spawni.c (script_execute): Always define it.
57183         It will be optimized away if unused.
57184         (maybe_script_execute): New function.
57185         (__spawni): Call it.
57187         * Makerules: Don't include tls.make.
57188         (config-tls): Always set to thread.
57189         * tls.make.c: File removed.
57191 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
57193         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
57194         * config.make.in (CPPFLAGS-config): New substituted variable.
57196 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
57198         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
57200         [BZ #13192]
57201         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
57202         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
57204 2011-09-15  Roland McGrath  <roland@hack.frob.com>
57206         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
57207         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
57208         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57209         (CALL_FAIL): Likewise.
57210         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
57211         (CALL_FAIL): Macro removed.
57212         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
57214 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
57216         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
57217         for __FINITE_MATH_ONLY__ == 1.
57219 2011-09-15  Andreas Schwab  <schwab@redhat.com>
57221         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
57222         __ieee754_sqrt instead of sqrt.
57223         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
57224         __ieee754_sqrtf instead of sqrtf.
57225         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
57226         __floorf instead of floorf.
57227         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
57228         __floorf, __truncf instead of floorf, truncf.
57230 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
57232         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
57234         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
57235         __extern_always_inline.
57236         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
57237         32-bit.
57239 2011-09-14  Andreas Schwab  <schwab@redhat.com>
57241         * elf/rtld.c (dl_main): Also relocate in dependency order when
57242         doing symbol dependency testing.
57244 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
57246         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57247         Always define `refsym'.
57249 2011-09-13  Andreas Schwab  <schwab@redhat.com>
57251         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
57252         (__FD_ELT): Renamed from __FDELT.
57253         * misc/bits/select2.h (__FD_ELT): Likewise.
57254         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
57255         __FD_MASK instead of __FDELT, __FDMASK.
57256         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
57257         Likewise.
57258         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
57259         Likewise.
57261         * elf/Makefile (gen-ldd): Fix pattern.
57263         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
57264         (init_tls): Likewise.
57266 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
57268         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
57270 2011-09-12  Andreas Schwab  <schwab@redhat.com>
57272         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
57273         `struct cmsghdr *' instead of `void *'.
57274         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
57275         Likewise.
57277 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
57279         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
57280         if non-absolute.
57281         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
57282         ldd_rewrite_script.
57284 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
57286         * configure.in: Remove --with-tls option.
57287         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
57288         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
57289         out in case it is missing.
57290         * sysdeps/ia64/elf/configure.in: Likewise.
57291         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
57292         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
57293         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
57294         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
57295         * sysdeps/sh/elf/configure.in: Likewise.
57296         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
57297         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
57298         * sysdeps/x86_64/elf/configure.in: Likewise.
57299         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
57300         * sysdeps/mach/hurd/tls.h: Likewise.
57302         [BZ #13067]
57303         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
57305         [BZ #13090]
57306         * configure.in: Fix use of AC_INIT.
57308         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
57310 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
57312         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
57313         __set_errno.
57314         * malloc/hooks.c: Likewise.
57316         [BZ #11929]
57317         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
57318         variables statically.
57319         (narenas): Initialize.
57320         (list_lock): Initialize.
57321         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
57322         initializtion of main_arena and list_lock.  Small cleanups.
57323         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
57324         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
57325         Add initializers to main_arena and mp_.
57326         (malloc_state): Remove pagesize member.  Change all users to use
57327         GLRO(dl_pagesize).
57329         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
57330         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
57331         is always initialized.
57333         * malloc/malloc.c: Removed unused configurations and dead code.
57334         * malloc/arena.c: Likewise.
57335         * malloc/hooks.c: Likewise.
57336         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
57338         * include/tls.h: Removed.  USE___THREAD must always be defined.
57339         * bits/libc-tsd.h: Don't handle !USE___THREAD.
57340         * elf/dl-libc.c: Likewise.
57341         * elf/dl-tsd.c: Likewise.
57342         * include/errno.h: Likewise.
57343         * include/netdb.h: Likewise.
57344         * include/resolv.h: Likewise.
57345         * inet/herrno-loc.c: Likewise.
57346         * inet/herrno.c: Likewise.
57347         * malloc/arena.c: Likewise.
57348         * malloc/hooks.c: Likewise.
57349         * malloc/malloc.c: Likewise.
57350         * resolv/res-state.c: Likewise.
57351         * resolv/res_libc.c: Likewise.
57352         * sysdeps/i386/dl-machine.h: Likewise.
57353         * sysdeps/ia64/dl-machine.h: Likewise.
57354         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
57355         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
57356         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
57357         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
57358         * sysdeps/sh/dl-machine.h: Likewise.
57359         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
57360         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
57361         * sysdeps/unix/i386/sysdep.S: Likewise.
57362         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57363         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
57364         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
57365         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
57366         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
57367         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
57368         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
57369         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
57370         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57371         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
57372         * sysdeps/unix/x86_64/sysdep.S: Likewise.
57373         * sysdeps/x86_64/dl-machine.h: Likewise.
57374         * tls.make.c: Likewise.
57376         * configure.in: Remove --with-__thread option.  Make tests for
57377         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
57378         tls_model attribute fail if no support is available.  Remove
57379         USE_IN_LIBIO.
57380         * Makeconfig: Adjust for dropped configure option.  All features are
57381         now mandatory.
57382         * Makerules: Likewise.
57383         * Versions.def: Likewise.
57384         * argp/argp-fmtstream.c: Likewise.
57385         * argp/argp-fmtstream.h: Likewise.
57386         * argp/argp-help.c: Likewise.
57387         * assert/assert.c: Likewise.
57388         * config.h.in: Likewise.
57389         * config.make.in: Likewise.
57390         * configure: Likewise.
57391         * configure.in: Likewise.
57392         * csu/Versions: Likewise.
57393         * csu/init.c: Likewise.
57394         * elf/tst-audit2.c: Likewise.
57395         * elf/tst-tls10.c: Likewise.
57396         * elf/tst-tls10.h: Likewise.
57397         * elf/tst-tls11.c: Likewise.
57398         * elf/tst-tls12.c: Likewise.
57399         * elf/tst-tls14.c: Likewise.
57400         * elf/tst-tlsmod11.c: Likewise.
57401         * elf/tst-tlsmod12.c: Likewise.
57402         * elf/tst-tlsmod13.c: Likewise.
57403         * elf/tst-tlsmod13a.c: Likewise.
57404         * elf/tst-tlsmod14a.c: Likewise.
57405         * elf/tst-tlsmod15b.c: Likewise.
57406         * elf/tst-tlsmod16a.c: Likewise.
57407         * elf/tst-tlsmod16b.c: Likewise.
57408         * elf/tst-tlsmod7.c: Likewise.
57409         * elf/tst-tlsmod8.c: Likewise.
57410         * elf/tst-tlsmod9.c: Likewise.
57411         * gmon/gmon.c: Likewise.
57412         * grp/fgetgrent_r.c: Likewise.
57413         * grp/putgrent.c: Likewise.
57414         * hurd/fopenport.c: Likewise.
57415         * include/libc-symbols.h: Likewise.
57416         * include/tls.h: Likewise.
57417         * intl/gettextP.h: Likewise.
57418         * intl/loadinfo.h: Likewise.
57419         * locale/global-locale.c: Likewise.
57420         * locale/localeinfo.h: Likewise.
57421         * mach/devstream.c: Likewise.
57422         * malloc/arena.c: Likewise.
57423         * malloc/set-freeres.c: Likewise.
57424         * misc/err.c: Likewise.
57425         * misc/getttyent.c: Likewise.
57426         * misc/mntent_r.c: Likewise.
57427         * posix/getopt.c: Likewise.
57428         * posix/wordexp.c: Likewise.
57429         * pwd/fgetpwent_r.c: Likewise.
57430         * resolv/Versions: Likewise.
57431         * resolv/res_hconf.c: Likewise.
57432         * shadow/fgetspent_r.c: Likewise.
57433         * shadow/putspent.c: Likewise.
57434         * stdio-common/printf_fphex.c: Likewise.
57435         * stdio-common/tmpfile.c: Likewise.
57436         * stdlib/abort.c: Likewise.
57437         * stdlib/fmtmsg.c: Likewise.
57438         * sunrpc/auth_unix.c: Likewise.
57439         * sunrpc/clnt_perr.c: Likewise.
57440         * sunrpc/clnt_tcp.c: Likewise.
57441         * sunrpc/clnt_udp.c: Likewise.
57442         * sunrpc/clnt_unix.c: Likewise.
57443         * sunrpc/openchild.c: Likewise.
57444         * sunrpc/svc_simple.c: Likewise.
57445         * sunrpc/svc_tcp.c: Likewise.
57446         * sunrpc/svc_udp.c: Likewise.
57447         * sunrpc/svc_unix.c: Likewise.
57448         * sunrpc/xdr.c: Likewise.
57449         * sunrpc/xdr_array.c: Likewise.
57450         * sunrpc/xdr_rec.c: Likewise.
57451         * sunrpc/xdr_ref.c: Likewise.
57452         * sunrpc/xdr_stdio.c: Likewise.
57454 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
57456         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57458 2011-07-03  Andreas Jaeger  <aj@suse.de>
57460         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
57461         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
57462         regenerate with gen-libm-tests.pl.
57464 2010-05-12  Petr Baudis  <pasky@suse.cz>
57466         [BZ #11589]
57467         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
57468         around j0() zero points by switching to j1().
57469         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57470         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57471         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
57472         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57474 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
57476         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
57477         instead of 0.
57478         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
57479         instead of 0.
57480         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57481         Patch in part by Pavel Roskin <proski@gnu.org>.
57483         [BZ #13138]
57484         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
57485         realloc.
57486         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
57487         Free memory block if necessary.
57489         [BZ #12847]
57490         * libio/genops.c (INTDEF): For string streams the _lock pointer can
57491         be NULL.  Don't lock in this case.
57493 2011-09-09  Roland McGrath  <roland@hack.frob.com>
57495         * elf/elf.h (ELFOSABI_GNU): New macro.
57496         (ELFOSABI_LINUX): Define to that.
57498 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
57500         * string/strncat.c (strncat): Undef the symbol in case it has been
57501         defined in bits/string.h.
57503 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
57505         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
57507         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
57508         link map.
57510 2011-08-17  Andreas Jaeger  <aj@suse.de>
57512         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
57514 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
57515             Ian Lance Taylor  <iant@google.com>
57517         * math/libm-test.inc (lround_test): New testcase.
57518         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
57520 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
57522         * Makefile: Remove support for automatic cvs check-ins.
57523         * Makerules: Likewise.
57524         * config.make.in: Likewise.
57525         * configure.in: Likewise.
57526         * intl/Makefile: Likewise.
57527         * locale/Makefile: Likewise.
57528         * po/Makefile: Likewise.
57529         * posix/Makefile: Likewise.
57530         * sysdeps/gnu/Makefile: Likewise.
57531         * sysdeps/mach/hurd/Makefile: Likewise.
57532         * sysdeps/sparc/sparc32/Makefile: Likewise.
57534         [BZ #13118]
57535         * posix/Makefile (bug-regex32-ENV): Define.
57536         Patch by John Stanley <jpsinthemix@verizon.net>.
57538         * misc/Makefile (headers): Add bits/select2.h.
57539         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
57540         * misc/bits/select2.h: New file.
57541         * include/bits/select2.h: New file.
57542         * debug/Makefile (routines): Add fdelt_chk.
57543         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
57544         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
57545         FD_ISSET.
57546         * debug/fdelt_chk.c: New file.
57548         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
57549         * wcsmbs/test-wmemcmp.c: Likewise.
57550         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
57551         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
57553 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57555         * string/Makefile (strop-tests): Add memcmp.
57556         * string/test-wmemcmp.c: New file.
57557         * string/test-memcmp.c: Add wmemcmp support.
57559 2011-09-08  Roland McGrath  <roland@hack.frob.com>
57561         [BZ #13153]
57562         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
57563         2011-07-19 change.
57565         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
57566         garbage value in a __mach_port_mod_refs call in the cases of the
57567         task-self and thread-self ports.
57569 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57571         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
57573 2011-09-08  Andreas Schwab  <schwab@redhat.com>
57575         * elf/dl-load.c (lose): Check for non-null L.
57577 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
57579         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
57581         * elf/dl-libc.c (dlerror_run): Pass back error code from
57582         dl_catch_error.
57584         [BZ #13123]
57585         * elf/dl-load.c (lose): Free l_origin if it is valid.
57587         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
57588         names.
57589         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
57590         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
57591         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
57592         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
57593         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
57594         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
57596 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57598         * sysdeps/powerpc/fpu/e_hypot.c: New file.
57599         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
57600         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
57601         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
57602         * sysdeps/powerpc/fpu/k_cosf.c: New file.
57603         * sysdeps/powerpc/fpu/k_sinf.c: New file.
57604         * sysdeps/powerpc/fpu/s_cosf.c: New file.
57605         * sysdeps/powerpc/fpu/s_sinf.c: New file.
57606         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
57607         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
57609 2011-08-15  Alan Modra  <amodra@gmail.com>
57611         [BZ #13092]
57612         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
57613         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
57614         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
57615         ppc_mcount to static-only-routines.
57616         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
57617         __mcount_internal.
57618         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
57619         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
57621 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
57623         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
57624         for finite and infinity parameters.
57626 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
57628         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
57629         and add nop instructions for throughput optimization.
57630         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
57632 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
57634         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
57635         aligned copy for power7 with vector-scalar instructions.
57636         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
57638 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
57640         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
57641         AVX check.
57643 2011-09-07  Andreas Schwab  <schwab@redhat.com>
57645         [BZ #13144]
57646         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
57647         last change.
57649 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
57651         * sysdeps/unix/sysv/linux/x86_64/init-first.c
57652         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
57653         syscall wrapper around clock_gettime in __vdso_clock_gettime.
57654         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
57655         clock_gettime.
57657 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
57659         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
57660         Forgot to demangle the pointer.
57662         * sysdeps/i386/sysdep.h: Define atom_text_section.
57663         * sysdeps/x86_64/sysdep.h: Likewise.
57664         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
57665         section with atom_text_section.
57666         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
57667         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
57668         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
57669         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
57670         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
57672         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
57673         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
57674         already be defined.  Change to take two parameters and don't assign
57675         result to variable.  Adjust all users.
57676         Define INTERNAL_GETTIME if not already defined.
57677         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
57678         call.
57679         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
57680         HAVE_CLOCK_GETTIME_VSYSCALL.
57681         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
57683         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
57684         gettimeofday vsyscall, just use time.
57686 2011-09-06  Andreas Schwab  <schwab@redhat.com>
57688         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
57689         <errno.h>.
57691 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
57693         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
57694         syscall on x86-64.
57695         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
57696         syscall.
57697         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
57698         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
57699         syscall if possible.
57701 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
57703         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
57704         e_ident.  Don't pass to find_mapsXX.
57705         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
57707 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57709         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57710         strchr-sse2-no-bsf strrchr-sse2-no-bsf
57711         * sysdeps/x86_64/multiarch/strchr.S: Update.
57712         Check bit_slow_BSF bit.
57713         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57714         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
57715         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
57717 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
57719         [BZ #13134]
57720         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
57721         before glibc 2.15.
57722         (tryshell): Define.
57723         (__spawni): Change last parameter to be flag.  Test
57724         SPAWN_XFLAGS_USE_PATH flag to use path or not.
57725         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
57726         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
57727         * posix/spawni.c: Likewise.
57728         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
57729         * posix/spawnp.c: Likewise.  Change normal version to use
57730         SPAWN_XFLAGS_USE_PATH.
57731         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
57732         SPAWN_XFLAGS_TRY_SHELL.
57734         [BZ #13150]
57735         * posix/glob.h: Remove gcc 1.x support.
57737         [BZ #13068]
57738         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
57740 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57742         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57743         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
57744         strrchr-sse2-bsf
57745         * sysdeps/i386/i686/multiarch/strchr.S: New file.
57746         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
57747         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
57748         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
57749         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
57750         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
57752 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57754         * sysdeps/x86_64/wcscmp.S: New file.
57756         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
57757         wcscmp-c wcscmp-sse2
57758         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
57759         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
57760         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
57761         * wcsmbs/wcscmp.c: Allow renaming.
57763 2011-09-05  David S. Miller  <davem@davemloft.net>
57765         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
57766         stack slot, rather than the struct return pointer slot.
57767         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
57768         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
57769         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
57770         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
57772 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
57774         * po/ja.po: Update from translation team.
57776         [BZ #13144]
57777         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
57778         kernel in 64-bit binaries.
57780 2011-09-01  David S. Miller  <davem@davemloft.net>
57782         * elf/elf.h (HWCAP_SPARC_*): Move to..
57783         * sysdeps/sparc/sysdep.h: this new file and add new values.
57784         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
57785         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
57786         _DL_HWCAP_COUNT to 24.
57787         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
57788         entries.
57789         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
57790         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
57791         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
57792         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
57793         instead of magic constants.
57794         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
57796 2011-08-31  David S. Miller  <davem@davemloft.net>
57798         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
57799         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
57800         Reimplement to do errno handling inline.
57801         (SYSCALL_ERROR_HANDLER): New macro.
57802         (__SYSCALL_STRING): Do not do errno handling in asm.
57803         (__CLONE_SYSCALL_STRING): Delete.
57804         (__INTERNAL_SYSCALL_STRING): Delete.
57805         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
57806         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
57807         (PSEUDO): Reimplement to do errno handling inline.
57808         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
57809         (SYSCALL_ERROR_HANDLER): New macro.
57810         (__SYSCALL_STRING): Do not do errno handling in asm.
57811         (__CLONE_SYSCALL_STRING): Delete.
57812         (__INTERNAL_SYSCALL_STRING): Delete.
57813         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
57814         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
57815         i386.
57816         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
57817         (inline_syscall*): Add 'err' argument.
57818         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
57819         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
57820         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
57821         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
57823         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
57824         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
57826 2011-08-30  Andreas Schwab  <schwab@redhat.com>
57828         * elf/rtld.c (dl_main): Relocate objects in dependency order.
57830 2011-08-29  Jiri Olsa <jolsa@redhat.com>
57832         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
57833         directive.
57835 2011-08-24  David S. Miller  <davem@davemloft.net>
57837         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
57839 2011-08-24  Andreas Schwab  <schwab@redhat.com>
57841         * elf/Makefile: Add rules to build and run unload8 test.
57842         * elf/unload8.c: New file.
57843         * elf/unload8mod1.c: New file.
57844         * elf/unload8mod1x.c: New file.
57845         * elf/unload8mod2.c: New file.
57846         * elf/unload8mod3.c: New file.
57848         * elf/dl-close.c (_dl_close_worker): Reset private search list if
57849         it wasn't used.
57851 2011-08-23  David S. Miller  <davem@davemloft.net>
57853         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
57854         subtract stack bias.
57855         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
57856         %sp not %fp in calculations.
57857         (_JMPBUF_UNWINDS_ADJ): Likewise.
57859         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
57860         (aio_suspend): Call it to force an exception region around the
57861         AIO_MISC_WAIT() invocation.
57863 2011-08-23  Andreas Schwab  <schwab@redhat.com>
57865         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
57866         backslash.
57868 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
57870         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
57871         protection macro.
57872         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
57873         and <dl-machine.h>.
57874         (Elf64_FuncDesc): Remove.
57876 2011-08-22  David S. Miller  <davem@davemloft.net>
57878         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
57879         sigaltstack check, add missing cfi directives.
57880         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
57881         missing cfi directives, and sigaltstack handling.
57883 2011-08-16  Andreas Schwab  <schwab@redhat.com>
57885         [BZ #11724]
57886         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
57887         object is seen twice.
57888         * elf/dl-fini.c (_dl_sort_fini): Likewise.
57890         * elf/Makefile (distribute): Add tst-initorder2.c.
57891         (tests): Add tst-initorder2.
57892         (modules-names): Add tst-initorder2a tst-initorder2b
57893         tst-initorder2c tst-initorder2d.  Add rules to build them.
57894         ($(objpfx)tst-initorder2.out): New rule.
57895         * elf/tst-initorder2.c: New file.
57896         * elf/tst-initorder2.exp: New file.
57898 2011-08-22  Andreas Schwab  <schwab@redhat.com>
57900         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
57902         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
57903         dependencies back to end of function.
57905         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57906         $(elfobjdir)/ld.so.
57908 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
57910         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
57911         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
57912         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
57913         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
57914         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
57915         of __vdso_gettimeofday.
57916         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
57917         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
57918         attribute_hidden.
57919         (_libc_vdso_platform_setup): Remove initialization of
57920         __vdso_gettimeofday and __vdso_time.
57922 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
57924         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
57925         and fgetc_unlocked.
57926         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
57927         getc_unlocked.
57929         * elf/dl-open.c (add_to_global): Report additions to the global scope
57930         for LD_DEBUG=scopes.
57931         (dl_open_worker): Also print scope of newly loaded dependencies.
57932         (_dl_show_scope): Indicate if there is no scope.
57934         [BZ #13114]
57935         * stdio-common/Makefile (tests): Add bug24.
57936         * stdio-common/bug24.c: New file.
57938 2011-08-19  Andreas Jaeger  <aj@suse.de>
57940         [BZ #13114]
57941         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
57942         non-existant file when using close-on-exec mode.
57944 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
57946         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
57947         the very first instruction.
57949         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
57950         the CFI state in the end.
57951         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
57952         inclusion of dl-trampoline.h.
57953         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
57955 2011-08-19  Andreas Schwab  <schwab@redhat.com>
57957         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
57958         expectations for long double.
57960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
57961         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
57963 2011-08-14  David S. Miller  <davem@davemloft.net>
57965         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
57966         artificual limit depends upon the system page size.
57968 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
57970         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
57971         * resolv/Makefile: Define CFLAGS-libresolv.
57973 2011-08-17  Andreas Schwab  <schwab@redhat.com>
57975         * nss/makedb.c (compute_tables): Make variables used in nested
57976         function static.
57978 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
57980         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
57981         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
57982         if buffer was too small.
57984         * elf/pldd.c (main): Attach to all threads in the process.
57985         Rewrite /proc handling to use *at functions.
57987 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
57989         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
57990         specifies first scope to show.
57991         (dl_open_worker): Update callers.  Move printing scope of new
57992         object to before the relocation.
57993         * elf/rtld.c (dl_main): Update _dl_show_scope call.
57994         * sysdeps/generic/ldsodefs.h: Update declaration.
57996         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
57997         string for the scope number.
57999 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
58001         * nscd/servicescache.c (cache_addserv): Make sure written is always
58002         initialized.
58004 2011-08-14  Roland McGrath  <roland@hack.frob.com>
58006         * sysdeps/i386/i486/bits/atomic.h
58007         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
58008         statement expression, so as to suppress "set but not used" warning.
58009         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
58011         * string/strncat.c (STRNCAT): Use prototype definition.
58013         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
58014         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
58015         -Iprograms here.
58016         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
58017         (localedef-modules): Add localedef.
58018         (locale-modules): Add locale.
58020         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
58021         * elf/rtld.c (dl_main): Invert order of assignment in last change,
58022         to avoid a warning.
58024 2011-08-14  David S. Miller  <davem@davemloft.net>
58026         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
58027         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
58029 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
58031         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
58032         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
58033         * elf/rtld.c (dl_main): Set l_name of vDSO.
58034         Call _dl_show_scope when DL_DEBUG_SCOPES.
58035         (process_dl_debug): Recognize scopes flag and also set it for all.
58036         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
58037         Declare _dl_show_scope.
58039         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
58040         (do_dlopen): Pass caller_dlopen to dl_open.
58041         (__libc_dlopen_mode): Initialize caller_dlopen.
58043         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
58044         of libc.  Make tolower call locale-independent.  Optimize a bit by
58045         using isdigit instead of isalnum.
58046         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
58048 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
58050         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
58051         was a dependency or dynamically loaded.
58053 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
58055         * intl/l10nflist.c: Allow architecture-specific pop function.
58056         * sysdeps/x86_64/l10nflist.c: New file.
58058         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
58059         classification.
58061 2011-08-10  Andreas Schwab  <schwab@redhat.com>
58063         * include/dirent.h: Add libc_hidden_proto for scandirat and
58064         scandirat64.  Don't declare __scandirat64.
58065         * dirent/scandirat.c: Add libc_hidden_def.
58066         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
58067         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
58069 2011-08-10  David S. Miller  <davem@davemloft.net>
58071         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
58072         enum.
58073         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58074         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58075         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58077 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
58079         * Versions.def [libc]: Add GLIBC_2.15.
58080         * dirent/Makefile (routines): Add scandirat and scandirat64.
58081         * dirent/Versions [libc]: Export scandirat and scandirat64 for
58082         GLIBC_2.15.
58083         * dirent/dirent.h: Declare scandirat and scandirat64.
58084         * dirent/scandirat.c: New file.
58085         * dirent/scandirat64.c: New file.
58086         * sysdeps/wordsize-64/scandirat.c: New file.
58087         * sysdeps/wordsize-64/scandirat64.c: New file.
58088         * dirent/opendir.c: Define opendirat.
58089         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
58090         using scandirat.
58091         * dirent/scandir64.c: Adjust for scandir.c change.
58092         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
58093         __scandirat64, and __scandir_cancel_handler.
58094         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
58095         additional parameter and use openat instead of open (outside of ld.so).
58096         Add new __opendir as wrapper around __opendirat.
58097         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
58098         here without requiring old scandirat implementation.
58100 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
58102         * dirent/scandir.c (cancel_handler): Renamed to
58103         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
58104         defined.  Adjust users.
58105         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
58106         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
58108 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
58110         * string/test-string.h (IMPL): Use __STRING to expand name and then
58111         stringify it.
58113         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
58114         of cleanups.
58116 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58118         * string/Makefile: Update.
58119         (strop-tests): Append strncat.
58120         * string/test-wcscmp.c: New file.
58121         New comprehensive test for wcscmp.
58122         * string/test-strcmp.c: Update.
58123         (WIDE): New define.
58125 2011-07-22  Andreas Schwab  <schwab@redhat.com>
58127         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
58128         line.
58130 2011-07-26  Andreas Schwab  <schwab@redhat.com>
58132         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
58133         encoding to ACE if AI_IDN.
58135 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
58137         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
58138         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
58140 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58142         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
58143         Fix overflow bug in strncat.
58144         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
58146         * string/test-strncat.c: Update.
58147         Add new tests for checking overflow bugs.
58149 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58151         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58152         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
58153         * sysdeps/i386/i686/multiarch/strcat.S: New file.
58154         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
58155         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
58156         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
58157         * sysdeps/i386/i686/multiarch/strncat.S: New file.
58158         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
58159         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
58161         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
58162         (USE_AS_STRCAT): Define.
58163         Add strcat and strncat support.
58164         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
58166 2011-07-25  Andreas Schwab  <schwab@redhat.com>
58168         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
58169         __n bigger than INT_MAX+1.
58170         (__strncmp_g): Likewise.
58172 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
58174         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
58175         * libio/stido.h: Likewise.
58177         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
58178         (AF_NFC): Define.
58179         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
58180         (AF_NFC): Define.
58182         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
58183         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58184         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58185         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
58186         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58188         [BZ #13021]
58189         * scripts/test-installation.pl: Don't expect libnss_test1 to be
58190         installed.
58192         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
58193         typo.
58194         (_dl_x86_64_save_sse): Likewise.
58196 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
58198         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
58199         OSXSAVE.
58200         (_dl_x86_64_save_sse): Likewise.
58202         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
58204         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
58206 2011-07-21  Andreas Schwab  <schwab@redhat.com>
58208         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
58209         change.
58210         (_dl_x86_64_save_sse): Use correct AVX check.
58212 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58214         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
58215         bug in strncpy/strncat.
58216         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
58218 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
58220         * string/tester.c (test_strcat): Add tests for different alignments
58221         of source and destination.
58222         (test_strncat): Likewise.
58224 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
58226         [BZ #12852]
58227         * posix/glob.c (glob): Check passed in values before using them in
58228         expressions to avoid some overflows.
58229         (glob_in_dir): Likewise.
58231         [BZ #13007]
58232         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
58233         check for AVX enablement so that we don't crash with old kernels and
58234         new hardware.
58235         * elf/tst-audit4.c: Add same checks here.
58236         * elf/tst-audit6.c: Likewise.
58238         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
58240 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
58242         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
58244 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
58246         * po/cs.po: Update from translation team.
58247         * po/bg.po: Likewise.
58249 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
58251         * misc/sys/cdefs.h: Add support for const attribute.
58252         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
58253         to gnu_dev_{major,minor,makedev} functions.
58255 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
58257         * intl/dcigettext.c (get_output_charset): Add missing bracket.
58259 2011-07-20  Andreas Schwab  <schwab@redhat.com>
58261         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
58262         strlen results.
58264 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58266         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
58267         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
58268         register in order to avoid conflicts with the soft frame pointer
58269         being held in r11 when necessary.
58270         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
58271         (INTERNAL_VSYSCALL_NCS): Likewise.
58273 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
58275         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
58276         * elf/dl-fini.c (_dl_fini): Adjust caller.
58277         * elf/dl-close.c (_dl_close_worker): Likewise.
58278         * sysdeps/generic/ldsodefs.h: Adjust declaration.
58280 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
58282         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
58283         "aux_cache->nlibs < 0".
58285         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
58286         in the reload-count case.
58288 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58290         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58291         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
58292         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
58293         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
58294         * sysdeps/x86_64/multiarch/strcat.S: New file.
58295         * sysdeps/x86_64/multiarch/strncat.S: New file.
58296         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
58297         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
58298         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
58299         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
58300         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
58301         (USE_AS_STRCAT): Define.
58302         Add strcat and strncat support.
58303         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
58304         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
58305         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
58306         * string/strncat.c: Update.
58307         (USE_AS_STRNCAT): Define.
58308         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58309         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
58310         and i7.
58311         * sysdeps/x86_64/multiarch/init-arch.h
58312         (bit_Prefer_PMINUB_for_stringop): New.
58313         (index_Prefer_PMINUB_for_stringop): Likewise.
58314         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
58315         bit_Prefer_PMINUB_for_stringop.
58317 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
58319         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
58320         buffer64.
58321         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
58322         of casting of buffer.
58323         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
58324         buffer32 and buffer64.
58325         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
58326         writes instead of casting of buffer.
58327         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
58328         buffer32.
58329         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
58330         casting of buffer.
58332 2011-07-19  Andreas Schwab  <schwab@redhat.com>
58334         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
58336 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
58338         * nscd/nscd.c (termination_handler): Don't do anything for a database
58339         if it has not yet been initialized.
58341 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
58343         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
58345 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
58347         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
58349 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
58351         * po/nl.po: Update from translation team.
58352         * po/sv.po: Likewise.
58354 2011-07-16  Roland McGrath  <roland@hack.frob.com>
58356         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
58357         now disallowed by GCC.
58359         * configure.in (use-default-link): Default to yes if a test -shared
58360         link meets our qualifications.
58361         * configure: Regenerated.
58363         * config.make.in (output-format): New variable.
58364         * configure.in: Check for ld --print-output-format support.
58365         * configure: Regenerated.
58366         * Makerules ($(common-objpfx)format.lds)
58367         [$(output-format) != unknown]: Just use $(output-format),
58368         instead of the linker-script munging.
58370 2011-07-14  Roland McGrath  <roland@hack.frob.com>
58372         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
58373         of $(common-objpfx)shlib.lds.
58374         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
58376         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
58377         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
58379         * configure.in (-z relro check): Adjust test code to add a large
58380         writable data section after it.
58381         * configure: Regenerated.
58383 2011-07-11  Roland McGrath  <roland@hack.frob.com>
58385         * configure.in (-z relro check): Fix test code to make the variable
58386         truly const.
58387         * configure: Regenerated.
58389 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
58391         * nscd/nscd.h (struct traced_file): Define.
58392         (struct database_dyn): Remove inotify_descr, reset_res, and filename
58393         elements.  Add traced_files.
58394         (inotify_fd): Declare.
58395         (register_traced_file): Declare.
58396         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
58397         (inotify_fd): Export.
58398         (resolv_conf_descr): Remove.
58399         (nscd_init): Move inotify descriptor creation to main.
58400         Don't register files for notification here.
58401         (register_traced_file): New function.
58402         (invalidate_cache): Don't use reset_res to determine whether to call
58403         res_init, go through the list of registered files.
58404         (main_loop_poll): The inotify descriptors are now stored in the
58405         structures for the traced files.
58406         (main_loop_epoll): Likewise
58407         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
58408         to __nss_disable_nscd.
58409         * nscd/cache.c (prune_cache): There is no single inotify descriptor
58410         for a database anymore.  Check the records for all the registered
58411         files instead.
58412         * nss/Makefile (libnss_files-routines): Add files-init.
58413         (libnss_db-routines): Add db-init.
58414         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
58415         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
58416         * nss/nss_db/db-init.c: New file.
58417         * nss/nss_files/files-init.c: New file.
58418         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
58419         __nss_lookup_function.
58420         (__nss_lookup_function): Call nss_load_library.
58421         (nss_load_all_libraries): New function.
58422         (__nss_disable_nscd): Take parameter with callback function for files
58423         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
58424         used for the cached services.
58425         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
58426         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
58427         options for features to all the files in nscd.
58429         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
58431 2011-07-10  Roland McGrath  <roland@hack.frob.com>
58433         * csu/elf-init.c (__libc_csu_init): Comment typo.
58435 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
58437         * po/pl.po: Update from translation team.
58438         * po/ja.po: Likewise.
58439         * po/ru.po: Likewise.
58440         * po/ko.po: Likewise.
58441         * po/fr.po: Likewise.
58443 2011-07-09  Roland McGrath  <roland@hack.frob.com>
58445         * configure.in (.ctors/.dtors header and trailer check):
58446         Use an empirical test on a built program.
58447         * configure: Regenerated.
58449         * configure.in (-z relro check): Use an empirical test on a built DSO.
58450         Detect, but do not require, on ia64.
58451         * configure: Regenerated.
58453         * configure.in (READELF): Find it with AC_CHECK_TOOL.
58454         Update tests that use readelf to use $READELF instead.
58455         * configure: Regenerated.
58457 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
58459         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
58460         if the result is not used.
58462 2011-07-05  Andreas Jaeger  <aj@suse.de>
58464         [BZ#9696]
58465         * stdlib/tst-strtod.c: Add testcase.
58467 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
58469         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
58470         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
58471         The latter has a higher limit.  Take additional parameter to pass to
58472         the new function.
58473         (__pathconf): Pass file to __statfs_link_max.
58474         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
58475         __statfs_link_max.
58476         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
58477         __statfs_link_max.
58479         [BZ #12868]
58480         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
58481         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58482         Handle Lustre.
58483         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
58484         (__statfs_filesize_max): Likewise.
58485         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
58487 2011-07-05  Andreas Jaeger  <aj@suse.de>
58489         * resolv/res_comp.c (dn_skipname): Remove unused variable.
58491 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
58493         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
58494         `status' variable.
58495         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
58496         Likewise.
58498 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
58500         * Makefile (strop-tests): Add strncat.
58501         * string/test-strncat.c: New file.
58503 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
58505         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
58507 2011-06-21  Andreas Jaeger  <aj@suse.de>
58509         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
58510         Copy rule from iconvdata/Makefile.
58512 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
58514         [BZ #12922]
58515         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
58516         but no long options are defined, just return 'W'.
58518 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
58520         [BZ #9696]
58521         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
58523 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
58525         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
58526         netgroups to read.
58527         (innetgr): Likewise.
58529 2011-07-05  Roland McGrath  <roland@hack.frob.com>
58531         * config.make.in (install_root): Default to $(DESTDIR).
58533 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
58535         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
58537 2011-07-02  Roland McGrath  <roland@hack.frob.com>
58539         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
58541         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
58542         containing directory rather than embedding absolute directory names.
58544         * scripts/check-local-headers.sh: Rewritten using awk.
58545         Match by word, not by line.  Print error messages for matches.
58546         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
58548         * Makerules [shlib-lds-flags empty]:
58549         ($(common-objpfx)libc_pic.opts): New target.
58550         ($(common-objpfx)libc_pic.os.clean): New target.
58551         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
58553         * config.make.in (OBJCOPY): New variable.
58554         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
58555         * configure: Regenerated.
58557         * config.make.in (use-default-link): New variable.
58558         * configure.in (use_default_link): Grok --with-default-link to set it.
58559         * configure: Regenerated.
58560         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
58561         (shlib-lds, shlib-lds-flags): Define to empty.
58563         * Makerules (shlib-lds): New variable.
58564         (shlib-lds-flags): New variable.
58565         (build-shlib, build-moduile, build-module-asneeded): Use it.
58566         ($(common-objpfx)libc.so): Use $(shlib-lds).
58567         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
58568         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
58570         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
58571         DT_FLAGS/DT_FLAGS_1 with zero flags.
58573         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
58574         linker script munging.
58576 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
58578         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
58579         as 128-bit value.
58580         * crypt/sha512.c (sha512_process_block): Perform total addition using
58581         128-bit if possible.
58582         (__sha512_finish_ctx): Likewise.
58583         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
58584         as 64-bit value.
58585         * crypt/sha256.c (SWAP64): Define.
58586         (sha256_process_block): Perform total addition using 64-bit if
58587         possible.
58588         (__sha256_finish_ctx): Likewise.
58590 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
58592         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
58593         * nscd/initgrcache.c (addinitgroupsX): Likewise.
58594         * nscd/hstcache.c (cache_addhst): Likewise.
58595         * nscd/grpcache.c (cache_addgr): Likewise.
58596         * nscd/aicache.c (addhstaiX): Likewise
58597         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
58599 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
58601         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
58602         * nscd/initgrcache.c (addinitgroupsX): Likewise.
58603         * nscd/hstcache.c (cache_addhst): Likewise.
58604         * nscd/grpcache.c (cache_addgr): Likewise.
58605         * nscd/aicache.c (addhstaiX): Likewise
58607 2011-07-01  Andreas Schwab  <schwab@redhat.com>
58609         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
58610         domain only when needed.
58612 2011-06-30  Andreas Schwab  <schwab@redhat.com>
58614         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
58615         is always restored.
58617 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
58619         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
58620         are re-adding the entry.
58621         * nscd/servicescache.c (cache_addserv): Likewise.
58623 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
58625         * sysdeps/generic/dl-irel.h: fix protection against multiple
58626         inclusions.
58627         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
58629 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
58631         [BZ #12935]
58632         * malloc/memusage.sh: Fix quoting in message.
58633         * debug/xtrace.sh: Likewise.
58635         * configure.in: Remove support for --experimental-malloc option, make
58636         it the default.
58637         * config.make.in: Likewise.
58638         * malloc/Makefile: Likewise.
58640 2011-06-27  Andreas Schwab  <schwab@redhat.com>
58642         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
58643         two-byte characters.
58645 2011-06-27  Roland McGrath  <roland@hack.frob.com>
58647         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
58648         AC_CACHE_CHECK invocation.
58649         * configure: Regenerated.
58651         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
58653 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
58655         [BZ #12350]
58656         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
58657         bit from old_res_options.
58659         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
58661         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
58662         value type for setfct.
58664 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
58666         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
58667         __gettimeofday instead of gettimeofday.
58669 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
58671         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
58673 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
58675         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
58677         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
58678         info.
58680 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
58682         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58683         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
58684         strcpy-sse2-unaligned strncpy-sse2-unaligned
58685         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
58686         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
58687         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
58688         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
58689         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
58690         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
58691         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
58692         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
58693         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
58694         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
58695         (STRCPY): Support SSE2 and SSSE3 versions.
58697 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
58699         [BZ #12874]
58700         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
58701         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
58702         kernels which artificially limit size of requests.
58704 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
58706         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58707         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
58708         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
58709         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
58710         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
58711         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
58712         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
58713         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
58714         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
58715         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
58716         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
58717         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
58718         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
58719         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
58720         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
58721         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58722         Enable unaligned load optimization for Intel Core i3, i5 and i7
58723         processors.
58724         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
58725         Define.
58726         (index_Fast_Unaligned_Load): Define.
58727         (HAS_FAST_UNALIGNED_LOAD): Define.
58729 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
58731         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
58733 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
58735         [BZ #12907]
58736         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
58737         until it is clear that the information is realy needed.
58738         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
58740 2011-06-22  Andreas Schwab  <schwab@redhat.com>
58742         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
58744 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
58746         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
58747         /sys/devices/system/cpu/online if it is usable.
58749         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
58750         reading the information from the /proc filesystem to once a second.
58752 2011-06-21  Andreas Jaeger  <aj@suse.de>
58754         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
58755         NULL after inclusion of kernel headers.
58757 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
58759         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
58760         calls to internal_setent.
58762         [BZ #12885]
58763         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
58764         addresses using gethostbyname4_r ignore IPv4 addresses.
58766         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
58767         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
58769         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
58771 2011-06-20  David S. Miller  <davem@davemloft.net>
58773         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
58774         inclusions.
58775         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
58777         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
58778         (elf_irel): Use it.
58779         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
58780         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
58781         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
58782         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
58783         * sysdeps/x86_64/dl-irel.h: Likewise.
58785         * elf/dl-runtime.c: Use elf_ifunc_invoke.
58786         * elf/dl-sym.c: Likewise.
58788 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
58790         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
58791         need to dereference resplen2.
58793 2011-06-14  Andreas Schwab  <schwab@redhat.com>
58795         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
58797 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
58799         * Makeconfig: Define vardbdir and inst_vardbdir.
58800         * nss/Makefile: Add rules to install db-Makefile.
58802         * nss/nss_db/db-XXX.c: Cleanup.
58804         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
58805         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
58806         GLIBC_PRIVATE.
58807         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
58808         * nss/makedb.c: Implement -g option to specify that value strings
58809         are generated and should not be added to table iterated over for
58810         get*ent calls.
58811         * nss/nss_db/db-initgroups.c: New file.
58813         * nss/getent.c: Add support for initgroups lookups through getgrouplist
58814         interface.
58816         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
58817         (internal_getgrouplist): Adjust to name change.
58818         Update use_initgroups_entry if this is not the first call.
58819         * nss/databases.def: Add initgroups entry.
58821         * nss/makedb.c (compute_tables): Check result of multiple hash table
58822         sizes to minimize maximum chain length.
58824 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
58826         * Versions.def: Add entry for libnss_db.
58827         * shlib-versions: Likewise.
58828         * nss/Makefile: Add rules to build libnss_db.
58829         * nss/Versions: Add libnss_db information.  Organize libnss_files
58830         entries better.
58831         * nss/db-Makefile: Add gshadow support.  Change rules for the new
58832         makedb progra.  Some minor improvements to generate smaller files.
58833         * nss/nss_db/nss_db.h: Move NSS database header data structures to
58834         here from...
58835         * nss/makedb.c: ...here.
58836         Improve database format to be smaller and require less memory at
58837         runtime.
58838         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
58839         db anymore.
58840         * nss/nss_db/db-netgrp.c: Likewise.
58841         * nss/nss_db/db-open.c: Likewise.
58842         * nss/nss_files/flies-XXX.x: Adjust comments.
58843         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
58844         * nss/nss_files/files-grp.c: Likewise.
58845         * nss/nss_files/files-hosts.c: Likewise.
58846         * nss/nss_files/files-network.c: Likewise.
58847         * nss/nss_files/files-proto.c: Likewise.
58848         * nss/nss_files/files-pwd.c: Likewise.
58849         * nss/nss_files/files-rpc.c: Likewise.
58850         * nss/nss_files/files-service.c: Likewise.
58851         * nss/nss_files/files-sgrp.c: Likewise.
58852         * nss/nss_files/files-spwd.c: Likewise.
58853         * nss/nss_db/db-alias.c: Removed.
58854         * nss/nss_db/dummy-db.h: Removed.
58856 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
58858         * nss/makedb.c: Rewritten to not use database library.
58859         * nss/Makefile: Update to build new makedb program.
58861 2011-06-14  Andreas Jaeger  <aj@suse.de>
58863         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
58864         memset declaration.
58866 2011-06-10  Andreas Schwab  <schwab@redhat.com>
58868         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
58869         tmpbuf.
58871 2011-06-10  Roland McGrath  <roland@hack.frob.com>
58873         * Makerules (shlib.lds): Fail if the linker script comes out empty.
58874         * elf/Makefile ($(objpfx)ld.so): Likewise.
58876         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
58877         Don't list ld.so twice in dependencies.
58879         * posix/bug-regex31.c: Include <stdlib.h>.
58881         * nscd/hstcache.c (cache_addhst): Remove unused variable.
58883         * nis/nss_compat/compat-spwd.c
58884         (getspent_next_nss_netgr): Remove unused variable.
58885         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
58887         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
58888         nonmembers" output to use the right array.
58890         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
58892         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
58894         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
58895         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
58896         * catgets/gencat.c (read_input_file): Likewise.
58897         * locale/programs/locarchive.c (enlarge_archive): Likewise.
58899         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
58900         variable definition inside #if's controlling its use.
58902         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
58904         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
58906         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
58908         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
58909         unreachable code.
58911         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
58913         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
58914         * configure: Regenerated.
58916         * Makerules: Revert last change.
58917         * elf/Makefile: Likewise.
58919 2011-06-09  Roland McGrath  <roland@hack.frob.com>
58921         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
58922         * elf/Makefile ($(objpfx)librtld.os): Likewise.
58923         (reloc-link): Likewise.
58925 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
58927         * elf/Makefile: Add rules to build pldd.
58928         * elf/pldd.c: New file.
58929         * elf/pldd-xx.c: New file.
58931 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
58933         * version.h: Update for 2.15 development version.
58935 2011-06-07  David S. Miller  <davem@davemloft.net>
58937         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
58938         ifuncs.
58939         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
58940         elf_machine_lazy_rel): Likewise.
58941         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
58942         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
58943         elf_machine_lazy_rel): Likewise.
58944         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
58945         dl_hwcap via passed in argument.
58946         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
58947         Likewise.
58949 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58951         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
58953 2011-06-06  Roland McGrath  <roland@hack.frob.com>
58955         [BZ #12849]
58956         * manual/fdl-1.1.texi: New file, verbatim from:
58957         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
58958         * manual/lgpl-2.1.texi: New file, verbatim from:
58959         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
58960         * manual/Makefile (licenses): New variable, list those new file names.
58961         (texis): Use it.
58962         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
58964         * manual/fdl.texi: File removed.
58965         * manual/lesser.texi: File removed.
58966         * manual/libc.texinfo (Copying, Documentation License):
58967         Use new @include file names, put @appendix directive before @include.
58969 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
58971         [BZ #12841]
58972         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
58973         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
58974         (mq_open): Add __NTH.
58976 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
58978         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58979         Assume Intel Core i3/i5/i7 processor if AVX is available.
58981 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
58983         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
58984         typo.
58986 2011-05-31  Andreas Schwab  <schwab@redhat.com>
58988         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
58989         memory.  Use alloca_account.  Fix memory leak when retrying.
58991 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
58993         * version.h (RELEASE): Bump for 2.14 release.
58994         * include/features.h (__GLIBC_MINOR__): Bump to 14.
58996         * config.make.in (RANLIB): Remove entry.
58998 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
59000         * po/Makefile (po-sed-cmd): Add ksh to extensions.
59001         (libc.pot): Work around missing support for .ksh extension in xgettext.
59003         [BZ #12684]
59004         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
59005         if both request failed.
59006         (send_dg): In case of server errors clear resplen or *resplen2.
59008         [BZ #12454]
59009         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
59010         when there are multiple maps.
59011         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
59012         (_dl_fini): Remove test here.
59014         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
59016 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
59018         [BZ #12350]
59019         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
59020         bit from old_res_options.
59021         (gaih_inet): Likewise.
59023         [BZ #11099]
59024         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
59025         as signed.
59027         * resolv/res_init.c (res_setoptions): Make the code more compact.
59029         [BZ #11558]
59030         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
59031         set RES_USEVC.
59033         [BZ #11634]
59034         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
59036         * malloc/malloc.h: Mark malloc hook variables as deprecated.
59038         [BZ #11781]
59039         * malloc/malloc.h: Declare malloc hook variables as volatile.
59041         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
59042         in last patch.
59044         [BZ #11799]
59045         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
59046         raise in the comment.
59047         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
59048         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
59049         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
59051 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
59053         [BZ #12811]
59054         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
59055         grow the buffers more if it already has to be sufficient.
59056         (build_wcs_upper_buffer): Likewise.
59057         * posix/regexec.c (check_matching): Likewise.
59058         (clean_state_log_if_needed): Likewise.
59059         (extend_buffers): Don't enlarge buffers beyond size of the input
59060         buffer.
59061         Patches mostly by Emil Wojak <emil@wojak.eu>.
59062         * posix/bug-regex32.c: New file.
59063         * posix/Makefile (tests): Add bug-regex32.
59065         * locale/findlocale.c (_nl_find_locale): Return right away if
59066         _nl_explode_name failed.
59067         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
59069         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
59071         * debug/xtrace.sh: Unify messages.
59072         * malloc/memusage.sh: Likewise.
59074         [BZ #12813]
59075         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
59076         time symbol from vDSO.  Substitute with vsyscall if not available.
59077         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
59078         __vdso_time.
59080         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
59081         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
59082         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
59083         Add sendmmsg and internal_sendmmsg.
59084         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
59085         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
59086         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
59088         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
59089         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
59090         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
59092 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
59094         [BZ #12813]
59095         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
59096         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
59097         available.
59098         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
59099         __vdso_getcpu.
59101         [BZ #12814]
59102         * iconvdata/Makefile (tests): Add bug-iconv9.
59103         * iconvdata/bug-iconv9.c: New file.
59105 2011-05-27  Andreas Schwab  <schwab@redhat.com>
59107         [BZ #12814]
59108         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
59110 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
59112         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
59113         (struct user_regs_struct): Change intcs field back to cs.
59115 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
59117         * po/ja.po: Update from translation team.
59119 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
59121         [BZ #12795]
59122         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
59123         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
59125 2011-05-20  Andreas Schwab  <schwab@redhat.com>
59127         * stdlib/longlong.h: Update from GCC.
59129 2011-05-23  Andreas Schwab  <schwab@redhat.com>
59131         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
59132         parameter name.
59133         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
59134         Add parameter name.
59135         (__sysconf): Pass it down.
59137 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
59139         [BZ #12671]
59140         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
59141         some situations.
59142         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
59143         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
59144         add in in __libc_use_alloca calls.  Adjust callers.
59145         (glob): Use malloc in some situations.
59147         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
59148         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
59149         pltexit.
59151 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
59153         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
59154         and CLOCK_BOOTTIME_ALARM.
59156         [BZ #12782]
59157         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
59158         is returned.
59160         * string/_strerror.c (__strerror_r): Print negative errors as signed
59161         numbers.
59163         [BZ #12777]
59164         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
59165         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
59166         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
59168         * configure.in: Fix typo in redirection and correct removal of test
59169         files in two cases.
59171         [BZ #12788]
59172         * locale/setlocale.c (new_composite_name): Fix test to check for
59173         identical name of all categories.
59175         [BZ #12792]
59176         * libio/filedoalloc.c (local_isatty): New function.
59177         (_IO_file_doallocate): Use local_isatty.
59178         * stdio-common/perror.c (perror): In case a new stream is used
59179         forward the stream error.
59180         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
59181         error flag.
59183 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
59185         [BZ #11869]
59186         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
59187         alloca.
59188         * include/alloca.h (extend_alloca_account): Define.
59190         [BZ #11857]
59191         * posix/regex.h: Fix comments with documentation of user-accessible
59192         fields after compilation and describe correct free'ing of pattern
59193         after re_compile_pattern.
59194         Patch by Reuben Thomas <rrt@sc3d.org>.
59196 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
59198         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
59199         and -mno-altivec to prevent the compiler from using Altivec and/or
59200         VSX instructions when the corresponding registers are not available.
59202 2011-05-19  Andreas Schwab  <schwab@redhat.com>
59204         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
59206 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
59208         * libio/freopen.c (freopen): Use __dup2, not dup2.
59209         * libio/freopen64.c (freopen64): Likewise.
59211 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
59213         [BZ #12775]
59214         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
59215         * math/Makefile (tests): Add test-powl.
59216         (CFLAGS-test-powl.c): Define.
59217         * math/test-powl.c: New file.
59219 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59221         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
59223 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
59225         [BZ #11837]
59226         * iconvdata/gb18030.c: Update to GB18020-2005.
59228 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
59230         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
59231         RE_SYNTAX_POSIX_AWK): Update to match recent development.
59232         Patch by Aharon Robbins <arnold@skeeve.com>.
59234         [BZ #11892]
59235         * stdlib/putenv.c (putenv): Don't always create copy of the variable
59236         on the stack.
59238         [BZ #11895]
59239         * misc/pselect.c (__pselect): Handle timeout value errors hidden
59240         through underflows.
59242         [BZ #12766]
59243         * misc/error.c (error_at_line): Ensure file_name and old_file_name
59244         point to strings before performing equality test for error_one_per_line
59245         mode.
59247         [BZ #11697]
59248         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
59250         [BZ #11820]
59251         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
59252         (struct user_fpregs_struct): Avoid __uint*_t types.
59254         [BZ #6420]
59255         * malloc/mtrace.c (tr_where): Add additional parameter to point to
59256         symbol info.  Use it instead of calling _dl_addr locally.
59257         (lock_and_info): New function.
59258         (tr_freehook): Call lock_and_info and pass symbol info as additional
59259         parameter to tr_where.
59260         (tr_mallochook): Likewise.
59261         (tr_reallochook): Likewise.
59262         (tr_memalignhook): Likewise.
59264         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
59265         used and couldn't be at all thread-safe.
59267 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
59269         * libio/freopen.c (freopen): Don't close old file descriptor
59270         before the new one is opened.  Instead dup the new file descriptor
59271         to the old one after the new stream is created.
59272         * libio/freopen64.c (freopen64): Likewise.
59273         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
59274         * libio/fileops.c (_IO_new_file_close_it): Handle new
59275         _IO_FLAGS2_NOCLOSE flag.
59276         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
59277         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
59278         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
59279         _IO_FLAGS2_NOCLOSE flag.
59280         * include/unistd.h: Add hidden_proto for dup3.
59281         Define __have_dup3.
59282         * io/dup3.c: Define hidden symbol.
59283         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
59285         [BZ #7101]
59286         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
59287         when an incomplete long option is used.
59288         * posix/tst-getopt_long1.c: New file.
59289         * posix/Makefile (tests): Add tst-getopt_long1.
59291         [BZ #10138]
59292         * scripts/config.guess: Update from autoconf-2.68.
59293         * scripts/config.sub: Likewise.
59295         [BZ #10157]
59296         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
59297         tests into ...
59298         (has_cpuclock): ...this.  New function.
59299         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
59300         macro here based on has_cpuclock code.
59302         [BZ #10149]
59303         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59304         First byte (not low byte) is now always NUL.
59305         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
59307         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59308         Use non-cancelable interfaces.
59310         [BZ #9809]
59311         * locale/iso-639.def: Add entry for Sorani.
59313         [BZ #11901]
59314         * include/stdlib.h: Move include protection to the right place.
59315         Define abort_msg_s.  Declare __abort_msg with it.
59316         * stdlib/abort.c (__abort_msg): Adjust type.
59317         * assert/assert.c (__assert_fail_base): New function.  Majority
59318         of code from __assert_fail.  Allocate memory for __abort_msg with
59319         mmap.
59320         (__assert_fail): Now call __assert_fail_base.
59321         * assert/assert-perr.c: Remove bulk of implementation.  Use
59322         __assert_fail_base.
59323         * include/assert.hL Declare __assert_fail_base.
59324         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
59325         mmap.
59326         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
59328 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
59330         [BZ #11952]
59331         [BZ #12453]
59332         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
59333         until all modules are registered in the DTV.
59334         * elf/Makefile: Add rules to build and run tst-tls19.
59335         * elf/tst-tls19.c: New file.
59336         * elf/tst-tls19mod1.c: New file.
59337         * elf/tst-tls19mod2.c: New file.
59338         * elf/tst-tls19mod3.c: New file.
59339         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
59341         [BZ #12083]
59342         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
59343         correctly.
59345         [BZ #12601]
59346         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
59347         two-byte sequence errors.
59348         * iconvdata/Makefile (tests): Add bug-iconv8.
59349         * iconvdata/bug-iconv8.c: New file.
59351         [BZ #12626]
59352         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
59353         buf2 definition.
59355         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
59357         [BZ #12432]
59358         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
59359         (dummy_getcfa): New function.
59360         (init): Get _Unwind_GetCFA address, use dummy if not found.
59361         (backtrace_helper): In recursion check, also check whether CFA changes.
59362         (__backtrace): Completely initialize arg.
59364         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
59365         storing incomplete byte sequence in state object.  Avoid testing for
59366         guaranteed too small input if we know there is enough data available.
59368 2011-05-11  Andreas Schwab  <schwab@redhat.com>
59370         * Makeconfig (+link-pie): Indent.
59371         * Rules (binaries-pie): Define if $(have-fpie) and
59372         $(build-shared).
59373         (binaries-shared): Also filter out $(binaries-pie).
59374         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
59375         * nscd/Makefile (others-pie): Add nscd.
59376         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
59377         ($(objpfx)nscd): Remove command override.
59378         * login/Makefile (others-pie): Add pt_chown.
59379         ($(objpfx)pt_chown): Remove command override.
59380         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
59381         remove command overrides.
59383 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
59385         * libio/tst_putwc.c: Fix error messages.
59387         [BZ #12724]
59388         * libio/fileops.c (_IO_new_file_close_it): Always flush when
59389         currently writing and seek to current position when not.
59390         * libio/Makefile (tests): Add bug-fclose1.
59391         * libio/bug-fclose1.c: New file.
59393 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
59395         [BZ #12511]
59396         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
59397         don't set DF_1_NODELETE here.
59398         (do_lookup_x): When entering new entry test for copy relocation
59399         and if necessary set DF_1_NODELETE flag.
59400         * elf/tst-unique4.cc: New file.
59401         * elf/tst-unique4.h: New file.
59402         * elf/tst-unique4lib.cc: New file.
59403         * elf/Makefile: Add rules to build and run tst-unique4.
59404         Patch by Piotr Bury <pbury@goahead.com>.
59406 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
59408         [BZ #12052]
59409         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
59411         [BZ #12625]
59412         * misc/mntent_r.c (addmntent): Flush the stream after the output
59414         [BZ #12393]
59415         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
59416         (is_trusted_path_normalize): Skip initial colon.  Append slash
59417         to empty buffer.  Duplicate is_trusted_path code but allow
59418         constructed patch to be prefix.
59419         (is_dst): Allow $ORIGIN followed by /.
59420         (_dl_dst_substitute): Correct clearing of check_for_trusted.
59421         Correct testing of result of is_trusted_path_normalize
59422         (decompose_rpath): Fix warning.
59424 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
59426         [BZ #11257]
59427         * grp/initgroups.c (internal_getgrouplist): When we found the service
59428         list through the initgroups entry in nsswitch.conf do not always
59429         continue on a successful lookup.  Don't always use the
59430         __nss_group_database value if it is set.
59431         * nss/nsswitch.conf (initgroups): Change action for successful db
59432         lookup to continue for compatibility.
59434 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
59436         [BZ #11532]
59437         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
59438         and CP774 modules.
59439         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
59440         and CP774 modules.
59441         * iconvdata/tst-tables.sh: Likewise.
59442         * iconvdata/cp770.c: New file.
59443         * iconvdata/cp771.c: New file.
59444         * iconvdata/cp772.c: New file.
59445         * iconvdata/cp773.c: New file.
59446         * iconvdata/cp774.c: New file.
59447         * iconvdata/testdata/CP770: New file.
59448         * iconvdata/testdata/CP770..UTF8: New file.
59449         * iconvdata/testdata/CP771: New file.
59450         * iconvdata/testdata/CP771..UTF8: New file.
59451         * iconvdata/testdata/CP772: New file.
59452         * iconvdata/testdata/CP772..UTF8: New file.
59453         * iconvdata/testdata/CP773: New file.
59454         * iconvdata/testdata/CP773..UTF8: New file.
59455         * iconvdata/testdata/CP774: New file.
59456         * iconvdata/testdata/CP774..UTF8: New file.
59458         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
59459         END CHARMAP line.
59460         * iconvdata/gen-8bit-gap.sh: Likewise.
59461         * iconvdata/gen-8bit.sh: Likewise.
59463         * locale/iso-639.def: Add ary entry.
59465         [BZ #11258]
59466         * locale/C-translit.h.in: Add U20A1 transliteration.
59468         [BZ #12178]
59469         * locale/iso-639.def: Add wae entry.
59470         Patch by Kevin Bortis <bortis@translate-wae.ch>.
59472         [BZ #12545]
59473         * locale/programs/localedef.c (construct_output_path): Use ssize_t
59474         for n.
59476         [BZ #12711]
59477         * locale/C-translit.h.in: Add entry for U20B9.
59478         Patch by pravin.d.s@gmail.com.
59480 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
59482         [BZ #12713]
59483         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
59484         ENAMETOOLONG use generic getcwd.
59485         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
59486         in rtld.  Use *stat64.
59487         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
59488         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
59489         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
59490         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
59491         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
59492         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
59493         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
59494         __fstatat64 macros.
59495         * include/dirent.h: Add libc_hidden_proto for rewinddir.
59496         * dirent/rewinddir.c: Add libc_hidden_def.
59497         * sysdeps/mach/hurd/rewinddir.c: Likewise.
59498         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
59500         * include/dirent.h (__alloc_dir): Add flags parameter.
59501         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
59502         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
59503         __alloc_dir.
59504         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
59505         from fdopendir if O_CLOEXEC is already set.
59507 2011-03-15  Alan Modra  <amodra@gmail.com>
59509         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
59510         l_tls_firstbyte_offset non-zero.  Save padding offset in
59511         l_tls_firstbyte_offset for later use.
59512         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
59513         freeing static tls block.
59515 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
59517         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
59518         where #ifdef was intended.  The intent is to prevent ARG_MAX from
59519         being defined by the kernel headers.
59521 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
59523         [BZ #12734]
59524         * resolv/resolv.h: Define RES_NOTLDQUERY.
59525         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
59526         no-tld-query and set RES_NOTLDQUERY.
59527         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
59528         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
59529         modern BIND to search name as TLD unless forbidden.
59531 2011-05-07  Petr Baudis  <pasky@suse.cz>
59532             Ulrich Drepper  <drepper@gmail.com>
59534         [BZ #12393]
59535         * elf/dl-load.c (fillin_rpath): Move trusted path check...
59536         (is_trusted_path): ...to here.
59537         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
59538         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
59539         using is_trusted_path_normalize() in setuid scripts.
59541 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
59543         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
59544         __BEGIN/__END_DECLS.
59546 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
59548         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
59549         NSS_STATUS_NOTFOUND if no record was found.
59551 2011-05-05  Andreas Schwab  <schwab@redhat.com>
59553         * sunrpc/Makefile (headers): Add rpc/netdb.h.
59554         (headers-not-in-tirpc): Remove rpc/netdb.h
59555         * resolv/netdb.h: Revert last change.
59557 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
59559         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
59560         circular dependency between libgcc.a and libc.a.
59562 2011-05-05  Andreas Schwab  <schwab@redhat.com>
59564         * resolv/netdb.h: Don't include <rpc/netdb.h>.
59565         * nis/Makefile: Don't install rpcsvc/*.
59566         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
59567         instead of <rpc/types.h>.
59568         (MAXHOSTNAMELEN): Define.
59570 2011-05-03  Andreas Schwab  <schwab@redhat.com>
59572         * elf/ldconfig.c (add_dir): Don't crash on empty path.
59574 2011-04-28  Maciej Babinski  <mbabinski@google.com>
59576         [BZ #12714]
59577         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
59578         gethostbyname4_r when IPv6 results are possible.
59580 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
59582         [BZ #12723]
59583         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
59584         _PC_PIPE_BUF handling.
59586 2011-04-30  Bruno Haible  <bruno@clisp.org>
59588         [BZ #12717]
59589         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
59590         * resolv/netdb.h (getnameinfo): Change type of flags parameter
59591         to 'int'.
59592         * inet/getnameinfo.c (getnameinfo): Likewise.
59594 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
59596         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
59597         to groups setting in database lookup.
59598         * nss/nsswitch.conf: Add initgroups entry.
59600 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
59602         [BZ #12685]
59603         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
59604         mode string.
59605         Patch by Eric Blake <eblake@redhat.com>.
59607 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
59609         * sunrpc/Makefile (need-export-routines): Add svc_run.
59610         (routines): Remove svc_run.
59611         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
59612         * sunrpc/clnt_perr.c (clnt_perrno): Export.
59613         * sunrpc/svc_run.c (svc_run): Likewise.
59614         * sunrpc/svc_udp.c (svcudp_create): Likewise.
59616 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
59618         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
59619         problem in reallocation in last patch.
59621 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
59623         * sunrpc/Makefile: Move inclusion of Rules.
59625 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
59627         * nss/nss_files/files-initgroups.c: New file.
59628         * nss/Makefile (libnss_files-routines): Add files-initgroups.
59629         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
59630         _nss_files_initgroups_dyn.
59632 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
59634         * elf/elf.h (R_ARM_IRELATIVE): Define.
59636 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
59638         * po/ru.po: Update from translation team.
59640 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
59642         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
59643         dependencies.
59645 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
59647         [BZ #12653]
59648         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
59649         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
59650         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
59651         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
59652         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
59654 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
59656         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
59657         differing bytes.
59658         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
59659         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
59660         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59662 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
59664         [BZ #12420]
59665         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
59666         storing it.
59667         * stdlib/bug-getcontext.c: New file.
59668         * stdlib/Makefile: Add rules to build and run bug-getcontext.
59670 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59672         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
59673         instructions into .machine "z9-109".
59674         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
59675         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
59677 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59679         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
59680         between environment variables and auxiliary vector.
59682 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
59684         * Makefile: Add rules to build linkobj/libc.so.
59685         * include/libc-symbols.h: Define libc_hidden_nolink.
59686         * include/rpc/auth.h: Mark functions which are to be hidden.
59687         * include/rpc/auth_des.h: Likewise.
59688         * include/rpc/auth_unix.h: Likewise.
59689         * include/rpc/clnt.h: Likewise.
59690         * include/rpc/des_crypt.h: Likewise.
59691         * include/rpc/key_prot.h: Likewise.
59692         * include/rpc/pmap_clnt.h: Likewise.
59693         * include/rpc/pmap_prot.h: Likewise.
59694         * include/rpc/pmap_rmt.h: Likewise.
59695         * include/rpc/rpc_msg.h: Likewise.
59696         * include/rpc/svc.h: Likewise.
59697         * include/rpc/svc_auth.h: Likewise.
59698         * include/rpc/xdr.h: Likewise.
59699         * nis/Makefile: Link all DSOs against linkobj/libc.so.
59700         * nss/Makefile: Likewise.
59701         * sunrpc/Makefile: Don't install headers.  Build library with normal
59702         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
59703         * sunrpc/auth_des.c: Hide exported symbols by default, export some
59704         for the compat linking library.  Remove use of INTDEF/INTUSE.
59705         * sunrpc/auth_none.c: Likewise.
59706         * sunrpc/auth_unix.c: Likewise.
59707         * sunrpc/authdes_prot.c: Likewise.
59708         * sunrpc/authuxprot.c: Likewise.
59709         * sunrpc/clnt_gen.c: Likewise.
59710         * sunrpc/clnt_perr.c: Likewise.
59711         * sunrpc/clnt_raw.c: Likewise.
59712         * sunrpc/clnt_simp.c: Likewise.
59713         * sunrpc/clnt_tcp.c: Likewise.
59714         * sunrpc/clnt_udp.c: Likewise.
59715         * sunrpc/clnt_unix.c: Likewise.
59716         * sunrpc/des_crypt.c: Likewise.
59717         * sunrpc/des_soft.c: Likewise.
59718         * sunrpc/get_myaddr.c: Likewise.
59719         * sunrpc/key_call.c: Likewise.
59720         * sunrpc/key_prot.c: Likewise.
59721         * sunrpc/netname.c: Likewise.
59722         * sunrpc/pm_getmaps.c: Likewise.
59723         * sunrpc/pm_getport.c: Likewise.
59724         * sunrpc/pmap_clnt.c: Likewise.
59725         * sunrpc/pmap_prot.c: Likewise.
59726         * sunrpc/pmap_prot2.c: Likewise.
59727         * sunrpc/pmap_rmt.c: Likewise.
59728         * sunrpc/publickey.c: Likewise.
59729         * sunrpc/rpc_cmsg.c: Likewise.
59730         * sunrpc/rpc_common.c: Likewise.
59731         * sunrpc/rpc_dtable.c: Likewise.
59732         * sunrpc/rpc_prot.c: Likewise.
59733         * sunrpc/rpc_thread.c: Likewise.
59734         * sunrpc/rtime.c: Likewise.
59735         * sunrpc/svc.c: Likewise.
59736         * sunrpc/svc_auth.c: Likewise.
59737         * sunrpc/svc_authux.c: Likewise.
59738         * sunrpc/svc_raw.c: Likewise.
59739         * sunrpc/svc_run.c: Likewise.
59740         * sunrpc/svc_simple.c: Likewise.
59741         * sunrpc/svc_tcp.c: Likewise.
59742         * sunrpc/svc_udp.c: Likewise.
59743         * sunrpc/svc_unix.c: Likewise.
59744         * sunrpc/svcauth_des.c: Likewise.
59745         * sunrpc/xcrypt.c: Likewise.
59746         * sunrpc/xdr.c: Likewise.
59747         * sunrpc/xdr_array.c: Likewise.
59748         * sunrpc/xdr_float.c: Likewise.
59749         * sunrpc/xdr_intXX_t.c: Likewise.
59750         * sunrpc/xdr_mem.c: Likewise.
59751         * sunrpc/xdr_rec.c: Likewise.
59752         * sunrpc/xdr_ref.c: Likewise.
59753         * sunrpc/xdr_sizeof.c: Likewise.
59754         * sunrpc/xdr_stdio.c: Likewise.
59756 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
59758         [BZ #12650]
59759         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
59760         * sysdeps/ia64/dl-tls.h: Likewise.
59761         * sysdeps/powerpc/dl-tls.h: Likewise.
59762         * sysdeps/s390/dl-tls.h: Likewise.
59763         * sysdeps/sh/dl-tls.h: Likewise.
59764         * sysdeps/sparc/dl-tls.h: Likewise.
59765         * sysdeps/x86_64/dl-tls.h: Likewise.
59766         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
59768 2011-03-14  Andreas Schwab  <schwab@redhat.com>
59770         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
59771         rpath element also skip the following colon.
59772         (expand_dynamic_string_token): Add is_path parameter and pass
59773         down to DL_DST_REQUIRED and _dl_dst_substitute.
59774         (decompose_rpath): Call expand_dynamic_string_token with
59775         non-zero is_path.  Ignore empty rpaths.
59776         (_dl_map_object_from_fd): Call expand_dynamic_string_token
59777         with zero is_path.
59779 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
59781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
59782         Make cancelable.
59784 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
59786         [BZ #12655]
59787         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
59788         Patch by Filipe David Manana <fdmanana@apache.org>.
59790 2011-04-07  Andreas Schwab  <schwab@redhat.com>
59792         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
59793         Maintain aligned stack.
59794         (CHECK_RSP): Remove unused macro.
59796 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
59798         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
59799         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
59801 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
59803         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
59805         * include/features.h: Mention __USE_XOPEN2K8 in comment.
59807 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
59809         [BZ #12518]
59810         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
59811         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
59812         * sysdeps/x86_64/memmove.c: New file.
59813         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
59814         (memcpy): Renamed to ...
59815         (__new_memcpy): This.
59816         (memcpy): Provide GLIBC_2_14 memcpy.
59817         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
59818         (memcpy): Provide GLIBC_2_2_5 memcpy.
59820 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
59822         [BZ #12631]
59823         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
59825 2011-03-30  Andreas Schwab  <schwab@redhat.com>
59827         * misc/syncfs.c: New file.
59828         * misc/Makefile (routines): Add syncfs.
59829         * posix/unistd.h: Declare syncfs.
59830         * sysdeps/unix/syscalls.list: Add syncfs.
59832 2011-04-01  Andreas Schwab  <schwab@redhat.com>
59834         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
59835         open_by_handle_at.
59836         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
59837         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59838         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59839         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59840         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59841         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
59842         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59844 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
59846         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
59847         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59848         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
59849         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59850         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59851         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59852         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59854         * io/Makefile: Compile fallocate.c, fallocate64.c, and
59855         sync_file_range.c with -fexceptions.
59856         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
59857         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
59858         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
59859         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
59860         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
59861         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
59862         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
59863         sync_file_range as cancellation point
59864         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
59865         now a wrapper around __call_sync_file_range with cancellation handling.
59866         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
59867         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
59868         function name to __call_sync_file_range.
59869         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
59870         Add call_sync_file_range.
59872 2011-04-01  Andreas Schwab  <schwab@redhat.com>
59874         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59875         bits/timex.h.
59877 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
59879         * iconv/iconv.h: Fix typo in comment.
59880         * io/fcntl.h: Likewise.
59881         * libio/stdio.h: Likewise.
59882         * posix/spawn.h: Likewise.
59883         * posix/unistd.h: Likewise.
59884         * stdlib/stdlib.h: Likewise.
59885         * time/time.h: Likewise.
59886         * wcsmbs/wchar.h: Likewise.
59888         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
59889         open_by_handle): Add.
59890         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
59891         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
59892         Augment a few comments.
59893         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59894         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59895         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59896         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59897         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59898         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
59899         open_by_handle.
59901         * io/fcntl.h (AT_EMPTY_PATH): Define.
59903 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
59905         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
59906         * sysdeps/unix/sysv/linux/bits/time.h: New file.
59907         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
59908         to...
59909         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
59910         * Versions.def: Add GLIBC_2.14.
59911         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
59912         Export.
59914 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
59916         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
59917         round counter.
59918         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
59920 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
59922         [BZ #12597]
59923         * string/test-strncmp.c (do_page_test): New function.
59924         (check2): Likewise.
59925         (test_main): Call check2.
59926         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
59928 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
59930         [BZ #12587]
59931         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
59932         Handle cache information in CPU leaf 4.
59933         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
59935 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
59937         [BZ #12583]
59938         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
59939         character representation.
59940         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
59942 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
59944         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
59945         END(__isnan) to END(__isnanf) to match function entry point/label
59946         EALIGN(__isnanf,...).
59948 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
59950         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
59952 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
59954         [BZ #12510]
59955         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
59956         copy from the symbol referenced in the relocation to initialize the
59957         used variable.
59958         Patch by Piotr Bury <pbury@goahead.com>.
59959         * elf/Makefile: Add rules to build and tst-unique3.
59960         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
59961         * elf/tst-unique3.cc: New file.
59962         * elf/tst-unique3.h: New file.
59963         * elf/tst-unique3lib.cc: New file.
59964         * elf/tst-unique3lib2.cc: New file.
59966         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
59968 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
59970         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
59971         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
59972         to _start.
59974 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
59976         * elf/dl-load.c (_dl_map_object): If we are looking for the first
59977         to-be-loaded object along a path to loader is ld.so.
59979 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
59980             Ulrich Drepper  <drepper@gmail.com>
59982         * sysdeps/x86_64/memset.S: After aligning destination, code
59983         branches to different locations depending on the value of
59984         misalignment, when multiarch is enabled. Fix this.
59986 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
59988         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
59989         Set _x86_64_preferred_memory_instruction for AMD processsors.
59990         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59991         Set bit_Prefer_SSE_for_memop for AMD processors.
59993 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
59995         * libio/fmemopen.c (fmemopen): Optimize a bit.
59997 2011-03-03  Andreas Schwab  <schwab@redhat.com>
59999         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
60001 2011-03-03  Roland McGrath  <roland@redhat.com>
60003         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
60005 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
60007         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
60008         __bzero_ultra1 instead of __memset_ultra1.
60010 2011-02-23  Andreas Schwab  <schwab@redhat.com>
60011             Ulrich Drepper  <drepper@gmail.com>
60013         [BZ #12509]
60014         * include/link.h (struct link_map): Add l_orig_initfini.
60015         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
60016         returning unsuccessfully.
60017         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
60018         close of a file loaded at startup, restore the original l_initfini
60019         list.
60020         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
60021         list, store the pointer.
60022         * elf/Makefile ($(objpfx)noload-mem): New rule.
60023         (noload-ENV): Define.
60024         (tests): Add $(objpfx)noload-mem.
60025         * elf/noload.c: Include <memcheck.h>.
60026         (main): Call mtrace.  Close all opened handles.
60028 2011-02-17  Andreas Schwab  <schwab@redhat.com>
60030         [BZ #12454]
60031         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
60032         dependencies are missing.
60034 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60036         Fix __if_freereq crash: Unlike the generic version which uses free,
60037         Hurd needs munmap.
60038         * sysdeps/mach/hurd/ifreq.h: New file.
60040 2011-01-27  Petr Baudis  <pasky@suse.cz>
60041             Ulrich Drepper  <drepper@gmail.com>
60043         [BZ 12445]#
60044         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
60045         to extend_alloca().
60046         * stdio-common/bug23.c: New file.
60047         * stdio-common/Makefile (tests): Add bug23.
60049 2010-09-28  Andreas Schwab  <schwab@redhat.com>
60050             Ulrich Drepper  <drepper@gmail.com>
60052         [BZ #12489]
60053         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
60054         before performing relro protection.  At old place add assertion
60055         to make sure nothing changed.
60057 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
60058             Glauber de Oliveira Costa  <glommer@gmail.com>
60060         * elf/elf.h: Add new ARM TLS relocs.
60062 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
60064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
60065         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
60066         cast from r3.
60067         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
60068         'tests' variable.
60069         * sysdeps/wordsize-64/tst-writev.c: New file.
60071 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
60073         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
60074         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
60075         insns in _dl_start to prevent a TOC reference before relocs are
60076         resolved.
60078 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
60080         [BZ #12469]
60081         * Makeconfig: Remove RANLIB definition.
60082         * Makerules: Don't use RANLIB.
60083         * aclocal.m4: Remove ranlib test.
60084         * configure.in: No need to check for ranlib.
60085         * elf/rtld-Rules: Don't use RANLIB.
60087 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60089         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
60090         protection macro.
60091         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
60092         inclusion protection macro.
60094         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
60095         SIGRTMIN and SIGRTMAX and print information in that case only when
60096         SIGRTMIN is defined.
60098 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
60100         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
60101         arginfo fn returning -1.
60103         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
60104         and thousands string is zero terminated.
60106 2011-02-03  Andreas Schwab  <schwab@redhat.com>
60108         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
60109         sysdeps/unix/sysv/linux/bits/socket.h.
60111 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60113         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
60114         (__CPU_COUNT): Remove old macros.
60115         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
60116         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
60117         (__CPU_ALLOC, __CPU_FREE): Add macros.
60118         (__sched_cpualloc, __sched_cpufree): Add declarations.
60120 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
60122         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
60123         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
60124         * nscd/aicache.c (addhstaiX): Return timeout of added value.
60125         (readdhstai): Return value of addhstaiX call.
60126         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
60127         (addgrbyX): Return value returned by cache_addgr.
60128         (readdgrbyname): Return value returned by addgrbyX.
60129         (readdgrbygid): Likewise.
60130         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
60131         (addpwbyX): Return value returned by cache_addpw.
60132         (readdpwbyname): Return value returned by addhstbyX.
60133         (readdpwbyuid): Likewise.
60134         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
60135         (addservbyX): Return value returned by cache_addserv.
60136         (readdservbyname): Return value returned by addservbyX:
60137         (readdservbyport): Likewise.
60138         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
60139         (addhstbyX): Return value returned by cache_addhst.
60140         (readdhstbyname): Return value returned by addhstbyX.
60141         (readdhstbyaddr): Likewise.
60142         (readdhstbynamev6): Likewise.
60143         (readdhstbyaddrv6): Likewise.
60144         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
60145         (readdinitgroups): Return value returned by addinitgroupsX.
60146         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
60147         (prune_cache): Keep track of timeout value of re-added entries.
60148         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
60149         * nscd/nscd.h: Adjust prototypes of readd* functions.
60151 2011-02-04  Roland McGrath  <roland@redhat.com>
60153         * nis/nis_server.c (nis_servstate): Use the right name for 0.
60154         (nis_stats): Likewise.
60155         * nis/nis_modify.c (nis_modify): Likewise.
60156         * nis/nis_remove.c (nis_remove): Likewise.
60157         * nis/nis_add.c (nis_add): Likewise.
60159         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
60161         * posix/fnmatch_loop.c: Add some consts.
60163         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
60165 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
60167         [BZ #12460]
60168         * config.make.in (config-cflags-novzeroupper): Define.
60169         * configure.in: Substitute libc_cv_cc_novzeroupper.
60170         * elf/Makefile (AVX-CFLAGS): Define.
60171         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
60172         (CFLAGS-tst-auditmod4a.c): Likewise.
60173         (CFLAGS-tst-auditmod4b.c): Likewise.
60174         (CFLAGS-tst-auditmod6b.c): Likewise.
60175         (CFLAGS-tst-auditmod6c.c): Likewise.
60176         (CFLAGS-tst-auditmod7b.c): Likewise.
60177         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
60179 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
60181         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
60182         function to the callback.
60183         Patch partly by Jiri Olsa <jolsa@redhat.com>.
60185 2011-02-02  Andreas Schwab  <schwab@redhat.com>
60187         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
60188         of errno.
60190 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
60192         [BZ #11724]
60193         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
60194         of constructors.
60195         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
60196         of destructors.
60197         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
60199         [BZ #11724]
60200         * elf/Makefile: Add rules to build and run new test.
60201         * elf/tst-initorder.c: New file.
60202         * elf/tst-initorder.exp: New file.
60203         * elf/tst-initordera1.c: New file.
60204         * elf/tst-initordera2.c: New file.
60205         * elf/tst-initordera3.c: New file.
60206         * elf/tst-initordera4.c: New file.
60207         * elf/tst-initorderb1.c: New file.
60208         * elf/tst-initorderb2.c: New file.
60209         * elf/tst-order-a1.c: New file.
60210         * elf/tst-order-a2.c: New file.
60211         * elf/tst-order-a3.c: New file.
60212         * elf/tst-order-a4.c: New file.
60213         * elf/tst-order-b1.c: New file.
60214         * elf/tst-order-b2.c: New file.
60215         * elf/tst-order-main.c: New file.
60216         New test case by George Gensure <werkt0@gmail.com>.
60218 2010-10-01  Andreas Schwab  <schwab@redhat.com>
60220         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60221         decoding ACE if AI_CANONIDN.
60223 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
60225         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
60227 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
60229         * version.h (RELEASE): Bump for 2.13 release.
60230         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
60232         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
60234         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
60235         MADV_NOHUGEPAGE.
60236         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
60237         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
60238         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
60239         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
60240         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
60241         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
60243         * posix/getconf.c: Update copyright year.
60244         * catgets/gencat.c: Likewise.
60245         * csu/version.c: Likewise.
60246         * debug/catchsegv.sh: Likewise.
60247         * debug/xtrace.sh: Likewise.
60248         * elf/ldconfig.c: Likewise.
60249         * elf/ldd.bash.in: Likewise.
60250         * elf/sprof.c (print_version): Likewise.
60251         * iconv/iconv_prog.c: Likewise.
60252         * iconv/iconvconfig.c: Likewise.
60253         * locale/programs/locale.c: Likewise.
60254         * locale/programs/localedef.c: Likewise.
60255         * malloc/memusage.sh: Likewise.
60256         * malloc/mtrace.pl: Likewise.
60257         * nscd/nscd.c (print_version): Likewise.
60258         * nss/getent.c: Likewise.
60260         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
60261         PF_CAIF, and PF_ALG.
60262         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60264 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
60266         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
60267         (modules-names): Use them.
60268         (ifunc-test-modules, ifunc-pie-tests): Define.
60269         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
60270         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
60271         (test-extras): Likewise.
60272         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
60273         $(compile-command.c).
60274         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
60275         (all-built-dso): Define.
60276         (check-textrel.out, check-execstack.out): Depend on it.
60278         * configure.in: Don't override --enable-multi-arch.
60280 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
60282         [BZ #6812]
60283         * nscd/hstcache.c (tryagain): Define.
60284         (cache_addhst): Return tryagain not notfound for temporary errors.
60285         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
60286         failed.
60288 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
60290         [BZ #10563]
60291         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
60292         to make the syscall.
60293         * sysdeps/unix/sysv/linux/setgroups.c: New file.
60295         [BZ #12378]
60296         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
60297         and fall back to matching as normal character if the string ends before
60298         the matching ']' is found.  This is what POSIX requires.
60299         * posix/testfnm.c: Adjust test result.
60300         * posix/globtest.sh: Adjust test result.  Add new test.
60301         * posix/tst-fnmatch.input: Likewise.
60302         * posix/tst-fnmatch2.c: Add new test.
60304 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
60306         * elf/Makefile (check-execstack): Revert last change.  Depend on
60307         check-execstack.h.
60308         (check-execstack.h): New target.
60309         (generated): Add check-execstack.h.
60310         * elf/check-execstack.c: Include "check-execstack.h".
60311         (main): Revert last change.
60312         (handle_file): Return zero if GNU_STACK is absent and
60313         DEFAULT_STACK_PERMS doesn't include PF_X.
60315 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
60317         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
60318         in child fails because the descriptor is already closed.
60319         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
60320         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
60321         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
60323         [BZ #12397]
60324         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
60325         syscall.
60327         [BZ #10484]
60328         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
60329         temporary buffer used to handle multi lookups locally.
60330         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
60332 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
60334         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
60335         loader is ld.so.
60337 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
60339         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
60340         alignment for SSE2.
60342 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
60344         [BZ #12394]
60345         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
60346         characters.  When rounding increased number of integer digits recompute
60347         number of groups.
60348         * stdio-common/tst-grouping.c: New file.
60349         * stdio-common/Makefile: Add rules to build and run tst-grouping.
60351 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
60353         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
60354         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
60356         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
60357         void.
60358         * bits/select.h: Likewise.
60360 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
60362         * po/ja.po: Update from translation team.
60364 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
60366         [BZ #11155]
60367         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
60368         implementation just like for lxstat, fxstatat, et al.
60370 2010-12-27  Jim Meyering  <meyering@redhat.com>
60372         [BZ #12348]
60373         * posix/regexec.c (build_trtable): Return failure indication upon
60374         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
60376 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
60378         [BZ #12201]
60379         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
60380         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
60381         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
60382         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
60384         [BZ #12207]
60385         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
60387         [BZ #12204]
60388         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
60389         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
60391 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
60393         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
60394         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
60395         script has SORT_BY_INIT_PRIORITY.
60396         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
60397         NO_CTORS_DTORS_SECTIONS is defined.
60398         * elf/soinit.c: Likewise.
60399         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
60400         NO_CTORS_DTORS_SECTIONS is defined.
60401         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
60402         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
60403         * sysdeps/sh/init-first.c: Likewise.
60404         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
60406 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
60408         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
60409         always use the slow path.
60411 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
60413         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
60414         similar rule which adds the sysdep directories to the header search in
60415         order to pick up the correct platform stackinfo.h.
60416         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
60417         perform test if it is, otherwise return successfully without testing.
60418         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
60419         DEFAULT_STACK_PERMS define in stackinfo.h.
60420         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
60421         defined in stackinfo.h.
60422         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
60423         DEFAULT_STACK_PERMS defined in stackinfo.h.
60424         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
60425         * sysdeps/ia64/stackinfo.h: Likewise.
60426         * sysdeps/s390/stackinfo.h: Likewise.
60427         * sysdeps/sh/stackinfo.h: Likewise.
60428         * sysdeps/sparc/stackinfo.h: Likewise.
60429         * sysdeps/x86_64/stackinfo.h: Likewise.
60430         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
60431         PF_X for powerpc64.  Retain PF_X for powerpc32.
60433 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
60435         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
60436         accurately.
60437         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
60438         GETDENTS_64BIT_ALIGNED.
60440 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
60442         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
60444 2010-12-10  Andreas Schwab  <schwab@redhat.com>
60446         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
60447         _GNU_SOURCE.
60449         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
60450         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
60451         Remove __restrict.
60452         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
60453         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
60455 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
60457         [BZ #11655]
60458         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
60459         are initialized.
60461 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
60463         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
60465 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
60467         * po/it.po: Update from translation team.
60469 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
60471         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
60472         unused codes.
60474 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
60476         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
60478 2010-11-24  Andreas Schwab  <schwab@redhat.com>
60480         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
60481         specially.
60482         (gaih_getanswer_slice): Likewise.
60484 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
60486         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
60488 2010-05-31  Petr Baudis  <pasky@suse.cz>
60490         [BZ #11149]
60491         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
60492         silently even in the chroot mode.
60494 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
60496         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
60497         last patch a bit.  Pretty printing
60499 2010-05-31  Petr Baudis <pasky@suse.cz>
60501         [BZ #10085]
60502         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
60503         initialization of skip_initgroups_dyn.
60505 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
60507         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
60508         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
60510 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
60512         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
60514 2010-11-11  Andreas Schwab  <schwab@redhat.com>
60516         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
60517         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
60518         (tst-fnmatch-ENV): Set MALLOC_TRACE.
60519         ($(objpfx)tst-fnmatch-mem): New rule.
60520         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
60521         * posix/tst-fnmatch.c (main): Call mtrace.
60523 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
60525         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60526         Support Intel processor model 6 and model 0x2c.
60528 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
60530         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
60531           signed comparison.
60533 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
60535         [BZ #12205]
60536         * string/test-strncasecmp.c (check_result): New function.
60537         (do_one_test): Use it.
60538         (check1): New function.
60539         (test_main): Use it.
60540         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
60541         Support strcasecmp and strncasecmp.
60543 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
60545         [BZ #12194]
60546         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
60547         * sysdeps/x86_64/bits/byteswap.h: Likewise.
60549 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
60551         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
60552         IFUNC support.
60553         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60554         memset-x86-64.
60555         * sysdeps/x86_64/multiarch/bzero.S: New file.
60556         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
60557         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
60558         * sysdeps/x86_64/multiarch/memset.S: New file.
60559         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
60560         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60561         Set bit_Prefer_SSE_for_memop for Intel processors.
60562         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
60563         Define.
60564         (index_Prefer_SSE_for_memop): Define.
60565         (HAS_PREFER_SSE_FOR_MEMOP): Define.
60567 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
60569         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
60570         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
60572 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
60574         [BZ #12191]
60575         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
60576         (__x86_64_raw_data_cache_size_half): Likewise.
60577         (__x86_64_raw_shared_cache_size): Likewise.
60578         (__x86_64_raw_shared_cache_size_half): Likewise.
60580         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
60581         (__x86_64_raw_data_cache_size_half): Likewise.
60582         (__x86_64_raw_shared_cache_size): Likewise.
60583         (__x86_64_raw_shared_cache_size_half): Likewise.
60584         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
60585         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
60586         and __x86_64_raw_shared_cache_size_half.  Round
60587         __x86_64_data_cache_size_half, __x86_64_data_cache_size
60588         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
60589         to multiple of 256 bytes.
60591 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
60593         [BZ #12167]
60594         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
60595         of inacessible symlinks.  Verify result of symlink before returning it.
60596         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
60597         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
60599 2010-10-28  Erich Ritz  <erichritz@gmail.com>
60601         * math/math.h (isinf): Fix typo in comment.
60603 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
60605         * po/da.po: Update from translation team.
60607 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
60609         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
60610         is added to the list.
60612 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60613             Ulrich Drepper  <drepper@gmail.com>
60615         * elf/dl-object.c (_dl_new_object): Don't append the new object to
60616         the global list here.  Move code to...
60617         (_dl_add_to_namespace_list): ...here.  New function.
60618         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
60619         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
60620         * elf/dl-load.c (lose): Don't remove the element from the list.
60621         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
60622         (_dl_map_object): Likewise.
60624 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
60626         [BZ #12159]
60627         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
60628         into all bytes of SSE register.
60629         Patch by Richard Li <richardpku@gmail.com>.
60631 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
60633         [BZ #12140]
60634         * malloc/malloc.c (_int_free): Fill correct number of bytes when
60635         perturbing.
60637 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
60639         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
60640         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
60641         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
60642         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
60643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
60644         submachine.
60645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
60647 2010-10-22  Andreas Schwab  <schwab@redhat.com>
60649         * include/dlfcn.h (__RTLD_SECURE): Define.
60650         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
60651         mode & __RTLD_SECURE instead.
60652         (open_path): Rename preloaded parameter to secure.
60653         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
60654         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
60655         * elf/dl-deps.c (openaux): Likewise.
60656         * elf/rtld.c (struct map_args): Remove is_preloaded.
60657         (map_doit): Don't use it.
60658         (dl_main): Likewise.
60659         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
60660         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
60662 2010-09-09  Andreas Schwab  <schwab@redhat.com>
60664         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
60665         (sysd-rules-targets): Remove duplicates.
60666         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
60667         rtld-%.$o dependency.
60669 2010-10-18  Andreas Schwab  <schwab@redhat.com>
60671         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
60672         _dl_map_object do it.
60674 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
60676         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
60677         fast fma builtins, define the macros in the C99 standard.
60678         (FP_FAST_FMAF): Likewise.
60679         (FP_FAST_FMAL): Likewise.
60680         * sysdeps/x86_64/bits/mathdef.h: Likewise.
60682         * bits/mathdef.h: Update copyright year.
60683         * sysdeps/powerpc/bits/mathdef.h: Likewise.
60685 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
60687         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
60688         builtins, define the macros in the C99 standard.
60689         (FP_FAST_FMAF): Likewise.
60690         (FP_FAST_FMAL): Likewise.
60691         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
60692         multiply/add.
60693         (FP_FAST_FMAF): Likewise.
60695 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
60697         [BZ #3268]
60698         * math/libm-test.inc (fma_test): Some new testcases.
60699         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
60700         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
60701         y and infinite z.  Do multiplication by C already in long double.
60702         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
60703         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
60704         y and infinite z.  Do bitwise or of inexact bit into u.d.
60705         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
60706         * sysdeps/i386/fpu/s_fmaf.S: Removed.
60707         * sysdeps/i386/fpu/s_fma.S: Removed.
60708         * sysdeps/i386/fpu/s_fmal.S: Removed.
60710 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
60712         [BZ #3268]
60713         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
60714         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
60715         computation is not scheduled after fetestexcept.  Fix value
60716         of minimum denormal long double.
60718 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
60720         [BZ #3268]
60721         * math/libm-test.inc (fma_test): Add some more tests.
60722         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
60723         correctly.
60725 2010-10-15  Andreas Schwab  <schwab@redhat.com>
60727         * scripts/data/localplt-s390-linux-gnu.data: New file.
60728         * scripts/data/localplt-s390x-linux-gnu.data: New file.
60730 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
60732         [BZ #3268]
60733         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
60734         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
60735         instead of dbl-64.
60736         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
60737         inlines.
60738         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
60739         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
60740         if one of x and y is very large and the other is subnormal.
60741         * sysdeps/s390/fpu/s_fmaf.c: New file.
60742         * sysdeps/s390/fpu/s_fma.c: New file.
60743         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
60744         * sysdeps/powerpc/fpu/s_fma.S: New file.
60745         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
60746         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
60747         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
60749 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
60751         [BZ #3268]
60752         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
60753         fma tests.
60754         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
60755         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
60756         * sysdeps/i386/i686/multiarch/s_fma.c: Include
60757         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
60758         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
60759         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
60760         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
60762 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
60764         [BZ #12078]
60765         * posix/regcomp.c (parse_branch): One more memory leak plugged.
60766         * posix/bug-regex31.input: Add test case.
60768 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
60770         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
60771         * posix/bug-regex31.input: New file.
60773         [BZ #12078]
60774         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
60775         (parse_sub_exp): Fix last change, use postorder.
60777         * posix/bug-regex31.c: New file.
60778         * posix/Makefile: Add rules to build and run bug-regex31.
60780         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
60782         [BZ #12078]
60783         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
60785         [BZ #12108]
60786         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
60787         to have entries in sys_siglist.
60789         [BZ #12093]
60790         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
60791         be NULL.
60793 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
60795         [BZ #3268]
60796         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
60797         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
60798         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
60799         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
60800         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
60801         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
60802         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
60803         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
60804         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
60805         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
60806         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
60807         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
60808         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
60809         * math/ftestexcept.c (fetestexcept): Likewise.
60810         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
60811         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
60812         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
60813         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
60814         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
60815         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
60816         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
60818 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
60820         [BZ #12107]
60821         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
60822         newline.
60824 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
60826         * string/bug-strstr1.c: New file.
60827         * string/Makefile: Add rules to build and run bug-strstr1.
60829 2010-10-05  Eric Blake  <eblake@redhat.com>
60831         [BZ #12092]
60832         * string/str-two-way.h (two_way_long_needle): Always clear memory
60833         when skipping input due to the shift table.
60835 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
60837         [BZ #12005]
60838         * malloc/mcheck.c: Handle large requests.
60840         [BZ #12077]
60841         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
60842         for strncmp and strncasecmp.
60843         * string/stratcliff.c: Add tests for strcmp and strncmp.
60844         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
60846 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60848         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
60849         __set_fpscr.
60851 2010-09-30  Andreas Jaeger  <aj@suse.de>
60853         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
60854         (CGROUP_SUPER_MAGIC): Define.
60855         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60856         Handle btrfs and cgroup file systems.
60857         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
60858         Likewise.
60860 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
60862         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
60863         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
60865 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60867         [BZ #12067]
60868         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
60869         trying to locate the ELF header.
60871 2010-09-27  Andreas Schwab  <schwab@redhat.com>
60873         [BZ #11611]
60874         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
60875         Mask out sign-bit copies when constructing f_fsid.
60877 2010-09-24  Petr Baudis <pasky@suse.cz>
60879         * debug/stack_chk_fail_local.c: Add missing licence exception.
60880         * debug/warning-nop.c: Likewise.
60882 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
60884         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
60885         implementing getdents64 using getdents syscall, set d_type if
60886         __ASSUME_GETDENTS32_D_TYPE.
60888 2010-09-16  Andreas Schwab  <schwab@redhat.com>
60890         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
60891         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
60893 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
60895         [BZ #12037]
60896         * posix/unistd.h: Undo change of feature selection for ftruncate from
60897         2010-01-11.
60899 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
60901         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
60902         detection.
60904 2010-09-20  Andreas Schwab  <schwab@redhat.com>
60906         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
60907         fanotify_mark.
60908         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
60910 2010-09-14  Andreas Schwab  <schwab@redhat.com>
60912         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
60913         variables after CHECK_SP call.
60914         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
60916 2010-09-13  Andreas Schwab  <schwab@redhat.com>
60917             Ulrich Drepper  <drepper@redhat.com>
60919         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
60920         re-relocationg ld.so.
60921         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
60922         _dl_init_paths call.
60923         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
60924         here anymore.
60926 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
60928         * resolv/res_init.c (__res_vinit): Count the default server we added.
60930 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
60931             Ulrich Drepper  <drepper@redhat.com>
60933         [BZ #11968]
60934         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
60935         (____longjmp_chk): Use %ebx for saving value across system call.
60936         Add unwind info.
60938 2010-09-06  Andreas Schwab  <schwab@redhat.com>
60940         * manual/Makefile: Don't mix pattern rules with normal rules.
60942 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
60944         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
60945         operation.
60946         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
60947         * libio/iofopncook.c (_IO_cookie_init): Likewise.
60948         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
60949         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
60950         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60951         Likewise.
60953 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
60955         [BZ #11979]
60956         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
60957         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
60959 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
60961         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
60962         * sysdeps/x86_64/addmul_1.S: Likewise.
60963         * sysdeps/x86_64/lshift.S: Likewise.
60964         * sysdeps/x86_64/mul_1.S: Likewise.
60965         * sysdeps/x86_64/rshift.S: Likewise.
60966         * sysdeps/x86_64/sub_n.S: Likewise.
60967         * sysdeps/x86_64/submul_1.S: Likewise.
60969 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60971         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
60972         Define __sched_param instead of SCHED_* and sched_param when
60973         <bits/sched.h> is included with __need_schedparam defined.
60974         * bits/sched.h [__need_schedparam]
60975         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
60976         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
60977         (__defined_schedparam): Define to 1.
60978         (__sched_param): New structure, identical to sched_param.
60979         (__need_schedparam): Undefine.
60981 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
60983         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
60984         (epoll_create1): Declare.
60986         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
60988 2010-08-31  Andreas Schwab  <schwab@redhat.com>
60990         [BZ #7066]
60991         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
60992         shifting retval into place.
60994 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
60996         * nis/rpcsvc/nis.h: Update copyright notice.
60997         * nis/rpcsvc/nis.x: Likewise.
60998         * nis/rpcsvc/nis_callback.h: Likewise.
60999         * nis/rpcsvc/nis_callback.x: Likewise.
61000         * nis/rpcsvc/nis_object.x: Likewise.
61001         * nis/rpcsvc/nis_tags.h: Likewise.
61002         * nis/rpcsvc/yp.h: Likewise.
61003         * nis/rpcsvc/yp.x: Likewise.
61004         * nis/rpcsvc/ypupd.h: Likewise.
61005         * nis/yp_xdr.c: Likewise.
61006         * nis/ypupdate_xdr.c: Likewise.
61008         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
61009         mainly the body of pmap_getport.  Add parameters to specify timeouts.
61010         (pmap_getport): Use __libc_rpc_getport.
61011         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
61012         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
61013         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
61015 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
61017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
61018         fanotify_mark.
61020 2010-08-27  Roland McGrath  <roland@redhat.com>
61022         * sysdeps/i386/i686/multiarch/Makefile
61023         (CFLAGS-varshift.c): New variable.
61025 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
61027         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
61028         * sysdeps/i386/i686/multiarch/varshift.c: New file.
61030         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
61032         * sysdeps/x86_64/strlen.S: Minimal code improvement.
61034 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
61036         * sysdeps/x86_64/strlen.S: Unroll the loop.
61037         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61038         strlen-sse2 strlen-sse2-bsf.
61039         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
61040         __strlen_no_bsf if bit_Slow_BSF is set.
61041         (__strlen_sse42): Removed.
61042         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
61043         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
61045 2010-08-25  Roland McGrath  <roland@redhat.com>
61047         * sysdeps/x86_64/multiarch/varshift.S: File removed.
61048         * sysdeps/x86_64/multiarch/varshift.c: New file.
61049         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
61050         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
61051         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
61052         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
61054 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
61056         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61057         strlen-sse2 strlen-sse2-bsf.
61058         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
61059         __strlen_sse2_bsf if bit_Slow_BSF is unset.
61060         (__strlen_sse2): Removed.
61061         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
61062         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
61063         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
61064         bit_Slow_BSF for Atom.
61065         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
61066         (index_Slow_BSF): Define.
61067         (HAS_SLOW_BSF): Define.
61069 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
61071         [BZ #10851]
61072         * resolv/res_init.c (__res_vinit): When no server address at all
61073         is given default to loopback.
61075 2010-08-24  Roland McGrath  <roland@redhat.com>
61077         * configure.in: Remove config-name.h generation.
61078         * configure: Regenerated.
61079         * config-name.in: File removed.
61080         * scripts/config-uname.sh: New file.
61081         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
61082         ($(objdir)config-name.h): New target.
61084         * sunrpc/rpc_parse.h: Avoid nested comment.
61086 2010-08-24  Richard Henderson  <rth@redhat.com>
61087             Ulrich Drepper  <drepper@redhat.com>
61088             H.J. Lu  <hongjiu.lu@intel.com>
61090         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
61091         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
61092         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
61093         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
61094         _mm_alignr_epi8 with _mm_loadu_si128.
61095         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
61096         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
61097         (__m128i_shift_right): Removed.
61098         * sysdeps/i386/i686/multiarch/varshift.h: New file.
61099         * sysdeps/i386/i686/multiarch/varshift.S: New file.
61100         * sysdeps/x86_64/multiarch/varshift.h: New file.
61101         * sysdeps/x86_64/multiarch/varshift.S: New file.
61103 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
61105         * configure.in: Move assembler checks to before sysdep dir checking.
61107 2010-08-20  Petr Baudis  <pasky@suse.cz>
61109         * LICENSES: Sync the sunrpc license.
61111 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
61113         * sunrpc/auth_des.c: Update copyright notice once again.
61114         * sunrpc/auth_none.c: Likewise.
61115         * sunrpc/auth_unix.c: Likewise.
61116         * sunrpc/authdes_prot.c: Likewise.
61117         * sunrpc/authuxprot.c: Likewise.
61118         * sunrpc/bindrsvprt.c: Likewise.
61119         * sunrpc/clnt_gen.c: Likewise.
61120         * sunrpc/clnt_perr.c: Likewise.
61121         * sunrpc/clnt_raw.c: Likewise.
61122         * sunrpc/clnt_simp.c: Likewise.
61123         * sunrpc/clnt_tcp.c: Likewise.
61124         * sunrpc/clnt_udp.c: Likewise.
61125         * sunrpc/clnt_unix.c: Likewise.
61126         * sunrpc/des_crypt.c: Likewise.
61127         * sunrpc/des_soft.c: Likewise.
61128         * sunrpc/get_myaddr.c: Likewise.
61129         * sunrpc/getrpcport.c: Likewise.
61130         * sunrpc/key_call.c: Likewise.
61131         * sunrpc/key_prot.c: Likewise.
61132         * sunrpc/openchild.c: Likewise.
61133         * sunrpc/pm_getmaps.c: Likewise.
61134         * sunrpc/pm_getport.c: Likewise.
61135         * sunrpc/pmap_clnt.c: Likewise.
61136         * sunrpc/pmap_prot.c: Likewise.
61137         * sunrpc/pmap_prot2.c: Likewise.
61138         * sunrpc/pmap_rmt.c: Likewise.
61139         * sunrpc/rpc/auth.h: Likewise.
61140         * sunrpc/rpc/auth_unix.h: Likewise.
61141         * sunrpc/rpc/clnt.h: Likewise.
61142         * sunrpc/rpc/des_crypt.h: Likewise.
61143         * sunrpc/rpc/key_prot.h: Likewise.
61144         * sunrpc/rpc/netdb.h: Likewise.
61145         * sunrpc/rpc/pmap_clnt.h: Likewise.
61146         * sunrpc/rpc/pmap_prot.h: Likewise.
61147         * sunrpc/rpc/pmap_rmt.h: Likewise.
61148         * sunrpc/rpc/rpc.h: Likewise.
61149         * sunrpc/rpc/rpc_des.h: Likewise.
61150         * sunrpc/rpc/rpc_msg.h: Likewise.
61151         * sunrpc/rpc/svc.h: Likewise.
61152         * sunrpc/rpc/svc_auth.h: Likewise.
61153         * sunrpc/rpc/types.h: Likewise.
61154         * sunrpc/rpc/xdr.h: Likewise.
61155         * sunrpc/rpc_clntout.c: Likewise.
61156         * sunrpc/rpc_cmsg.c: Likewise.
61157         * sunrpc/rpc_common.c: Likewise.
61158         * sunrpc/rpc_cout.c: Likewise.
61159         * sunrpc/rpc_dtable.c: Likewise.
61160         * sunrpc/rpc_hout.c: Likewise.
61161         * sunrpc/rpc_main.c: Likewise.
61162         * sunrpc/rpc_parse.c: Likewise.
61163         * sunrpc/rpc_parse.h: Likewise.
61164         * sunrpc/rpc_prot.c: Likewise.
61165         * sunrpc/rpc_sample.c: Likewise.
61166         * sunrpc/rpc_scan.c: Likewise.
61167         * sunrpc/rpc_scan.h: Likewise.
61168         * sunrpc/rpc_svcout.c: Likewise.
61169         * sunrpc/rpc_tblout.c: Likewise.
61170         * sunrpc/rpc_util.c: Likewise.
61171         * sunrpc/rpc_util.h: Likewise.
61172         * sunrpc/rpcinfo.c: Likewise.
61173         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
61174         * sunrpc/rpcsvc/key_prot.x: Likewise.
61175         * sunrpc/rpcsvc/klm_prot.x: Likewise.
61176         * sunrpc/rpcsvc/mount.x: Likewise.
61177         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
61178         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
61179         * sunrpc/rpcsvc/rex.x: Likewise.
61180         * sunrpc/rpcsvc/rstat.x: Likewise.
61181         * sunrpc/rpcsvc/rusers.x: Likewise.
61182         * sunrpc/rpcsvc/sm_inter.x: Likewise.
61183         * sunrpc/rpcsvc/spray.x: Likewise.
61184         * sunrpc/rpcsvc/yppasswd.x: Likewise.
61185         * sunrpc/rtime.c: Likewise.
61186         * sunrpc/svc.c: Likewise.
61187         * sunrpc/svc_auth.c: Likewise.
61188         * sunrpc/svc_authux.c: Likewise.
61189         * sunrpc/svc_raw.c: Likewise.
61190         * sunrpc/svc_run.c: Likewise.
61191         * sunrpc/svc_simple.c: Likewise.
61192         * sunrpc/svc_tcp.c: Likewise.
61193         * sunrpc/svc_udp.c: Likewise.
61194         * sunrpc/svc_unix.c: Likewise.
61195         * sunrpc/svcauth_des.c: Likewise.
61196         * sunrpc/xcrypt.c: Likewise.
61197         * sunrpc/xdr.c: Likewise.
61198         * sunrpc/xdr_array.c: Likewise.
61199         * sunrpc/xdr_float.c: Likewise.
61200         * sunrpc/xdr_mem.c: Likewise.
61201         * sunrpc/xdr_rec.c: Likewise.
61202         * sunrpc/xdr_ref.c: Likewise.
61203         * sunrpc/xdr_sizeof.c: Likewise.
61204         * sunrpc/xdr_stdio.c: Likewise.
61206         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
61207         handling.
61209 2010-08-19  Andreas Schwab  <schwab@redhat.com>
61211         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
61213 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
61215         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
61216         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
61217         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
61218         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
61219         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
61220         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
61221         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
61222         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
61223         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
61224         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
61225         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
61226         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
61227         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
61228         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
61230 2010-07-26  Anton Blanchard  <anton@samba.org>
61232         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
61233         * malloc/arena.c (heap_trim): Likewise.
61235 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
61237         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
61238         here.  Not...
61239         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
61240         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
61242 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
61244         * sysdeps/i386/elf/Makefile: New file.
61246 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
61248         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
61249         from fanotify_init.
61250         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
61251         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
61253 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
61255         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
61256         of strncasecmp_l.
61257         * sysdeps/multiarch/strcmp.S: Likewise.
61259 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
61261         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
61262         strncase_l-nonascii.
61263         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
61264         Add strncase_l-ssse3.
61265         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
61266         * sysdeps/x86_64/strcmp.S: Likewise.
61267         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
61268         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
61269         * sysdeps/x86_64/strncase.S: New file.
61270         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
61271         * sysdeps/x86_64/strncase_l.S: New file.
61272         * string/Makefile (strop-tests): Add strncasecmp.
61273         * string/test-strncasecmp.c: New file.
61275         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
61276         warning.
61278         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
61279         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
61281 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
61283         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
61285 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
61287         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
61288         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
61289         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
61291 2010-05-01  Alan Modra  <amodra@gmail.com>
61293         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
61294         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
61295         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
61296         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
61297         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
61298         tidying.  Don't tail-call __sigjmp_save for static lib.
61299         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
61300         save location.
61301         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
61302         (CALL_MCOUNT): Add eh info, and nop after bl.
61303         (TAIL_CALL_SYSCALL_ERROR): New macro.
61304         (PSEUDO_RET): Use it.
61305         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
61306         Correct save location of integer regs and cr.
61307         (_dl_profile_resolve): Correct cr save location.  Delete nops
61308         after bl when SHARED.  Reduce cfi size a little by better
61309         placement of cfi directives.
61310         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
61311         make a stack frame.  Instead use parm save area as a temp.
61312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
61313         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
61314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
61315         Don't make a stack frame for parent, use parm save area.
61316         Increase child stack frame to 112 bytes.  Don't save unused reg,
61317         and adjust reg usage.  Set up cfi on error recovery and
61318         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
61319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
61320         (__makecontext): Add dummy nop after jump to exit.
61321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
61322         Use correct parm save area and cr save, reduce stack frame.
61323         Correct cfi for possible PSEUDO_RET frame setup.
61324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
61325         Branch to local label emitted by PSEUDO_RET rather than
61326         __syscall_error.
61328 2010-08-12  Andreas Schwab  <schwab@redhat.com>
61330         [BZ #11904]
61331         * locale/programs/locale.c (print_assignment): New function.
61332         (show_locale_vars): Use it.
61334 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
61336         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
61337         field.
61338         (struct statfs64): Likewise.
61339         (_STATFS_F_FLAGS): Define.
61340         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
61341         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61342         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
61343         (ST_VALID): Define locally.
61344         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
61345         __statvfs_getflags, use the provided value.
61346         * sysdeps/unix/sysv/linux/kernel-features.h: Define
61347         __ASSUME_STATFS_F_FLAGS.
61349         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
61351         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
61352         Add sys/fanotify.h.
61353         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
61354         fanotify_mask for GLIBC_2.13.
61355         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
61356         fanotify_init and fanotify_mark.
61357         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
61358         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
61360         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
61361         Add prlimit.
61362         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
61363         prlimit64 for GLIBC_2.13.
61364         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
61365         prlimit64.
61366         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
61367         syscall.
61368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
61369         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
61370         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
61371         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
61372         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
61373         add prlimit alias.
61374         * sysdeps/unix/sysv/linux/prlimit.c: New file.
61376         [BZ #11903]
61377         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
61378         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
61380         * nss/Makefile: Add rules to build and run tst-nss-test1.
61381         * shlib-versions: Add entry for libnss_test1.
61382         * nss/nss_test1.c: New file.
61383         * nss/tst-nss-test1.c: New file.
61385         * nss/nsswitch.c (__nss_database_custom): Define new variable.
61386         (__nss_configure_lookup): Set appropriate entry in
61387         __nss_configure_lookup to true.
61388         * nss/nsswitch.h: Define enum with indeces of databases in
61389         databases and __nss_database_custom arrays.  Declare
61390         __nss_database_custom.
61391         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
61392         to avoid using nscd when custom rules are installed.
61393         * nss/getXXbyYY_r.c: Likewise.
61394         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
61396         * nss/nss_files/files-parse.c: Whitespace fixes.
61398 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
61400         [BZ #11883]
61401         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
61402         * posix/fnmatch_loop.c: Likewise.
61404 2010-07-17  Andi Kleen  <ak@linux.intel.com>
61406         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
61407         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
61408         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
61409         * Versions.def [GLIBC_2.13]: Add.
61411 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
61413         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
61414         Also fail if tpwd after pwuid call is NULL.
61416 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61418         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
61419         when converting to ms.
61421 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61423         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
61424         EOPNOTSUPP errors with ENOTTY.
61425         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
61426         EOPNOTSUPP errors with ENOTTY.
61428 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
61430         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
61431         Add strcasecmp_l-ssse3.
61432         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
61433         strcasecmp.
61434         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
61435         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
61436         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
61438 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
61440         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
61442         * string/Makefile (strop-tests): Add strcasecmp.
61443         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
61444         strcasecmp_l-nonascii.
61445         (gen-as-const-headers): Add locale-defines.sym.
61446         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
61447         * sysdeps/x86_64/strcasecmp.S: New file.
61448         * sysdeps/x86_64/strcasecmp_l.S: New file.
61449         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
61450         * sysdeps/x86_64/locale-defines.sym: New file.
61451         * string/test-strcasecmp.c: New file.
61453         * string/test-strcasestr.c: Test both ends of the range of characters.
61454         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
61456 2010-07-29  Roland McGrath  <roland@redhat.com>
61458         [BZ #11856]
61459         * manual/locale.texi (Yes-or-No Questions): Fix example code.
61461 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
61463         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
61464         for ld.so.
61466 2010-07-27  Andreas Schwab  <schwab@redhat.com>
61468         * manual/memory.texi (Malloc Tunable Parameters): Document
61469         M_PERTURB.
61471 2010-07-26  Roland McGrath  <roland@redhat.com>
61473         [BZ #11840]
61474         * configure.in (-fgnu89-inline check): Set and substitute
61475         gnu89_inline, not libc_cv_gnu89_inline.
61476         * configure: Regenerated.
61477         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
61479 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
61481         * string/test-strnlen.c: New file.
61482         * string/Makefile (strop-tests): Add strnlen.
61483         * string/tester.c (test_strnlen): Add a few more test cases.
61484         * string/tst-strlen.c: Better error reporting.
61486         * sysdeps/x86_64/strnlen.S: New file.
61488 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
61490         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
61491         lower-latency instructions.
61493 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
61495         * string/test-strcasestr.c: New file.
61496         * string/test-strstr.c: New file.
61497         * string/Makefile (strop-tests): Add strstr and strcasestr.
61498         * string/str-two-way.h: Don't undefine MAX.
61499         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
61501 2010-07-21  Andreas Schwab  <schwab@redhat.com>
61503         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61504         strcasestr-nonascii.
61505         (CFLAGS-strcasestr-nonascii.c): Define.
61506         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
61507         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
61508         Remove unused attribute.
61510 2010-07-20  Roland McGrath  <roland@redhat.com>
61512         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
61513         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
61514         ld.so.cache was broken.  With it, there is no way to disable dsocaps
61515         like LD_HWCAP_MASK can disable hwcaps.
61517 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
61519         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
61521 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
61523         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
61524         call in strcasestr.
61525         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
61526         __strcasestr_sse42_nonascii.
61527         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
61528         strcasestr-nonascii.c.
61529         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
61531 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
61533         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
61534         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
61535         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
61536         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
61538 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
61540         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
61541         fcntl.
61543 2010-07-06  Andreas Schwab  <schwab@redhat.com>
61545         [BZ #11577]
61546         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
61547         dl_signal_cerror.
61549 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
61551         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
61552         _PC_PIPE_BUF using F_GETPIPE_SZ.
61554 2010-07-05  Roland McGrath  <roland@redhat.com>
61556         * manual/arith.texi (Rounding Functions): Fix rint description
61557         implicit in round description.
61559 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
61561         * elf/Makefile: Fix linking for a few tests to make recent linker
61562         happy.
61564 2010-06-30  Andreas Schwab  <schwab@redhat.com>
61566         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
61567         $(common-objpfx)libc_nonshared.a.
61569 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
61571         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
61572         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
61573         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
61574         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
61575         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
61576         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
61577         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
61578         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
61579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
61580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
61581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
61582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
61583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
61584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
61585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
61586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
61587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
61588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
61589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
61590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
61591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
61592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
61593         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
61594         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
61595         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
61596         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
61597         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
61598         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
61599         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
61600         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
61601         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
61602         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
61603         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
61604         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
61605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
61606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
61607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
61608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
61609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
61610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
61611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
61612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
61613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
61614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
61615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
61616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
61617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
61618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
61620 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
61622         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
61623         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
61624         * string/memmove.c (memmove): Renamed to ...
61625         (MEMMOVE): ...this.  Default to memmove.
61626         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
61627         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
61628         (END_CHK): Define.
61629         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61630         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
61631         mempcpy-ssse3-back memmove-ssse3-back.
61632         * sysdeps/x86_64/multiarch/bcopy.S: New file .
61633         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
61634         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
61635         * sysdeps/x86_64/multiarch/memcpy.S: New file.
61636         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
61637         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
61638         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
61639         * sysdeps/x86_64/multiarch/memmove.c: New file.
61640         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
61641         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
61642         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
61643         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
61644         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
61645         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
61646         Define.
61647         (index_Fast_Copy_Backward): Define.
61648         (HAS_ARCH_FEATURE): Define.
61649         (HAS_FAST_REP_STRING): Define.
61650         (HAS_FAST_COPY_BACKWARD): Define.
61652 2010-06-21  Andreas Schwab  <schwab@redhat.com>
61654         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
61655         Restore proper fallback handling.
61657 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
61659         [BZ #11701]
61660         * posix/group_member.c (__group_member): Correct checking loop.
61662         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
61663         OOM in getpwuid_r correctly.  Return error number when the caller
61664         should return, otherwise -1.
61665         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
61666         call returning > 0 value.
61667         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
61669 2010-06-07  Andreas Schwab  <schwab@redhat.com>
61671         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
61672         libc_nonshared.a from targets in modules-names.
61674 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
61676         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
61677         requires it.
61679 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
61681         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
61682         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
61683         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
61684         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
61686 2010-06-02  Andreas Schwab  <schwab@redhat.com>
61688         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
61690 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
61692         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
61693         and F_GETPIPE_SZ.
61694         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
61695         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61696         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61697         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61698         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61699         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
61701 2010-06-14  Roland McGrath  <roland@redhat.com>
61703         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
61705 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
61707         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
61708         __REDIRECT followed by __THROW.
61709         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
61710         * posix/getopt.h (getopt): Likewise.
61712 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
61714         * hurd/lookup-at.c (__file_name_lookup_at): Accept
61715         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
61716         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
61717         in AT_FLAGS.
61718         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
61719         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
61721 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
61723         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
61725 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
61727         [BZ #11640]
61728         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61729         Properly check family and model.
61731 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
61733         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
61735 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
61737         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
61739 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
61741         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
61742         symbol reference.
61744 2010-05-19  Andreas Schwab  <schwab@redhat.com>
61746         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
61747         symbol reference.
61749 2010-05-21  Andreas Schwab  <schwab@redhat.com>
61751         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
61752         and internal_recvmmsg.
61753         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
61754         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
61755         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
61756         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
61758         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
61759         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
61760         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
61762 2010-05-20  Andreas Schwab  <schwab@redhat.com>
61764         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
61766 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
61768         POWER7 optimizations.
61769         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
61770         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
61772 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
61774         * version.h: Update for 2.13 development version.
61776 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
61778         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
61779         exceptions.  Return 0.
61781 2010-05-07  Roland McGrath  <roland@redhat.com>
61783         * elf/ldconfig.c (main): Add a const.
61785 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
61787         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
61788         (args_options): Add no-idn option.
61789         (ahosts_keys_int): Add idn_flags to ai_flags.
61790         (parse_option): Handle 'i' option to clear idn_flags.
61792         * malloc/malloc.c (_int_free): Possible race in the most recently
61793         added check.  Only act on the data if no current modification
61794         happened.
61796 See ChangeLog.17 for earlier changes.